| /external/swiftshader/third_party/LLVM/lib/Support/ |
| DataExtractor.cpp | 138 uint8_t byte = 0; local 141 byte = Data[offset++]; 142 result |= (byte & 0x7f) << shift; 144 if ((byte & 0x80) == 0) 159 uint8_t byte = 0; local 162 byte = Data[offset++]; 163 result |= (byte & 0x7f) << shift; 165 if ((byte & 0x80) == 0) 169 // Sign bit of byte is 2nd high order bit (0x40) 170 if (shift < 64 && (byte & 0x40) [all...] |
| /frameworks/base/tools/bit/ |
| adb.cpp | 90 uint8_t byte; local 91 ssize_t amt = read(fd, &byte, 1); 98 result |= uint64_t(byte & 0x7F) << bits; 99 if ((byte & 0x80) == 0) {
|
| /hardware/google/apf/ |
| apf_disassembler.c | 79 int byte; local 80 while (scanf("%2x", &byte) == 1 && program_len < sizeof(program)) { 81 program[program_len++] = byte;
|
| /prebuilts/go/darwin-x86/src/cmd/internal/gcprog/ |
| gcprog.go | 39 writeByte func(byte) 41 b [progMaxLiteral]byte 44 debugBuf []byte 48 // by calling writeByte for each byte in the program. 49 func (w *Writer) Init(writeByte func(byte)) { 65 // byte writes the byte x to the output. 66 func (w *Writer) byte(x byte) { func 76 w.byte(0 [all...] |
| /prebuilts/go/linux-x86/src/cmd/internal/gcprog/ |
| gcprog.go | 39 writeByte func(byte) 41 b [progMaxLiteral]byte 44 debugBuf []byte 48 // by calling writeByte for each byte in the program. 49 func (w *Writer) Init(writeByte func(byte)) { 65 // byte writes the byte x to the output. 66 func (w *Writer) byte(x byte) { func 76 w.byte(0 [all...] |
| /system/core/libunwindstack/tests/ |
| DwarfMemoryTest.cpp | 65 uint8_t byte; local 66 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 67 ASSERT_EQ(0x10U, byte); 68 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 69 ASSERT_EQ(0x18U, byte); 70 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 71 ASSERT_EQ(0xffU, byte); 72 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 73 ASSERT_EQ(0xfeU, byte); 77 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)) [all...] |
| /toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic54x/ |
| cons.s | 14 .global byte, word, xlong, long, int 15 byte: .byte 0AAh, 0BBh label
|
| /device/google/contexthub/firmware/app/chre/common/ |
| chre10_app.c | 110 struct chreSensorByteData byte; local 112 initDataHeader(&byte.header, src->referenceTime, sensorHandle); 113 byte.readings[0].timestampDelta = 0; 117 byte.header.baseTimestamp += src->samples[i].deltaTime; 118 byte.readings[0].isNear = src->samples[i].fdata == 0.0f; 119 byte.readings[0].invalid = false; 120 byte.readings[0].padding0 = 0; 122 nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &byte); 156 struct chreSensorByteData byte; local 158 initDataHeader(&byte.header, eOsSensorGetTime(), sensorHandle) [all...] |
| chre_app.c | 110 struct chreSensorByteData byte; local 112 initDataHeader(&byte.header, src->referenceTime, sensorHandle); 113 byte.readings[0].timestampDelta = 0; 117 byte.header.baseTimestamp += src->samples[i].deltaTime; 118 byte.readings[0].isNear = src->samples[i].fdata == 0.0f; 119 byte.readings[0].invalid = false; 120 byte.readings[0].padding0 = 0; 122 nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &byte); 156 struct chreSensorByteData byte; local 158 initDataHeader(&byte.header, eOsSensorGetTime(), sensorHandle) [all...] |
| /external/ImageMagick/coders/ |
| wbmp.c | 106 byte; 111 byte=ReadBlobByte(image); 112 if (byte == EOF) 115 *value|=(unsigned int) (byte & 0x7f); 116 } while (byte & 0x80); 127 byte; 199 byte=0; 204 byte=ReadBlobByte(image); 205 if (byte == EOF) 208 SetPixelIndex(image,(byte & (0x01 << (7-bit))) ? 1 : 0,q) 104 byte; local 125 byte; local 366 byte; local [all...] |
| /external/adhd/cras/src/server/ |
| cras_utf8.c | 105 uint8_t byte; local 116 while ((byte = (uint8_t)*(pos++))) { 118 if (byte < 128) { 124 if (byte == kUTF8ByteOrderMask[bom_chars]) { 143 if (byte >= seq->ranges->min && 144 byte <= seq->ranges->max) { 162 if (byte >= range->min && byte <= range->max) {
|
| /external/google-breakpad/src/common/dwarf/ |
| bytereader-inl.h | 88 // Read an unsigned LEB128 number. Each byte contains 7 bits of 97 unsigned char byte; local 100 byte = *buffer++; 103 result |= (static_cast<uint64>(byte & 0x7f)) << shift; 107 } while (byte & 0x80); 115 // numbers, except the last byte may have a sign bit set. 122 unsigned char byte; local 125 byte = *buffer++; 127 result |= (static_cast<uint64>(byte & 0x7f) << shift); 129 } while (byte & 0x80) [all...] |
| /external/icu/icu4c/source/tools/icuinfo/ |
| icuinfo.cpp | 75 uint8_t byte; member in union:__anon21802 79 if(U_IS_BIG_ENDIAN==u.byte) { 83 U_IS_BIG_ENDIAN, u.byte);
|
| /external/libbrillo/brillo/streams/ |
| memory_stream_unittest.cc | 27 uint8_t byte = 0; local 28 return stream->ReadAllBlocking(&byte, sizeof(byte), error) ? byte : -1;
|
| /external/libcups/cups/ |
| testfile.c | 324 fputs("cupsFileWrite(256 512-byte records): ", stdout); 460 int byte; /* Byte from file */ local 708 for (i = 0, byte = 0; i < 256; i ++) 709 if ((byte = cupsFileGetChar(fp)) != i) 714 else if (byte >= 0) 716 printf("FAIL (Got %d, expected %d)\n", byte, i); 763 if ((byte = cupsFileGetChar(fp)) < 0) 765 else if (byte != partial_line[i]) 772 printf("FAIL (got '%c', expected '%c')\n", byte, partial_line[i]) [all...] |
| /external/libjpeg-turbo/simd/ |
| jsimdcfg.inc.h | 70 %define JSAMPLE byte ; unsigned char variable
|
| /external/mesa3d/src/compiler/nir/ |
| nir_lower_alu_to_scalar.c | 160 nir_ssa_def *byte = local 163 nir_ior(b, nir_ior(b, nir_ishl(b, nir_channel(b, byte, 3), nir_imm_int(b, 24)), 164 nir_ishl(b, nir_channel(b, byte, 2), nir_imm_int(b, 16))), 165 nir_ior(b, nir_ishl(b, nir_channel(b, byte, 1), nir_imm_int(b, 8)), 166 nir_channel(b, byte, 0)));
|
| /external/python/cpython3/Lib/test/ |
| test_string_literals.py | 60 def byte(i): function 144 self.assertEqual(eval(r""" b'\x01' """), byte(1)) 145 self.assertEqual(eval(""" b'\x01' """), byte(1)) 146 self.assertEqual(eval(r""" b'\x81' """), byte(0x81)) 185 self.assertEqual(eval(""" br'\x01' """), byte(1)) 186 self.assertEqual(eval(""" rb'\x01' """), byte(1))
|
| /external/skqp/tests/ |
| PremulAlphaRoundTripTest.cpp | 19 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); local 20 byte[0] = SkColorGetR(c); 21 byte[1] = SkColorGetG(c); 22 byte[2] = SkColorGetB(c); 23 byte[3] = SkColorGetA(c); 29 uint8_t* byte = reinterpret_cast<uint8_t*>(&packed); local 30 byte[0] = SkColorGetB(c); 31 byte[1] = SkColorGetG(c); 32 byte[2] = SkColorGetR(c); 33 byte[3] = SkColorGetA(c) [all...] |
| /external/syslinux/gpxe/src/core/ |
| debug.c | 31 uint8_t byte; local 48 byte = bytes[i]; 49 if ( ( byte < 0x20 ) || ( byte >= 0x7f ) ) 50 byte = '.'; 51 printf ( "%c", byte ); 73 /* Fill a region with guard markers. We use a 4-byte pattern to make 74 * it less likely that check_region will find spurious 1-byte regions
|
| /external/syslinux/gpxe/src/drivers/bitbash/ |
| i2c_bit.c | 137 * Send byte via I2C bus and check for acknowledgement 140 * @v byte Byte to send 143 * Sends a byte via the I2C bus and checks for an acknowledgement from 146 static int i2c_send_byte ( struct bit_basher *basher, uint8_t byte ) { 150 /* Send byte */ 151 DBG2 ( "[send %02x]", byte ); 153 i2c_send_bit ( basher, byte & 0x80 ); 154 byte <<= 1; 165 * Receive byte via I2C bu 173 uint8_t byte = 0; local 202 unsigned int byte; local [all...] |
| spi_bit.c | 103 /* Calculate byte offset and byte mask */ 111 const uint8_t *byte; local 115 byte = ( data_out + byte_offset ); 116 bit = ( *byte & byte_mask ); 124 uint8_t *byte; local 131 byte = ( data_in + byte_offset ); 132 *byte &= ~byte_mask; 133 *byte |= ( bit & byte_mask );
|
| /external/tensorflow/tensorflow/core/lib/core/ |
| coding.cc | 140 uint32 byte = *(reinterpret_cast<const unsigned char*>(p)); local 142 if (byte & 128) { 144 result |= ((byte & 127) << shift); 146 result |= (byte << shift); 169 uint64 byte = *(reinterpret_cast<const unsigned char*>(p)); local 171 if (byte & 128) { 173 result |= ((byte & 127) << shift); 175 result |= (byte << shift);
|
| /external/valgrind/none/tests/s390x/ |
| clcl.c | 81 assert((pad & 0xFF) == pad); /* an 8-byte value */ 103 printf("FAIL: pad byte modified (unused bits 0)\n"); 121 printf("FAIL: pad byte modified (unused bits 1)\n"); 155 uint8_t byte, byte1, byte2; local 173 /* Test 3: Compare a single byte against the pad byte */ 175 byte = 10; 176 run_test(NULL, 0, &byte, 1, 10); // equal 177 run_test(NULL, 0, &byte, 1, 9); // first operand low 178 run_test(NULL, 0, &byte, 1, 11); // first operand hig [all...] |
| /hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
| Obd2SensorStore.cpp | 39 const uint8_t byte = mStorage[byteIndex]; local 40 uint8_t newValue = value ? (byte | (1 << bitIndex)) : (byte & ~(1 << bitIndex)); 47 const uint8_t byte = mStorage[byteIndex]; local 48 return (byte & (1 << bitIndex)) != 0;
|