Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 182) sorted by relevance

12345678

/developtools/smartperf_host/trace_streamer/gn/
Dwasm.gni31 "-s",
33 "-s",
35 "-s",
37 "-s",
39 "-s",
41 "-s",
43 "-s",
45 "-s",
47 "-s",
49 "-s",
[all …]
/developtools/hdc/hdc_rust/src/host/
Dunittest.rs27 .map(|s| s.to_string()) in if_parse_cmd_param_works()
34 .map(|s| s.to_string()) in if_parse_cmd_param_works()
47 .map(|s| s.to_string()) in if_parse_opt_cmd_works()
63 .map(|s| s.to_string()) in if_parse_opt_cmd_param_works()
70 .map(|s| s.to_string()) in if_parse_opt_cmd_param_works()
81 let opts = "-l5 -t 123456".split(" ").map(|s| s.to_string()).collect(); in if_extract_opt_lt_works()
98 .map(|s| s.to_string()) in if_extract_opt_sm_works()
114 let opts = "-s 23333".split(" ").map(|s| s.to_string()).collect(); in if_extract_opt_port_works()
131 .map(|s| s.to_string()) in if_extract_opt_ipv6_works()
149 .map(|s| s.to_string()) in if_extract_opt_invalid_ipv6_works()
[all …]
Dtranslate.rs77 let mut s = " OpenHarmony device connector(HDC) ... \n".to_string() in verbose() localVariable
95 s = s in verbose()
102 s in verbose()
/developtools/profiler/protos/types/plugins/diskio_data/
Ddiskio_plugin_result.proto37 double rd_per_sec = 3; // 每秒从设备读取的数据量 kB_read/s
38 double wr_per_sec = 4; // 每秒向设备写入的数据量 kB_wrtn/s
39 double dc_per_sec = 5; // kB_dscd/s
47 uint64 io_rd = 2; // r/s
48 uint64 io_rsectors = 3; // kB/s, r+w+d
49 uint64 io_rrqm = 4; // rrqm/s
54 uint64 io_wr = 8; // w/s
55 uint64 io_wsectors = 9; // wkB/s , r+w+d
56 uint64 io_wrqm = 10; // wrqm/s
61 uint64 io_dc = 14; // d/s
[all …]
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/diskio_data/
Ddiskio_plugin_result.proto37 double rd_per_sec = 3; // 每秒从设备读取的数据量 kB_read/s
38 double wr_per_sec = 4; // 每秒向设备写入的数据量 kB_wrtn/s
39 double dc_per_sec = 5; // kB_dscd/s
47 uint64 io_rd = 2; // r/s
48 uint64 io_rsectors = 3; // kB/s, r+w+d
49 uint64 io_rrqm = 4; // rrqm/s
54 uint64 io_wr = 8; // w/s
55 uint64 io_wsectors = 9; // wkB/s , r+w+d
56 uint64 io_wrqm = 10; // wrqm/s
61 uint64 io_dc = 14; // d/s
[all …]
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/testdata/expect/
Dterser_processed_expected_code.txt7 hilog.info(0, "testTag", "%{public}s", "Ability onCreate");
10 hilog.info(0, "testTag", "%{public}s", "Ability onDestroy");
13 hilog.info(0, "testTag", "%{public}s", "Ability onWindowStageCreate");
16 …ublic}s", null !== (t = JSON.stringify(o)) && void 0 !== t ? t : "") : hilog.info(0, "testTag", "S…
20 hilog.info(0, "testTag", "%{public}s", "Ability onWindowStageDestroy");
23 hilog.info(0, "testTag", "%{public}s", "Ability onForeground");
26 hilog.info(0, "testTag", "%{public}s", "Ability onBackground");
/developtools/profiler/device/cmds/src/
Dcommand_param_text.cpp18 CommandParamText::CommandParamText(std::string& s) : stringText_(s) {} in CommandParamText() argument
19 void CommandParamText::SetValue(const std::string& s) in SetValue() argument
21 stringText_ = s; in SetValue()
/developtools/profiler/device/plugins/memory_plugin/include/
Dmemory_data_plugin.h415 std::string s(line); in ParseMemInfo()
416 if (s.find("App Summary") != s.npos) { in ParseMemInfo()
422 if (s.find("Java Heap:") != s.npos) { in ParseMemInfo()
423 memsummary->set_java_heap(ParseNumber(s)); in ParseMemInfo()
426 if (s.find("Native Heap:") != s.npos) { in ParseMemInfo()
427 memsummary->set_native_heap(ParseNumber(s)); in ParseMemInfo()
430 if (s.find("Code:") != s.npos) { in ParseMemInfo()
431 memsummary->set_code(ParseNumber(s)); in ParseMemInfo()
434 if (s.find("Stack:") != s.npos) { in ParseMemInfo()
435 memsummary->set_stack(ParseNumber(s)); in ParseMemInfo()
[all …]
/developtools/profiler/device/services/ipc/test/unittest/
Dsocket_context_test.cpp52 std::string s="abc"; variable
55 ASSERT_EQ(socketContext.RawProtocolProc(2, (const int8_t *)s.c_str(), s.size()), -1);
58 EXPECT_FALSE(socketContext.SendRaw(1, (const int8_t *)s.c_str(), s.size(), -1));
Dservice_base_test.cpp40 std::string s="asdf"; variable
43 ASSERT_FALSE(serviceBase.ProtocolProc(socketContext, 0, (const int8_t *)s.c_str(), s.size()));
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DColorUtils.ts235 const [h, s, l] = rgbToHsl(color[0] / 255, color[1] / 255, color[2] / 255); constant
241 const interpolatedColor = hslToRgb(h, s, interpolatedL);
249 let s = 0;
253 h = s = 0; // achromatic
256 s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
271 return [h, s, l];
297 function hslToRgb(h: number, s: number, l: number): number[] {
302 if (s === 0) {
324 const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
/developtools/hdc/src/common/
Dbase.h69 string GetFullFilePath(string &s);
70 string GetPathWithoutFilename(const string &s);
73 int StringEndsWith(string s, string sub);
122 inline string &RightTrim(string &s, const string &w = WHITE_SPACES)
124 s.erase(s.find_last_not_of(w) + 1);
125 return s;
129 inline string &LeftTrim(string &s, const string &w = WHITE_SPACES)
131 s.erase(0, s.find_first_not_of(w));
132 return s;
136 inline string &Trim(string &s, const string &w = WHITE_SPACES)
[all …]
Dfile.cpp153 string s = SerialStruct::SerializeToString(context->fileMode); in CheckMaster() local
154 …SendToAnother(CMD_FILE_MODE, reinterpret_cast<uint8_t *>(const_cast<char *>(s.c_str())), s.size()); in CheckMaster()
156 string s = SerialStruct::SerializeToString(context->transferConfig); in CheckMaster() local
157 …SendToAnother(CMD_FILE_CHECK, reinterpret_cast<uint8_t *>(const_cast<char *>(s.c_str())), s.size()… in CheckMaster()
198 string s = SerialStruct::SerializeToString(mode); in FileModeSync() local
200 … SendToAnother(CMD_DIR_MODE, reinterpret_cast<uint8_t *>(const_cast<char *>(s.c_str())), s.size()); in FileModeSync()
202 string s = SerialStruct::SerializeToString(ctxNow.transferConfig); in FileModeSync() local
203 …endToAnother(CMD_FILE_CHECK, reinterpret_cast<uint8_t *>(const_cast<char *>(s.c_str())), s.size()); in FileModeSync()
229 for (auto s : dirsOfOptName) { in FileModeSync() local
231 dirMode.fullName = s; in FileModeSync()
[all …]
/developtools/ace_ets2bundle/compiler/test/
Dtest.js124 …/import\s+(.+)\s+from\s+['"]@(system|ohos)\.(\S+)['"]|import\s+(.+)\s*=\s*require\(\s*['"]@(system…
126 …/import\s+(.+)\s+from\s+['"]lib(\S+)\.so['"]|import\s+(.+)\s*=\s*require\(\s*['"]lib(\S+)\.so['"]\…
/developtools/ace_ets2bundle/compiler/src/
Dprocess_system_module.ts24 …/(import|export)\s+(.+)\s+from\s+['"](\S+)['"]|import\s+(.+)\s*=\s*require\(\s*['"](\S+)['"]\s*\)/…
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dgn_common_tool.py64 def contains_gn_variable(cls, s: str, quote_processed: bool = False):
68 return cls.is_gn_variable(s, quote_processed) or ("$" in s)
118 def replace_gn_variables(cls, s: str, gn_path: str, stop_tail: str) -> str:
126 variable_list = GnCommonTool._find_gn_variable_list(s)
128 return s
132 s = s.replace(k, v)
133 return s
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DStringUtils.java48 for (String s : array) { in containsIgnoreCase()
49 if (s != null && s.equalsIgnoreCase(str)) { in containsIgnoreCase()
/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/
Drollup-plugin-system-api.ts157 …/import\s+(.+)\s+from\s+['"]lib(\S+)\.so['"]|import\s+(.+)\s*=\s*require\(\s*['"]lib(\S+)\.so['"]\…
172 … RegExp(`import\\s+(.+)\\s*=\\s*require\\(\\s*['"]@(${sdkConfigPrefix})\\.(\\S+)['"]\\s*\\)`, 'g');
177 …const REG_IMPORT_SYSTEM = new RegExp(`import\\s+(.+)\\s+from\\s+['"]@(${sdkConfigPrefix})\\.(\\S+)…
/developtools/ace_ets2bundle/compiler/codegen/
Dcodegen_ets.js15s="__lodash_placeholder__",p=32,l=128,c=1/0,u=9007199254740991,y=NaN,d=4294967295,f=[["ary",l],["b… argument
/developtools/smartperf_host/ide/src/doc/md/
Dquickstart_animation.md62 - T2(s): 当前帧的结束时间。
63 - T1(s): 前一帧的结束时间。
77 - T2(s): 当前帧的结束时间。
78 - T1(s): 前一帧的结束时间。
/developtools/hiperf/test/unittest/common/native/
Dhiperf_client_test.cpp69 this_thread::sleep_for(1s);
72 this_thread::sleep_for(1s);
90 this_thread::sleep_for(1s);
93 this_thread::sleep_for(1s);
110 this_thread::sleep_for(1s);
113 this_thread::sleep_for(1s);
131 this_thread::sleep_for(1s);
134 this_thread::sleep_for(1s);
150 this_thread::sleep_for(1s);
153 this_thread::sleep_for(1s);
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DLegendEntry.ets24 * @param formSize Set to NaN to use the legend's default.
25 * @param formLineWidth Set to NaN to use the legend's default.
26 * @param formLineDashEffect Set to nil to use the legend's default.
56 * `DEFAULT` will use the Legend's default.
63 * Set as NaN to use the legend's default
70 * Set as NaN to use the legend's default
77 * Set to null to use the legend's default
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DColorTemplate.ets46 let s = 0;
56 s = 0;
58 s = 1 - min / max;
72 s = Math.floor(s * 100);
75 hsv.push(h, s, v);
80 let s = arr[1];
82 s = s / 100;
89 var p = v * (1 - s);
90 var q = v * (1 - f * s);
91 var t = v * (1 - (1 - f) * s);
[all …]
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/exteriorStyle/
DexteriorStyle.css86 transition-duration: 5s;
95 .s {
261 animation: 3s ease-in 1s 2 reverse both paused slidein;
266 animation: test_05 3s linear 1s;
271 animation: sliding-vertically 3s;
/developtools/profiler/device/cmds/include/
Dcommand_param_text.h23 CommandParamText(std::string& s);
25 void SetValue(const std::string& s);

12345678