Home
last modified time | relevance | path

Searched refs:writeBytes (Results 1 – 25 of 95) sorted by relevance

1234

/external/oj-libjdwp/src/share/back/
DoutStream.c99 writeBytes(PacketOutputStream *stream, void *source, int size) in writeBytes() function
141 return writeBytes(stream, &byte, sizeof(byte)); in outStream_writeBoolean()
147 return writeBytes(stream, &val, sizeof(val)); in outStream_writeByte()
154 return writeBytes(stream, &val, sizeof(val)); in outStream_writeChar()
161 return writeBytes(stream, &val, sizeof(val)); in outStream_writeShort()
168 return writeBytes(stream, &val, sizeof(val)); in outStream_writeInt()
175 return writeBytes(stream, &val, sizeof(val)); in outStream_writeLong()
182 return writeBytes(stream, &val, sizeof(val)); in outStream_writeFloat()
189 return writeBytes(stream, &val, sizeof(val)); in outStream_writeDouble()
232 return writeBytes(stream, &id, sizeof(id)); in outStream_writeObjectRef()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DStreamWriter.cpp21 Error StreamWriter::writeBytes(ArrayRef<uint8_t> Buffer) { in writeBytes() function in StreamWriter
22 if (auto EC = Stream.writeBytes(Offset, Buffer)) in writeBytes()
47 if (auto EC = Stream.writeBytes(Offset, Bytes)) in writeFixedString()
73 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
DByteStream.cpp18 static Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Src, in writeBytes() function
24 static Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Src, in writeBytes() function
56 Error ByteStream<Writable>::writeBytes(uint32_t Offset, in writeBytes() function in ByteStream
58 return ::writeBytes(Offset, Buffer, Data); in writeBytes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DBinaryStreamWriter.cpp28 Error BinaryStreamWriter::writeBytes(ArrayRef<uint8_t> Buffer) { in writeBytes() function in BinaryStreamWriter
29 if (auto EC = Stream.writeBytes(Offset, Buffer)) in writeBytes()
46 return writeBytes(arrayRefFromStringRef(Str)); in writeFixedString()
64 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
DBinaryStreamRef.cpp58 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Data) override { in writeBytes() function in __anona6344a4d0111::MutableArrayRefImpl
59 return BBS.writeBytes(Offset, Data); in writeBytes()
118 Error WritableBinaryStreamRef::writeBytes(uint32_t Offset, in writeBytes() function in WritableBinaryStreamRef
123 return BorrowedImpl->writeBytes(ViewOffset + Offset, Data); in writeBytes()
/external/swiftshader/third_party/subzero/src/
DIceELFStreamer.h37 virtual void writeBytes(llvm::StringRef Bytes) { in writeBytes() function
80 writeBytes(llvm::StringRef(Zeros, 16)); in writeZeroPadding()
82 writeBytes(llvm::StringRef(Zeros, N % 16)); in writeZeroPadding()
97 void writeBytes(llvm::StringRef Bytes) override { Out << Bytes; } in writeBytes() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryStreamWriter.h57 Error writeBytes(ArrayRef<uint8_t> Buffer);
71 return writeBytes(Buffer); in writeInteger()
127 return writeBytes( in writeObject()
145 return writeBytes( in writeArray()
DBinaryByteStream.h113 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Buffer) override { in writeBytes() function
173 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Buffer) override { in writeBytes() function
256 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Data) override { in writeBytes() function
257 return Impl.writeBytes(Offset, Data); in writeBytes()
/external/sonic/
Dwave.c29 static void writeBytes( in writeBytes() function
52 writeBytes(file, string, strlen(string)); in writeString()
67 writeBytes(file, bytes, 4); in writeInt()
82 writeBytes(file, bytes, 2); in writeShort()
362 writeBytes(file, bytes, bytePos); in writeToWaveFile()
370 writeBytes(file, bytes, bytePos); in writeToWaveFile()
/external/llvm/unittests/DebugInfo/PDB/
DMappedBlockStreamTest.cpp249 EXPECT_ERROR(S.writeBytes(0, ArrayRef<uint8_t>(LargeBuffer))); in TEST()
250 EXPECT_NO_ERROR(S.writeBytes(0, ArrayRef<uint8_t>(SmallBuffer))); in TEST()
251 EXPECT_NO_ERROR(S.writeBytes(7, ArrayRef<uint8_t>(SmallBuffer))); in TEST()
252 EXPECT_ERROR(S.writeBytes(8, ArrayRef<uint8_t>(SmallBuffer))); in TEST()
266 EXPECT_NO_ERROR(S.writeBytes(0, ArrayRef<uint8_t>('J'))); in TEST()
267 EXPECT_NO_ERROR(S.writeBytes(9, ArrayRef<uint8_t>('A'))); in TEST()
274 EXPECT_NO_ERROR(S.writeBytes(0, ArrayRef<uint8_t>('A'))); in TEST()
275 EXPECT_NO_ERROR(S.writeBytes(9, ArrayRef<uint8_t>('J'))); in TEST()
293 EXPECT_NO_ERROR(S.writeBytes(0, TestData)); in TEST()
/external/llvm/include/llvm/DebugInfo/CodeView/
DStreamWriter.h31 Error writeBytes(ArrayRef<uint8_t> Buffer);
49 return writeBytes( in writeObject()
60 return writeBytes( in writeArray()
DStreamRef.h57 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Data) const { in writeBytes() function
60 return Stream->writeBytes(ViewOffset + Offset, Data); in writeBytes()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/
DMappedBlockStreamTest.cpp58 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> SrcData) override { in writeBytes() function in __anon20d442d40111::DiscontiguousStream
254 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>(LargeBuffer)), Failed()); in TEST()
255 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>(SmallBuffer)), in TEST()
257 EXPECT_THAT_ERROR(S->writeBytes(7, ArrayRef<uint8_t>(SmallBuffer)), in TEST()
259 EXPECT_THAT_ERROR(S->writeBytes(8, ArrayRef<uint8_t>(SmallBuffer)), Failed()); in TEST()
274 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>('J')), Succeeded()); in TEST()
275 EXPECT_THAT_ERROR(S->writeBytes(9, ArrayRef<uint8_t>('A')), Succeeded()); in TEST()
282 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>('A')), Succeeded()); in TEST()
283 EXPECT_THAT_ERROR(S->writeBytes(9, ArrayRef<uint8_t>('J')), Succeeded()); in TEST()
302 EXPECT_THAT_ERROR(S->writeBytes(0, TestData), Succeeded()); in TEST()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DChannelCrypterNettyTestBase.java69 plain.writeBytes(messageBytes); in createFrameEncrypt()
136 plain1.writeBytes(messageBytes, 0, messageBytes.length - lastLen); in encryptDecryptComposite()
137 plain2.writeBytes(messageBytes, messageBytes.length - lastLen, lastLen); in encryptDecryptComposite()
150 cipher1.writeBytes(out, 0, outLen - lastLen - tagLen); in encryptDecryptComposite()
151 cipher2.writeBytes(out, outLen - tagLen - lastLen, lastLen); in encryptDecryptComposite()
DFakeChannelCrypter.java41 out.writeBytes(buf); in encrypt()
53 out.writeBytes(buf); in decrypt()
DByteBufTestUtils.java45 buf.writeBytes(bytes); in getRandom()
58 tmpBuf.writeBytes(buf, readBytes); in fragmentByteBuf()
/external/llvm/include/llvm/MC/
DMCObjectWriter.h183 void writeBytes(const SmallVectorImpl<char> &ByteVec,
185 writeBytes(StringRef(ByteVec.data(), ByteVec.size()), ZeroFillSize);
188 void writeBytes(StringRef Str, unsigned ZeroFillSize = 0) {
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsChannelCrypter.java65 plainBuf.writeBytes(inBuf); in encrypt()
89 cipherTextAndTag.writeBytes(inBuf); in decrypt()
91 cipherTextAndTag.writeBytes(tag); in decrypt()
/external/llvm/lib/MC/
DMCAssembler.cpp480 OW->writeBytes(cast<MCDataFragment>(F).getContents()); in writeFragment()
485 OW->writeBytes(cast<MCRelaxableFragment>(F).getContents()); in writeFragment()
490 OW->writeBytes(cast<MCCompactEncodedInstFragment>(F).getContents()); in writeFragment()
507 OW->writeBytes(Ref); in writeFragment()
515 OW->writeBytes(LF.getContents()); in writeFragment()
537 OW->writeBytes(OF.getContents()); in writeFragment()
542 OW->writeBytes(CF.getContents()); in writeFragment()
547 OW->writeBytes(OF.getContents()); in writeFragment()
552 OW->writeBytes(DRF.getContents()); in writeFragment()
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp122 void writeBytes(const char *Bytes, int Size) { in writeBytes() function in __anon5586b7410211::GCOVRecord
127 writeBytes(reinterpret_cast<char*>(&i), 4); in write()
142 writeBytes(s.data(), s.size()); in writeGCOVString()
147 writeBytes("\0\0\0\0", 4 - (s.size() % 4)); in writeGCOVString()
215 writeBytes(LinesTag, 4); in writeOut()
257 writeBytes(FunctionTag, 4); in GCOVFunction()
288 writeBytes(BlockTag, 4); in writeOut()
300 writeBytes(EdgeTag, 4); in writeOut()
/external/proguard/src/proguard/classfile/io/
DRuntimeDataOutput.java109 public void writeBytes(String s) in writeBytes() method in RuntimeDataOutput
113 dataOutput.writeBytes(s); in writeBytes()
/external/guava/guava/src/com/google/common/io/
DLittleEndianDataOutputStream.java74 @Override public void writeBytes(String s) throws IOException { in writeBytes() method in LittleEndianDataOutputStream
75 ((DataOutputStream) out).writeBytes(s); in writeBytes()
/external/guava/guava-tests/test/com/google/common/io/
DLittleEndianDataOutputStreamTest.java87 out.writeBytes("r\u00C9sum\u00C9"); in testWriteBytes()
104 out.writeBytes("\uAAAA\uAABB\uAACC"); in testWriteBytes_discardHighOrderBytes()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOutboundFlowController.java96 state.writeBytes(state.writableWindow(), writeStatus); in windowUpdate()
201 state.writeBytes(state.allocatedBytes(), writeStatus); in writeStreams()
314 int writeBytes(int bytes, WriteStatus writeStatus) { in writeBytes() method in OutboundFlowController.OutboundFlowState
/external/llvm/tools/dsymutil/
DMachOUtils.cpp256 Writer.writeBytes( in transferSegmentAndSections()
263 Writer.writeBytes(StringRef(reinterpret_cast<char *>(&Sect), sizeof(Sect))); in transferSegmentAndSections()
432 Writer.writeBytes( in generateDsymCompanion()
485 Writer.writeBytes(NewSymtab.str()); in generateDsymCompanion()
497 Writer.writeBytes( in generateDsymCompanion()

1234