Searched refs:nBytes (Results 1 - 25 of 29) sorted by relevance

12

/macosx-10.10.1/OpenAL-54/Source/OpenAL/
H A DoalRingBuffer.cpp93 UInt32 offset0, offset1, nBytes; local
104 nBytes = mCapacityBytes - offset0;
105 memset(mBuffer + offset0, 0, nBytes);
125 nBytes = mCapacityBytes - offset0;
126 memcpy(mBuffer + offset0, data, nBytes);
127 memcpy(mBuffer, data + nBytes, offset1);
146 UInt32 nBytes = mCapacityBytes - offset0; local
147 memcpy(data, mBuffer + offset0, nBytes);
148 memcpy(data + nBytes, mBuffer, offset1);
/macosx-10.10.1/apache-793/httpd/modules/ssl/
H A Dssl_engine_rand.c66 nDone += ssl_rand_feedfp(p, fp, pRandSeed->nBytes);
76 argv[1] = apr_itoa(p, pRandSeed->nBytes);
81 nDone += ssl_rand_feedfp(p, fp, pRandSeed->nBytes);
H A Dssl_engine_config.c590 seed->nBytes = 0; /* read whole file */
598 seed->nBytes = atoi(arg3);
600 if (seed->nBytes < 0) {
/macosx-10.10.1/tcl-105/tk/tk/generic/
H A DtkImgPPM.c147 int nLines, nBytes, h, type, count;
213 nBytes = nLines * block.pitch;
214 pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
220 nBytes = nLines * block.pitch;
222 count = Tcl_Read(chan, (char *) pixelPtr, nBytes);
223 if (count != nBytes) {
278 int w, h, greenOffset, blueOffset, nBytes;
307 nBytes = blockPtr->height * blockPtr->pitch;
308 if (Tcl_Write(chan, (char *) pixLinePtr, nBytes) != nBytes) {
145 int nLines, nBytes, h, type, count; local
275 int w, h, greenOffset, blueOffset, nBytes; local
479 int nLines, nBytes, h, type, count, dataSize; local
[all...]
H A DtkImgGIF.c262 int nBytes, index = 0, argc = 0, i, result = TCL_ERROR;
295 0, &nBytes) != TCL_OK) {
440 nBytes = fileWidth * fileHeight * 3;
441 trashBuffer = (unsigned char *) ckalloc((unsigned) nBytes);
524 nBytes = block.pitch * imageHeight;
525 block.pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
260 int nBytes, index = 0, argc = 0, i, result = TCL_ERROR; local
/macosx-10.10.1/tcl-105/tk84/tk/generic/
H A DtkImgPPM.c156 int nLines, nBytes, h, type, count;
220 nBytes = nLines * block.pitch;
221 pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
227 nBytes = nLines * block.pitch;
229 count = Tcl_Read(chan, (char *) pixelPtr, nBytes);
230 if (count != nBytes) {
283 int greenOffset, blueOffset, nBytes;
312 nBytes = blockPtr->height * blockPtr->pitch;
313 if (Tcl_Write(chan, (char *) pixLinePtr, nBytes) != nBytes) {
154 int nLines, nBytes, h, type, count; local
280 int greenOffset, blueOffset, nBytes; local
481 int nLines, nBytes, h, type, count, dataSize; local
[all...]
H A DtkImgGIF.c249 int nBytes, index = 0, argc = 0, i;
267 &nBytes) != TCL_OK) {
402 nBytes = fileWidth * fileHeight * 3;
404 (unsigned char *) ckalloc((unsigned int) nBytes);
470 nBytes = block.pitch * imageHeight;
471 block.pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
247 int nBytes, index = 0, argc = 0, i; local
/macosx-10.10.1/apache-793/httpd/modules/examples/
H A Dmod_case_filter_in.c68 apr_off_t nBytes)
81 ret = ap_get_brigade(f->next, pCtx->pbbTmp, eMode, eBlock, nBytes);
64 CaseFilterInFilter(ap_filter_t *f, apr_bucket_brigade *pbbOut, ap_input_mode_t eMode, apr_read_type_e eBlock, apr_off_t nBytes) argument
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h156 unsigned int nBytes = 4; local
158 nBytes = 8;
159 for (pos=0; pos<size; pos+=nBytes) {
179 if (nBytes == 4)
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/ppm/
H A Dppm.c338 Int nBytes, char *buf, Boln swapBytes, Boln isAscii)
345 printf ("Reading %d UBytes\n", nBytes);
348 for (i=0; i<nBytes; i++) {
357 if (nBytes != tkimg_Read (handle, buf, nBytes))
360 for (i=0; i<nBytes; i++) {
978 static int writeAsciiRow (tkimg_MFile *handle, const unsigned char *scanline, int nBytes)
983 for (i=0; i<nBytes; i++) {
989 return nBytes;
1000 int redOff, greenOff, blueOff, nBytes;
337 readUByteRow(Tcl_Interp *interp, tkimg_MFile *handle, UByte *pixels, Int nBytes, char *buf, Boln swapBytes, Boln isAscii) argument
975 writeAsciiRow(tkimg_MFile *handle, const unsigned char *scanline, int nBytes) argument
997 int redOff, greenOff, blueOff, nBytes; local
[all...]
/macosx-10.10.1/bzip2-36/bzip2/
H A Dcompress.c243 Int32 nGroups, nBytes; local
503 nBytes = s->numZ;
514 VPrintf1( " bytes: mapping %d, ", s->numZ-nBytes );
518 nBytes = s->numZ;
526 VPrintf1( "selectors %d, ", s->numZ-nBytes );
529 nBytes = s->numZ;
542 VPrintf1 ( "code lengths %d, ", s->numZ-nBytes );
545 nBytes = s->numZ;
597 VPrintf1( "codes %d\n", s->numZ-nBytes );
/macosx-10.10.1/tcl-105/tcl_ext/snack/snack/generic/
H A DsnackDecls.h67 void * buf, int nBytes));
70 void * buf, int nBytes));
146 void (*snack_PutSoundData) _ANSI_ARGS_((Sound * s, int pos, void * buf, int nBytes)); /* 12 */
147 void (*snack_GetSoundData) _ANSI_ARGS_((Sound * s, int pos, void * buf, int nBytes)); /* 13 */
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/ubrkperf/
H A Dubrkperfold.cpp589 int nBytes; local
590 if (ch >= 0xF0) {nBytes=4;}
591 else if (ch >= 0xE0) {nBytes=3;}
592 else if (ch >= 0xC0) {nBytes=2;}
602 for (i=1; i<nBytes; i++) {
605 fprintf(stderr, "utf-8 encoded file %s contains corrupt data at offset %d. Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch);
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/window/
H A Dwindow.c223 int fileWidth, fileHeight, depth, nBytes, x, y; local
374 nBytes = block.pitch * height;
375 block.pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/sun/
H A Dsun.c1214 int x, y, nchan, nBytes, linepad; local
1241 nBytes = blockPtr->width * nchan;
1242 linepad = nBytes % 2;
1249 sh.ras_length = (nBytes + linepad) * blockPtr->height;
1259 row = (UByte *) ckalloc (nBytes);
1261 sprintf(errMsg, "Can't allocate memory of size %d", nBytes);
1278 if (nBytes != tkimg_Write(handle, (const char *)row, nBytes)) {
1279 sprintf(errMsg, "Can't write %d bytes to image file", nBytes);
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/pcx/
H A Dpcx.c767 int x, y, nchan, nBytes; local
794 nBytes = blockPtr->width * nchan;
819 row = (UByte *) ckalloc (nBytes);
831 if (nBytes != tkimg_Write(handle, (const char *)row, nBytes)) {
832 sprintf(errMsg, "Can't write %d bytes to image file.", nBytes);
848 if (!writeline (handle, row, nBytes)) {
849 sprintf(errMsg, "Can't write %d bytes to image file.", nBytes);
/macosx-10.10.1/objc4-646/runtime/
H A Dobjc-class-old.mm2571 static id _object_reallocFromZone(id anObject, size_t nBytes, void *zone)
2582 if (nBytes < anObject->ISA()->alignedInstanceSize())
2584 object_getClassName(anObject), nBytes);
2591 newObject = (id)malloc_zone_realloc((malloc_zone_t *)zone, anObject, nBytes);
2602 static id _object_realloc(id anObject, size_t nBytes)
2606 nBytes,
2670 id object_realloc(id obj, size_t nBytes)
2673 if (UseGC) return _object_realloc(obj, nBytes);
2674 else return (*_realloc)(obj, nBytes);
2677 id object_reallocFromZone(id obj, size_t nBytes, voi
[all...]
H A Druntime.h1748 OBJC_EXPORT id object_copyFromZone(id anObject, size_t nBytes, void *z)
1751 OBJC_EXPORT id object_realloc(id anObject, size_t nBytes) OBJC2_UNAVAILABLE;
1752 OBJC_EXPORT id object_reallocFromZone(id anObject, size_t nBytes, void *z) OBJC2_UNAVAILABLE;
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/gif/
H A Dgif.c244 int nBytes, index = 0, objc = 0;
261 char *c = Tcl_GetStringFromObj(objv[1], &nBytes);
393 nBytes = fileWidth * fileHeight * 3;
394 trashBuffer = (char *) ckalloc((unsigned int) nBytes);
462 nBytes = block.pitch * imageHeight;
463 pixBuf = (unsigned char *) ckalloc((unsigned) nBytes);
243 int nBytes, index = 0, objc = 0; local
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/dted/
H A Ddted.c475 Int i, nBytes; local
509 nBytes = sizeof (Short) * nRows;
510 if (nBytes != tkimg_Read (handle, buf, nBytes)) {
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/collationperf/
H A Dcollperf.cpp1318 int nBytes; local
1319 if (ch >= 0xF0) {nBytes=4;}
1320 else if (ch >= 0xE0) {nBytes=3;}
1321 else if (ch >= 0xC0) {nBytes=2;}
1331 for (i=1; i<nBytes; i++) {
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/raw/
H A Draw.c404 static Boln readUByteRow (tkimg_MFile *handle, UByte *pixels, Int nBytes, argument
412 printf ("Reading %d UBytes\n", nBytes); fflush (stdout);
414 if (nBytes != tkimg_Read (handle, buf, nBytes))
417 for (i=0; i<nBytes; i++) {
/macosx-10.10.1/smb-759.0/kernel/netsmb/
H A Dsmb_crypt.c114 * Utility routine to fetch 'nBytes' bytes from an mbuf chain
116 * bytes copied into buffer, always 'nBytes' unless mbuf chain
120 mbuf_get_nbytes(size_t nBytes, unsigned char *buf, size_t offset, mbuf_t *mb, size_t *mb_len, size_t *mb_off) argument
124 remain = nBytes;
128 if (!nBytes) {
129 SMBERROR("Called with nBytes == 0\n");
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/tiff/
H A Dtiff.c594 int nBytes, index = 0, objc = 0; local
601 char *c = Tcl_GetStringFromObj(objv[1], &nBytes);
/macosx-10.10.1/apache-793/httpd/modules/lua/
H A Dmod_lua.c519 apr_off_t nBytes)
551 return ap_get_brigade(f->next, pbbOut, eMode, eBlock, nBytes);
555 ret = ap_get_brigade(f->next, ctx->tmpBucket, eMode, eBlock, nBytes);
515 lua_input_filter_handle(ap_filter_t *f, apr_bucket_brigade *pbbOut, ap_input_mode_t eMode, apr_read_type_e eBlock, apr_off_t nBytes) argument

Completed in 367 milliseconds

12