Lines Matching defs:buflen

105 			u_char *const buf, int *buflen, enum comptype ctype);
111 int *buflen, enum comptype ctype);
147 const char *string, int *off, u_char *buf, int *buflen)
149 return INVOKE(type, parse)(type, string, off, buf, buf, buflen);
168 ng_parse_getDefault(const struct ng_parse_type *type, u_char *buf, int *buflen)
174 return (*func)(type, buf, buf, buflen);
184 u_char *const buf, int *buflen)
186 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT);
198 const u_char *const start, u_char *buf, int *buflen)
203 "{}", &off, start, buf, buflen, CT_STRUCT);
238 u_char *const buf, int *buflen)
241 s, off, start, buf, buflen, CT_FIXEDARRAY);
254 const u_char *const start, u_char *buf, int *buflen)
259 "[]", &off, start, buf, buflen, CT_FIXEDARRAY);
287 u_char *const buf, int *buflen)
289 return ng_parse_composite(type, s, off, start, buf, buflen, CT_ARRAY);
301 const u_char *const start, u_char *buf, int *buflen)
306 "[]", &off, start, buf, buflen, CT_ARRAY);
334 u_char *const buf, int *buflen)
346 *buflen = sizeof(int8_t);
384 const u_char *const start, u_char *buf, int *buflen)
388 if (*buflen < sizeof(int8_t))
392 *buflen = sizeof(int8_t);
429 u_char *const buf, int *buflen)
442 *buflen = sizeof(int16_t);
480 const u_char *const start, u_char *buf, int *buflen)
484 if (*buflen < sizeof(int16_t))
488 *buflen = sizeof(int16_t);
525 u_char *const buf, int *buflen)
541 *buflen = sizeof(int32_t);
579 const u_char *const start, u_char *buf, int *buflen)
583 if (*buflen < sizeof(int32_t))
587 *buflen = sizeof(int32_t);
624 u_char *const buf, int *buflen)
636 *buflen = sizeof(int64_t);
674 const u_char *const start, u_char *buf, int *buflen)
678 if (*buflen < sizeof(int64_t))
682 *buflen = sizeof(int64_t);
719 u_char *const buf, int *buflen)
730 *buflen = slen + 1;
755 const u_char *const start, u_char *buf, int *buflen)
758 if (*buflen < 1)
761 *buflen = 1;
782 u_char *const buf, int *buflen)
799 *buflen = fi->bufSize;
818 const u_char *const start, u_char *buf, int *buflen)
822 if (*buflen < fi->bufSize)
825 *buflen = fi->bufSize;
886 u_char *const buf, int *buflen)
902 *buflen = 2 + slen;
928 const u_char *const start, u_char *buf, int *buflen)
930 if (*buflen < 2)
933 *buflen = 2;
954 u_char *const buf, int *buflen)
960 s, off, start, buf + i, buflen)) != 0)
968 *buflen = 4;
990 const u_char *const start, u_char *buf, int *buflen)
994 if (*buflen < sizeof(ip))
997 *buflen = sizeof(ip);
1018 u_char *const buf, int *const buflen)
1024 if (*buflen < ETHER_ADDR_LEN)
1038 *buflen = ETHER_ADDR_LEN;
1095 u_char *const buf, int *buflen)
1107 if (arraylen > *buflen) {
1119 *buflen = arraylen;
1126 return ng_array_parse(&subtype, s, off, start, buf, buflen);
1143 const u_char *const start, u_char *buf, int *buflen)
1149 return ng_array_getDefault(&subtype, start, buf, buflen);
1200 int *off, const u_char *const start, u_char *const buf, int *buflen,
1333 if (blen >= *buflen) {
1341 vlen = *buflen - blen;
1358 if (blen >= *buflen) {
1367 *buflen = blen;
1472 int index, const u_char *const start, u_char *buf, int *buflen,
1487 index, start, buf, buflen);
1497 index, start, buf, buflen);
1510 return (*func)(etype, start, buf, buflen);