/freebsd/lib/libnetgraph/ |
H A D | msg.c | 320 int bufSize, errnosv; in NgRecvAsciiMsg() local 324 bufSize = 2 * sizeof(*reply) + replen; in NgRecvAsciiMsg() 325 if ((buf = malloc(bufSize)) == NULL) in NgRecvAsciiMsg() 331 if (NgRecvMsg(cs, msg, bufSize, path) < 0) in NgRecvAsciiMsg() 339 if (NgRecvMsg(cs, msg, bufSize, NULL) < 0) in NgRecvAsciiMsg()
|
/freebsd/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/sys/netgraph/ |
H A D | ng_parse.c | 791 if (slen + 1 > fi->bufSize) { in ng_fixedstring_parse() 798 bzero(buf + slen, fi->bufSize - slen); in ng_fixedstring_parse() 799 *buflen = fi->bufSize; in ng_fixedstring_parse() 812 *off += fi->bufSize; in ng_fixedstring_unparse() 822 if (*buflen < fi->bufSize) in ng_fixedstring_getDefault() 824 bzero(buf, fi->bufSize); in ng_fixedstring_getDefault() 825 *buflen = fi->bufSize; in ng_fixedstring_getDefault()
|
H A D | ng_base.c | 2777 int bufSize = 1024; in ng_generic_msg() local 2793 NG_MKRESPONSE(resp, msg, sizeof(*ascii) + bufSize, M_NOWAIT); in ng_generic_msg() 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 2873 NG_MKRESPONSE(resp, msg, sizeof(*binary) + bufSize, M_NOWAIT); in ng_generic_msg() 2909 bufSize = 0; in ng_generic_msg() [all …]
|
H A D | ng_parse.h | 389 int bufSize; /* size of buffer (including NUL) */ member
|
/freebsd/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/sys/contrib/zstd/programs/ |
H A D | util.c | 437 size_t bufSize; in UTIL_createFileNamesTable_fromFileName() local 447 bufSize = (size_t)(inputFileSize + 1); /* (+1) to add '\0' at the end of last filename */ in UTIL_createFileNamesTable_fromFileName() 450 buf = (char*) malloc(bufSize); in UTIL_createFileNamesTable_fromFileName() 453 { int const ret_nbFiles = readLinesFromFile(buf, bufSize, inputFileName); in UTIL_createFileNamesTable_fromFileName() 470 assert(pos <= bufSize); in UTIL_createFileNamesTable_fromFileName()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | ObjC.cpp | 1351 uint32_t bufSize = len + 1; in newStringData() local 1352 SmallVector<uint8_t> &data = newSectionData(bufSize); in newStringData() 1355 memcpy(strData, str, bufSize); in newStringData()
|
/freebsd/contrib/bmake/ |
H A D | parse.c | 356 size_t bufSize; in LoadFile() local 359 bufSize = fstat(fd, &st) == 0 && S_ISREG(st.st_mode) && in LoadFile() 362 Buf_InitSize(&buf, bufSize); in LoadFile()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | InputFiles.cpp | 95 size_t bufSize = mb.getBuffer().size(); in getELFKind() local 96 if ((size == ELFCLASS32 && bufSize < sizeof(Elf32_Ehdr)) || in getELFKind() 97 (size == ELFCLASS64 && bufSize < sizeof(Elf64_Ehdr))) in getELFKind()
|
/freebsd/contrib/expat/lib/ |
H A D | xmlparse.c | 2658 int bufSize; in storeRawNames() 2676 bufSize = nameLen + (int)rawNameLen; in storeRawNames() 2677 if (bufSize > tag->bufEnd - tag->buf) { in storeRawNames() 2678 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in storeRawNames() 2693 tag->bufEnd = temp + bufSize; 3021 int bufSize; in doContent() 3032 bufSize = (int)(tag->bufEnd - tag->buf) << 1; in doContent() 3034 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in doContent() 3038 tag->bufEnd = temp + bufSize; in doContent() 2648 int bufSize; storeRawNames() local 3011 int bufSize; doContent() local
|
/freebsd/contrib/sqlite3/tea/generic/ |
H A D | tclsqlite3.c | 292 int bufSize, in incrblobInput() argument 296 int nRead = bufSize; /* Number of bytes to read */ in incrblobInput()
|
/freebsd/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()
|