Searched defs:bytes (Results 251 - 275 of 1496) sorted by relevance

<<11121314151617181920>>

/external/tensorflow/tensorflow/compiler/xla/
H A Dpacked_literal_reader.cc66 uint64 bytes = elements * sizeof(float); local
68 auto s = file_->Read(offset_, bytes, &sp, data);
75 CHECK_EQ(sp.size(), bytes);
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dxfeed_manager_test.cc67 string bytes = shape.SerializeAsString(); local
69 length, bytes.data(), bytes.size());
71 bytes.data(), bytes.size());
77 string bytes = shape.SerializeAsString(); local
79 length, bytes.data(), bytes.size());
81 length, buffer, bytes.data(), bytes
[all...]
/external/tensorflow/tensorflow/core/kernels/
H A Ddecode_compressed_op.cc40 return errors::InvalidArgument("Can't read a negative number of bytes: ",
43 int64 bytes = bytes_to_read; variable
46 bytes = len_ - pos_;
49 if (bytes > 0) {
50 result->resize(bytes);
51 memcpy(&(*result)[0], &buf_[pos_], bytes);
52 pos_ += bytes;
86 OP_REQUIRES_OK(context, context->input("bytes", &bytes_tensor));
/external/toybox/toys/posix/
H A Dxargs.c21 -s Size in bytes per command line
50 long entries, bytes;
54 // If out==NULL count TT.bytes and TT.entries, stopping at max.
82 TT.bytes += sizeof(char *);
85 if (++TT.bytes >= TT.max_bytes && TT.max_bytes) return save;
100 TT.bytes += sizeof(char *)+strlen(data)+1;
101 if (TT.max_bytes && TT.bytes >= TT.max_bytes) return data;
113 int entries, bytes, done = 0, status; local
119 // with -s. POSIX also says we have to reserve 2048 bytes "to guarantee
136 for (entries = 0, bytes
[all...]
/external/turbine/java/com/google/turbine/bytecode/
H A DByteReader.java28 private final byte[] bytes; field in class:ByteReader
32 public ByteReader(byte[] bytes, int pos) { argument
33 this.bytes = bytes;
34 this.indexed = new IndexedByteArrayInputStream(bytes, pos, bytes.length);
39 return ByteStreams.newDataInput(bytes, i);
62 /** Skips n bytes of input. */
/external/turbine/javatests/com/google/turbine/zip/
H A DZipTest.java70 byte[] bytes = name.getBytes(UTF_8);
72 jos.write(bytes);
83 byte[] bytes = name.getBytes(UTF_8);
84 createEntry(jos, name, bytes);
90 private static void createEntry(ZipOutputStream jos, String name, byte[] bytes) argument
94 je.setSize(bytes.length);
95 je.setCrc(Hashing.crc32().hashBytes(bytes).padToLong());
97 jos.write(bytes);
133 byte[] bytes = name.getBytes(UTF_8);
135 Files.write(entry, bytes);
[all...]
/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub_stream.c49 VbError_t VbExStreamRead(VbExStream_t stream, uint32_t bytes, void *buffer) argument
59 if (bytes % LBA_BYTES)
63 sectors = bytes / LBA_BYTES;
/external/vogar/src/vogar/
H A DMd5Cache.java59 byte[] bytes = new byte[8192];
63 while ((byteCount = in.read(bytes)) > 0) {
64 digester.update(bytes, 0, byteCount);
91 private static String byteArrayToHexString(byte[] bytes) { argument
93 for (byte b : bytes) {
/external/webrtc/webrtc/base/
H A Dbitbuffer_unittest.cc20 const uint8_t bytes[64] = {0}; local
21 BitBuffer buffer(bytes, 32);
42 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, 0x45, 0x67, 0x89}; local
46 BitBuffer buffer(bytes, 8);
58 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, local
63 BitBuffer buffer(bytes, 9);
91 // The bytes. It almost looks like counting down by two at a time, except the
93 const uint8_t bytes[] = {0x1F, 0xDB, 0x97, 0x53, 0x0E, 0xCA, 0x86, 0x42}; local
98 BitBuffer buffer(bytes, 8);
115 const uint8_t bytes[] local
141 uint8_t bytes[4] = {0}; local
230 const uint8_t bytes[] = {0x00, 0xFF, 0xFF}; local
248 uint8_t bytes[16] = {0}; local
280 uint8_t bytes[16] = {0}; local
303 uint8_t bytes[64] = {0}; local
318 uint8_t bytes[] = {0xFF, 0xFF}; local
[all...]
H A Dbufferqueue.cc35 bool BufferQueue::ReadFront(void* buffer, size_t bytes, size_t* bytes_read) { argument
45 bytes = std::min(bytes, packet->size());
46 memcpy(buffer, packet->data(), bytes);
48 *bytes_read = bytes;
57 bool BufferQueue::WriteBack(const void* buffer, size_t bytes, argument
70 packet = new Buffer(bytes, default_size_);
73 packet->SetData(static_cast<const uint8_t*>(buffer), bytes); local
75 *bytes_written = bytes;
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Ddecode.c41 const uint16_t *bytes, /* (i) encoded signal bits */
72 WebRtcIlbcfix_SwapBytes(bytes, iLBCdec_inst->no_of_words, swapped);
75 last_bit = WebRtcIlbcfix_UnpackBits(bytes, iLBCbits_inst, iLBCdec_inst->mode);
39 WebRtcIlbcfix_DecodeImpl( int16_t *decblock, const uint16_t *bytes, IlbcDecoder *iLBCdec_inst, int16_t mode ) argument
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Dbyte_io_unittest.cc54 // Template arguments: Type T, read method RM(buffer), B bytes of data.
63 uint8_t bytes[B + kAlignments]; local
67 PopulateTestData(bytes + i, test_value, B, big_endian);
70 EXPECT_EQ(test_value, RM(bytes + i));
76 // Template arguments: Type T, write method WM(buffer, value), B bytes of data
86 uint8_t bytes[B + kAlignments]; local
93 memset(bytes, 0, B + kAlignments);
94 WM(bytes + i, test_value);
98 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]);
/external/ImageMagick/coders/
H A Durl.c216 bytes;
229 while ((bytes=xmlNanoHTTPRead(context,buffer,MaxBufferExtent)) > 0)
230 count=(ssize_t) fwrite(buffer,bytes,1,file);
214 bytes; local
/external/adhd/cras/src/common/
H A Dbyte_buffer.h16 uint8_t bytes[]; member in struct:byte_buffer
77 return &buf->bytes[buf->read_idx];
97 return &buf->bytes[buf->write_idx];
/external/apache-http/src/org/apache/commons/codec/net/
H A DQCodec.java137 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument
138 if (bytes == null) {
141 byte[] data = QuotedPrintableCodec.encodeQuotedPrintable(PRINTABLE_CHARS, bytes);
152 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument
153 if (bytes == null) {
157 for (int i = 0; i < bytes.length; i++) {
158 if (bytes[i] == UNDERSCORE) {
164 byte[] tmp = new byte[bytes.length];
165 for (int i = 0; i < bytes.length; i++) {
166 byte b = bytes[
[all...]
H A DQuotedPrintableCodec.java128 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped.
137 * @param bytes
138 * array of bytes to be encoded
139 * @return array of bytes containing quoted-printable data
141 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) { argument
142 if (bytes == null) {
149 for (int i = 0; i < bytes.length; i++) {
150 int b = bytes[i];
164 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted
172 * @param bytes
178 decodeQuotedPrintable(byte[] bytes) argument
215 encode(byte[] bytes) argument
234 decode(byte[] bytes) argument
[all...]
/external/autotest/client/tests/ffsb/
H A Dffsb.py28 bytes = {'K':1024 , 'k':1024, variable in class:ffsb
78 usrmaxflsz = int(usrmaxflsz[0:-1]) * self.bytes[usrmaxflsz[-1]]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaContentSignerBuilder.java116 public void write(byte[] bytes, int off, int len) argument
121 sig.update(bytes, off, len);
129 public void write(byte[] bytes) argument
134 sig.update(bytes);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1GeneralizedTime.java146 byte[] bytes)
148 this.time = bytes;
145 ASN1GeneralizedTime( byte[] bytes) argument
H A DASN1InputStream.java116 byte[] bytes)
119 if (Streams.readFully(this, bytes) != bytes.length)
126 * build an object given its tag and the number of bytes to construct it from.
347 throw new IOException("DER length more than 4 bytes: " + size);
115 readFully( byte[] bytes) argument
H A DASN1OutputStream.java52 void write(byte[] bytes) argument
55 os.write(bytes);
58 void write(byte[] bytes, int off, int len) argument
61 os.write(bytes, off, len);
66 byte[] bytes)
70 writeLength(bytes.length);
71 write(bytes);
107 void writeEncoded(int flags, int tagNo, byte[] bytes) argument
111 writeLength(bytes.length);
112 write(bytes);
64 writeEncoded( int tag, byte[] bytes) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/
H A DASN1Dump.java369 private static String dumpBinaryDataAsString(String indent, byte[] bytes) argument
377 for (int i = 0; i < bytes.length; i += SAMPLE_SIZE)
379 if (bytes.length - i > SAMPLE_SIZE)
382 buf.append(Strings.fromByteArray(Hex.encode(bytes, i, SAMPLE_SIZE)));
384 buf.append(calculateAscString(bytes, i, SAMPLE_SIZE));
390 buf.append(Strings.fromByteArray(Hex.encode(bytes, i, bytes.length - i)));
391 for (int j = bytes.length - i; j != SAMPLE_SIZE; j++)
396 buf.append(calculateAscString(bytes, i, bytes
404 calculateAscString(byte[] bytes, int off, int len) argument
[all...]
/external/clang/lib/Frontend/
H A DTextDiagnostic.cpp70 int bytes = 0; local
74 ++bytes;
76 return bytes;
175 /// This function takes a raw source line and produces a mapping from the bytes
184 /// If a byte is the first in a sequence of bytes that together map to a single
186 /// column while the subsequent bytes will be -1.
195 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to
223 /// The last element in the array is the number of bytes in the source string
229 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to
269 int bytes() cons
[all...]
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOAEPParameters.java66 protected void engineInit(byte[] bytes) throws IOException { argument
70 readRef = NativeCrypto.asn1_read_init(bytes);
137 protected void engineInit(byte[] bytes, String format) throws IOException { argument
139 engineInit(bytes);
/external/deqp/executor/
H A DxeBatchResult.cpp40 void InfoLog::append (const deUint8* bytes, size_t numBytes) argument
45 deMemcpy(&m_data[oldSize], bytes, numBytes);

Completed in 621 milliseconds

<<11121314151617181920>>