Searched refs:bufferSize (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/external/mit/expat/dist/tests/benchmark/
H A Dbenchmark.c55 fprintf(stderr, "usage: %s [-n] filename bufferSize nr_of_loops\n", prog);
65 int nrOfLoops, bufferSize, fileSize, i, isFinal; local
94 bufferSize = atoi(argv[j + 2]);
96 if (bufferSize <= 0 || nrOfLoops <= 0) {
118 if (parseBufferSize <= bufferSize)
121 parseBufferSize = bufferSize;
133 XMLBufPtr += bufferSize;
145 nrOfLoops, bufferSize, cpuTime / (double)nrOfLoops);
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/digest/
H A Dmurmurhash.d489 private size_t bufferSize;
506 assert(bufferSize < Element.sizeof);
509 if (bufferSize + data.length < Element.sizeof)
511 buffer.data[bufferSize .. bufferSize + data.length] = data[];
512 bufferSize += data.length;
518 if (bufferSize != 0)
520 const bufferLeeway = Element.sizeof - bufferSize;
521 buffer.data[bufferSize .. $] = data[0 .. bufferLeeway];
581 bufferSize
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/digest/
H A Dmurmurhash.d489 private size_t bufferSize;
506 assert(bufferSize < Element.sizeof);
509 if (bufferSize + data.length < Element.sizeof)
511 buffer.data[bufferSize .. bufferSize + data.length] = data[];
512 bufferSize += data.length;
518 if (bufferSize != 0)
520 const bufferLeeway = Element.sizeof - bufferSize;
521 buffer.data[bufferSize .. $] = data[0 .. bufferLeeway];
581 bufferSize
[all...]
/netbsd-current/sys/dev/raidframe/
H A Drf_paritylogging.c293 raidPtr->regionBufferPool.bufferSize = raidPtr->regionLogCapacity *
295 printf("regionBufferPool.bufferSize %d\n",
296 raidPtr->regionBufferPool.bufferSize);
316 (int) (raidPtr->regionBufferPool.bufferSize *
319 RF_Malloc(raidPtr->regionBufferPool.bufferSize);
323 raidPtr->regionBufferPool.bufferSize *
341 raidPtr->parityBufferPool.bufferSize = parityBufferCapacity *
343 printf("parityBufferPool.bufferSize %d\n",
344 raidPtr->parityBufferPool.bufferSize);
365 (int) (raidPtr->parityBufferPool.bufferSize *
[all...]
H A Drf_paritylog.h98 int bufferSize; member in struct:RF_RegionBufferQueue_s
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Dstring.d80 enum bufferSize = radix >= 10 ? 20 : 65;
81 TempStringNoAlloc!bufferSize result = void;
/netbsd-current/external/bsd/libc++/dist/libcxxrt/src/
H A Dexception.cc720 size_t bufferSize = 128; local
721 char *demangled = static_cast<char*>(malloc(bufferSize));
724 demangled = __cxa_demangle(mangled, demangled, &bufferSize, &status);
/netbsd-current/external/mit/expat/dist/lib/
H A Dxmlparse.c2102 int bufferSize local
2104 if (bufferSize == 0)
2105 bufferSize = INIT_BUFFER_SIZE;
2108 bufferSize = (int)(2U * (unsigned)bufferSize);
2109 } while (bufferSize < neededSize && bufferSize > 0);
2110 if (bufferSize <= 0) {
2114 newBuf = (char *)MALLOC(parser, bufferSize);
2119 parser->m_bufferLim = newBuf + bufferSize;
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/net/
H A Dcurl.d1588 private this(Tid tid, size_t transmitBuffers, size_t bufferSize)
1598 auto arr = new Char[](bufferSize);
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/net/
H A Dcurl.d4944 private this(Tid tid, size_t transmitBuffers, size_t bufferSize)
4956 auto arr = new Char[](bufferSize);

Completed in 231 milliseconds