Searched defs:numBytes (Results 1 - 25 of 33) 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/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodecUTF16.cpp77 size_t numBytes = length + m_haveBufferedByte; local
78 size_t numChars = numBytes / 2;
109 if (numBytes & 1) {
/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/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
H A DVDMXParser.cpp49 bool skip(size_t numBytes) argument
51 if (m_offset + numBytes > m_length)
53 m_offset += numBytes;
/external/chromium_org/third_party/angle_dx11/src/compiler/
H A DPoolAlloc.cpp206 void* TPoolAllocator::allocate(size_t numBytes) argument
212 totalBytes += numBytes;
215 // them: [guardblock][allocation][guardblock]. numBytes is how
219 size_t allocationSize = TAllocation::allocationSize(numBytes);
221 if (allocationSize < numBytes)
236 return initializeAllocation(inUseList, memory, numBytes);
283 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/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/
H A Dvertexconversion.h180 static T *pointerAddBytes(T *basePtr, std::size_t numBytes) argument
182 return reinterpret_cast<T *>(reinterpret_cast<uintptr_t>(basePtr) + numBytes);
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
H A DIsValidUtf8TestUtil.java186 * @param numBytes the number of bytes in the byte array
189 static void testBytes(int numBytes, long expectedCount) argument
191 testBytes(numBytes, expectedCount, 0, -1);
199 * @param numBytes the number of bytes in the byte array
203 * or -1 to mean the max limit for numBytes
205 static void testBytes(int numBytes, long expectedCount, long start, long lim) argument
208 byte[] bytes = new byte[numBytes];
211 lim = 1L << (numBytes * 8);
217 for (int i = 0; i < numBytes; i++) {
233 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes));
313 testBytesUsingByteBuffers( int numBytes, long expectedCount, long start, long lim) argument
[all...]
/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/chromium_org/third_party/tlslite/tlslite/utils/
H A Dcryptomath.py133 howManyBytes = numBytes(n)
188 length = numBytes(n) + ext
202 def numBytes(n): function
225 howManyBytes = numBytes(high)
/external/smack/src/org/xbill/DNS/
H A DMessage.java532 numBytes() { method in class:Message
588 sb.append(";; Message size: " + numBytes() + " bytes");
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DMediaCodecBridge.java59 long presentationTimeMicroseconds, int numBytes) {
64 mNumBytes = numBytes;
80 private int numBytes() { return mNumBytes; } method in class:MediaCodecBridge.DequeueOutputResult
58 DequeueOutputResult(int index, int flags, int offset, long presentationTimeMicroseconds, int numBytes) argument
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Deval.c556 GLsizei numBytes; local
581 numBytes = n * sizeof *v;
582 if (bufSize < numBytes)
591 numBytes = 1 * sizeof *v;
592 if (bufSize < numBytes)
597 numBytes = 2 * sizeof *v;
598 if (bufSize < numBytes)
606 numBytes = 2 * sizeof *v;
607 if (bufSize < numBytes)
613 numBytes
648 GLsizei numBytes; local
742 GLsizei numBytes; local
[all...]
/external/mesa3d/src/mesa/main/
H A Deval.c556 GLsizei numBytes; local
581 numBytes = n * sizeof *v;
582 if (bufSize < numBytes)
591 numBytes = 1 * sizeof *v;
592 if (bufSize < numBytes)
597 numBytes = 2 * sizeof *v;
598 if (bufSize < numBytes)
606 numBytes = 2 * sizeof *v;
607 if (bufSize < numBytes)
613 numBytes
648 GLsizei numBytes; local
742 GLsizei numBytes; local
[all...]
/external/chromium_org/media/base/android/
H A Dmedia_codec_bridge.cc364 int numBytes = base::checked_numeric_cast<int>(size); local
371 base::android::ToJavaByteArray(env, buffer, numBytes);
/external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/jpeg/
H A DJPEGImageDecoder.cpp311 void skipBytes(long numBytes) argument
314 long bytesToSkip = std::min(numBytes, (long)src->pub.bytes_in_buffer);
318 m_bytesToSkip = std::max(numBytes - bytesToSkip, static_cast<long>(0));
/external/chromium_org/third_party/icu/source/i18n/
H A Duspoof_impl.cpp645 void *SpoofData::reserveSpace(int32_t numBytes, UErrorCode &status) { argument
655 numBytes = (numBytes + 15) & ~15; // Round up to a multiple of 16
657 fMemLimit += numBytes;
660 uprv_memset((char *)fRawData + returnOffset, 0, numBytes);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
H A Dwgl.c404 int charWidth,charHeight,bmapWidth,bmapHeight,numBytes,res; local
441 numBytes = (bmapWidth * bmapHeight) / 8;
442 bmap = malloc(numBytes);
/external/icu4c/i18n/
H A Duspoof_impl.cpp666 void *SpoofData::reserveSpace(int32_t numBytes, UErrorCode &status) { argument
676 numBytes = (numBytes + 15) & ~15; // Round up to a multiple of 16
678 fMemLimit += numBytes;
681 uprv_memset((char *)fRawData + returnOffset, 0, numBytes);
/external/lzma/C/
H A DPpmd7.c230 UInt32 numBytes = U2B(I2U(indx)); local
232 return ((UInt32)(p->UnitsStart - p->Text) > numBytes) ? (p->UnitsStart -= numBytes) : (NULL);
243 UInt32 numBytes; local
246 numBytes = U2B(I2U(indx));
247 if (numBytes <= (UInt32)(p->HiUnit - p->LoUnit))
250 p->LoUnit += numBytes;
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c404 int charWidth,charHeight,bmapWidth,bmapHeight,numBytes,res; local
441 numBytes = (bmapWidth * bmapHeight) / 8;
442 bmap = malloc(numBytes);
/external/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp175 void AppendBytes(CharUnits numBytes);
890 llvm::Type *CGRecordLayoutBuilder::getByteArrayType(CharUnits numBytes) { argument
891 assert(!numBytes.isZero() && "Empty byte arrays aren't allowed.");
894 if (numBytes > CharUnits::One())
895 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity());
900 void CGRecordLayoutBuilder::AppendBytes(CharUnits numBytes) { argument
901 if (numBytes.isZero())
905 AppendField(NextFieldOffset, getByteArrayType(numBytes));
/external/chromium_org/net/third_party/nss/ssl/
H A Dssl3con.c9272 PRInt32 numBytes = 0; local
9304 numBytes = PR_Read(cf, pCertItem->data, info.size);
9307 if (numBytes != info.size) {
/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 ...
/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/ ...

Completed in 878 milliseconds

12