Home
last modified time | relevance | path

Searched +defs:position +defs:bytes (Results 1 – 25 of 114) sorted by relevance

12345

/external/cronet/tot/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DAllocatedBuffer.java100 public abstract int position(); in position() method in AllocatedBuffer
111 public abstract AllocatedBuffer position(int position); in position() argument
133 public static AllocatedBuffer wrap(byte[] bytes) { in wrap()
142 public static AllocatedBuffer wrap(final byte[] bytes, final int offset, final int length) { in wrap()
186 public int position() { in wrap() method in AllocatedBuffer
191 public AllocatedBuffer position(int position) { in wrap() argument
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DAllocatedBuffer.java100 public abstract int position(); in position() method in AllocatedBuffer
111 public abstract AllocatedBuffer position(int position); in position() method in AllocatedBuffer
133 public static AllocatedBuffer wrap(byte[] bytes) { in wrap()
142 public static AllocatedBuffer wrap(final byte[] bytes, final int offset, final int length) { in wrap()
186 public int position() { in wrap() method in AllocatedBuffer
191 public AllocatedBuffer position(int position) { in wrap() method in AllocatedBuffer
/external/cronet/stable/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DAllocatedBuffer.java100 public abstract int position(); in position() method in AllocatedBuffer
111 public abstract AllocatedBuffer position(int position); in position() argument
133 public static AllocatedBuffer wrap(byte[] bytes) { in wrap()
142 public static AllocatedBuffer wrap(final byte[] bytes, final int offset, final int length) { in wrap()
186 public int position() { in wrap() method in AllocatedBuffer
191 public AllocatedBuffer position(int position) { in wrap() argument
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DByteBufferChannel.java28 public ByteBufferChannel(byte[] bytes) { in ByteBufferChannel()
32 public ByteBufferChannel(byte[] bytes, int offset, int length) { in ByteBufferChannel()
70 public long position() throws IOException { in position() method in ByteBufferChannel
75 public SeekableByteChannel position(long newPosition) throws IOException { in position() method in ByteBufferChannel
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/source/mediaparser/
DInputReaderAdapterV30.java50 public void setCurrentPosition(long position) { in setCurrentPosition()
67 public void seekToPosition(long position) { in seekToPosition()
72 public int read(byte[] bytes, int offset, int readLength) throws IOException { in read()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/source/mediaparser/
DInputReaderAdapterV30.java50 public void setCurrentPosition(long position) { in setCurrentPosition()
67 public void seekToPosition(long position) { in seekToPosition()
72 public int read(byte[] bytes, int offset, int readLength) throws IOException { in read()
/external/cronet/tot/net/tools/huffman_trie/
Dbit_writer.h37 uint32_t position() const { return position_; } in position() function
41 const std::vector<uint8_t>& bytes() const { return bytes_; } in bytes() function
/external/cronet/stable/net/tools/huffman_trie/
Dbit_writer.h37 uint32_t position() const { return position_; } in position() function
41 const std::vector<uint8_t>& bytes() const { return bytes_; } in bytes() function
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf/
DByteString.cs58 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString
63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes()
73 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString()
160 public static ByteString FromBase64(string bytes) in FromBase64()
212 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
220 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
232 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
411 public void CopyTo(byte[] array, int position) in CopyTo()
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf/
DByteString.cs58 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString
63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes()
73 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString()
160 public static ByteString FromBase64(string bytes) in FromBase64()
212 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
220 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
232 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
411 public void CopyTo(byte[] array, int position) in CopyTo()
/external/protobuf/csharp/src/Google.Protobuf/
DByteString.cs58 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString
63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes()
73 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString()
160 public static ByteString FromBase64(string bytes) in FromBase64()
212 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
220 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
232 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
411 public void CopyTo(byte[] array, int position) in CopyTo()
/external/flac/src/libFLAC/
Dogg_helper.c45 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__… in full_read_()
95 FLAC__bool simple_ogg_page__get_at(FLAC__StreamEncoder *encoder, FLAC__uint64 position, ogg_page *p… in simple_ogg_page__get_at()
179 FLAC__bool simple_ogg_page__set_at(FLAC__StreamEncoder *encoder, FLAC__uint64 position, ogg_page *p… in simple_ogg_page__set_at()
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DNullInputStream.java77 private long position; field in NullInputStream
233 protected void processBytes(final byte[] bytes, final int offset, final int length) { in processBytes()
271 public int read(final byte[] bytes) throws IOException { in read()
289 public int read(final byte[] bytes, final int offset, final int length) throws IOException { in read()
/external/webrtc/rtc_base/
Dmemory_stream.cc33 size_t bytes; in Read() local
64 size_t bytes = buffer.size(); in Write() local
81 bool MemoryStream::SetPosition(size_t position) { in SetPosition()
/external/skia/tests/
DFakeStreams.h27 size_t peek(void* buf, size_t bytes) const override { in peek()
30 size_t read(void* buf, size_t bytes) override { in read()
92 bool seek(size_t position) override { return fStream.seek(position); } in seek()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DBranchInstruction.java51 protected int position; // Byte code offset field in BranchInstruction
178 protected void initFromFile( final ByteSequence bytes, final boolean wide ) throws IOException { in initFromFile()
271 protected void setPosition(final int position) { in setPosition()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/
DNioBufferIterator.java32 private int position; field in NioBufferIterator
69 public void readByteArray(byte[] bytes, int arrayOffset, int byteCount) { in readByteArray()
124 private static void checkReadBounds(int position, int length, int byteCount) { in checkReadBounds()
/external/rust/android-crates-io/crates/der/src/writer/
Dslice.rs12 bytes: &'a mut [u8], field
18 position: Length, field
58 let position = self.position; in finish() localVariable
/external/leakcanary2/shark-graph/src/test/java/shark/
DHprofWriterTest.kt27 val bytes = listOf(record).asHprofBytes() in <lambda>() constant
53 val bytes = listOf(className, loadClassRecord, classDump).asHprofBytes() in <lambda>() constant
79 val bytes = listOf(className, field1Name, field2Name, loadClassRecord, classDump) in <lambda>() constant
96 val bytes = records.asHprofBytes() in <lambda>() constant
184 .readRecords(setOf(HprofRecord::class)) { position, record -> in <lambda>() method
/external/rust/android-crates-io/crates/der/src/reader/
Dslice.rs9 bytes: BytesRef<'a>, field
15 position: Length, field
74 fn position(&self) -> Length { in position() method
Dpem.rs137 position: Length, field
185 fn position(&self) -> Length { in position() method
195 let bytes = self.reader.borrow_mut().copy_to_slice(buf)?; in read_into() localVariable
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java103 ByteBuffer bytes, boolean phraseBreaking) throws IOException { in getInstanceFromCompiledRules()
126 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules()
1403 boolean populateNear(int position) { in populateNear()
1527 assert fTextIdx == position; in populateNear() local
1598 int position = textBegin; in populatePreceding() local
1715 void addFollowing(int position, int ruleStatusIdx, boolean update) { in addFollowing()
1744 boolean addPreceding(int position, int ruleStatusIdx, boolean update) { in addPreceding()
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/text/
DRuleBasedBreakIterator.java103 ByteBuffer bytes, boolean phraseBreaking) throws IOException { in getInstanceFromCompiledRules()
126 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules()
1424 boolean populateNear(int position) { in populateNear()
1548 assert fTextIdx == position; in populateNear() local
1619 int position = textBegin; in populatePreceding() local
1736 void addFollowing(int position, int ruleStatusIdx, boolean update) { in addFollowing()
1765 boolean addPreceding(int position, int ruleStatusIdx, boolean update) { in addPreceding()
/external/tink-java/src/main/java/com/google/crypto/tink/testing/
DStreamingTestUtil.java69 public SeekableByteBufferChannel(byte[] bytes) { in SeekableByteBufferChannel()
73 public SeekableByteBufferChannel(byte[] bytes, int maxChunkSize) { in SeekableByteBufferChannel()
78 public long position() throws ClosedChannelException { in position() method in StreamingTestUtil.SeekableByteBufferChannel
85 public synchronized SeekableByteBufferChannel position(long newPosition) in position() method in StreamingTestUtil.SeekableByteBufferChannel
159 public ByteBufferChannel(byte[] bytes) { in ByteBufferChannel()
163 public ByteBufferChannel(byte[] bytes, int maxChunkSize) { in ByteBufferChannel()
167 public ByteBufferChannel(byte[] bytes, int maxChunkSize, boolean noDataEveryOtherRead) { in ByteBufferChannel()
223 private long position; field in StreamingTestUtil.PseudorandomReadableByteChannel
896 int position = 0; in testEncryptDecryptString() local
937 int position = 0; in tryDecryptModifiedCiphertext() local
/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/
DStreamingTestUtil.java68 public SeekableByteBufferChannel(byte[] bytes) { in SeekableByteBufferChannel()
72 public SeekableByteBufferChannel(byte[] bytes, int maxChunkSize) { in SeekableByteBufferChannel()
77 public long position() throws ClosedChannelException { in position() method in StreamingTestUtil.SeekableByteBufferChannel
84 public synchronized SeekableByteBufferChannel position(long newPosition) in position() method in StreamingTestUtil.SeekableByteBufferChannel
158 public ByteBufferChannel(byte[] bytes) { in ByteBufferChannel()
162 public ByteBufferChannel(byte[] bytes, int maxChunkSize) { in ByteBufferChannel()
166 public ByteBufferChannel(byte[] bytes, int maxChunkSize, boolean noDataEveryOtherRead) { in ByteBufferChannel()
222 private long position; field in StreamingTestUtil.PseudorandomReadableByteChannel
833 int position = 0; in testEncryptDecryptString() local
874 int position = 0; in tryDecryptModifiedCiphertext() local

12345