| /freebsd-12.1/contrib/expat/tests/benchmark/ |
| H A D | benchmark.c | 31 int nrOfLoops, bufferSize, fileSize, i, isFinal; in main() local 61 bufferSize = atoi (argv[j + 2]); in main() 63 if (bufferSize <= 0 || nrOfLoops <= 0) { in main() 86 if (parseBufferSize <= bufferSize) in main() 89 parseBufferSize = bufferSize; in main() 100 XMLBufPtr += bufferSize; in main() 112 nrOfLoops, bufferSize, cpuTime / (double) nrOfLoops); in main()
|
| /freebsd-12.1/contrib/serf/buckets/ |
| H A D | deflate_buckets.c | 65 int bufferSize; member 120 ctx->bufferSize = DEFLATE_BUFFER_SIZE; in serf_bucket_deflate_create() 218 ctx->zstream.avail_out = ctx->bufferSize; in serf_deflate_read() 261 ctx->bufferSize, in serf_deflate_read() 289 private_len = ctx->bufferSize - ctx->zstream.avail_out; in serf_deflate_read() 299 ctx->zstream.avail_out = ctx->bufferSize; in serf_deflate_read() 306 private_len = ctx->bufferSize - ctx->zstream.avail_out; in serf_deflate_read() 315 ctx->zstream.avail_out = ctx->bufferSize; in serf_deflate_read()
|
| /freebsd-12.1/sys/contrib/zstd/tests/fuzz/ |
| H A D | regression_driver.c | 25 size_t bufferSize = 0; in main() local 47 if (fileSize > bufferSize) { in main() 51 bufferSize = fileSize; in main()
|
| /freebsd-12.1/sys/contrib/zstd/lib/dictBuilder/ |
| H A D | zdict.c | 502 int* const suffix0 = (int*)malloc((bufferSize+2)*sizeof(*suffix0)); in ZDICT_trainBuffer_legacy() 504 U32* reverseSuffix = (U32*)malloc((bufferSize)*sizeof(*reverseSuffix)); in ZDICT_trainBuffer_legacy() 505 …BYTE* doneMarks = (BYTE*)malloc((bufferSize+16)*sizeof(*doneMarks)); /* +16 for overflow securit… in ZDICT_trainBuffer_legacy() 523 memset(doneMarks, 0, bufferSize+16); in ZDICT_trainBuffer_legacy() 527 while (bufferSize > ZDICT_MAX_SAMPLES_SIZE) bufferSize -= fileSizes[--nbFiles]; in ZDICT_trainBuffer_legacy() 530 DISPLAYLEVEL(2, "sorting %u files of total size %u MB ...\n", nbFiles, (U32)(bufferSize>>20)); in ZDICT_trainBuffer_legacy() 534 suffix[bufferSize] = (int)bufferSize; /* leads into noise */ in ZDICT_trainBuffer_legacy() 535 suffix0[0] = (int)bufferSize; /* leads into noise */ in ZDICT_trainBuffer_legacy() 538 for (pos=0; pos < bufferSize; pos++) in ZDICT_trainBuffer_legacy() 550 { U32 cursor; for (cursor=0; cursor < bufferSize; ) { in ZDICT_trainBuffer_legacy() [all …]
|
| /freebsd-12.1/contrib/ncurses/ncurses/win32con/ |
| H A D | win_driver.c | 857 COORD bufferSize; in save_original_screen() local 862 bufferSize.X = p->SBI.dwSize.X; in save_original_screen() 863 bufferSize.Y = p->SBI.dwSize.Y; in save_original_screen() 864 want = (size_t) (bufferSize.X * bufferSize.Y); in save_original_screen() 871 readRegion.Bottom = (SHORT) (bufferSize.Y - 1); in save_original_screen() 872 readRegion.Right = (SHORT) (bufferSize.X - 1); in save_original_screen() 875 bufferSize.Y, bufferSize.X, in save_original_screen() 885 bufferSize, in save_original_screen() 897 want = (size_t) (bufferSize.X * bufferSize.Y); in save_original_screen() 908 bufferSize.Y, bufferSize.X, in save_original_screen() [all …]
|
| /freebsd-12.1/sys/dev/hptmv/ |
| H A D | ioctl.c | 621 ULONG bufferSize = SECTOR_TO_BYTE(pCmd->uCmd.R1Control.nSectors); in R1ControlSgl() local 623 bufferSize<<=1; in R1ControlSgl() 626 pSgTable->wSgSize = (USHORT)bufferSize; in R1ControlSgl() 654 nextvaddr = (ADDRESS)MIN(((ULONG_PTR)v + bufferSize), (ULONG_PTR)(nextpage)); in R1ControlSgl() 656 if (nextvaddr == (ADDRESS)((ULONG_PTR)v + bufferSize)) break; in R1ControlSgl() 670 bufferSize -= length; in R1ControlSgl() 673 pSgTable[idx].wSgFlag = (bufferSize)? 0 : SG_FLAG_EOT; in R1ControlSgl() 676 }while (bufferSize); in R1ControlSgl()
|
| /freebsd-12.1/sys/dev/dpaa/ |
| H A D | bman.c | 195 bman_pool_create(uint8_t *bpid, uint16_t bufferSize, uint16_t maxBuffers, in bman_pool_create() argument 228 bpp.bufferPoolInfo.bufferSize = bufferSize; in bman_pool_create()
|
| H A D | bman.h | 133 t_Handle bman_pool_create(uint8_t *bpid, uint16_t bufferSize,
|
| H A D | if_dtsec_im.c | 150 pool_params->bufferSize = FM_PORT_BUFFER_SIZE; in dtsec_im_fm_port_rx_init()
|
| /freebsd-12.1/sys/contrib/zstd/lib/compress/ |
| H A D | fse_compress.c | 274 size_t FSE_writeNCount (void* buffer, size_t bufferSize, const short* normalizedCounter, unsigned m… in FSE_writeNCount() argument 279 if (bufferSize < FSE_NCountWriteBound(maxSymbolValue, tableLog)) in FSE_writeNCount() 280 …return FSE_writeNCount_generic(buffer, bufferSize, normalizedCounter, maxSymbolValue, tableLog, 0); in FSE_writeNCount() 282 …return FSE_writeNCount_generic(buffer, bufferSize, normalizedCounter, maxSymbolValue, tableLog, 1); in FSE_writeNCount()
|
| H A D | zstdmt_compress.c | 99 size_t bufferSize; member 116 bufPool->bufferSize = 64 KB; in ZSTDMT_createBufferPool() 159 bufPool->bufferSize = bSize; in ZSTDMT_setBufferSize() 169 size_t const bSize = bufPool->bufferSize; in ZSTDMT_getBuffer() 170 DEBUGLOG(5, "ZSTDMT_getBuffer: bSize = %u", (U32)bufPool->bufferSize); in ZSTDMT_getBuffer() 211 size_t const bSize = bufPool->bufferSize; in ZSTDMT_resizeBuffer() 278 if (seqPool->bufferSize == 0) { in ZSTDMT_getSeq()
|
| /freebsd-12.1/sys/contrib/zstd/programs/ |
| H A D | fileio.c | 1080 static unsigned FIO_fwriteSparse(FILE* file, const void* buffer, size_t bufferSize, unsigned stored… in FIO_fwriteSparse() argument 1083 size_t bufferSizeT = bufferSize / sizeof(size_t); in FIO_fwriteSparse() 1089 size_t const sizeCheck = fwrite(buffer, 1, bufferSize, file); in FIO_fwriteSparse() 1090 if (sizeCheck != bufferSize) EXM_THROW(70, "Write error : cannot write decoded block"); in FIO_fwriteSparse() 1125 if (bufferSize & maskT) { in FIO_fwriteSparse() 1129 size_t restSize = bufferSize & maskT; in FIO_fwriteSparse() 1161 static unsigned FIO_passThrough(FILE* foutput, FILE* finput, void* buffer, size_t bufferSize, size_… in FIO_passThrough() argument 1163 size_t const blockSize = MIN(64 KB, bufferSize); in FIO_passThrough()
|
| H A D | bench.c | 550 static void BMK_loadFiles(void* buffer, size_t bufferSize, in BMK_loadFiles() argument 572 …if (fileSize > bufferSize-pos) fileSize = bufferSize-pos, nbFiles=n; /* buffer too small - stop … in BMK_loadFiles()
|
| /freebsd-12.1/sys/contrib/ncsw/Peripherals/FM/Port/ |
| H A D | fm_port_im.c | 247 …p_FmPort->im.rxPool.bufferSize = p_FmPortParams->specificParams.imRxTxParams.rxPoolParams.buf… in FmPortConfigIM() 259 if (p_FmPort->im.rxPool.bufferSize & p_FmPort->im.mrblr) in FmPortConfigIM() 263 if (p_FmPort->im.mrblr != p_FmPort->im.rxPool.bufferSize) in FmPortConfigIM()
|
| /freebsd-12.1/contrib/libcxxrt/ |
| H A D | exception.cc | 738 size_t bufferSize = 128; in report_failure() local 739 char *demangled = static_cast<char*>(malloc(bufferSize)); in report_failure() 742 demangled = __cxa_demangle(mangled, demangled, &bufferSize, &status); in report_failure()
|
| /freebsd-12.1/sys/contrib/ncsw/inc/ |
| H A D | ncsw_ext.h | 373 uint16_t bufferSize; /**< Buffer size (in bytes) */ member
|
| /freebsd-12.1/sys/contrib/ncsw/Peripherals/BM/ |
| H A D | bm_pool.c | 211 p_BmPoolParam->bufferPoolInfo.bufferSize)), E_INVALID_STATE, NULL); in BM_POOL_Config() 531 return p_BmPool->bufferPoolInfo.bufferSize; in BM_POOL_GetBufferSize()
|
| /freebsd-12.1/sys/contrib/zstd/zlibWrapper/examples/ |
| H A D | zwrapbench.c | 673 static void BMK_loadFiles(void* buffer, size_t bufferSize, in BMK_loadFiles() argument 695 …if (fileSize > bufferSize-pos) fileSize = bufferSize-pos, nbFiles=n; /* buffer too small - stop … in BMK_loadFiles()
|
| /freebsd-12.1/sys/contrib/zstd/lib/common/ |
| H A D | fse.h | 181 FSE_PUBLIC_API size_t FSE_writeNCount (void* buffer, size_t bufferSize, const short* normalizedCoun…
|
| /freebsd-12.1/contrib/expat/lib/ |
| H A D | xmlparse.c | 1761 int bufferSize = (int)(bufferLim - bufferPtr); in XML_GetBuffer() local 1762 if (bufferSize == 0) in XML_GetBuffer() 1763 bufferSize = INIT_BUFFER_SIZE; in XML_GetBuffer() 1766 bufferSize = (int) (2U * (unsigned) bufferSize); in XML_GetBuffer() 1767 } while (bufferSize < neededSize && bufferSize > 0); in XML_GetBuffer() 1768 if (bufferSize <= 0) { in XML_GetBuffer() 1772 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer() 1777 bufferLim = newBuf + bufferSize; in XML_GetBuffer()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Target/ |
| H A D | TargetSchedule.td | 559 class RetireControlUnit<int bufferSize, int retirePerCycle> { 560 int ReorderBufferSize = bufferSize;
|
| /freebsd-12.1/sys/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress.c | 2850 size_t const bufferSize = neededInBuffSize + neededOutBuffSize; in ZSTD_decompressStream() local 2858 if (bufferSize > zds->staticSize - sizeof(ZSTD_DCtx)) in ZSTD_decompressStream() 2864 zds->inBuff = (char*)ZSTD_malloc(bufferSize, zds->customMem); in ZSTD_decompressStream()
|