/packages/modules/Bluetooth/system/main/shim/ |
D | config.cc | 80 int* size_bytes) { in GetStr() argument 82 log::assert_that(size_bytes != nullptr, in GetStr() 84 if (*size_bytes == 0) { in GetStr() 93 *size_bytes = str->copy(value, (*size_bytes - 1)); in GetStr() 94 value[*size_bytes] = '\0'; in GetStr() 95 *size_bytes += 1; in GetStr()
|
D | config.h | 42 char* value, int* size_bytes);
|
/packages/modules/Bluetooth/tools/rootcanal/model/devices/ |
D | link_layer_socket_device.cc | 102 std::vector<uint8_t> size_bytes; in ReceiveLinkLayerPacket() local 103 pdl::packet::Builder::write_le<uint32_t>(size_bytes, packet_bytes.size()); in ReceiveLinkLayerPacket() 105 if (socket_->Send(size_bytes.data(), size_bytes.size()) == kSizeBytes) { in ReceiveLinkLayerPacket()
|
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/ |
D | bpf_helpers.h | 270 #define DEFINE_BPF_RINGBUF_EXT(the_map, ValueType, size_bytes, usr, grp, md, \ argument 273 DEFINE_BPF_MAP_BASE(the_map, RINGBUF, 0, 0, size_bytes, usr, grp, md, \ 278 _Static_assert((size_bytes) >= 4096, "min 4 kiB ringbuffer size"); \ 279 _Static_assert((size_bytes) <= 0x10000000, "max 256 MiB ringbuffer size"); \ 280 _Static_assert(((size_bytes) & ((size_bytes) - 1)) == 0, \
|
/packages/modules/Bluetooth/system/device/test/ |
D | device_iot_config_test.cc | 2340 int size_bytes = initial_size_bytes; in TEST_F_WITH_FLAGS() local 2341 char get_value_str[size_bytes]; in TEST_F_WITH_FLAGS() 2343 get_value_str, &size_bytes)); in TEST_F_WITH_FLAGS() 2347 EXPECT_EQ(size_bytes, initial_size_bytes); in TEST_F_WITH_FLAGS() 2356 int size_bytes = initial_size_bytes; in TEST_F_WITH_FLAGS() local 2357 char get_value_str[size_bytes]; in TEST_F_WITH_FLAGS() 2362 get_value_str, &size_bytes)); in TEST_F_WITH_FLAGS() 2366 EXPECT_EQ(size_bytes, (int)actual_value_str.length() + 1); in TEST_F_WITH_FLAGS() 2367 EXPECT_TRUE(strncmp(get_value_str, actual_value_str.c_str(), size_bytes) == in TEST_F_WITH_FLAGS() 2535 size_t size_bytes = initial_size_bytes; in TEST_F_WITH_FLAGS() local [all …]
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_btif_config.h | 138 char* value, int* size_bytes)> 142 char* value, int* size_bytes) { in operator() 143 return body(section, key, value, size_bytes); in operator()
|
D | mock_device_iot_config.h | 135 char* value, int* size_bytes)> 140 char* value, int* size_bytes) { in operator() 141 return body(section, key, value, size_bytes); in operator()
|
D | mock_btif_config.cc | 96 char* value, int* size_bytes) { in btif_config_get_str() argument 99 size_bytes); in btif_config_get_str()
|
D | mock_device_iot_config.cc | 89 int* size_bytes) { in device_iot_config_get_str() argument 91 return test::mock::device_iot_config::device_iot_config_get_str(section, key, value, size_bytes); in device_iot_config_get_str()
|
/packages/modules/Bluetooth/system/device/src/ |
D | device_iot_config.cc | 191 int* size_bytes) { in device_iot_config_get_str() argument 197 log::assert_that(size_bytes != NULL, "assert failed: size_bytes != NULL"); in device_iot_config_get_str() 205 strlcpy(value, stored_value->c_str(), *size_bytes); in device_iot_config_get_str() 206 *size_bytes = strlen(value) + 1; in device_iot_config_get_str()
|
/packages/modules/Bluetooth/floss/pandora/floss/ |
D | audio_utils.py | 48 …S = dict(S32_LE=dict(message='Signed 32-bit integer, little-endian', dtype_str='<i', size_bytes=4), 49 … S16_LE=dict(message='Signed 16-bit integer, little-endian', dtype_str='<i', size_bytes=2))
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | socket.rs | 82 let (size_bytes, rest) = bytes.split_at(std::mem::size_of::<u16>()); in try_from() 83 if u16::from_ne_bytes(size_bytes.try_into().unwrap()) != (CONNECT_COMPLETE_SIZE as u16) { in try_from() 84 return Err(format!("Wrong size in Connection Complete: {:?}", size_bytes)); in try_from()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_config.cc | 266 char* value, int* size_bytes) { in btif_config_get_str() argument 270 size_bytes); in btif_config_get_str()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_config.h | 44 char* value, int* size_bytes);
|
/packages/modules/Bluetooth/system/device/include/ |
D | device_iot_config.h | 47 int* size_bytes);
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | aidl.rs | 242 size_bytes: i64, in initializeWritablePartition() 246 let size_bytes = size_bytes in initializeWritablePartition() localVariable 248 .with_context(|| format!("Invalid size: {}", size_bytes)) in initializeWritablePartition() 250 let size_bytes = round_up(size_bytes, PARTITION_GRANULARITY_BYTES); in initializeWritablePartition() localVariable 261 .set_len(size_bytes) in initializeWritablePartition()
|
/packages/modules/Bluetooth/tools/rootcanal/scripts/ |
D | simple_link_layer_socket.py | 125 size_bytes = bytearray(size_chars)
|
D | send_simple_commands.py | 142 size_bytes = bytearray(size_chars)
|
D | test_channel.py | 116 size_bytes = bytearray(size_chars)
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 92 field public static final String SIZE_BYTES = "size_bytes";
|