Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 32) sorted by relevance

12

/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dshare.ts27 private prefix: string; property in Logger
31 constructor(prefix: string) {
32 this.prefix = prefix;
36 console.debug(`${color}${this.prefix}: ${JSON.stringify(msg)}${reset}`);
44 return this.prefix;
48 public static getLogger(prefix): object {
50 if (instance.getPrefix() == prefix) {
55 public static createLogger(prefix) {
56 const logger = new Logger(prefix);
79 public getLogger(prefix: string): Logger {
[all …]
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/
Dmisc.py127 def add_prefix(content: str, prefix: str) -> str:
128 if content and (not content.startswith(prefix)):
129 return prefix+content
182 prefix = _config.get("default_prefix").get("shared_library")
190 return add_prefix(output_name, prefix)
199 prefix = _config.get("default_prefix").get("static_library")
204 return add_prefix(output_name, prefix)
215 prefix = _config.get("default_prefix").get("static_library")
218 prefix = _config.get("default_prefix").get("shared_library")
221 prefix = str()
[all …]
/developtools/integration_verification/cases/smoke/basic/screenshot32/resource/
Dcapturescreentest.py167 def connect_wifi(prefix, pic): argument
169 data = get_coordinate("{}\\{}_{}".format(args.save_path, prefix, pic),
221 def crop_picture(prefix, pic, crop_range): argument
223 pic_path = "{}\\{}_{}".format(args.save_path, prefix, pic)
224 save_path = "{}\\{}_{}".format(args.save_path, prefix, pic)
232 def cmp_picture(prefix, pic, num=1): argument
237 img2_path = "{}\\{}_{}".format(args.save_path, prefix, pic)
244 print("no such file: {}_{}".format(prefix, pic))
249 prefix = args.device_num
250 enter_shell_cmd("snapshot_display -f /data/local/tmp/screen_test/{}_{}".format(prefix, image))
[all …]
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/param/
Dsystem_parameter_parser.py22 def __init__(self, prefix, parameter = None): argument
23 self["prefix"] = prefix
52 def __init__(self, prefix, parameter=None): argument
53 ParameterParser.__init__(self, prefix, parameter)
69 def __init__(self, prefix, parameter=None): argument
70 ParameterParser.__init__(self, prefix, parameter)
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dstring_utils.cpp25 bool StringUtils::StartsWith(const std::string& str, const std::string& prefix) in StartsWith() argument
27 if (str.size() < prefix.size()) { in StartsWith()
30 return str.compare(0, prefix.size(), prefix) == 0; in StartsWith()
/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/
Drollup-plugin-system-api.ts123 prefix: string; property
129 if (config.prefix === `@${moduleType}`) {
139 if (config.prefix === `@${moduleType}`) {
/developtools/hdc/hdcd_user_permit/src/
Dconnection.cpp43 string prefix = "com."; in GetSettingBundleName() local
46 bundle.erase(0, bundle.find(prefix)); in GetSettingBundleName()
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Delf_file.py25 def __init__(self, file, prefix): argument
35 self["path"] = file[len(prefix):]
Delf_file_mgr.py27 def __init__(self, file, prefix): argument
28 super(ElfFileWithDepsInfo, self).__init__(file, prefix)
/developtools/smartperf_host/trace_streamer/
Dlcov_operator.sh34 genhtml -o out/test/html test.info --prefix $PREFIX
/developtools/hiperf/include/
Dperf_event_record.h157 virtual void DumpLog(const std::string &prefix) const;
182 void DumpLog(const std::string &prefix) const override;
198 void DumpLog(const std::string &prefix) const override;
231 void DumpLog(const std::string &prefix) const override;
254 void DumpLog(const std::string &prefix) const override;
Dutilities.h248 std::string ToHex(const T &source, int size = sizeof(T), bool prefix = false)
251 if (prefix) {
/developtools/profiler/build/
Dlcov.sh40 genhtml --demangle-cpp -o $TEST_OUT/html $TEST_OUT/profiler_ut_coverage.info --prefix $PREFIX
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp172 const std::string prefix {"0x"}; in IsHexDigits() local
174 if (prefix.compare(0, prefix.size(), effectStr.substr(0, prefix.size())) == 0) { in IsHexDigits()
175 effectStr = effectStr.substr(prefix.size(), effectStr.size() - prefix.size()); in IsHexDigits()
Dstack_preprocess.cpp659 const std::string prefix = "FilePage:"; in SetHookData() local
662 mmapEvent->set_type(prefix + tagName); in SetHookData()
672 const std::string prefix = "Anonymous:"; in SetHookData() local
674 tagEvent->set_tag(prefix + tagName); in SetHookData()
768 const std::string prefix = "Anonymous:"; in WriteFrames() local
774 (uint64_t)rawStack->stackConext->addr, (prefix + tagName).c_str()); in WriteFrames()
/developtools/profiler/device/plugins/ftrace_plugin/include/
Dstring_utils.h24 static bool StartsWith(const std::string& str, const std::string& prefix);
Dflow_controller.h59 void GenerateRawDataFileNames(const std::string& prefix);
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dbasic_tool.py45 def translate_str_unit(x: str, dest: str, prefix: str = "~") -> float:
60 x = float(x.lstrip(prefix).rstrip(src_unit))
/developtools/profiler/hiebpf/include/
Dhhlog.h129 const char prefix[] {" [" #level "] %s %d %s: %s"}; \
132 prefix, __FILE__, __LINE__, __FUNCTION__, format); \
Dcommandline_flags.h161 int prefix {0}; in GetFlagName()
169 ++prefix; in GetFlagName()
172 argLen -= prefix; in GetFlagName()
176 if (prefix == shortFlagLen and argLen == shortFlagLen) { in GetFlagName()
177 flagName = std::string(argStr + prefix, argLen); in GetFlagName()
184 if (prefix == longPrefix and argLen > shortFlagLen) { in GetFlagName()
/developtools/hiperf/src/
Dutilities.cpp228 const std::string prefix {"0x"}; in IsHexDigits() local
230 if (prefix.compare(0, prefix.size(), effectStr.substr(0, prefix.size())) == 0) { in IsHexDigits()
231 effectStr = effectStr.substr(prefix.size(), effectStr.size() - prefix.size()); in IsHexDigits()
Dperf_event_record.cpp203 void PerfEventRecord::DumpLog(const std::string &prefix) const in DumpLog()
205 HLOGV("%s: record %s: type %u, misc %u, size %zu\n", prefix.c_str(), GetName().c_str(), in DumpLog()
213 void PerfRecordSample::DumpLog(const std::string &prefix) const in DumpLog()
216 prefix.c_str(), data_.sample_id, header.size, data_.pid, data_.tid, data_.nr, in DumpLog()
557 void PerfRecordMmap::DumpLog(const std::string &prefix) const in DumpLog()
559 HLOGV("%s: MMAP: size %d pid %u tid %u dso '%s' (0x%llx-0x%llx)@0x%llx", prefix.c_str(), in DumpLog()
638 void PerfRecordMmap2::DumpLog(const std::string &prefix) const in DumpLog()
640 HLOGV("%s: MMAP2: size %d pid %u tid %u dso '%s' (0x%llx-0x%llx)@0x%llx", prefix.c_str(), in DumpLog()
713 void PerfRecordComm::DumpLog(const std::string &prefix) const in DumpLog()
/developtools/profiler/device/services/ipc/src/
Dproto_encoder_plugin_generator.cpp31 std::string prefix = ""; in GetPrefix() local
36 prefix += fileName.c_str()[i]; in GetPrefix()
38 return prefix; in GetPrefix()
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto27 string raw_data_prefix = 13; // raw data file prefix for debug
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto27 string raw_data_prefix = 13; // raw data file prefix for debug

12