/system/core/libziparchive/ |
D | entry_name_utils-inl.h | 27 const uint8_t byte = entry_name[i]; in IsValidEntryName() local 28 if (byte == 0) { in IsValidEntryName() 30 } else if ((byte & 0x80) == 0) { in IsValidEntryName() 33 } else if ((byte & 0xc0) == 0x80 || (byte & 0xfe) == 0xfe) { in IsValidEntryName() 38 for (uint8_t first = byte << 1; first & 0x80; first <<= 1) { in IsValidEntryName()
|
/system/media/audio_utils/spdif/ |
D | FrameScanner.cpp | 51 bool FrameScanner::scan(uint8_t byte) in scan() argument 54 ALOGV("FrameScanner: byte = 0x%02X, mCursor = %d", byte, mCursor); in scan() 58 if (byte == mSyncBytes[mCursor]) { in scan() 59 mHeaderBuffer[mCursor++] = byte; in scan() 66 mHeaderBuffer[mCursor++] = byte; in scan()
|
D | BitFieldParser.cpp | 44 uint8_t byte = mData[byteCursor]; in readBits() local 48 uint32_t result = byte >> (bitsLeftInByte - bitsFromByte); in readBits()
|
/system/bt/hci/test/ |
D | hci_hal_h4_test.cpp | 69 uint8_t byte; in expect_packet_synchronous() local 70 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1)); in expect_packet_synchronous() 71 EXPECT_EQ(packet_data[i], byte); in expect_packet_synchronous() 117 uint8_t byte; 119 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) { 120 EXPECT_EQ(sample_data3[reentry_i], byte); 188 char byte; 189 read(fd, &byte, 1); 191 EXPECT_EQ(i == 0 ? first_byte : data[i - 1], byte); 257 char byte = DATA_TYPE_ACL; [all …]
|
D | hci_hal_mct_test.cpp | 64 uint8_t byte; in expect_packet_synchronous() local 65 EXPECT_EQ((size_t)1, hal->read_data(type, &byte, 1)); in expect_packet_synchronous() 66 EXPECT_EQ(packet_data[i], byte); in expect_packet_synchronous() 110 uint8_t byte; 112 while ((bytes_read = hal->read_data(type, &byte, 1)) != 0) { 113 EXPECT_EQ(sample_data3[reentry_i], byte); 191 char byte; 192 read(fd, &byte, 1); 194 EXPECT_EQ(data[i], byte);
|
/system/core/bootstat/ |
D | event_log_list_builder.cpp | 92 void EventLogListBuilder::AppendByte(uint8_t byte) { in AppendByte() argument 93 DCHECK_LT(payload_size_ + sizeof(byte), MAX_EVENT_PAYLOAD_SIZE); in AppendByte() 94 payload_[payload_size_++] = byte; in AppendByte()
|
D | event_log_list_builder.h | 48 void AppendByte(uint8_t byte);
|
/system/bt/osi/test/ |
D | eager_reader_test.cpp | 92 uint8_t byte; in expect_data() local 93 EXPECT_EQ((size_t)1, eager_reader_read(reader, &byte, 1)); in expect_data() 94 EXPECT_EQ(data[i], byte); in expect_data()
|
/system/core/adb/ |
D | SYNC.TXT | 17 In sync mode both the server and the client will frequently use eight-byte 40 1. A four-byte sync response id "DENT" 41 2. A four-byte integer representing file mode. 42 3. A four-byte integer representing file size. 43 4. A four-byte integer representing last modified time. 44 5. A four-byte integer representing file name length.
|
D | OVERVIEW.TXT | 86 1. A 4-byte hexadecimal string giving the length of the payload 101 1. For success, the 4-byte "OKAY" string 103 2. For failure, the 4-byte "FAIL" string, followed by a 104 4-byte hex length, followed by a string giving the reason 107 3. As a special exception, for 'host:version', a 4-byte
|
D | SERVICES.TXT | 10 As a special exception, the server will respond with a 4-byte 23 After the OKAY, this is followed by a 4-byte hex len, 205 After the OKAY, the service sends 16-byte binary structure 217 one byte through the channel, which will trigger the service
|
/system/core/libcutils/ |
D | strdup8to16.c | 33 #define UTF8_SHIFT_AND_MASK(unicode, byte) \ argument 34 (unicode)<<=6; (unicode) |= (0x3f & (byte));
|
/system/update_engine/payload_consumer/ |
D | xz_extent_writer_unittest.cc | 155 for (uint8_t byte : compressed) { in TEST_F() local 156 EXPECT_TRUE(xz_writer_->Write(&byte, 1)); in TEST_F()
|
/system/bt/stack/btm/ |
D | btm_ble_privacy.c | 141 UINT8 byte; in btm_ble_clear_irk_index() local 146 byte = index / 8; in btm_ble_clear_irk_index() 148 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index() 164 UINT8 byte; in btm_ble_find_irk_index() local 169 byte = i / 8; in btm_ble_find_irk_index() 172 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) in btm_ble_find_irk_index() 174 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 108 for illustration only here) and without a trailing 0 byte. 189 Upon connecting, both sides will send a 4-byte handshake message to ensure they 204 Where data_size is an unsigned 8-byte big-endian binary value, and data is the 205 fastboot packet. The 8-byte length is intended to provide future-proofing even 206 though currently fastboot packets have a 4-byte maximum length. 257 Seq # 2-byte packet sequence number (big-endian). The host will increment 268 The response data field should contain a 2-byte big-endian value 276 The data field contains two big-endian 2-byte values, a protocol 277 version and the max UDP packet size (including the 4-byte header). 294 Devices must support at least 512-byte packets, but packet size has a direct [all …]
|
/system/media/audio_utils/include/audio_utils/spdif/ |
D | FrameScanner.h | 46 virtual bool scan(uint8_t byte);
|
/system/bt/service/doc/ |
D | IBluetoothGattClientCallback.txt | 78 in byte[] value); 106 in byte[] value); 120 void onNotify(in GattIdentifier characteristic_id, in byte[] value);
|
D | IBluetoothGattServer.txt | 100 in int offset, in byte[] value); 113 in boolean confirm, in byte[] value);
|
D | IBluetoothGattServerCallback.txt | 92 in boolean need_response, in byte[] value, 112 in boolean need_response, in byte[] value,
|
D | IBluetoothGattClient.txt | 97 in byte[] value); 135 in byte[] value);
|
/system/bt/hci/src/ |
D | hci_layer.c | 554 uint8_t byte; in hal_says_data_ready() local 555 while (hal->read_data(type, &byte, 1) != 0) { in hal_says_data_ready() 565 incoming->preamble[incoming->index] = byte; in hal_says_data_ready() 571 …coming->bytes_remaining = (type == DATA_TYPE_ACL) ? RETRIEVE_ACL_LENGTH(incoming->preamble) : byte; in hal_says_data_ready() 594 incoming->buffer->data[incoming->index] = byte; in hal_says_data_ready()
|
/system/core/libutils/ |
D | Unicode.cpp | 467 static inline void utf8_shift_and_mask(uint32_t* codePoint, const uint8_t byte) in utf8_shift_and_mask() argument 470 *codePoint |= 0x3F & byte; in utf8_shift_and_mask()
|
/system/core/metricsd/uploader/proto/ |
D | system_profile.proto | 229 // the IEEE and are encoded with the first byte in bits 16-23, the 230 // second byte in bits 8-15 and the third byte in bits 0-7. 334 // the IEEE and are encoded with the first byte in bits 16-23, the 335 // second byte in bits 8-15 and the third byte in bits 0-7.
|
/system/update_engine/ |
D | test_http_server.cc | 234 char byte = first_byte; in WritePayload() local 237 line += byte++; in WritePayload()
|
/system/bt/doc/ |
D | style_guide.md | 24 memory layout, sizes, byte order, etc. As a result, some operations are 47 It is not safe to assume any particular byte order. When serializing or
|