Searched refs:strings (Results 1 – 12 of 12) sorted by relevance
/system/core/base/ |
D | strings_test.cpp | 24 TEST(strings, split_empty) { in TEST() argument 30 TEST(strings, split_single) { in TEST() argument 36 TEST(strings, split_simple) { in TEST() argument 44 TEST(strings, split_with_empty_part) { in TEST() argument 52 TEST(strings, split_null_char) { in TEST() argument 60 TEST(strings, split_any) { in TEST() argument 68 TEST(strings, split_any_with_empty_part) { in TEST() argument 76 TEST(strings, trim_empty) { in TEST() argument 80 TEST(strings, trim_already_trimmed) { in TEST() argument 84 TEST(strings, trim_left) { in TEST() argument [all …]
|
D | strings.cpp | 83 std::string Join(const std::vector<StringT>& strings, char separator) { in Join() argument 84 if (strings.empty()) { in Join() 88 std::string result(strings[0]); in Join() 89 for (size_t i = 1; i < strings.size(); ++i) { in Join() 91 result += strings[i]; in Join() 97 template std::string Join<std::string>(const std::vector<std::string>& strings, 99 template std::string Join<const char*>(const std::vector<const char*>& strings,
|
D | Android.mk | 22 strings.cpp \
|
/system/bt/osi/test/ |
D | array_test.cpp | 58 char strings[][128] = { in TEST_F() local 71 array_append_ptr(array, strings[i % 8]); in TEST_F() 74 EXPECT_TRUE(!memcmp(array_at(array, i), strings[i % 8], 128)); in TEST_F()
|
/system/core/libutils/tests/ |
D | LruCache_test.cpp | 188 char* strings[kNumKeys]; in TEST_F() local 191 strings[i] = (char *)malloc(16); in TEST_F() 192 sprintf(strings[i], "%zu", i); in TEST_F() 202 EXPECT_EQ(strings[index], val); in TEST_F() 205 cache.put(key, strings[index]); in TEST_F() 214 free((void *)strings[i]); in TEST_F()
|
/system/core/libcutils/ |
D | sched_policy.c | 383 static const char * const strings[SP_CNT] = { in get_sched_policy_name() local 390 if ((policy < SP_CNT) && (strings[policy] != NULL)) in get_sched_policy_name() 391 return strings[policy]; in get_sched_policy_name()
|
/system/core/base/include/base/ |
D | strings.h | 39 std::string Join(const std::vector<StringT>& strings, char separator);
|
/system/core/adb/ |
D | usb_linux_client.cpp | 147 } __attribute__((packed)) strings = { variable 150 .length = cpu_to_le32(sizeof(strings)), 312 ret = adb_write(h->control, &strings, sizeof(strings)); in init_functionfs()
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 102 * Commands are ascii strings and sent without the quotes (which are
|
/system/core/libutils/ |
D | README | 70 * res/values: integers, strings, etc. Each resource may have different
|
/system/bt/doc/ |
D | style_guide.md | 155 ### Function names as strings
|
/system/core/init/ |
D | readme.txt | 120 Triggers are strings which can be used to match certain kinds
|