/external/flatbuffers/net/FlatBuffers/ |
ByteBuffer.cs | 831 int numBytes = ByteBuffer.ArraySize(x); 832 offset -= numBytes; 833 AssertOffsetAndLength(offset, numBytes); 836 MemoryMarshal.Cast<T, byte>(x).CopyTo(_buffer.Span.Slice(offset, numBytes)); 838 Buffer.BlockCopy(x, 0, _buffer.Buffer, offset, numBytes); 871 int numBytes = ByteBuffer.ArraySize(x); 872 offset -= numBytes; 873 AssertOffsetAndLength(offset, numBytes); 875 MemoryMarshal.Cast<T, byte>(x).CopyTo(_buffer.Span.Slice(offset, numBytes));
|
/art/tools/ahat/src/main/com/android/ahat/ |
SiteHandler.java | 101 SizeTable.row(doc, info.numBytes, baseinfo.numBytes,
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/ |
MinimalZipParser.java | 75 * @param numBytes the number of bytes to skip 78 private static void skipOrDie(InputStream in, long numBytes) throws IOException { 79 long numLeft = numBytes;
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
OpenSSLServerSocketImplTest.java | 125 int numBytes = client.readMessage(responseBuffer); 126 byte[] response = Arrays.copyOfRange(responseBuffer, 0, numBytes);
|
/external/deqp/executor/ |
xeXMLParser.hpp | 91 void feed (const deUint8* bytes, int numBytes); 147 void feed (const deUint8* bytes, int numBytes);
|
xeBatchResult.hpp | 61 void append (const deUint8* bytes, size_t numBytes);
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
TensorTest.java | 53 ByteBuffer to = ByteBuffer.allocate(t.numBytes()); 185 assertEquals(tfloats.numBytes(), bbuf.position()); 190 assertEquals(tdoubles.numBytes(), bbuf.position()); 195 assertEquals(tints.numBytes(), bbuf.position()); 200 assertEquals(tlongs.numBytes(), bbuf.position()); 205 assertEquals(tbools.numBytes(), bbuf.position()); 213 ByteBuffer.allocateDirect(tdoubles.numBytes()) 251 ByteBuffer.allocate(tdoubles.numBytes())
|
/frameworks/av/media/libaaudio/src/legacy/ |
AudioStreamLegacy.cpp | 74 int32_t AudioStreamLegacy::onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) { 75 int32_t numFrames = numBytes / getBytesPerDeviceFrame();
|
AudioStreamLegacy.h | 76 int32_t onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) override;
|
/frameworks/av/services/audioflinger/ |
AudioStreamOut.cpp | 206 ssize_t AudioStreamOut::write(const void *buffer, size_t numBytes) 209 status_t result = stream->write(buffer, numBytes, &bytesWritten);
|
/external/deqp/framework/qphelper/ |
qpXmlWriter.h | 147 * \param numBytes Length of data in bytes 150 deBool qpXmlWriter_writeBase64 (qpXmlWriter* writer, const deUint8* data, size_t numBytes);
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
NettyClientStream.java | 164 final int numBytes = bytebuf.readableBytes(); 165 if (numBytes > 0) { 167 onSendingBytes(numBytes); 177 transportState().onSentBytes(numBytes);
|
NettyServerStream.java | 123 final int numBytes = bytebuf.readableBytes(); 125 onSendingBytes(numBytes); 132 transportState().onSentBytes(numBytes);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/ |
DefaultSession.java | 239 public void sendData(byte[] data, int numBytes) {
242 dataOutputStream.write(data, 0, numBytes);
259 public byte[] readData(int numBytes) {
263 while (numBytesRead < numBytes) {
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/ |
BsPatch.java | 296 * @param numBytes the number of bytes to read 301 final InputStream in, final byte[] destination, final int startAt, final int numBytes) 304 while (numRead < numBytes) { 305 int readNow = in.read(destination, startAt + numRead, numBytes - numRead);
|
/external/deqp/modules/internal/ |
ditAstcTests.cpp | 95 inline size_t getNumBlocksFromBytes (size_t numBytes) 97 TCU_CHECK(numBytes % astc::BLOCK_SIZE_BYTES == 0); 98 return (numBytes / astc::BLOCK_SIZE_BYTES);
|
/external/swiftshader/src/OpenGL/compiler/ |
PoolAlloc.h | 152 // available, otherwise a properly aligned pointer to 'numBytes' of memory. 154 void* allocate(size_t numBytes); 201 void* initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) { 203 new(memory) TAllocation(numBytes, memory, block->lastAllocation);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 442 * @param numBytes Number of bytes to read. 450 int numBytes); 482 * @param numBytes Number of bytes to read. 491 ssize_t numBytes, 497 ssize_t numBytes,
|
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/ |
Storage.java | 461 short numBytes = apdu.getIncomingLength(); 466 if (numBytes > INCOMING_BYTES_MAX) { 517 if (numBytes != 1) { 545 if (numBytes != copied) { 592 if (numBytes != copied) {
|
/external/skia/src/core/ |
SkReadBuffer.cpp | 255 size_t numBytes = this->getArrayCount(); 256 if (!this->validate(fReader.isAvailable(numBytes))) { 260 SkAutoMalloc buffer(numBytes); 261 if (!this->readByteArray(buffer.get(), numBytes)) { 265 return SkData::MakeFromMalloc(buffer.release(), numBytes);
|
/external/skqp/src/core/ |
SkReadBuffer.cpp | 255 size_t numBytes = this->getArrayCount(); 256 if (!this->validate(fReader.isAvailable(numBytes))) { 260 SkAutoMalloc buffer(numBytes); 261 if (!this->readByteArray(buffer.get(), numBytes)) { 265 return SkData::MakeFromMalloc(buffer.release(), numBytes);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationIterator.java | [all...] |
/external/icu/icu4c/source/i18n/ |
collationiterator.cpp | 762 int32_t numBytes = 74; 763 if(value < numBytes) { 769 value -= numBytes; 770 firstByte += numBytes; 771 numBytes = 40; 772 if(value < numBytes * 254) { 779 value -= numBytes * 254; 780 firstByte += numBytes; 781 numBytes = 16; 782 if(value < numBytes * 254 * 254) [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationIterator.java | [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 579 pOutput->fromConvertData.numBytes = pSession->dataOffset; 836 if (pOutput->fromConvertData.numBytes == pSession->outputBufferSize) { [all...] |