Searched refs:vres (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_args.c122 size_t vres = 0; local
151 vres = vsnprintf(bfr, sizeof (bfr), a_format, ap);
159 if (vres < sizeof (bfr)) {
165 rstr = (char *)_z_malloc(vres+2);
170 vres = vsnprintf(rstr, vres+1, a_format, ap);
H A Dzones_str.c446 size_t vres = 0; local
458 vres = vsnprintf(bfr, 1, a_format, ap);
461 assert(vres > 0);
462 assert(vres < LINE_MAX);
466 rstr = (char *)_z_calloc(vres+2);
471 vres = vsnprintf(rstr, vres+1, a_format, ap);
474 assert(vres > 0);
475 assert(vres < LINE_MAX);
507 size_t vres local
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgstr.c226 size_t vres = 0; local
238 vres = vsnprintf(a_buf, a_bufLen-1, a_format, ap);
241 assert(vres > 0);
242 assert(vres < a_bufLen);
269 size_t vres = 0; local
281 vres = vsnprintf(bfr, 1, a_format, ap);
284 assert(vres > 0);
285 assert(vres < LINE_MAX);
289 rstr = (char *)calloc(1, vres+2);
298 vres
[all...]
H A Druncmd.c674 size_t vres = 0; local
700 vres = vsnprintf(bfr, sizeof (bfr), a_format, ap);
704 if (vres < sizeof (bfr)) {
708 progerr(ERR_MALLOC, strerror(errno), vres+2,
715 rstr = (char *)malloc(vres+2);
717 progerr(ERR_MALLOC, strerror(errno), vres+2,
725 vres = vsnprintf(rstr, vres+1, a_format, ap);

Completed in 26 milliseconds