/system/core/adb/client/ |
D | mdns_utils_test.cpp | 26 std::string str = "."; in TEST() local 34 std::string str = "my.name"; in TEST() local 42 std::string str = "my.name."; in TEST() local 53 std::string str = android::base::StringPrintf("%s", transport.data()); in TEST() local 58 std::string str = android::base::StringPrintf("%s.", transport.data()); in TEST() local 63 std::string str = android::base::StringPrintf("service%s", transport.data()); in TEST() local 68 std::string str = android::base::StringPrintf(".service%s", transport.data()); in TEST() local 73 std::string str = android::base::StringPrintf("service.%s", transport.data()); in TEST() local 78 std::string str = android::base::StringPrintf("my.service%s", transport.data()); in TEST() local 86 std::string str = android::base::StringPrintf("my.service%s.", transport.data()); in TEST() local [all …]
|
/system/bt/gd/cert/ |
D | gd_device.py | 139 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 140 type_identifier: str, name: str, verbose_mode: bool): 291 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 292 type_identifier: str, name: str, verbose_mode: bool): 385 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 386 type_identifier: str, name: str, serial_number: str, verbose_mode: bool):
|
/system/libbase/include/android-base/ |
D | test_utils.h | 56 #define ASSERT_MATCH(str, pattern) \ argument 64 #define ASSERT_NOT_MATCH(str, pattern) \ argument 72 #define EXPECT_MATCH(str, pattern) \ argument 80 #define EXPECT_NOT_MATCH(str, pattern) \ argument
|
/system/bt/gd/common/ |
D | strings.cc | 50 bool IsValidHexString(const std::string& str) { in IsValidHexString() 54 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str) { in FromHexString() 77 std::string StringTrim(std::string str) { in StringTrim() 83 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() 112 std::optional<int64_t> Int64FromString(const std::string& str) { in Int64FromString() 135 std::optional<uint64_t> Uint64FromString(const std::string& str) { in Uint64FromString() 162 std::optional<bool> BoolFromString(const std::string& str) { in BoolFromString()
|
/system/bt/gd/hci/ |
D | enum_helper.h | 37 std::optional<hci::DeviceType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 50 std::optional<hci::AddressType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 64 std::optional<hci::KeyType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 78 std::optional<hci::LegacyScanMode> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|
D | class_of_device.cc | 45 std::string str(buffer); in ToString() local 53 std::optional<ClassOfDevice> ClassOfDevice::FromString(const std::string& str) { in FromString() 117 std::optional<ClassOfDevice> ClassOfDevice::FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|
/system/bt/gd/storage/ |
D | serializable.h | 39 static std::optional<T> FromString(const std::string& str) { in FromString() 49 static std::optional<T> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|
/system/bt/service/common/bluetooth/util/ |
D | atomic_string.cc | 21 AtomicString::AtomicString(const std::string& str) : str_(str) {} in AtomicString() 29 void AtomicString::Set(const std::string& str) { in Set()
|
/system/core/libutils/ |
D | String16.cpp | 78 char16_t* str = (char16_t*)buf->data(); in allocFromUTF16() local 180 char16_t* str = (char16_t*)buf->data(); in setTo() local 208 char16_t* str = (char16_t*)buf->data(); in append() local 234 char16_t* str = (char16_t*)buf->data(); in append() local 269 char16_t* str = (char16_t*)buf->data(); in insert() local 286 const char16_t* str = string(); in findFirst() local 300 const char16_t* str = string(); in findLast() local 396 const char16_t* str = string(); in makeLower() local 418 const char16_t* str = string(); in replaceAll() local 454 char16_t* str = (char16_t*)buf->data(); in remove() local [all …]
|
D | Unicode_test.cpp | 43 const uint8_t str[] = { }; in TEST_F() local 54 const uint8_t str[] = { 0x30 }; in TEST_F() local 65 const uint8_t str[] = { 0xE2, 0x8C, 0xA3 }; in TEST_F() local 76 const uint8_t str[] = { 0xF0, 0x90, 0x80, 0x80 }; in TEST_F() local 88 const uint8_t str[] = { 0xE2, 0x8C }; in TEST_F() local 96 const uint8_t str[] = { in TEST_F() local
|
D | String8.cpp | 46 char* str = static_cast<char*>(buf->data()); in getEmptyString() local 66 char* str = (char*)buf->data(); in allocFromUTF8() local 331 char* str = (char*)buf->data(); in real_append() local 346 char* str = (char*)buf->data(); in lockBuffer() local 367 char* str = (char*)buf->data(); in unlockBuffer() local 496 const char*const str = mString; in getPathDir() local 508 const char*const str = mString; in walkPath() local 538 const char* const str = mString; in find_extension() local 570 const char* const str = mString; in getBasePath() local
|
/system/tools/aidl/ |
D | code_writer_unittest.cpp | 30 string str; in TEST() local 39 string str; in TEST() local
|
D | code_writer.cpp | 32 std::string CodeWriter::ApplyIndent(const std::string& str) { in ApplyIndent() 96 CodeWriter& CodeWriter::operator<<(const std::string& str) { in operator <<()
|
/system/core/adb/ |
D | adb_io.cpp | 46 auto str = android::base::StringPrintf("%04x", length).append(s); in SendProtocolString() local 132 bool WriteFdExactly(borrowed_fd fd, const char* str) { in WriteFdExactly() 136 bool WriteFdExactly(borrowed_fd fd, const std::string& str) { in WriteFdExactly() 141 std::string str; in WriteFdFmt() local
|
/system/chre/apps/chqts/src/shared/ |
D | nano_string_test.cc | 100 const char *str = ""; in TEST() local 105 const char *str = "random string\n"; in TEST() local 114 static void testStrncpy(const char *str, size_t len) { in testStrncpy() 151 static void testHexAscii(uint32_t value, const char *str) { in testHexAscii()
|
/system/bt/osi/src/ |
D | allocator.cc | 27 char* osi_strdup(const char* str) { in osi_strdup() 41 char* osi_strndup(const char* str, size_t len) { in osi_strndup()
|
/system/netd/include/binder_utils/ |
D | BinderUtil.h | 26 #define EXCEPTION_TO_STRING(__ex__, str) \ argument 35 #define EXCEPTION_TO_STRING(__ex__, str) \ argument
|
/system/bt/osi/test/ |
D | allocator_test.cc | 29 char str[] = "IloveBluetooth"; in TEST_F() local
|
/system/core/init/ |
D | main.cpp | 44 AsanReportCallback(const char* str) { in AsanReportCallback()
|
/system/libbase/ |
D | test_utils.cpp | 44 std::string CapturedStdFd::str() { in str() function in CapturedStdFd
|
/system/bt/gd/packet/parser/test/ |
D | variable.cc | 29 Variable::Variable(const std::string& str) : data(str) {} in Variable()
|
/system/iorap/src/inode2filename/ |
D | inode.cc | 31 bool Inode::Parse(const std::string& str, Inode* out, std::string* error_msg) { in Parse()
|
/system/core/libcutils/ |
D | str_parms_test.cpp | 20 static void test_str_parms_str(const char* str, const char* expected) { in test_str_parms_str()
|
/system/core/healthd/ |
D | AnimationParser.cpp | 33 bool can_ignore_line(const char* str) { in can_ignore_line() 41 const char* str = line.c_str(); in remove_prefix() local
|
/system/core/fastboot/ |
D | util.cpp | 56 void die(const std::string& str) { in die()
|