/external/llvm/lib/DebugInfo/CodeView/ |
ByteStream.cpp | 1 //===- ByteStream.cpp - Reads stream data from a byte sequence ------------===// 10 #include "llvm/DebugInfo/CodeView/ByteStream.h" 21 "ByteStream is immutable."); 36 Error ByteStream<Writable>::readBytes(uint32_t Offset, uint32_t Size, 47 Error ByteStream<Writable>::readLongestContiguousChunk( 56 Error ByteStream<Writable>::writeBytes(uint32_t Offset, 61 template <bool Writable> uint32_t ByteStream<Writable>::getLength() const { 65 template <bool Writable> Error ByteStream<Writable>::commit() const { 69 template <bool Writable> StringRef ByteStream<Writable>::str() const { 76 template class ByteStream<true> [all...] |
CMakeLists.txt | 2 ByteStream.cpp
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
ByteStream.h | 1 //===- ByteStream.h - Reads stream data from a byte sequence ----*- C++ -*-===// 25 template <bool Writable = false> class ByteStream : public StreamInterface { 30 ByteStream() {} 31 explicit ByteStream(ArrayType Data) : Data(Data) {} 32 ~ByteStream() override {} 52 extern template class ByteStream<true>; 53 extern template class ByteStream<false>;
|
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
test.pass.cpp | 22 std::ofstream bytestream("myfile.txt"); 23 std::wbuffer_convert<std::codecvt_utf8<wchar_t> > mybuf(bytestream.rdbuf()); 28 std::ifstream bytestream("myfile.txt"); 29 std::wbuffer_convert<std::codecvt_utf8<wchar_t> > mybuf(bytestream.rdbuf());
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
test.pass.cpp | 22 std::ofstream bytestream("myfile.txt"); 23 std::wbuffer_convert<std::codecvt_utf8<wchar_t> > mybuf(bytestream.rdbuf()); 28 std::ifstream bytestream("myfile.txt"); 29 std::wbuffer_convert<std::codecvt_utf8<wchar_t> > mybuf(bytestream.rdbuf());
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
test.pass.cpp | 22 std::ofstream bytestream("myfile.txt"); 23 std::wbuffer_convert<std::codecvt_utf8<wchar_t> > mybuf(bytestream.rdbuf()); 28 std::ifstream bytestream("myfile.txt"); 29 std::wbuffer_convert<std::codecvt_utf8<wchar_t> > mybuf(bytestream.rdbuf());
|
/art/test/093-serialization/src/ |
Main.java | 45 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); 46 ObjectOutputStream objStream = new ObjectOutputStream(byteStream); 52 byte[] bytes = byteStream.toByteArray(); 55 byteStream.close(); 60 ByteArrayInputStream byteStream = new ByteArrayInputStream(input); 61 ObjectInputStream objStream = new ObjectInputStream(byteStream); 73 byteStream.close();
|
/external/replicaisland/src/com/replica/replicaisland/ |
TiledWorld.java | 75 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream; 78 signature = (byte)byteStream.read(); 80 byteStream.read(mWorkspaceBytes, 0, 4); 82 byteStream.read(mWorkspaceBytes, 0, 4); 86 final int bytesRemaining = byteStream.available(); 94 mTilesArray[x][y] = (byte)byteStream.read();
|
LevelSystem.java | 102 AssetManager.AssetInputStream byteStream = (AssetManager.AssetInputStream) stream; 105 signature = (byte)byteStream.read(); 107 final int layerCount = (byte)byteStream.read(); 108 final int backgroundIndex = (byte)byteStream.read(); 117 final int type = (byte)byteStream.read(); 118 final int tileIndex = (byte)byteStream.read(); 119 byteStream.read(mWorkspaceBytes, 0, 4); 123 TiledWorld world = new TiledWorld(byteStream);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
InputStreamSource.java | 68 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); 72 byteStream.write(buffer, 0, bytesRead); 75 byteBuffer = ByteBuffer.wrap(byteStream.toByteArray());
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverClient.java | 110 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); 131 byteStream.write(partial, 0, size); 133 handoverSelectMsg = new NdefMessage(byteStream.toByteArray()); 153 byteStream.close();
|
HandoverServer.java | 179 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); 195 byteStream.write(partial, 0, size); 198 handoverRequestMsg = new NdefMessage(byteStream.toByteArray()); 236 byteStream = new ByteArrayOutputStream(); 254 byteStream.close();
|
/external/libvorbis/doc/ |
02-bitpacking.tex | 103 Code the 4 bit integer value '12' [b1100] into an empty bytestream. 104 Bytestream result: 116 byte n [ ] bytestream length == 1 byte 133 byte n [ ] bytestream length == 1 byte 149 byte n [ ] bytestream length == 2 bytes 166 byte n [ ] bytestream length == 4 bytes 175 Reading from the beginning of the bytestream encoded in the above example: 185 byte 3 [0 0 0 0 0 1 1 0] bytestream length == 4 bytes 213 each bytestream (encoded bitstream) must begin and end on a byte 218 Unused space in the last byte of a bytestream is always zeroed durin [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
xmlbuilder.py | 191 fp = input.byteStream
220 source.byteStream = self._get_opener().open(systemId)
249 info = source.byteStream.info()
257 __slots__ = ('byteStream', 'characterStream', 'stringData',
261 self.byteStream = None
270 return self.byteStream
271 def _set_byteStream(self, byteStream):
272 self.byteStream = byteStream
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
xmlbuilder.py | 191 fp = input.byteStream
220 source.byteStream = self._get_opener().open(systemId)
249 info = source.byteStream.info()
257 __slots__ = ('byteStream', 'characterStream', 'stringData',
261 self.byteStream = None
270 return self.byteStream
271 def _set_byteStream(self, byteStream):
272 self.byteStream = byteStream
|
/libcore/luni/src/main/java/org/xml/sax/ |
InputSource.java | 107 * @param byteStream The raw byte stream containing the document. 114 public InputSource (InputStream byteStream) 116 setByteStream(byteStream); 228 * @param byteStream A byte stream containing an XML document or 235 public void setByteStream (InputStream byteStream) 237 this.byteStream = byteStream; 253 return byteStream; 332 private InputStream byteStream;
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
Rfc822OutputTests.java | 125 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); 126 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null); 131 new ByteArrayInputStream(byteStream.toByteArray()); 159 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); 160 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null); 165 new ByteArrayInputStream(byteStream.toByteArray()); 203 ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); 204 Rfc822Output.writeTo(mMockContext, msg, byteStream, true, false, null); 209 new ByteArrayInputStream(byteStream.toByteArray());
|
/prebuilts/gdb/darwin-x86/lib/python2.7/xml/dom/ |
xmlbuilder.py | 191 fp = input.byteStream 220 source.byteStream = self._get_opener().open(systemId) 249 info = source.byteStream.info() 257 __slots__ = ('byteStream', 'characterStream', 'stringData', 261 self.byteStream = None 270 return self.byteStream 271 def _set_byteStream(self, byteStream): 272 self.byteStream = byteStream
|
/prebuilts/gdb/linux-x86/lib/python2.7/xml/dom/ |
xmlbuilder.py | 191 fp = input.byteStream 220 source.byteStream = self._get_opener().open(systemId) 249 info = source.byteStream.info() 257 __slots__ = ('byteStream', 'characterStream', 'stringData', 261 self.byteStream = None 270 return self.byteStream 271 def _set_byteStream(self, byteStream): 272 self.byteStream = byteStream
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
xmlbuilder.py | 191 fp = input.byteStream 220 source.byteStream = self._get_opener().open(systemId) 249 info = source.byteStream.info() 257 __slots__ = ('byteStream', 'characterStream', 'stringData', 261 self.byteStream = None 270 return self.byteStream 271 def _set_byteStream(self, byteStream): 272 self.byteStream = byteStream
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
xmlbuilder.py | 191 fp = input.byteStream 220 source.byteStream = self._get_opener().open(systemId) 249 info = source.byteStream.info() 257 __slots__ = ('byteStream', 'characterStream', 'stringData', 261 self.byteStream = None 270 return self.byteStream 271 def _set_byteStream(self, byteStream): 272 self.byteStream = byteStream
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
ResponseBody.java | 38 * {@link #byteStream}, or -1 if unknown. 42 public final InputStream byteStream() throws IOException { 74 return r != null ? r : (reader = new InputStreamReader(byteStream(), charset()));
|
/hardware/intel/common/libmix/videodecoder/securevideo/clovertrail/ |
VideoDecoderAVCSecure.cpp | 88 mByteStream.byteStream = new uint8_t [MAX_NALU_HEADER_BUFFER]; 92 mByteStream.byteStream == NULL || 109 if (mByteStream.byteStream) { 110 delete [] mByteStream.byteStream; 111 mByteStream.byteStream = NULL; 134 pByteStream = mByteStream.byteStream; 436 memcpy(naluStream->byteStream + naluStream->streamPos, &(naluStream->naluOffset), sizeof(int32_t)); 439 memcpy(naluStream->byteStream + naluStream->streamPos, &(naluStream->naluLen), sizeof(int32_t)); 442 memcpy(naluStream->byteStream + naluStream->streamPos, &naluHeaderLen, sizeof(int32_t)); 446 memcpy(naluStream->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen) [all...] |
/hardware/intel/common/libmix/videodecoder/securevideo/merrplus/ |
VideoDecoderAVCSecure.cpp | 88 mByteStream.byteStream = new uint8_t [MAX_NALU_HEADER_BUFFER]; 92 mByteStream.byteStream == NULL || 109 if (mByteStream.byteStream) { 110 delete [] mByteStream.byteStream; 111 mByteStream.byteStream = NULL; 137 pByteStream = mByteStream.byteStream; 439 memcpy(naluStream->byteStream + naluStream->streamPos, &(naluStream->naluOffset), sizeof(int32_t)); 442 memcpy(naluStream->byteStream + naluStream->streamPos, &(naluStream->naluLen), sizeof(int32_t)); 445 memcpy(naluStream->byteStream + naluStream->streamPos, &naluHeaderLen, sizeof(int32_t)); 449 memcpy(naluStream->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen) [all...] |
/external/llvm/lib/DebugInfo/PDB/Raw/ |
RawSession.cpp | 12 #include "llvm/DebugInfo/CodeView/ByteStream.h" 29 // We need a class which behaves like an immutable ByteStream, but whose data 32 class InputByteStream : public codeview::ByteStream<false> { 35 : ByteStream(ArrayRef<uint8_t>(Buffer->getBuffer().bytes_begin(),
|