Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Source/WebKit2/Shared/
DShareableBitmap.cpp62 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/
DPoolAlloc.cpp221 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()
DPoolAlloc.h146 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/arduino/libraries/Wire/
DWire.cpp207 void TwoWire::onReceiveService(uint8_t* inBytes, int numBytes) in onReceiveService() argument
221 for(uint8_t i = 0; i < numBytes; ++i){ in onReceiveService()
226 rxBufferLength = numBytes; in onReceiveService()
228 user_onReceive(numBytes); in onReceiveService()
/external/webkit/Source/WebCore/platform/text/
DTextCodecUTF16.cpp77 size_t numBytes = length + m_haveBufferedByte; in decode() local
78 size_t numChars = numBytes / 2; in decode()
109 if (numBytes & 1) { in decode()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DVDMXParser.cpp50 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/
DRandomImpl.java46 protected byte[] engineGenerateSeed(int numBytes) { in engineGenerateSeed() argument
48 byte[] b = new byte[numBytes]; in engineGenerateSeed()
/external/webkit/Source/WebCore/platform/text/brew/
DTextCodecBrew.cpp196 int numBytes = dst - dstBegin; in encode() local
197 if (numBytes > 0) in encode()
198 result.append(dstBuffer.data(), numBytes); in encode()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRStringStream.h50 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes;
60 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
DANTLRStringStream.m56 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes;
58 return [[ANTLRStringStream alloc] initWithData:myData Count:numBytes];
113 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes
117 n = numBytes;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRStringStream.h61 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes;
71 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRStringStream.h61 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes;
71 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRStringStream.h61 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes;
71 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp178 void AppendBytes(CharUnits numBytes);
906 llvm::Type *CGRecordLayoutBuilder::getByteArrayType(CharUnits numBytes) { in getByteArrayType() argument
907 assert(!numBytes.isZero() && "Empty byte arrays aren't allowed."); in getByteArrayType()
910 if (numBytes > CharUnits::One()) in getByteArrayType()
911 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity()); in getByteArrayType()
916 void CGRecordLayoutBuilder::AppendBytes(CharUnits numBytes) { in AppendBytes() argument
917 if (numBytes.isZero()) in AppendBytes()
921 AppendField(NextFieldOffset, getByteArrayType(numBytes)); in AppendBytes()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
Dvertexconversion.h185 static T *pointerAddBytes(T *basePtr, std::size_t numBytes)
187 return reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(basePtr) + numBytes);
/external/smack/src/org/jivesoftware/smack/util/
DBase64.java1077 int numBytes = 0; in decodeFromFile() local
1093 while( ( numBytes = bis.read( buffer, length, 4096 ) ) >= 0 ) in decodeFromFile()
1094 length += numBytes; in decodeFromFile()
1134 int numBytes = 0; in encodeFromFile() local
1142 while( ( numBytes = bis.read( buffer, length, 4096 ) ) >= 0 ) in encodeFromFile()
1143 length += numBytes; in encodeFromFile()
/external/webkit/Source/WebKit/mac/Misc/
DWebNSURLExtras.mm629 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/
DJPEGImageDecoder.cpp172 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/
DWebNetscapePluginEventHandlerCarbon.mm311 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/
Dobjc-string-constant.m19 int numBytes; field
/external/icu4c/i18n/
Duspoof_impl.cpp655 void *SpoofData::reserveSpace(int32_t numBytes, UErrorCode &status) { in reserveSpace() argument
665 numBytes = (numBytes + 15) & ~15; // Round up to a multiple of 16 in reserveSpace()
667 fMemLimit += numBytes; in reserveSpace()
670 uprv_memset((char *)fRawData + returnOffset, 0, numBytes); in reserveSpace()
Duspoof_impl.h290 void *reserveSpace(int32_t numBytes, UErrorCode &status);
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DJarFileTest.java419 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/
Dns-constant-strings.m12 unsigned int numBytes; field
/external/smack/src/org/xbill/DNS/
DMessage.java532 numBytes() { in numBytes() method in Message
588 sb.append(";; Message size: " + numBytes() + " bytes"); in toString()

12