Searched refs:newBytes (Results 1 - 13 of 13) sorted by relevance

/macosx-10.10.1/JavaScriptCore-7600.1.17/heap/
H A DCopiedAllocator.h42 CheckedBoolean tryReallocate(void *oldPtr, size_t oldBytes, size_t newBytes);
106 void* oldPtr, size_t oldBytes, size_t newBytes)
110 ASSERT(is8ByteAligned(reinterpret_cast<void*>(newBytes)));
112 ASSERT(newBytes > oldBytes);
114 size_t additionalBytes = newBytes - oldBytes;
105 tryReallocate( void* oldPtr, size_t oldBytes, size_t newBytes) argument
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dsortkey.cpp100 uint8_t *newBytes = static_cast<uint8_t *>(uprv_malloc(newCapacity)); local
101 if(newBytes == NULL) { return NULL; }
103 uprv_memcpy(newBytes, getBytes(), length);
106 fUnion.fFields.fBytes = newBytes;
109 return newBytes;
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/persist/model/
H A DClassEnhancer.java247 byte[] newBytes = enhanceBytes(readFile(file));
248 if (newBytes != null) {
250 writeFile(file, newBytes);
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dbytestriebuilder.cpp382 char *newBytes=static_cast<char *>(uprv_malloc(newCapacity)); local
383 if(newBytes==NULL) {
390 uprv_memcpy(newBytes+(newCapacity-bytesLength),
393 bytes=newBytes;
/macosx-10.10.1/tcl-105/tcl/tcl/generic/
H A DtclCompile.c2384 size_t newBytes = 2*(envPtr->codeEnd - envPtr->codeStart);
2388 ckrealloc((char *)envPtr->codeStart, newBytes);
2394 unsigned char *newPtr = (unsigned char *) ckalloc((unsigned) newBytes);
2401 envPtr->codeEnd = (envPtr->codeStart + newBytes);
2451 size_t newBytes = newElems * sizeof(CmdLocation);
2455 ckrealloc((char *) envPtr->cmdMapPtr, newBytes);
2461 CmdLocation *newPtr = (CmdLocation *) ckalloc((unsigned) newBytes);
2580 size_t newBytes = newElems * sizeof(ECL);
2582 eclPtr->loc = (ECL *) ckrealloc((char *)(eclPtr->loc), newBytes);
2652 size_t newBytes
2368 size_t newBytes = 2*(envPtr->codeEnd - envPtr->codeStart); local
2434 size_t newBytes = newElems * sizeof(CmdLocation); local
2561 size_t newBytes = newElems * sizeof(ECL); local
2632 size_t newBytes = newElems * sizeof(ExceptionRange); local
2709 size_t newBytes = newElems * sizeof(AuxData); local
2797 size_t newBytes = newElems * sizeof(JumpFixup); local
[all...]
H A DtclStringObj.c825 char *newBytes = ckalloc((unsigned) (length+1));
828 memcpy(newBytes, objPtr->bytes, (size_t) objPtr->length);
831 objPtr->bytes = newBytes;
938 char *newBytes;
946 newBytes = attemptckrealloc(objPtr->bytes,
948 if (newBytes == NULL) {
952 newBytes = attemptckalloc((unsigned) (length + 1));
953 if (newBytes == NULL) {
957 memcpy(newBytes, objPtr->bytes, (size_t) objPtr->length);
961 objPtr->bytes = newBytes;
815 char *newBytes = ckalloc((unsigned) (length+1)); local
927 char *newBytes; local
[all...]
H A DtclExecute.c896 int newBytes, newElems, currElems;
971 newBytes = sizeof (ExecStack) + (newElems-1) * sizeof(Tcl_Obj *);
974 esPtr = (ExecStack *) ckalloc(newBytes);
891 int newBytes, newElems, currElems; local
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A DtclCompile.c2461 size_t newBytes = 2*(envPtr->codeEnd - envPtr->codeStart);
2462 unsigned char *newPtr = (unsigned char *) ckalloc((unsigned) newBytes);
2475 envPtr->codeEnd = (newPtr + newBytes);
2526 size_t newBytes = newElems * sizeof(CmdLocation);
2527 CmdLocation *newPtr = (CmdLocation *) ckalloc((unsigned) newBytes);
2658 size_t newBytes = newElems * sizeof(ECL);
2659 ECL * newPtr = (ECL *) ckalloc((unsigned) newBytes);
2746 size_t newBytes = newElems * sizeof(ExceptionRange);
2748 ckalloc((unsigned) newBytes);
2824 size_t newBytes
2444 size_t newBytes = 2*(envPtr->codeEnd - envPtr->codeStart); local
2508 size_t newBytes = newElems * sizeof(CmdLocation); local
2638 size_t newBytes = newElems * sizeof(ECL); local
2725 size_t newBytes = newElems * sizeof(ExceptionRange); local
2802 size_t newBytes = newElems * sizeof(AuxData); local
2890 size_t newBytes = newElems * sizeof(JumpFixup); local
[all...]
H A DtclNamesp.c985 size_t newBytes = numNewElems * sizeof(char *);
986 char **newPtr = (char **) ckalloc((unsigned) newBytes);
2361 size_t newBytes = newSize * sizeof(Namespace *);
2363 (Namespace **) ckalloc((unsigned) newBytes);
975 size_t newBytes = numNewElems * sizeof(char *); local
2340 size_t newBytes = newSize * sizeof(Namespace *); local
H A DtclExecute.c657 int newBytes = 2*currBytes;
658 Tcl_Obj **newStackPtr = (Tcl_Obj **) ckalloc((unsigned) newBytes);
652 int newBytes = 2*currBytes; local
/macosx-10.10.1/tcl-105/tk84/tk/unix/
H A DtkUnixSend.c491 int idLength, newBytes;
495 newBytes = idLength + strlen(name) + 1;
496 newProp = (char *) ckalloc((unsigned) (regPtr->propLength + newBytes));
500 memcpy((VOID *) (newProp + newBytes), (VOID *) regPtr->property,
509 regPtr->propLength += newBytes;
487 int idLength, newBytes; local
/macosx-10.10.1/IOAudioFamily-200.6/
H A DIOAudioControl.cpp645 const void *oldBytes, *newBytes; local
667 newBytes = newData->getBytesNoCopy();
670 newBytes = NULL;
674 result = valueChangeHandler.dataHandler(valueChangeTarget, this, oldBytes, oldSize, newBytes, newSize);
/macosx-10.10.1/tcl-105/tk/tk/unix/
H A DtkUnixSend.c478 int idLength, newBytes;
482 newBytes = idLength + strlen(name) + 1;
483 newProp = ckalloc((unsigned) (regPtr->propLength + newBytes));
487 memcpy(newProp + newBytes, regPtr->property, regPtr->propLength);
495 regPtr->propLength += newBytes;
474 int idLength, newBytes; local

Completed in 180 milliseconds