Searched refs:bufSize (Results 1 – 8 of 8) sorted by relevance
| /f-stack/tools/libnetgraph/ |
| H A D | msg.c | 354 int bufSize, errnosv; in NgRecvAsciiMsg() local 358 bufSize = 2 * sizeof(*reply) + replen; in NgRecvAsciiMsg() 359 if ((buf = malloc(bufSize)) == NULL) in NgRecvAsciiMsg() 365 if (NgRecvMsg(cs, msg, bufSize, path) < 0) in NgRecvAsciiMsg() 373 if (NgRecvMsg(cs, msg, bufSize, NULL) < 0) in NgRecvAsciiMsg()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_parse.h | 390 int bufSize; /* size of buffer (including NUL) */ member
|
| H A D | ng_parse.c | 792 if (slen + 1 > fi->bufSize) { in ng_fixedstring_parse() 799 bzero(buf + slen, fi->bufSize - slen); in ng_fixedstring_parse() 800 *buflen = fi->bufSize; in ng_fixedstring_parse() 813 *off += fi->bufSize; in ng_fixedstring_unparse() 823 if (*buflen < fi->bufSize) in ng_fixedstring_getDefault() 825 bzero(buf, fi->bufSize); in ng_fixedstring_getDefault() 826 *buflen = fi->bufSize; in ng_fixedstring_getDefault()
|
| H A D | ng_base.c | 2774 int bufSize = 20 * 1024; /* XXX hard coded constant */ in ng_generic_msg() local 2790 NG_MKRESPONSE(resp, msg, sizeof(*ascii) + bufSize, M_NOWAIT); in ng_generic_msg() 2832 ascii->data, bufSize)) != 0) { in ng_generic_msg() 2839 bufSize = strlen(ascii->data) + 1; in ng_generic_msg() 2840 ascii->header.arglen = bufSize; in ng_generic_msg() 2841 resp->header.arglen = sizeof(*ascii) + bufSize; in ng_generic_msg() 2847 int bufSize = 20 * 1024; /* XXX hard coded constant */ in ng_generic_msg() local 2902 bufSize = 0; in ng_generic_msg() 2905 (u_char *)binary->data, &bufSize)) != 0) { in ng_generic_msg() 2912 binary->header.arglen = bufSize; in ng_generic_msg() [all …]
|
| /f-stack/tools/compat/include/netgraph/ |
| H A D | ng_parse.h | 391 int bufSize; /* size of buffer (including NUL) */ member
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/SP/ |
| H A D | fm_sp.c | 99 uint16_t bufSize = 0; in FmSpSetBufPoolsInAscOrderOfBufSizes() local 106 bufSize = p_FmExtPools->extBufPool[i].size; in FmSpSetBufPoolsInAscOrderOfBufSizes() 109 sizesArray[p_FmExtPools->extBufPool[i].id] = bufSize; in FmSpSetBufPoolsInAscOrderOfBufSizes() 120 if (bufSize < sizesArray[orderedArray[j]]) in FmSpSetBufPoolsInAscOrderOfBufSizes()
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | util.c | 367 size_t bufSize; in UTIL_createFileNamesTable_fromFileName() local 377 bufSize = (size_t)(inputFileSize + 1); /* (+1) to add '\0' at the end of last filename */ in UTIL_createFileNamesTable_fromFileName() 380 buf = (char*) malloc(bufSize); in UTIL_createFileNamesTable_fromFileName() 383 { int const ret_nbFiles = readLinesFromFile(buf, bufSize, inputFileName); in UTIL_createFileNamesTable_fromFileName() 400 assert(pos <= bufSize); in UTIL_createFileNamesTable_fromFileName()
|
| /f-stack/lib/ |
| H A D | ff_ng_base.c | 2794 int bufSize = 20 * 1024; /* XXX hard coded constant */ in ng_generic_msg() local 2810 NG_MKRESPONSE(resp, msg, sizeof(*ascii) + bufSize, M_NOWAIT); in ng_generic_msg() 2852 ascii->data, bufSize)) != 0) { in ng_generic_msg() 2859 bufSize = strlen(ascii->data) + 1; in ng_generic_msg() 2860 ascii->header.arglen = bufSize; in ng_generic_msg() 2861 resp->header.arglen = sizeof(*ascii) + bufSize; in ng_generic_msg() 2867 int bufSize = 20 * 1024; /* XXX hard coded constant */ in ng_generic_msg() local 2922 bufSize = 0; in ng_generic_msg() 2925 (u_char *)binary->data, &bufSize)) != 0) { in ng_generic_msg() 2932 binary->header.arglen = bufSize; in ng_generic_msg() [all …]
|