| /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/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | MsvcStl.cpp | 72 size_t bufSize = std::max<size_t>(16 / element_size, 1); in ExtractMsvcStlStringInfo() local 73 bool isShortString = capacity < bufSize; in ExtractMsvcStlStringInfo()
|
| /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 | 790 if (slen + 1 > fi->bufSize) { in ng_fixedstring_parse() 797 bzero(buf + slen, fi->bufSize - slen); in ng_fixedstring_parse() 798 *buflen = fi->bufSize; in ng_fixedstring_parse() 811 *off += fi->bufSize; in ng_fixedstring_unparse() 821 if (*buflen < fi->bufSize) in ng_fixedstring_getDefault() 823 bzero(buf, fi->bufSize); in ng_fixedstring_getDefault() 824 *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 | 673 size_t bufSize; in UTIL_createFileNamesTable_fromFileName() local 682 bufSize = (size_t)(inputFileSize + 1); /* (+1) to add '\0' at the end of last filename */ in UTIL_createFileNamesTable_fromFileName() 685 buf = (char*) malloc(bufSize); in UTIL_createFileNamesTable_fromFileName() 688 { int const ret_nbFiles = readLinesFromFile(buf, bufSize, inputFileName); in UTIL_createFileNamesTable_fromFileName() 705 assert(pos <= bufSize); in UTIL_createFileNamesTable_fromFileName()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | ObjC.cpp | 1360 uint32_t bufSize = len + 1; in newStringData() local 1361 SmallVector<uint8_t> &data = newSectionData(bufSize); in newStringData() 1364 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 | 93 size_t bufSize = mb.getBuffer().size(); in getELFKind() local 94 if ((size == ELFCLASS32 && bufSize < sizeof(Elf32_Ehdr)) || in getELFKind() 95 (size == ELFCLASS64 && bufSize < sizeof(Elf64_Ehdr))) in getELFKind()
|
| /freebsd/contrib/expat/lib/ |
| H A D | xmlparse.c | 3050 size_t bufSize; local 3068 bufSize = nameLen + rawNameLen; 3069 if (bufSize > (size_t)(tag->bufEnd - tag->buf.raw)) { 3070 char *temp = REALLOC(parser, tag->buf.raw, bufSize); 3085 tag->bufEnd = temp + bufSize; 3431 const size_t bufSize = (size_t)(tag->bufEnd - tag->buf.raw) * 2; local 3433 char *temp = REALLOC(parser, tag->buf.raw, bufSize); 3437 tag->bufEnd = temp + bufSize;
|
| /freebsd/contrib/sqlite3/tea/generic/ |
| H A D | tclsqlite3.c | 320 int bufSize, in incrblobInput() argument 324 sqlite3_int64 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()
|