/external/webkit/Source/WebKit2/Shared/ |
D | ShareableBitmap.cpp | 62 size_t numBytes = numBytesForSize(size); in create() local 65 if (!tryFastMalloc(numBytes).getValue(data)) in create() 73 size_t numBytes = numBytesForSize(size); in createShareable() local 75 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(numBytes); in createShareable() 86 size_t numBytes = numBytesForSize(size); in create() local 87 ASSERT_UNUSED(numBytes, sharedMemory->size() >= numBytes); in create()
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | PoolAlloc.cpp | 221 void* TPoolAllocator::allocate(size_t numBytes) in allocate() argument 228 size_t allocationSize = TAllocation::allocationSize(numBytes); in allocate() 234 totalBytes += numBytes; in allocate() 248 return initializeAllocation(inUseList, memory, numBytes); in allocate() 291 return initializeAllocation(inUseList, ret, numBytes); in allocate()
|
D | PoolAlloc.h | 146 void* allocate(size_t numBytes); 188 void* initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) { in initializeAllocation() argument 190 new(memory) TAllocation(numBytes, memory, block->lastAllocation); in initializeAllocation()
|
/external/webkit/Source/WebCore/platform/text/ |
D | TextCodecUTF16.cpp | 77 size_t numBytes = length + m_haveBufferedByte; in decode() local 78 size_t numChars = numBytes / 2; in decode() 109 if (numBytes & 1) { in decode()
|
/external/collada/src/modules/LIBXMLPlugin/ |
D | daeLIBXMLPlugin.cpp | 50 int numBytes = UTF8Toisolat1(latin1, &outLen, utf8, &inLen); in utf8ToLatin1() local 51 if (numBytes < 0) in utf8ToLatin1() 53 numBytes = 0; in utf8ToLatin1() 55 latin1[numBytes] = '\0'; in utf8ToLatin1() 64 int numBytes = isolat1ToUTF8(utf8, &outLen, (xmlChar*)latin1.c_str(), &inLen); in latin1ToUtf8() local 65 if (numBytes < 0) in latin1ToUtf8() 67 numBytes = 0; in latin1ToUtf8() 69 utf8[numBytes] = '\0'; in latin1ToUtf8()
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | VDMXParser.cpp | 50 bool skip(size_t numBytes) in skip() argument 52 if (m_offset + numBytes > m_length) in skip() 54 m_offset += numBytes; in skip()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | RandomImpl.java | 46 protected byte[] engineGenerateSeed(int numBytes) { in engineGenerateSeed() argument 48 byte[] b = new byte[numBytes]; in engineGenerateSeed()
|
/external/webkit/Source/WebCore/platform/text/brew/ |
D | TextCodecBrew.cpp | 196 int numBytes = dst - dstBegin; in encode() local 197 if (numBytes > 0) in encode() 198 result.append(dstBuffer.data(), numBytes); in encode()
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 171 void AppendBytes(CharUnits numBytes); 867 llvm::Type *CGRecordLayoutBuilder::getByteArrayType(CharUnits numBytes) { in getByteArrayType() argument 868 assert(!numBytes.isZero() && "Empty byte arrays aren't allowed."); in getByteArrayType() 871 if (numBytes > CharUnits::One()) in getByteArrayType() 872 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity()); in getByteArrayType() 877 void CGRecordLayoutBuilder::AppendBytes(CharUnits numBytes) { in AppendBytes() argument 878 if (numBytes.isZero()) in AppendBytes() 882 AppendField(NextFieldOffset, getByteArrayType(numBytes)); in AppendBytes()
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
D | vertexconversion.h | 185 static T *pointerAddBytes(T *basePtr, std::size_t numBytes) 187 return reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(basePtr) + numBytes);
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebNSURLExtras.mm | 629 CFIndex numBytes = CFURLGetBytes((CFURLRef)self, buffer, 2048); 630 if (numBytes == -1) { 631 numBytes = CFURLGetBytes((CFURLRef)self, NULL, 0); 632 urlBytes = static_cast<UInt8*>(malloc(numBytes)); 633 CFURLGetBytes((CFURLRef)self, urlBytes, numBytes); 666 CFIndex numBytes = CFURLGetBytes((CFURLRef)self, buffer, 2048); 667 if (numBytes == -1) { 668 numBytes = CFURLGetBytes((CFURLRef)self, NULL, 0); 669 urlBytes = static_cast<UInt8*>(malloc(numBytes)); 670 CFURLGetBytes((CFURLRef)self, urlBytes, numBytes); [all …]
|
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/ |
D | JPEGImageDecoder.cpp | 172 void skipBytes(long numBytes) in skipBytes() argument 175 long bytesToSkip = std::min(numBytes, (long)src->pub.bytes_in_buffer); in skipBytes() 179 m_bytesToSkip = std::max(numBytes - bytesToSkip, static_cast<long>(0)); in skipBytes()
|
/external/webkit/Source/WebKit/mac/Plugins/ |
D | WebNetscapePluginEventHandlerCarbon.mm | 311 ByteCount numBytes; 312 … GetEventParameter(rawKeyEventRef, kEventParamKeyMacCharCodes, typeChar, NULL, 0, &numBytes, NULL); 317 char *buffer = (char *)malloc(numBytes); 318 …status = GetEventParameter(rawKeyEventRef, kEventParamKeyMacCharCodes, typeChar, NULL, numBytes, N… 327 for (i = 0; i < numBytes; i++) {
|
/external/clang/test/SemaObjC/ |
D | objc-string-constant.m | 19 int numBytes; field
|
/external/icu4c/i18n/ |
D | uspoof_impl.cpp | 645 void *SpoofData::reserveSpace(int32_t numBytes, UErrorCode &status) { in reserveSpace() argument 655 numBytes = (numBytes + 15) & ~15; // Round up to a multiple of 16 in reserveSpace() 657 fMemLimit += numBytes; in reserveSpace() 660 uprv_memset((char *)fRawData + returnOffset, 0, numBytes); in reserveSpace()
|
D | uspoof_impl.h | 297 void *reserveSpace(int32_t numBytes, UErrorCode &status);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | JarFileTest.java | 419 private void readExactly(InputStream in, int numBytes) throws IOException { in readExactly() argument 421 while (numBytes > 0) { in readExactly() 422 int read = in.read(buffer, 0, Math.min(numBytes, 1024)); in readExactly() 424 numBytes -= read; in readExactly()
|
/external/clang/test/CodeGenObjC/ |
D | ns-constant-strings.m | 12 unsigned int numBytes; field
|
/external/webkit/Source/WebKit2/UIProcess/win/ |
D | WebView.cpp | 1283 int numBytes = Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPCLAUSE, 0, 0); in onIMEComposition() local 1284 Vector<DWORD> clauses(numBytes / sizeof(DWORD)); in onIMEComposition() 1285 Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPCLAUSE, clauses.data(), numBytes); in onIMEComposition()
|