Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/tests/fuzz/
H A Dsimple_decompress.c23 static size_t bufSize = 0; variable
33 if (neededBufSize > bufSize) { in LLVMFuzzerTestOneInput()
36 bufSize = neededBufSize; in LLVMFuzzerTestOneInput()
H A Dblock_decompress.c25 static size_t bufSize = 0; variable
34 if (neededBufSize > bufSize) { in LLVMFuzzerTestOneInput()
37 bufSize = neededBufSize; in LLVMFuzzerTestOneInput()
H A Dblock_round_trip.c30 static size_t bufSize = 0; variable
63 if (neededBufSize > bufSize || !cBuf || !rBuf) { in LLVMFuzzerTestOneInput()
68 bufSize = neededBufSize; in LLVMFuzzerTestOneInput()
H A Dsimple_round_trip.c30 static size_t bufSize = 0; variable
66 if (neededBufSize > bufSize) { in LLVMFuzzerTestOneInput()
71 bufSize = neededBufSize; in LLVMFuzzerTestOneInput()
H A Dstream_round_trip.c28 static size_t bufSize = 0; variable
131 if (neededBufSize > bufSize) { in LLVMFuzzerTestOneInput()
136 bufSize = neededBufSize; in LLVMFuzzerTestOneInput()
/freebsd-12.1/lib/libnetgraph/
H A Dmsg.c323 int bufSize, errnosv; in NgRecvAsciiMsg() local
327 bufSize = 2 * sizeof(*reply) + replen; in NgRecvAsciiMsg()
328 if ((buf = malloc(bufSize)) == NULL) in NgRecvAsciiMsg()
334 if (NgRecvMsg(cs, msg, bufSize, path) < 0) in NgRecvAsciiMsg()
342 if (NgRecvMsg(cs, msg, bufSize, NULL) < 0) in NgRecvAsciiMsg()
/freebsd-12.1/contrib/opencsd/decoder/source/c_api/
H A Docsd_c_api_custom_obj.cpp285 void CustomDcdMngrWrapper::pktToString(const void *pkt, char *pStrBuffer, int bufSize) in pktToString() argument
288 m_dcd_fact.pktToString(pkt, pStrBuffer, bufSize); in pktToString()
290 …snprintf(pStrBuffer, bufSize, "CUSTOM_PKT[]: print unsupported; protocol(%d).",m_dcd_fact.protocol… in pktToString()
H A Docsd_c_api_custom_obj.h92 void pktToString(const void *pkt, char *pStrBuffer, int bufSize);
/freebsd-12.1/sys/netgraph/
H A Dng_parse.c793 if (slen + 1 > fi->bufSize) { in ng_fixedstring_parse()
800 bzero(buf + slen, fi->bufSize - slen); in ng_fixedstring_parse()
801 *buflen = fi->bufSize; in ng_fixedstring_parse()
814 *off += fi->bufSize; in ng_fixedstring_unparse()
824 if (*buflen < fi->bufSize) in ng_fixedstring_getDefault()
826 bzero(buf, fi->bufSize); in ng_fixedstring_getDefault()
827 *buflen = fi->bufSize; in ng_fixedstring_getDefault()
H A Dng_base.c2774 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 …]
H A Dng_parse.h391 int bufSize; /* size of buffer (including NUL) */ member
/freebsd-12.1/sys/contrib/ncsw/Peripherals/FM/SP/
H A Dfm_sp.c99 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()
/freebsd-12.1/contrib/expat/xmlwf/
H A Dxmlwin32url.cxx152 DWORD bufSize = sizeof(contentType); in OnDataAvailable() local
156 &bufSize, 0, NULL); in OnDataAvailable()
/freebsd-12.1/contrib/expat/lib/
H A Dxmlparse.c2108 int bufSize; in storeRawNames() local
2121 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames()
2122 if (bufSize > tag->bufEnd - tag->buf) { in storeRawNames()
2123 char *temp = (char *)REALLOC(tag->buf, bufSize); in storeRawNames()
2138 tag->bufEnd = temp + bufSize; in storeRawNames()
2465 int bufSize; in doContent() local
2475 bufSize = (int)(tag->bufEnd - tag->buf) << 1; in doContent()
2477 char *temp = (char *)REALLOC(tag->buf, bufSize); in doContent()
2481 tag->bufEnd = temp + bufSize; in doContent()
/freebsd-12.1/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c272 int bufSize, in incrblobInput() argument
276 int nRead = bufSize; /* Number of bytes to read */ in incrblobInput()