/packages/modules/Bluetooth/system/gd/facade/ |
D | facade_main.cc | 134 auto port_number = arg.substr(arg_grpc_root_server_port.size()); in main() 138 auto port_number = arg.substr(arg_grpc_server_port.size()); in main() 142 auto port_number = arg.substr(arg_rootcanal_port.size()); in main() 146 auto btsnoop_path = arg.substr(arg_btsnoop_path.size()); in main() 157 auto btsnooz_path = arg.substr(arg_btsnooz_path.size()); in main() 161 auto btconfig_path = arg.substr(arg_btconfig_path.size()); in main()
|
/packages/modules/DnsResolver/ |
D | DnsQueryLog.cpp | 28 return hostname.substr(0, 1) + "***"; in maskHostname() 37 ret += ip.substr(0, pos + 1) + "***, "; in maskIps() 40 ret += ip.substr(0, pos + 1) + "***, "; in maskIps() 45 return ret.empty() ? "" : ret.substr(0, ret.length() - 2); in maskIps()
|
/packages/modules/adb/client/ |
D | mdns_utils_test.cpp | 83 EXPECT_EQ(res->transport_type, transport.substr(1)); in TEST() 91 EXPECT_EQ(res->transport_type, transport.substr(1)); in TEST() 99 EXPECT_EQ(res->transport_type, transport.substr(1)); in TEST() 107 EXPECT_EQ(res->transport_type, transport.substr(1)); in TEST() 147 EXPECT_EQ(res->transport_type, transport.substr(1)); in TEST() 156 EXPECT_EQ(res->transport_type, transport.substr(1)); in TEST()
|
D | mdns_utils.cpp | 54 transport = t.substr(1); in mdns_parse_instance_name() 74 return std::make_optional<MdnsInstance>(name.substr(0, pos), name.substr(pos + 1), transport); in mdns_parse_instance_name()
|
D | line_printer.cpp | 41 result = result.substr(0, elide_size) in ElideMiddle() 43 + result.substr(result.size() - elide_size, elide_size); in ElideMiddle()
|
D | bugreport.cpp | 153 int progress = std::stoi(line.substr(idx1, (idx2 - idx1))); in ProcessLine() 154 int total = std::stoi(line.substr(idx2 + 1)); in ProcessLine()
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | main.cc | 134 source_root = std::filesystem::path(arg.substr(arg_source_root.size())); in main() 141 out_dir = cwd / std::filesystem::path(arg.substr(arg_out.size())); in main() 143 include_dir = source_root / std::filesystem::path(arg.substr(arg_include.size())); in main() 145 root_namespace = arg.substr(arg_namespace.size()); in main()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | le_audio_log_history.cc | 45 s.substr(0, kMaxLogSize)); in Push() 119 tag.substr(0, kMaxLogHistoryTagLength).c_str(), group_id, in add_logs_history_common() 121 msg.substr(0, kMaxLogHistoryMsgLength).c_str(), in add_logs_history_common()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcDta.cpp | 79 (uint8_t)strtol(configParams.substr(index, 2).c_str(), NULL, 16)); in parseConfigParams() 83 (uint8_t)strtol(configParams.substr(index, 2).c_str(), NULL, 16); in parseConfigParams() 89 (uint8_t)strtol(configParams.substr(index, 2).c_str(), NULL, 16)); in parseConfigParams()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_main.cc | 77 "%-6s %-25s: %s %s", tag.substr(0, kMaxLogHistoryTagLength).c_str(), in btm_log_history() 78 msg.substr(0, kMaxLogHistoryMsgLength).c_str(), addr, extra.c_str()); in btm_log_history()
|
/packages/modules/DnsResolver/tests/ |
D | pbtxt2pb_converter_host.cpp | 75 pbtxtFile = filesystem::path(arg.substr(arg_in.size())); in main() 77 pbOutDir = filesystem::path(arg.substr(arg_out.size())); in main()
|
/packages/modules/StatsD/lib/libkll/encoding/ |
D | encoder_test.cpp | 58 EXPECT_EQ("thisisaprefix", with_prefix.substr(0, strlen("thisisaprefix"))); in TEST_P() 59 EXPECT_EQ(suffix, with_prefix.substr(strlen("thisisaprefix"))); in TEST_P()
|
/packages/providers/MediaProvider/jni/ |
D | node.cpp | 30 segments.push_back(path.substr(segment_start, segment_end - segment_start)); in GetPathSegments() 35 segments.push_back(path.substr(segment_start)); in GetPathSegments()
|
D | FuseUtils.cpp | 43 const string& path_suffix = path.substr(pos); in containsMount()
|
/packages/modules/adb/daemon/ |
D | services.cpp | 95 std::string service_args(args.substr(0, delimiter_index)); in ShellService() 96 std::string command(args.substr(delimiter_index + 1)); in ShellService() 114 terminal_type = arg.substr(strlen("TERM=")); in ShellService()
|
/packages/modules/StatsD/statsd/src/storage/ |
D | StorageManager.cpp | 105 char* substr = strtok(name, "_"); in parseFileName() local 106 while (substr != nullptr && index < 3) { in parseFileName() 107 result[index] = StrToInt64(substr); in parseFileName() 109 substr = strtok(nullptr, "_"); in parseFileName() 122 output->mIsHistory = (substr != nullptr && strcmp("history", substr) == 0); in parseFileName()
|
/packages/services/Car/packages/ScriptExecutor/src/ |
D | LuaEngine.cpp | 169 std::string error_msg = s.substr(0, dpos - 1); in run() 170 std::string stack_traceback = s.substr(dpos + delimiter.length() + 2); in run()
|
/packages/modules/Bluetooth/system/gd/common/ |
D | strings.cc | 93 tokens.push_back(str.substr(starting_index, index_of_delim - starting_index)); in StringSplit() 99 tokens.push_back(str.substr(starting_index)); in StringSplit()
|
/packages/modules/Bluetooth/system/gd/packet/parser/fields/ |
D | vector_field.cc | 56 if (!size_modifier_.empty()) ret += "+ (" + size_modifier_.substr(1) + " * 8)"; in GetSize() 93 if (!size_modifier_.empty()) ret += "- (" + size_modifier_.substr(1) + " * 8)"; in GetStructSize()
|
D | payload_field.cc | 47 dynamic_size += "- (" + size_modifier_.substr(1) + " * 8)"; in GetSize()
|
/packages/modules/UprobeStats/src/ |
D | Process.cpp | 42 entry.path().string().substr(entry.path().string().rfind("/") + 1); in getPid()
|
/packages/modules/Virtualization/microdroid/payload/ |
D | metadata.cc | 46 content = content.substr(length_prefix_bytes, size); in ReadMetadata()
|
/packages/modules/Bluetooth/system/gd/dumpsys/bundler/ |
D | bundler.cc | 133 namespaces.push_back(ns_string.substr(start, end - start)); in WriteHeaderFile() 138 namespaces.push_back(ns_string.substr(start)); in WriteHeaderFile()
|
/packages/services/Car/tools/telemetry/lua-interpreter/ |
D | lua_engine.cc | 115 error.substr(error.find(' ')) + "\n"); in ConvertJsonToLuaTable() 156 error.substr(error.find(' ')) + "\n"); in ConvertJsonToLuaTable()
|
/packages/modules/Bluetooth/system/stack/mmc/ |
D | main.cc | 48 message.substr(message_start).c_str()); in MessageHandler()
|