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

12

/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java46 protected byte[] engineGenerateSeed(int numBytes) { argument
48 byte[] b = new byte[numBytes];
/external/webkit/Source/WebKit2/Shared/
H A DShareableBitmap.cpp62 size_t numBytes = numBytesForSize(size); local
65 if (!tryFastMalloc(numBytes).getValue(data))
73 size_t numBytes = numBytesForSize(size); local
75 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(numBytes);
86 size_t numBytes = numBytesForSize(size); local
87 ASSERT_UNUSED(numBytes, sharedMemory->size() >= numBytes);
/external/arduino/libraries/Wire/
H A DWire.cpp182 // or after requestFrom(address, numBytes)
190 // or after requestFrom(address, numBytes)
207 void TwoWire::onReceiveService(uint8_t* inBytes, int numBytes) argument
221 for(uint8_t i = 0; i < numBytes; ++i){
226 rxBufferLength = numBytes;
228 user_onReceive(numBytes);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DPoolAlloc.cpp221 void* TPoolAllocator::allocate(size_t numBytes) argument
224 // them: [guardblock][allocation][guardblock]. numBytes is how
228 size_t allocationSize = TAllocation::allocationSize(numBytes);
234 totalBytes += numBytes;
248 return initializeAllocation(inUseList, memory, numBytes);
291 return initializeAllocation(inUseList, ret, numBytes);
H A DPoolAlloc.h144 // available, otherwise a properly aligned pointer to 'numBytes' of memory.
146 void* allocate(size_t numBytes);
188 void* initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) { argument
190 new(memory) TAllocation(numBytes, memory, block->lastAllocation);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DVDMXParser.cpp50 bool skip(size_t numBytes) argument
52 if (m_offset + numBytes > m_length)
54 m_offset += numBytes;
/external/webkit/Source/WebCore/platform/text/
H A DTextCodecUTF16.cpp77 size_t numBytes = length + m_haveBufferedByte; local
78 size_t numChars = numBytes / 2;
109 if (numBytes & 1) {
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRStringStream.h50 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes;
60 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
/external/webkit/Source/WebCore/platform/text/brew/
H A DTextCodecBrew.cpp196 int numBytes = dst - dstBegin; local
197 if (numBytes > 0)
198 result.append(dstBuffer.data(), numBytes);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A 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/
H A 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/
H A DANTLRStringStream.h61 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes;
71 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
H A Dvertexconversion.h185 static T *pointerAddBytes(T *basePtr, std::size_t numBytes) argument
187 return reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(basePtr) + numBytes);
/external/webkit/Source/WebKit/mac/Misc/
H A 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/WebKit/mac/Plugins/
H A DWebNetscapePluginEventHandlerCarbon.mm311 ByteCount numBytes;
312 status = GetEventParameter(rawKeyEventRef, kEventParamKeyMacCharCodes, typeChar, NULL, 0, &numBytes, NULL);
317 char *buffer = (char *)malloc(numBytes);
318 status = GetEventParameter(rawKeyEventRef, kEventParamKeyMacCharCodes, typeChar, NULL, numBytes, NULL, buffer);
327 for (i = 0; i < numBytes; i++) {
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/
H A DJPEGImageDecoder.cpp172 void skipBytes(long numBytes) argument
175 long bytesToSkip = std::min(numBytes, (long)src->pub.bytes_in_buffer);
179 m_bytesToSkip = std::max(numBytes - bytesToSkip, static_cast<long>(0));
/external/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp176 void AppendBytes(CharUnits numBytes);
938 llvm::Type *CGRecordLayoutBuilder::getByteArrayType(CharUnits numBytes) { argument
939 assert(!numBytes.isZero() && "Empty byte arrays aren't allowed.");
942 if (numBytes > CharUnits::One())
943 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity());
948 void CGRecordLayoutBuilder::AppendBytes(CharUnits numBytes) { argument
949 if (numBytes.isZero())
953 AppendField(NextFieldOffset, getByteArrayType(numBytes));
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DJarFileTest.java416 * Performs as many read() calls as necessary to read {@code numBytes} from
419 private void readExactly(InputStream in, int numBytes) throws IOException { argument
421 while (numBytes > 0) {
422 int read = in.read(buffer, 0, Math.min(numBytes, 1024));
424 numBytes -= read;
/external/icu4c/i18n/
H A Duspoof_impl.h290 void *reserveSpace(int32_t numBytes, UErrorCode &status);
H A Duspoof_impl.cpp654 void *SpoofData::reserveSpace(int32_t numBytes, UErrorCode &status) { argument
664 numBytes = (numBytes + 15) & ~15; // Round up to a multiple of 16
666 fMemLimit += numBytes;
669 uprv_memset((char *)fRawData + returnOffset, 0, numBytes);
/external/webkit/Source/WebKit2/UIProcess/win/
H A DWebView.cpp1283 int numBytes = Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPCLAUSE, 0, 0); local
1284 Vector<DWORD> clauses(numBytes / sizeof(DWORD));
1285 Ime::ImmGetCompositionStringW(hInputContext, GCS_COMPCLAUSE, clauses.data(), numBytes);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/
H A Dpdebuild.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/build/ ...
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...

Completed in 428 milliseconds

12