Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 12 of 12) sorted by relevance

/system/core/base/
Dstrings_test.cpp24 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 …]
Dstrings.cpp83 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,
DAndroid.mk22 strings.cpp \
/system/bt/osi/test/
Darray_test.cpp58 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/
DLruCache_test.cpp188 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/
Dsched_policy.c383 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/
Dstrings.h39 std::string Join(const std::vector<StringT>& strings, char separator);
/system/core/adb/
Dusb_linux_client.cpp147 } __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/
Dfastboot_protocol.txt102 * Commands are ascii strings and sent without the quotes (which are
/system/core/libutils/
DREADME70 * res/values: integers, strings, etc. Each resource may have different
/system/bt/doc/
Dstyle_guide.md155 ### Function names as strings
/system/core/init/
Dreadme.txt120 Triggers are strings which can be used to match certain kinds