Home
last modified time | relevance | path

Searched refs:dbuf_size (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libbrand/common/
H A Dlibbrand.c311 i_substitute_tokens(const char *sbuf, char *dbuf, int dbuf_size, in i_substitute_tokens() argument
322 for (src = 0; src < strlen((char *)sbuf) && dst < dbuf_size; src++) { in i_substitute_tokens()
330 dst += strlcpy(dbuf + dst, "%", dbuf_size - dst); in i_substitute_tokens()
335 dst += strlcpy(dbuf + dst, zonepath, dbuf_size - dst); in i_substitute_tokens()
340 dst += strlcpy(dbuf + dst, username, dbuf_size - dst); in i_substitute_tokens()
346 dst += strlcpy(dbuf + dst, curr_zone, dbuf_size - dst); in i_substitute_tokens()
352 dst += strlcpy(dbuf + dst, zonename, dbuf_size - dst); in i_substitute_tokens()
357 if (dst >= dbuf_size) in i_substitute_tokens()
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_utility.c223 int cbuf_size, dbuf_size; in _t_register_lookevent() local
228 dbuf_size = tiptr->ti_rcvsize; in _t_register_lookevent()
230 if ((csize > cbuf_size) || dsize > dbuf_size) { in _t_register_lookevent()
289 ((tlbs->tl_lookdbuf = malloc(dbuf_size)) == NULL)) { in _t_register_lookevent()