Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 – 25 of 45) sorted by relevance

12

/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
DXmlMessageWrapper.java132 String receiverId = new String(readBytes(stream, in fromInputStream()
136 byte[] payloadLenBytes = readBytes(stream, HEADER_FIELD_PAYLOAD_LENGTH); in fromInputStream()
139 int protocolVersion = shortBigEndianBytesToInt(readBytes(stream, in fromInputStream()
142 byte createorId = readBytes(stream, 1)[0]; in fromInputStream()
143 byte[] padding = readBytes(stream, HEADER_FIELD_PADDING_LENGTH); in fromInputStream()
144 byte[] payload = readBytes(stream, (int)payloadLen); in fromInputStream()
247 private static byte[] readBytes(InputStream stream, int numBytes) in readBytes() method in XmlMessageWrapper
/external/qemu/android/filesystems/
Dramdisk_extractor.cpp92 bool tryRead(void* buffer, size_t len, size_t* readBytes) { in tryRead() argument
93 *readBytes = 0; in tryRead()
127 *readBytes += ret; in tryRead()
130 return (!mError && *readBytes > 0); in tryRead()
/external/chromium_org/third_party/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioRecord.java164 int readBytes = 0; in RecordAudio() local
166 readBytes = _audioRecord.read(_tempBufRec, 0, lengthInBytes); in RecordAudio()
170 if (readBytes != lengthInBytes) { in RecordAudio()
/external/llvm/lib/Support/
DStreamableMemoryObject.cpp33 int readBytes(uint64_t address, uint64_t size,
66 int RawMemoryObject::readBytes(uint64_t address, in readBytes() function in __anonac51b2b20111::RawMemoryObject
108 int StreamingMemoryObject::readBytes(uint64_t address, in readBytes() function in llvm::StreamingMemoryObject
DMemoryObject.cpp16 int MemoryObject::readBytes(uint64_t address, in readBytes() function in MemoryObject
DStringRefMemoryObject.cpp21 int StringRefMemoryObject::readBytes(uint64_t Addr, in readBytes() function in StringRefMemoryObject
/external/llvm/include/llvm/Support/
DStreamableMemoryObject.h75 int readBytes(uint64_t address, uint64_t size,
112 int readBytes(uint64_t address, uint64_t size,
DMemoryObject.h59 virtual int readBytes(uint64_t address, uint64_t size, uint8_t *buf) const;
DStringRefMemoryObject.h36 int readBytes(uint64_t Addr, uint64_t Size, uint8_t *Buf) const override;
/external/deqp/execserver/tools/
DxsClient.cpp84 void readBytes (de::Socket& socket, vector<deUint8>& dst, int numBytes) in readBytes() function
105 readBytes(socket, header, MESSAGE_HEADER_SIZE); in readMessage()
121 readBytes(socket, messageBuf, messageSize-MESSAGE_HEADER_SIZE); in readMessage()
DxsTest.cpp90 void readBytes (de::Socket& socket, vector<deUint8>& dst, int numBytes) in readBytes() function
111 readBytes(socket, header, MESSAGE_HEADER_SIZE); in readMessage()
127 readBytes(socket, messageBuf, messageSize-MESSAGE_HEADER_SIZE); in readMessage()
/external/jmdns/src/javax/jmdns/impl/
DDNSIncoming.java66 public byte[] readBytes(int len) { in readBytes() method in DNSIncoming.MessageInputStream
300 … = new DNSRecord.IPv4Address(domain, recordClass, unique, ttl, _messageInputStream.readBytes(len)); in readAnswer()
303 … = new DNSRecord.IPv6Address(domain, recordClass, unique, ttl, _messageInputStream.readBytes(len)); in readAnswer()
316 … rec = new DNSRecord.Text(domain, recordClass, unique, ttl, _messageInputStream.readBytes(len)); in readAnswer()
366 optiondata = _messageInputStream.readBytes(optionLength); in readAnswer()
/external/guava/guava/src/com/google/common/io/
DByteStreams.java701 public static <T> T readBytes(InputSupplier<? extends InputStream> supplier,
733 return readBytes(supplier, new ByteProcessor<Long>() {
761 return readBytes(supplier, new ByteProcessor<byte[]>() {
DFiles.java557 public static <T> T readBytes(File file, ByteProcessor<T> processor)
559 return ByteStreams.readBytes(newInputStreamSupplier(file), processor);
/external/aac/libAACdec/src/
Daacdecoder.cpp292 int readBytes = 0; in CAacDecoder_AncDataParse() local
314 readBytes++; in CAacDecoder_AncDataParse()
323 readBytes = ancBytes - readBytes; in CAacDecoder_AncDataParse()
325 if (readBytes > 0) { in CAacDecoder_AncDataParse()
327 FDKpushFor(hBs, readBytes<<3); in CAacDecoder_AncDataParse()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h246 BitStream->getBitcodeBytes().readBytes(pos, sizeof(buf), buf); in getWord()
368 BitStream->getBitcodeBytes().readBytes(NextChar, sizeof(Array), Array); in Read()
/external/chromium_org/third_party/angle/src/libGLESv2/
DBinaryStream.h56 void readBytes(unsigned char outArray[], size_t count) in readBytes() function
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp298 if (Region.readBytes(Address, 2, Bytes) == -1) in getInstruction()
315 if (Size > 2 && Region.readBytes(Address + 2, Size - 2, Bytes + 2) == -1) in getInstruction()
/external/okhttp/okio/src/main/java/okio/
DOkBuffer.java277 return new ByteString(readBytes(byteCount));
290 return new String(readBytes(byteCount), Util.UTF_8);
336 private byte[] readBytes(long byteCount) {
/external/chromium_org/content/browser/resources/media/
Dmain.js85 cacheEntries[id].readBytes(update.params.offset,
Dcache_entry.js74 readBytes: function(start, length) { method in CacheEntry
/external/protobuf/java/src/main/java/com/google/protobuf/
DAbstractMessage.java509 rawBytes = input.readBytes(); in mergeMessageSetExtensionFromCodedStream()
514 .addLengthDelimited(input.readBytes()) in mergeMessageSetExtensionFromCodedStream()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DNettyHttpClient.java181 byteBuf.readBytes(buffer, 0, Math.min(buffer.length, toRead)); in receive()
/external/smack/src/org/jivesoftware/smackx/packet/
DVCard.java453 int readBytes = bis.read(buffer); in getFileBytes() local
454 if (readBytes != buffer.length) { in getFileBytes()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java230 public byte[] readBytes() throws IOException { in readBytes() method in CodedInputByteBufferNano

12