/external/pigweed/pw_checksum/ |
D | crc32.cc | 61 const uint8_t* data_bytes = static_cast<const uint8_t*>(data); in _pw_checksum_InternalCrc32EightBit() local 64 state = kCrc32Table[(state ^ data_bytes[i]) & 0xFFu] ^ (state >> 8); in _pw_checksum_InternalCrc32EightBit() 75 const uint8_t* data_bytes = static_cast<const uint8_t*>(data); in _pw_checksum_InternalCrc32FourBit() local 78 state ^= data_bytes[i]; in _pw_checksum_InternalCrc32FourBit() 89 const uint8_t* data_bytes = static_cast<const uint8_t*>(data); in _pw_checksum_InternalCrc32OneBit() local 92 state = Crc32ProcessDataChunk<8, kCrc32Polynomial>(state ^ data_bytes[i]); in _pw_checksum_InternalCrc32OneBit()
|
/external/openthread/tests/scripts/thread-cert/ |
D | test_lowpan.py | 245 data_bytes = bytearray([byte0, byte1]) 248 actual = lowpan.LowpanIPHC.from_bytes(data_bytes) 2205 data_bytes = struct.pack(">H", src_port) + struct.pack(">H", dst_port) 2208 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) 2226 data_bytes = struct.pack(">H", src_port) + bytearray([struct.pack(">H", dst_port)[1]]) 2229 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) 2247 data_bytes = bytearray([struct.pack(">H", src_port)[1]]) + struct.pack(">H", dst_port) 2250 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) 2268 data_bytes = bytearray([((src_port & 0x0F) << 4) | (dst_port & 0x0F)]) 2271 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) [all …]
|
D | lowpan.py | 95 def from_bytes(cls, data_bytes): argument 96 data_byte = data_bytes[0] 106 data_byte = data_bytes[1] 161 def from_bytes(cls, data_bytes): argument 162 header_byte = data_bytes[0] 196 def from_bytes(cls, data_bytes): argument 197 data_byte = data_bytes[0] 441 def _flow_label(self, data_bytes): argument 442 flow_label = (data_bytes[0] & 0x0F) << 16 443 flow_label += data_bytes[1] << 8 [all …]
|
/external/flac/src/flac/ |
D | encode.c | 106 FLAC__uint64 data_bytes; member 225 FLAC__uint32 xx, data_bytes; in get_sample_info_wave() local 239 data_bytes = xx; in get_sample_info_wave() 240 if(data_bytes < 28) { in get_sample_info_wave() 241 …"%s: ERROR: non-standard 'ds64' chunk has length = %u\n", e->inbasefilename, (uint32_t)data_bytes); in get_sample_info_wave() 244 if(data_bytes & 1) /* should never happen, but enforce WAVE alignment rules */ in get_sample_info_wave() 245 data_bytes++; in get_sample_info_wave() 257 data_bytes -= 16; in get_sample_info_wave() 260 if(!fskip_ahead(e->fin, data_bytes)) { in get_sample_info_wave() 272 FLAC__uint32 xx, data_bytes; in get_sample_info_wave() local [all …]
|
/external/pigweed/pw_ring_buffer/ |
D | prefixed_entry_ring_buffer.cc | 194 size_t read_bytes = info.data_bytes; in InternalRead() 301 size_t entry_bytes = info.preamble_bytes + info.data_bytes; in InternalPopFront() 313 return FrontEntryInfo(reader).data_bytes; in InternalFrontEntryDataSizeBytes() 322 return info.preamble_bytes + info.data_bytes; in InternalFrontEntryTotalSizeBytes() 362 info.data_bytes = entry_bytes; in RawFrontEntryInfo() 460 read_idx_ += info.value().preamble_bytes + info.value().data_bytes; in operator ++() 491 info.value().data_bytes), in operator *()
|
/external/ruy/ruy/ |
D | prepacked_cache.cc | 30 const std::ptrdiff_t data_bytes = DataBytes(*packed_matrix); in AllocateBuffers() local 31 packed_matrix->data = detail::SystemAlignedAlloc(data_bytes); in AllocateBuffers() 38 return data_bytes + sums_bytes; in AllocateBuffers()
|
/external/libchrome/base/files/ |
D | file_proxy_unittest.cc | 292 int data_bytes = arraysize(data); in TEST_F() local 293 proxy.Write(0, data, data_bytes, in TEST_F() 297 EXPECT_EQ(data_bytes, bytes_written_); in TEST_F() 307 EXPECT_EQ(data_bytes, base::ReadFile(TestPath(), buffer, data_bytes)); in TEST_F() 308 for (int i = 0; i < data_bytes; ++i) { in TEST_F()
|
/external/cronet/base/files/ |
D | file_proxy_unittest.cc | 325 int data_bytes = std::size(data); in TEST_F() local 328 proxy.Write(0, data, data_bytes, in TEST_F() 334 EXPECT_EQ(data_bytes, bytes_written_); in TEST_F() 348 EXPECT_EQ(data_bytes, base::ReadFile(TestPath(), buffer, data_bytes)); in TEST_F() 349 for (int i = 0; i < data_bytes; ++i) { in TEST_F()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | frame_data.cc | 89 stats->data_bytes += write_bytes; in grpc_chttp2_encode_data() 218 s->stats.incoming.data_bytes += remaining; in grpc_deframe_unprocessed_incoming_frames() 237 s->stats.incoming.data_bytes += remaining; in grpc_deframe_unprocessed_incoming_frames() 250 s->stats.incoming.data_bytes += p->frame_size; in grpc_deframe_unprocessed_incoming_frames()
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | frame_data.cc | 97 stats->data_bytes += write_bytes; in grpc_chttp2_encode_data() 226 s->stats.incoming.data_bytes += remaining; in grpc_deframe_unprocessed_incoming_frames() 245 s->stats.incoming.data_bytes += remaining; in grpc_deframe_unprocessed_incoming_frames() 258 s->stats.incoming.data_bytes += p->frame_size; in grpc_deframe_unprocessed_incoming_frames()
|
/external/grpc-grpc/src/cpp/ext/filters/census/ |
D | context.cc | 74 return final_info->stats.transport_stream_stats.incoming.data_bytes; in GetIncomingDataSize() 78 return final_info->stats.transport_stream_stats.outgoing.data_bytes; in GetOutgoingDataSize()
|
/external/armnn/samples/SpeechRecognition/include/ |
D | SpeechRecognitionPipeline.hpp | 61 size_t data_bytes = sizeof(T) * preprocessedData.size(); in Inference() local 62 m_executor->Run(preprocessedData.data(), data_bytes, result); in Inference()
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/ext/filters/census/ |
D | context.cc | 98 return final_info->stats.transport_stream_stats.incoming.data_bytes; in GetIncomingDataSize() 102 return final_info->stats.transport_stream_stats.outgoing.data_bytes; in GetOutgoingDataSize()
|
/external/pigweed/pw_blob_store/ |
D | blob_store.cc | 369 Status BlobStore::CommitToFlash(ConstByteSpan source, size_t data_bytes) { in CommitToFlash() argument 370 if (data_bytes == 0) { in CommitToFlash() 371 data_bytes = source.size_bytes(); in CommitToFlash() 376 flash_address_ += data_bytes; in CommitToFlash() 378 checksum_algo_->Update(source.first(data_bytes)); in CommitToFlash()
|
D | blob_store_test.cc | 830 size_t data_bytes = 12; in TEST_F() local 831 InitSourceBufferToRandom(0x111, data_bytes); in TEST_F() 832 WriteTestBlock(data_bytes); in TEST_F() 835 data_bytes = 158; in TEST_F() 836 InitSourceBufferToRandom(0x3222, data_bytes); in TEST_F()
|
/external/crosvm/power_monitor/src/powerd/ |
D | mod.rs | 179 let data_bytes: Vec<u8> = message.read1().map_err(DBusMonitorError::DBusRead)?; in read_message() localVariable 182 .merge_from_bytes(&data_bytes) in read_message()
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | message_dumper.h | 31 std::vector<uint8_t> data_bytes; member
|
/external/libchrome/libchrome_tools/patch/ |
D | mojom_disable_trace_and_mem_dump.patch | 172 - file.WriteAtCurrentPos(reinterpret_cast<const char*>(entry.data_bytes.data()), 173 - static_cast<int>(entry.data_bytes.size())); 199 +// file.WriteAtCurrentPos(reinterpret_cast<const char*>(entry.data_bytes.data()), 200 +// static_cast<int>(entry.data_bytes.size()));
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | message_dumper.cc | 63 data_bytes(data, data + data_size) {} in MessageEntry()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/ |
D | transport.cc | 110 move64(&from->data_bytes, &to->data_bytes);
|
/external/grpc-grpc/src/core/lib/transport/ |
D | transport.cc | 141 move64(&from->data_bytes, &to->data_bytes);
|
/external/python/asn1crypto/dev/ |
D | coverage.py | 528 data_bytes = {} 530 data_bytes[key.encode('utf-8')] = data[key].encode('utf-8') 531 data = urlencode(data_bytes)
|
/external/grpc-grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 81 final_info->stats.transport_stream_stats.outgoing.data_bytes}, in Destroy() 83 final_info->stats.transport_stream_stats.incoming.data_bytes}, in Destroy()
|
/external/freetype/src/sfnt/ |
D | sfwoff2.c | 425 FT_ULong data_bytes; in triplet_decode() local 441 data_bytes = 1; in triplet_decode() 443 data_bytes = 2; in triplet_decode() 445 data_bytes = 3; in triplet_decode() 447 data_bytes = 4; in triplet_decode() 450 if ( triplet_index + data_bytes > in_size || in triplet_decode() 451 triplet_index + data_bytes < triplet_index ) in triplet_decode() 503 triplet_index += data_bytes; in triplet_decode()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 87 final_info->stats.transport_stream_stats.outgoing.data_bytes}, in Destroy() 89 final_info->stats.transport_stream_stats.incoming.data_bytes}, in Destroy()
|