Searched defs:bytes (Results 201 - 225 of 1049) sorted by relevance

1234567891011>>

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
H A DInputOutputExceptionTest.java54 public int read(byte[] bytes, int i, int i1) throws IOException { argument
/external/strace/
H A Dsock.c94 const unsigned char *bytes = local
97 bytes[0], bytes[1], bytes[2],
98 bytes[3], bytes[4], bytes[5]);
/external/tlsdate/src/
H A Dtlsdate-setter.c116 ssize_t bytes = read (time_fd, &tv.tv_sec, sizeof (tv.tv_sec)); local
118 if (bytes == -1)
125 if (bytes == 0)
131 if (bytes != sizeof (tv.tv_sec))
/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.
83 if (++TT.bytes >= TT.max_bytes && TT.max_bytes) return save;
98 TT.bytes += strlen(data)+1;
99 if (TT.max_bytes && TT.bytes >= TT.max_bytes) return data;
112 int entries, bytes, done = 0, status; local
125 for (entries = 0, bytes = -1; entries < toys.optc; entries++, bytes++)
126 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/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/bison/lib/
H A Dbitsetv.c33 size_t bytes; local
37 /* Determine number of bytes for each set. */
38 bytes = bitset_bytes (type, n_bits);
41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs)
45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1;
46 vector_bytes -= vector_bytes % bytes;
47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs);
51 bsetv[i] = (bitset) (void *) ((char *) bsetv + vector_bytes + i * bytes);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaContentSignerBuilder.java115 public void write(byte[] bytes, int off, int len) argument
120 sig.update(bytes, off, len);
128 public void write(byte[] bytes) argument
133 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.java366 private static String dumpBinaryDataAsString(String indent, byte[] bytes) argument
374 for (int i = 0; i < bytes.length; i += SAMPLE_SIZE)
376 if (bytes.length - i > SAMPLE_SIZE)
379 buf.append(new String(Hex.encode(bytes, i, SAMPLE_SIZE)));
381 buf.append(calculateAscString(bytes, i, SAMPLE_SIZE));
387 buf.append(new String(Hex.encode(bytes, i, bytes.length - i)));
388 for (int j = bytes.length - i; j != SAMPLE_SIZE; j++)
393 buf.append(calculateAscString(bytes, i, bytes
401 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/dbus/tools/
H A Ddbus-print-message.c57 print_hex (unsigned char *bytes, unsigned int len, int depth) argument
61 printf ("array of bytes [\n");
75 printf ("%02x", bytes[i]);
105 unsigned char *bytes = malloc (DEFAULT_SIZE + 1); local
117 bytes[len] = val;
126 bytes = realloc (bytes, max + 1);
134 bytes[len] = '\0';
135 printf ("array of bytes \"%s\"\n", bytes);
[all...]
/external/deqp/executor/
H A DxeBatchResult.cpp40 void InfoLog::append (const deUint8* bytes, size_t numBytes) argument
45 deMemcpy(&m_data[oldSize], bytes, numBytes);
H A DxeTestCaseListParser.cpp79 void TestCaseListParser::parse (const deUint8* bytes, int numBytes) argument
82 m_xmlParser.feed(bytes, numBytes);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DOutput.java27 * bytes written to this instance.
76 * @return {@code 1..5;} the number of bytes actually written
86 * @return {@code 1..5;} the number of bytes actually written
93 * @param bytes {@code non-null;} the array to write
95 public void write(ByteArray bytes); argument
100 * @param bytes {@code non-null;} the array to write
101 * @param offset {@code >= 0;} offset into {@code bytes} for the first
103 * @param length {@code >= 0;} number of bytes to write
105 public void write(byte[] bytes, int offset, int length); argument
109 * a convenient shorthand for {@code write(bytes,
113 write(byte[] bytes) argument
[all...]
/external/dng_sdk/source/
H A Ddng_simple_image.cpp39 uint32 bytes = local
42 fMemory.Reset (allocator.Allocate (bytes));

Completed in 863 milliseconds

1234567891011>>