Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 168) sorted by relevance

1234567

/developtools/integration_verification/tools/startup_guard/rules/NO-Config-Cmds-In-Init/
DREADME.md43 condition 条件启动,对服务的启动方式配置condition,通过start命令拉起服务。
47 2. 服务是条件启动, 即"start-mode" : "condition", 并且通过start命令拉起服务。
53 "start-modes": [
55 "start-mode":"condition",
64 1. start-mode:"condition", 服务启动方式。
65 2. service:通过"start-mode" : "condition" 启动的服务。
69 2. 检查服务是否配置条件启动, 且通过start命令拉起服务。
81 1. 服务是boot启动, 即"start-mode" : "boot"的服务。
87 "start-modes": [
89 "start-mode":"boot",
[all …]
/developtools/profiler/device/etc/
Dhiprofilerd.cfg23 "start-mode" : "condition"
27 "name" : "param:hiviewdfx.hiprofiler.profilerd.start=1",
28 "condition" : "hiviewdfx.hiprofiler.profilerd.start=1",
30 "start hiprofilerd"
33 "name" : "param:hiviewdfx.hiprofiler.profilerd.start=0",
34 "condition" : "hiviewdfx.hiprofiler.profilerd.start=0",
39 "name" : "param:hiviewdfx.hiprofiler.plugins.start=1",
40 "condition" : "hiviewdfx.hiprofiler.plugins.start=1",
42 "start hiprofiler_plugins"
45 "name" : "param:hiviewdfx.hiprofiler.plugins.start=0",
[all …]
Dhiprofiler.para14 hiviewdfx.hiprofiler.profilerd.start=0
15 hiviewdfx.hiprofiler.plugins.start=0
16 hiviewdfx.hiprofiler.native_memoryd.start=0
17 hiviewdfx.hiprofiler.memprofiler.start=0
Dhiprofiler_daemon.cfg20 "start-mode" : "condition"
40 "start-mode" : "condition"
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DHwSignHead.java65 int start = 0; in getSignHead() local
67 start = ByteArrayUtils.insertCharToByteArray(signHead, start, MAGIC); in getSignHead()
68 if (start < 0) { in getSignHead()
71 start = ByteArrayUtils.insertCharToByteArray(signHead, start, VERSION); in getSignHead()
72 if (start < 0) { in getSignHead()
75 start = ByteArrayUtils.insertIntToByteArray(signHead, start, size); in getSignHead()
76 if (start < 0) { in getSignHead()
79 start = ByteArrayUtils.insertIntToByteArray(signHead, start, NUM_OF_BLOCK); in getSignHead()
80 if (start < 0) { in getSignHead()
83 start = ByteArrayUtils.insertCharToByteArray(signHead, start, reserve); in getSignHead()
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dftrace_field_parser.cpp32 std::string ReadString(const uint8_t start[], const uint8_t end[], int size) in ReadString() argument
36 if (end - start < static_cast<ptrdiff_t>(size)) { in ReadString()
40 const uint8_t* cursor = start; in ReadString()
41 const uint8_t* sectionEnd = start + size; in ReadString()
46 str.assign(start, cursor); in ReadString()
51 bool FtraceFieldParser::ReadData(const uint8_t start[], const uint8_t end[], void* out, size_t size) in ReadData() argument
53 ptrdiff_t memSize = end - start; in ReadData()
58 …CHECK_TRUE(memcpy_s(out, size, start, size) == EOK, false, "copy %zu byte to memory FAILED!", size… in ReadData()
69 uint8_t* start = data + format.offset; in ParseStrField() local
79 retval = ReadString(start, end, format.size); in ParseStrField()
[all …]
Dstring_utils.cpp73 size_t start = 0; // start index in Split() local
75 while (start < str.size()) { in Split()
76 pos = str.find(sep, start); in Split()
78 result.push_back(str.substr(start, pos - start)); in Split()
79 start = pos + sep.size(); // next start index in Split()
82 result.push_back(str.substr(start)); in Split()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DByteArrayUtils.java89 public static int insertByteToByteArray(byte[] des, int start, byte[] src, int srcLen) { in insertByteToByteArray() argument
93 System.arraycopy(src, 0, des, start, srcLen); in insertByteToByteArray()
94 return start + srcLen; in insertByteToByteArray()
105 public static int insertCharToByteArray(byte[] des, int start, char[] src) { in insertCharToByteArray() argument
106 if (start > des.length - src.length) { in insertCharToByteArray()
110 des[i + start] = (byte) src[i]; in insertCharToByteArray()
112 return start + src.length; in insertCharToByteArray()
/developtools/profiler/hiebpf/include/
Dcommandline_flags.h419 for (std::size_t start = 0, end = 0; end <= valStr.length(); ++end) { in ParseBoolArrayFlag() local
421 if (start == end) { in ParseBoolArrayFlag()
422 ++start; in ParseBoolArrayFlag()
425 auto str = valStr.substr(start, end - start); in ParseBoolArrayFlag()
437 start = end + 1; in ParseBoolArrayFlag()
446 for (std::size_t start = 0, end = 0; end <= valStr.length(); ++end) { in ParseInt8ArrayFlag() local
448 if (start == end) { in ParseInt8ArrayFlag()
449 ++start; in ParseInt8ArrayFlag()
452 auto str = valStr.substr(start, end - start); in ParseInt8ArrayFlag()
463 start = end + 1; in ParseInt8ArrayFlag()
[all …]
/developtools/profiler/device/plugins/native_hook/src/
Druntime_stack_range.cpp31 const char* start; member
47 static void GetThreadRuntimeStackRange(const char** start, const char** end) in GetThreadRuntimeStackRange() argument
49 *start = nullptr; in GetThreadRuntimeStackRange()
55 …if (pthread_attr_getstack(&attr, reinterpret_cast<void**>(const_cast<char**>(start)), &stackSize) … in GetThreadRuntimeStackRange()
56 *end = *start + stackSize; in GetThreadRuntimeStackRange()
183 g_mainStack.start = reinterpret_cast<char*>(CvtStrToInt(line.c_str(), BASE_MAX)); in GetMainThreadRuntimeStackRange()
198 static bool IfContained(const char* start, const char* end, const char* ptr) in IfContained() argument
200 bool ret = (ptr >= start && ptr < end); in IfContained()
204 static void GetRuntimeSigalAltStackRange(char** start, char** end) in GetRuntimeSigalAltStackRange() argument
206 *start = nullptr; in GetRuntimeSigalAltStackRange()
[all …]
Dhook_client.cpp379 struct timespec start = {}; in hook_malloc() local
380 clock_gettime(CLOCK_REALTIME, &start); in hook_malloc()
388 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_malloc()
451 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_malloc()
485 struct timespec start = {}; in hook_calloc() local
486 clock_gettime(CLOCK_REALTIME, &start); in hook_calloc()
494 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_calloc()
553 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_calloc()
586 struct timespec start = {}; in hook_realloc() local
587 clock_gettime(CLOCK_REALTIME, &start); in hook_realloc()
[all …]
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpFileSystem.ts34 set startRecord(start: boolean) {
35 if (start) {
52 set startFileSystem(start: boolean) {
53 if (start) {
58 this.startRecord = start;
65 set startVirtualMemory(start: boolean) {
66 if (start) {
71 this.startRecord = start;
78 set startIo(start: boolean) {
79 if (start) {
[all …]
/developtools/profiler/host/smartperf/client/client_command/
Dparse_start_trace_noh.cpp90 std::string ParseStartTraceNoh::CutString(std::string line, const std::string &start, in CutString() argument
93 int position1 = static_cast<int>(line.find(start)); in CutString()
103 size_t start = 0; // start index in Split() local
104 while (start < str.size()) { in Split()
105 size_t pos = str.find(pattern, start); in Split()
107 result.push_back(str.substr(start, pos - start)); in Split()
108 start = pos + pattern.size(); // next start index in Split()
111 result.push_back(str.substr(start)); in Split()
Dparse_start_frame_trace.cpp133 std::string StartFrameTraceNoh::CutString(std::string line, const std::string &start, in CutString() argument
136 int position1 = static_cast<int>(line.find(start)); in CutString()
146 size_t start = 0; // start index in Split() local
147 while (start < str.size()) { in Split()
148 size_t pos = str.find(pattern, start); in Split()
150 result.push_back(str.substr(start, pos - start)); in Split()
151 start = pos + pattern.size(); // next start index in Split()
154 result.push_back(str.substr(start)); in Split()
/developtools/smartperf_host/trace_streamer/src/base/
Dstring_help.cpp67 size_t start = 0; in TrimInvisibleCharacters() local
69 while (start <= end && !std::isgraph(str[start])) { in TrimInvisibleCharacters()
70 start++; in TrimInvisibleCharacters()
72 while (end >= start && !std::isgraph(str[end])) { in TrimInvisibleCharacters()
75 return str.substr(start, end - start + 1); in TrimInvisibleCharacters()
Dindex_map.h33 IndexMap(TableRowId start, TableRowId end);
140 void Set(TableRowId start, TableRowId end) in Set() argument
144 current_ = start_ = std::max(start_, start); in Set()
157 void Intersect(TableRowId start, TableRowId end);
163 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v); in IntersectabcEqual() local
164 auto end = std::upper_bound(start, rows.begin() + end_, v); in IntersectabcEqual()
165 auto newStart = std::distance(rows.begin(), start); in IntersectabcEqual()
174 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v, in IntersectGreaterEqual() local
176 auto newStart = std::distance(rows.begin(), start); in IntersectGreaterEqual()
Dindex_map.cpp24 IndexMap::IndexMap(TableRowId start, TableRowId end) : end_(end), current_(start), start_(start) {} in IndexMap() argument
61 void IndexMap::Intersect(TableRowId start, TableRowId end) in Intersect() argument
67 if (*i >= start && *i < end) { in Intersect()
78 start_ = std::max(start_, start); in Intersect()
/developtools/profiler/device/plugins/ftrace_plugin/include/
Dftrace_field_parser.h31 auto start = data + format.offset; in ParseIntField() local
32 ReadData(start, end, &retval, format.size); in ParseIntField()
50 auto start = data + format.offset + i * retvalSize; in ParseVectorIntField() local
51 auto end = start + retvalSize; in ParseVectorIntField()
53 ReadData(start, end, &retval, retvalSize); in ParseVectorIntField()
80 static bool ReadData(const uint8_t start[], const uint8_t end[], VoidPtr out, size_t size);
/developtools/smartperf_host/trace_streamer/src/proto_reader/
Dproto_reader_help.cpp19 const uint8_t *VarIntDecode(const uint8_t *start, const uint8_t *end, uint64_t *varIntValue) in VarIntDecode() argument
21 const uint8_t *cursor = start; in VarIntDecode()
34 return start; in VarIntDecode()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Ddata.js32 let start
41 start = match.index
42 getValue(next, start, v, res)
44 next = start + match[0].length
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DZip.java78 long start = System.currentTimeMillis(); in Zip() local
83 LOGGER.debug("getZipEndOfCentralDirectory use {} ms", eocdEnd - start); in Zip()
87 LOGGER.debug("getZipCentralDirectory use {} ms", cdEnd - start); in Zip()
95 LOGGER.debug("getZipEntries use {} ms", entryEnd - start); in Zip()
121 for (int start = 0; start < eocdMaxLength; start++) { in getZipEndOfCentralDirectory()
122 eocdByBytes = EndOfCentralDirectory.getEOCDByBytes(bytes, start); in getZipEndOfCentralDirectory()
124 eOCDOffset += start; in getZipEndOfCentralDirectory()
/developtools/profiler/device/plugins/hiebpf_plugin/tools/include/
Debpf_std_type.h29 uint64_t start = 0; member
60 uint64_t start = 0; member
80 uint64_t start = 0; member
98 uint64_t start = 0; member
114 uint64_t start = 0; member
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/
Dftrace_field_processor.h51 auto start = data + format.offset + index * curValueSize; in HandleVectorIntField() local
52 auto end = start + curValueSize; in HandleVectorIntField()
54 HandleTypeData(start, end, &retval, curValueSize); in HandleVectorIntField()
/developtools/ace_ets2bundle/compiler/src/
Dcompile_info.ts80 location: { start?: { line: number, column: number } }
254 process.env.watchEts = 'start';
320 process.env.watchTs = 'start';
383 …console.info(blue, 'Incremental build start: ' + this.hotReloadIncrementalTime.hotReloadIncrementa…
/developtools/profiler/tools/smaps_show/src/
Dmain.rs29 start: u64, field
143 start: 0, in print_smaps_core()
209 "Start" => Cell::new(format!("{:x}", i.start).as_str()), in info_to_cell()
239 .map(|matched| matched.start()) in read_smaps()
246 let start = u64::from_str_radix(caps.name("start").unwrap().as_str(), 16).unwrap(); in read_smaps() localVariable
276 start: start, in read_smaps()

1234567