| /freebsd-13.1/lib/libnetgraph/ |
| H A D | msg.c | 323 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-13.1/contrib/opencsd/decoder/source/c_api/ |
| H A D | ocsd_c_api_custom_obj.cpp | 285 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 D | ocsd_c_api_custom_obj.h | 92 void pktToString(const void *pkt, char *pStrBuffer, int bufSize);
|
| /freebsd-13.1/sys/netgraph/ |
| 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 | 2777 int bufSize = 1024; in ng_generic_msg() local 2834 ascii->data, bufSize); in ng_generic_msg() 2837 bufSize *= 2; in ng_generic_msg() 2846 bufSize = strlen(ascii->data) + 1; in ng_generic_msg() 2847 ascii->header.arglen = bufSize; in ng_generic_msg() 2848 resp->header.arglen = sizeof(*ascii) + bufSize; in ng_generic_msg() 2854 int bufSize = 20 * 1024; /* XXX hard coded constant */ in ng_generic_msg() local 2909 bufSize = 0; in ng_generic_msg() 2912 (u_char *)binary->data, &bufSize)) != 0) { in ng_generic_msg() 2919 binary->header.arglen = bufSize; in ng_generic_msg() [all …]
|
| H A D | ng_parse.h | 390 int bufSize; /* size of buffer (including NUL) */ member
|
| /freebsd-13.1/sys/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()
|
| /freebsd-13.1/sys/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()
|
| /freebsd-13.1/contrib/bmake/ |
| H A D | parse.c | 331 size_t bufSize; in loadfile() local 334 bufSize = fstat(fd, &st) == 0 && S_ISREG(st.st_mode) && in loadfile() 337 Buf_InitSize(&buf, bufSize); in loadfile()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | InputFiles.cpp | 89 size_t bufSize = mb.getBuffer().size(); in getELFKind() local 90 if ((size == ELFCLASS32 && bufSize < sizeof(Elf32_Ehdr)) || in getELFKind() 91 (size == ELFCLASS64 && bufSize < sizeof(Elf64_Ehdr))) in getELFKind()
|
| /freebsd-13.1/contrib/expat/lib/ |
| H A D | xmlparse.c | 2564 int bufSize; in storeRawNames() local 2582 bufSize = nameLen + (int)rawNameLen; in storeRawNames() 2583 if (bufSize > tag->bufEnd - tag->buf) { in storeRawNames() 2584 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in storeRawNames() 2599 tag->bufEnd = temp + bufSize; in storeRawNames() 2927 int bufSize; in doContent() local 2938 bufSize = (int)(tag->bufEnd - tag->buf) << 1; in doContent() 2940 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in doContent() 2944 tag->bufEnd = temp + bufSize; in doContent()
|
| /freebsd-13.1/contrib/sqlite3/tea/generic/ |
| H A D | tclsqlite3.c | 273 int bufSize, in incrblobInput() argument 277 int nRead = bufSize; /* Number of bytes to read */ in incrblobInput()
|
| /freebsd-13.1/contrib/bsnmp/tests/ |
| H A D | catch.hpp | 13253 int bufSize = WideCharToMultiByte( CP_UTF8, 0, argv[i], -1, NULL, 0, NULL, NULL ); in applyCommandLine() local 13255 utf8Argv[ i ] = new char[ bufSize ]; in applyCommandLine() 13257 WideCharToMultiByte( CP_UTF8, 0, argv[i], -1, utf8Argv[i], bufSize, NULL, NULL ); in applyCommandLine()
|