Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 138) sorted by relevance

123456

/system/core/adb/client/
Dmdns_utils_test.cpp26 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/
Dgd_device.py139 …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/
Dtest_utils.h56 #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/
Dstrings.cc50 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/
Denum_helper.h37 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()
Dclass_of_device.cc45 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/
Dserializable.h39 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/
Datomic_string.cc21 AtomicString::AtomicString(const std::string& str) : str_(str) {} in AtomicString()
29 void AtomicString::Set(const std::string& str) { in Set()
/system/core/libutils/
DString16.cpp78 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 …]
DUnicode_test.cpp43 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
DString8.cpp46 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/
Dcode_writer_unittest.cpp30 string str; in TEST() local
39 string str; in TEST() local
Dcode_writer.cpp32 std::string CodeWriter::ApplyIndent(const std::string& str) { in ApplyIndent()
96 CodeWriter& CodeWriter::operator<<(const std::string& str) { in operator <<()
/system/core/adb/
Dadb_io.cpp46 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/
Dnano_string_test.cc100 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/
Dallocator.cc27 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/
DBinderUtil.h26 #define EXCEPTION_TO_STRING(__ex__, str) \ argument
35 #define EXCEPTION_TO_STRING(__ex__, str) \ argument
/system/bt/osi/test/
Dallocator_test.cc29 char str[] = "IloveBluetooth"; in TEST_F() local
/system/core/init/
Dmain.cpp44 AsanReportCallback(const char* str) { in AsanReportCallback()
/system/libbase/
Dtest_utils.cpp44 std::string CapturedStdFd::str() { in str() function in CapturedStdFd
/system/bt/gd/packet/parser/test/
Dvariable.cc29 Variable::Variable(const std::string& str) : data(str) {} in Variable()
/system/iorap/src/inode2filename/
Dinode.cc31 bool Inode::Parse(const std::string& str, Inode* out, std::string* error_msg) { in Parse()
/system/core/libcutils/
Dstr_parms_test.cpp20 static void test_str_parms_str(const char* str, const char* expected) { in test_str_parms_str()
/system/core/healthd/
DAnimationParser.cpp33 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/
Dutil.cpp56 void die(const std::string& str) { in die()

123456