Lines Matching defs:vlsz
331 char* vcgetmtarg(char* data, char* val, ssize_t vlsz, Vcmtarg_t* args, Vcmtarg_t** arg)
333 char* vcgetmtarg(data, val, vlsz, args, arg)
336 ssize_t vlsz; /* length of value buffer */
354 vlsz = 0;
359 return vcsubstring(data, csep, val, vlsz, 0);
381 data = vcsubstring(data, csep, val, vlsz, 1);
407 char* vcsubstring(char* data, int csep, char* val, ssize_t vlsz, int type)
409 char* vcsubstring(data, csep, val, vlsz, type)
413 ssize_t vlsz; /* size of val in bytes */
420 vlsz = 0;
429 if(vlsz > 0)
430 { *val = 0; vlsz -= 1; }
439 { if(vlsz > 1)
440 { *val++ = c; vlsz -= 1; }
445 if(vlsz > 1)
446 { *val++ = c; vlsz -= 1; }
452 if(vlsz > 1)
453 { *val++ = c; vlsz -= 1; }
470 { if(vlsz > 1)
471 { *val++ = c; vlsz -= 1; }
474 if(vlsz > 1)
475 { *val++ = c; vlsz -= 1; }
496 if(vlsz > 1)
497 { *val++ = c; vlsz -= 1; }