/system/libbase/ |
D | strings_test.cpp | 26 TEST(strings, split_empty) { in TEST() argument 32 TEST(strings, split_single) { in TEST() argument 38 TEST(strings, split_simple) { in TEST() argument 46 TEST(strings, split_with_empty_part) { in TEST() argument 54 TEST(strings, split_with_trailing_empty_part) { in TEST() argument 62 TEST(strings, split_null_char) { in TEST() argument 70 TEST(strings, split_any) { in TEST() argument 78 TEST(strings, split_any_with_empty_part) { in TEST() argument 86 TEST(strings, trim_empty) { in TEST() argument 90 TEST(strings, trim_already_trimmed) { in TEST() argument [all …]
|
/system/extras/partition_tools/ |
D | lpdump.cc | 67 static std::string BuildFlagString(const std::vector<std::string>& strings) { in BuildFlagString() argument 68 return strings.empty() ? "none" : android::base::Join(strings, ","); in BuildFlagString() 72 std::vector<std::string> strings; in BuildHeaderFlagString() local 75 strings.emplace_back("virtual_ab_device"); in BuildHeaderFlagString() 83 strings.emplace_back("unknown_flag_bit_" + std::to_string(i)); in BuildHeaderFlagString() 85 return BuildFlagString(strings); in BuildHeaderFlagString() 89 std::vector<std::string> strings; in BuildAttributeString() local 90 if (attrs & LP_PARTITION_ATTR_READONLY) strings.emplace_back("readonly"); in BuildAttributeString() 91 if (attrs & LP_PARTITION_ATTR_SLOT_SUFFIXED) strings.emplace_back("slot-suffixed"); in BuildAttributeString() 92 if (attrs & LP_PARTITION_ATTR_UPDATED) strings.emplace_back("updated"); in BuildAttributeString() [all …]
|
/system/bt/osi/test/ |
D | array_test.cc | 54 char strings[][128] = { in TEST_F() local 61 array_append_ptr(array, strings[i % 8]); in TEST_F() 64 EXPECT_TRUE(!memcmp(array_at(array, i), strings[i % 8], 128)); in TEST_F()
|
/system/core/rootdir/ |
D | init.usb.configfs.rc | 21 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb" 27 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp" 36 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp_adb" 43 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ptp" 52 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ptp_adb" 59 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "accessory" 68 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "accessory_adb" 75 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "audiosource" 84 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "audiosource_adb" 91 write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "accessory_audiosource" [all …]
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_serializer.cpp | 27 void TrieSerializer::SerializeStrings(const std::set<std::string>& strings) { in SerializeStrings() argument 28 arena_->AllocateAndWriteUint32(strings.size()); in SerializeStrings() 31 uint32_t offset_array_offset = arena_->AllocateUint32Array(strings.size()); in SerializeStrings() 35 auto it = strings.begin(); in SerializeStrings() 36 for (unsigned int i = 0; i < strings.size(); ++i, ++it) { in SerializeStrings()
|
D | trie_serializer.h | 38 void SerializeStrings(const std::set<std::string>& strings);
|
/system/bt/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 129 "base/strings/pattern.cc", 130 "base/strings/safe_sprintf.cc", 131 "base/strings/string16.cc", 132 "base/strings/string_number_conversions.cc", 133 "base/strings/string_piece.cc", 134 "base/strings/stringprintf.cc", 135 "base/strings/string_split.cc", 136 "base/strings/string_util.cc", 137 "base/strings/string_util_constants.cc", 138 "base/strings/sys_string_conversions_posix.cc", [all …]
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | Utils.java | 46 static List<String> toUpperCase(List<String> strings) { in toUpperCase() argument 47 return strings.stream().map(String::toUpperCase).collect(Collectors.toList()); in toUpperCase() 105 static boolean allLowerCaseAscii(List<String> strings) { in allLowerCaseAscii() argument 115 return !strings.stream().anyMatch(nonLowerCaseAscii); in allLowerCaseAscii()
|
/system/tools/hidl/build/ |
D | fqName.go | 44 packageComponents: strings.Split(matches[0][1], "."), 53 components := strings.Split(pkg, ".") 69 return strings.Join(f.packageComponents, ".")
|
D | hidl_interface.go | 155 "extras": strings.Join(wrap("{\\\"interface\\\":\\\"", additionalInterfaces, "\\\"},"), " "), 156 "files": strings.Join(inheritanceHierarchyOutputs.Strings(), " "), 200 "files": strings.Join(wrap("-f ", hidlLintOutputs.Strings(), ""), " "), 241 if strings.HasSuffix(src, ".hal") && strings.HasPrefix(src, "I") { 242 interfaces = append(interfaces, strings.TrimSuffix(src, ".hal")) 307 "options": strings.Join(extraOptions, " "), 322 "options": strings.Join(extraOptions, " "), 340 "options": strings.Join(extraOptions, " "), 541 if !strings.HasSuffix(v, ".hal") { 547 name := strings.TrimSuffix(v, ".hal") [all …]
|
/system/bt/gd/common/ |
D | strings.cc | 101 std::string StringJoin(const std::vector<std::string>& strings, const std::string& delim) { in StringJoin() argument 103 for (auto it = strings.begin(); it != strings.end(); it++) { in StringJoin() 105 if (std::next(it) != strings.end()) { in StringJoin()
|
D | Android.bp | 5 "strings.cc",
|
D | strings.h | 63 std::string StringJoin(const std::vector<std::string>& strings, const std::string& delim);
|
/system/core/fastboot/device/ |
D | usb_client.cpp | 157 } __attribute__((packed)) strings = { variable 161 .length = htole32(sizeof(strings)), 212 ret = write(h->control.get(), &strings, sizeof(strings)); in InitFunctionFs()
|
/system/core/libutils/ |
D | LruCache_test.cpp | 220 char* strings[kNumKeys]; in TEST_F() local 223 strings[i] = (char *)malloc(16); in TEST_F() 224 sprintf(strings[i], "%zu", i); in TEST_F() 234 EXPECT_EQ(strings[index], val); in TEST_F() 237 cache.put(key, strings[index]); in TEST_F() 246 free((void *)strings[i]); in TEST_F()
|
/system/extras/libjsonpb/ |
D | README.md | 18 - The JSON file must use strings (to pass tests in `libjsonpbverify`) 19 - Parser code (that uses `libjsoncpp`) must explicitly convert strings to 25 - The JSON file must use strings (e.g. `"NaN"`, `"Infinity"`, `"-Infinity"`) 74 always be strings. 84 - JSON strings are generally `string`s, but if you want to impose more
|
/system/core/adb/daemon/ |
D | usb_ffs.cpp | 238 } __attribute__((packed)) strings = { variable 241 .length = cpu_to_le32(sizeof(strings)), 297 if (adb_write(control.get(), &strings, sizeof(strings)) < 0) { in open_functionfs()
|
/system/tools/aidl/build/ |
D | aidl_interface.go | 227 if !strings.HasSuffix(dep.verLang, lang) { 271 baseDir := strings.TrimSuffix(src.String(), src.Rel()) 285 !strings.HasPrefix(path, "../") && !strings.HasPrefix(path, "/") 347 g.importFlags = strings.Join(wrap("-I", importPaths, ""), " ") 376 baseDir := strings.TrimSuffix(src.String(), src.Rel()) 378 if strings.HasPrefix(aidlRoot.String(), baseDir) { 402 if !strings.HasPrefix(baseDir, ctx.Config().BuildDir()) { 430 "optionalFlags": strings.Join(optionalFlags, " "), 434 typeName := strings.TrimSuffix(filepath.Base(relPath), ".aidl") 441 strings.ToUpper(baseName)[1] == baseName[1] { [all …]
|
/system/bt/build/ |
D | fluoride.go | 54 strings.Fields(board_bt_buildcfg_include_dir)
|
/system/extras/boottime_tools/io_analysis/ |
D | check_io_trace.py | 43 def get_string_pos(strings, string_to_find): argument 44 for i, s in enumerate(strings):
|
/system/tools/aidl/tests/ |
D | aidl_test_client_primitives.cpp | 108 TEST_F(AidlPrimitiveTest, strings) { in TEST_F() argument 109 std::vector<String16> strings = { in TEST_F() local 116 for (auto sent : strings) { in TEST_F()
|
/system/core/shell_and_utilities/ |
D | README.md | 109 split stat strings swapoff swapon sync sysctl tac tail tar taskset tee 130 split stat strings swapoff swapon sync sysctl tac tail tar taskset tee 153 sha512sum sleep sort split start stat stop strings swapoff swapon sync 179 sort split start stat stop strings stty swapoff swapon sync sysctl tac 209 sort split start stat stop strings stty swapoff swapon sync sysctl 241 split stat strings stty swapoff swapon sync sysctl tac tail tar taskset
|
/system/chre/host/msm/daemon/generated/ |
D | chre_slpi_skel.c | 412 const char* strings; member 437 static const char strings[144] = "initialize_reverse_monitor\0deliver_message_from_host\0get_messag… variable 440 …SLIM(chre_slpi_slim) = {6,&(methodArrays[0]),0,0,&(methodStringsArrays [0]),methodStrings,strings};
|
/system/core/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 339 std::vector<std::string> strings; in GetStringList() local 341 strings.push_back(data_provider->ConsumeRandomLengthString(max_str_len)); in GetStringList() 343 return strings; in GetStringList()
|
/system/sepolicy/tools/ |
D | checkfc.c | 139 static void dump_char_array(FILE *stream, const char * const *strings) in dump_char_array() argument 142 const char * const *p = strings; in dump_char_array()
|