Searched defs:byte (Results 51 - 75 of 204) sorted by relevance

123456789

/external/chromium_org/ppapi/tests/
H A Dtest_tcp_server_socket_private.cc239 const char byte = 'a' + i; local
240 ASSERT_SUBTEST_SUCCESS(SyncWrite(client_sockets[i], &byte, sizeof(byte)));
245 char byte; local
246 ASSERT_SUBTEST_SUCCESS(SyncRead(accepted_sockets[i], &byte, sizeof(byte)));
247 const size_t index = byte - 'a';
H A Dtest_tcp_socket.cc288 const char byte = 'a' + i; local
290 std::string(1, byte)));
295 char byte; local
297 accepted_sockets[i], &byte, sizeof(byte)));
298 const size_t index = byte - 'a';
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dunewdata.c194 udata_write8(UNewDataMemory *pData, uint8_t byte) { argument
196 T_FileStream_write(pData->file, &byte, 1);
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dcoding.cc117 uint32_t byte = *(reinterpret_cast<const unsigned char*>(p)); local
119 if (byte & 128) {
121 result |= ((byte & 127) << shift);
123 result |= (byte << shift);
146 uint64_t byte = *(reinterpret_cast<const unsigned char*>(p)); local
148 if (byte & 128) {
150 result |= ((byte & 127) << shift);
152 result |= (byte << shift);
/external/chromium_org/third_party/skia/tests/
H A DPathUtilsTest.cpp26 int byte = x >> 3; local
29 return buffer[byte] & (128 >> bit);
/external/icu/icu4c/source/tools/toolutil/
H A Dunewdata.c194 udata_write8(UNewDataMemory *pData, uint8_t byte) { argument
196 T_FileStream_write(pData->file, &byte, 1);
/external/jemalloc/test/unit/
H A Djunk.c21 "Missing junk fill for byte %zu/%zu of deallocated region",
35 "Missing junk fill for byte %zu/%zu of deallocated region",
75 "Previously allocated byte %zu/%zu is corrupted",
78 "Previously allocated byte %zu/%zu is corrupted",
84 "Newly allocated byte %zu/%zu isn't junk-filled",
171 size_t offset, uint8_t byte)
170 arena_redzone_corruption_replacement(void *ptr, size_t usize, bool after, size_t offset, uint8_t byte) argument
/external/lldb/tools/debugserver/source/
H A DDNBDataRef.cpp246 uint8_t byte; local
252 byte = *src++;
253 result |= (byte & 0x7f) << shift;
255 if ((byte & 0x80) == 0)
279 uint8_t byte = 0; local
285 byte = *src++;
286 result |= (byte & 0x7f) << shift;
288 if ((byte & 0x80) == 0)
292 // Sign bit of byte is 2nd high order bit (0x40)
293 if (shift < size && (byte
[all...]
/external/qemu-pc-bios/vgabios/
H A Dbiossums.c22 typedef unsigned char byte; typedef
28 long chksum_bios_get_offset( byte* data, long offset );
29 byte chksum_bios_calc_value( byte* data, long offset );
30 byte chksum_bios_get_value( byte* data, long offset );
31 void chksum_bios_set_value( byte* data, long offset, byte value );
36 long chksum_pmid_get_offset( byte* data, long offset );
37 byte chksum_pmid_calc_valu
[all...]
/external/skia/tests/
H A DPathUtilsTest.cpp26 int byte = x >> 3; local
29 return buffer[byte] & (128 >> bit);
/external/valgrind/main/memcheck/tests/
H A Dsh-mem.c29 // For the byte 'x', build a value of 'size' bytes from that byte, eg:
38 U8 build(int size, U1 byte) argument
49 mask |= (U8)byte;
64 // Check that all the bytes in a[x..y-1] have their V byte equal
77 fprintf(stderr, "\n\nFAILURE: %s, offset %d, byte %d -- "
150 /* For each of the 256 possible V byte values... */ \
/external/valgrind/main/none/tests/s390x/
H A Dmvcl.c82 assert((pad & 0xFF) == pad); /* an 8-byte value */
107 printf("FAIL: pad byte modified (unused bits 0)\n");
126 printf("FAIL: pad byte modified (unused bits 1)\n");
174 uint8_t byte, buf[10], small[5], i; local
188 run_test(&byte, 1, NULL, 0, 'a');
196 byte = 'x';
197 run_test(&byte, 1, &byte, 1, 'a');
225 Pad byte unused */
243 Pad byte use
[all...]
/external/yaffs2/yaffs2/
H A Dyaffs_ecc.c21 * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC
22 * blocks are used on a 512-byte NAND page.
28 * for each byte of data. These are instead provided in a table in bits7..2.
99 /* Calculate the ECC for a 256-byte block of data */
114 if (b & 0x01) // odd number of bits in the byte
171 /* Correct the ECC on a 256 byte block of data */
190 unsigned byte; local
202 bit = byte = 0;
205 byte |= 0x80;
207 byte |
[all...]
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring.h107 typedef uint8_t byte; typedef
/external/chromium_org/components/rappor/
H A Dbyte_vector_utils.cc110 uint8_t byte = vector[i]; local
112 if (byte & (1 << j))
/external/chromium_org/media/cast/net/rtcp/
H A Drtcp_utility.cc75 uint8 byte; local
76 if (!reader->ReadU8(&byte))
78 parsed_header->V = byte >> 6;
79 parsed_header->P = ((byte & 0x20) == 0) ? false : true;
85 parsed_header->IC = byte & 0x1f;
/external/chromium_org/sdch/open-vcdiff/src/
H A Daddrcache_test.cc80 void ManualEncodeByte(unsigned char byte) { argument
81 address_stream_.push_back(byte);
276 ManualEncodeByte(0xFE); // SAME mode uses a byte, not a Varint
303 ExpectDecodedSizeInBytes(sizeof(unsigned char)); // a byte, not a Varint
497 // Now add the missing last byte (supposedly read from a stream of data)
499 ManualEncodeByte(0x01); // End the Varint with an additional byte
506 ExpectDecodedSizeInBytes(4); // ManualEncodeByte was called for 4 byte values
H A Dencodetable.cc145 // being added, and so save a byte of space. In that case, the
273 void VCDiffCodeTableWriter::Run(size_t size, unsigned char byte) { argument
275 data_for_add_and_run_->push_back(byte);
/external/chromium_org/sync/internal_api/public/base/
H A Dordinal.h55 // anyway in practice.) Thus, it is safe to use any byte range for
155 // Returns true iff the given byte string satisfies the criteria for
183 // Compute the midpoint ordinal byte string that is between |start|
194 // The internal byte string representation of the Ordinal. Never
353 const uint8 byte = bytes[i]; local
354 if (byte < kZeroDigit || byte > kMaxDigit)
356 if (byte > kZeroDigit)
/external/chromium_org/third_party/icu/source/i18n/
H A Ducol_wgt.cpp68 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { argument
69 uint32_t mask; /* 0xffffffff except a 00 "hole" for the index-th byte */
88 return (uint32_t)((weight&mask)|(byte<<idx));
108 uint32_t byte; local
111 byte=getWeightByte(weight, length);
112 if(byte<maxByte) {
113 return setWeightByte(weight, length, byte+1);
115 /* roll over, set this byte to UCOL_BYTE_FIRST_TAILORED and increment the previous one */
322 /* number of usable byte values 3..maxByte */
377 /* sum up the number of elements that fit into ranges of each byte lengt
419 uint32_t byte; local
[all...]
/external/chromium_org/third_party/icu/source/io/
H A Dufmt_cmn.c206 /* Get the first nibble of the byte */
207 uint8_t byte = (uint8_t)ufmt_digitvalue(buffer[count]); local
210 /* Get the second nibble of the byte when available */
211 byte = (uint8_t)(byte + (ufmt_digitvalue(buffer[--count]) << 4));
213 /* Write the byte into the array */
214 result.bytes[resultIdx] = byte;
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dstrtest.cpp31 uint8_t byte; member in union:__anon12335
35 if(U_IS_BIG_ENDIAN!=u.byte) {
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libico.cpp309 int byte = readByte(buf, xorOffset + (pixelNo >> 3)); local
312 // Read all of the bits in this byte.
321 colorBit = (byte & m) >> shift;
337 int byte = readByte(buf, xorOffset + (pixelNo >> 1)); local
338 int pixel = (byte >> 4) & 0xF;
345 pixel = byte & 0xF;
/external/chromium_org/third_party/smhasher/src/
H A DBitvec.cpp24 unsigned char byte = data[i]; local
26 int hi = (byte >> 4);
27 int lo = (byte & 0xF);
126 int byte = bit >> 3; local
129 if(byte < len) return (b[byte] >> bit) & 1;
138 int byte = bit >> 3; local
141 byte %= len;
143 return (b[byte] >> bit) & 1;
150 int byte local
165 int byte = bit >> 3; local
175 int byte = bit >> 3; local
[all...]
/external/chromium_org/v8/src/
H A Dsafepoint-table.cc90 uint8_t byte, int digits) {
93 os << (((byte & (1 << i)) == 0) ? "0" : "1");
89 PrintBits(OStream& os, uint8_t byte, int digits) argument

Completed in 667 milliseconds

123456789