Home
last modified time | relevance | path

Searched refs:size_bytes (Results 1 – 14 of 14) sorted by relevance

/system/bt/main/shim/
Dconfig.cc85 int* size_bytes) { in GetStr() argument
87 ASSERT(size_bytes != nullptr); in GetStr()
92 if (*size_bytes == 0) { in GetStr()
97 *size_bytes = str->copy(value, (*size_bytes - 1)); in GetStr()
98 value[*size_bytes] = '\0'; in GetStr()
99 *size_bytes += 1; in GetStr()
Dconfig.h42 char* value, int* size_bytes);
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dlink_layer_socket_device.cc70 std::vector<uint8_t> size_bytes; in IncomingPacket() local
71 bluetooth::packet::BitInserter bit_inserter(size_bytes); in IncomingPacket()
74 if (socket_.TrySend(size_bytes) == kSizeBytes) { in IncomingPacket()
/system/bt/test/mock/
Dmock_btif_config.h144 char* value, int* size_bytes)>
146 int* size_bytes) { return false; }};
148 char* value, int* size_bytes) { in operator()
149 return body(section, key, value, size_bytes); in operator()
Dmock_btif_config.cc110 char* value, int* size_bytes) { in btif_config_get_str() argument
113 size_bytes); in btif_config_get_str()
Dmock_main_shim_BtifConfigInterface.cc52 int* size_bytes) { in GetStr() argument
/system/update_engine/payload_generator/
Dextent_ranges.h46 uint64_t size_bytes);
Dextent_ranges.cc250 uint64_t size_bytes) { in ExtentForBytes() argument
252 uint64_t end_block = utils::DivRoundUp(start_bytes + size_bytes, block_size); in ExtentForBytes()
/system/bt/btif/include/
Dbtif_config.h55 char* value, int* size_bytes);
/system/bt/btif/src/
Dbtif_config.cc473 char* value, int* size_bytes) { in btif_config_get_str() argument
477 size_bytes); in btif_config_get_str()
480 CHECK(size_bytes != NULL); in btif_config_get_str()
486 strlcpy(value, stored_value->c_str(), *size_bytes); in btif_config_get_str()
488 *size_bytes = strlen(value) + 1; in btif_config_get_str()
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dsimple_link_layer_socket.py125 size_bytes = bytearray(size_chars)
Dsend_simple_commands.py142 size_bytes = bytearray(size_chars)
Dtest_channel.py116 size_bytes = bytearray(size_chars)
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp1066 void AddOperation(PartitionUpdate* partition_update, uint64_t size_bytes = 0) { in AddOperation() argument
1069 if (size_bytes == 0) { in AddOperation()
1070 size_bytes = GetSize(partition_update); in AddOperation()
1072 e->set_num_blocks(size_bytes / manifest_.block_size()); in AddOperation()