Home
last modified time | relevance | path

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

12345678

/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/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DHwSignHead.java48 int start = 0; in getSignHead() local
50 start = ByteArrayUtils.insertCharToByteArray(signHead, start, MAGIC); in getSignHead()
51 if (start < 0) { in getSignHead()
54 start = ByteArrayUtils.insertCharToByteArray(signHead, start, VERSION); in getSignHead()
55 if (start < 0) { in getSignHead()
58 start = ByteArrayUtils.insertIntToByteArray(signHead, start, size); in getSignHead()
59 if (start < 0) { in getSignHead()
62 start = ByteArrayUtils.insertIntToByteArray(signHead, start, NUM_OF_BLOCK); in getSignHead()
63 if (start < 0) { in getSignHead()
66 start = ByteArrayUtils.insertCharToByteArray(signHead, start, reserve); in getSignHead()
[all …]
/developtools/profiler/device/etc/
Dhiprofilerd.cfg24 "start-mode" : "condition"
28 "name" : "param:hiviewdfx.hiprofiler.profilerd.start=1",
29 "condition" : "hiviewdfx.hiprofiler.profilerd.start=1",
31 "start hiprofilerd"
34 "name" : "param:hiviewdfx.hiprofiler.profilerd.start=0",
35 "condition" : "hiviewdfx.hiprofiler.profilerd.start=0",
40 "name" : "param:hiviewdfx.hiprofiler.plugins.start=1",
41 "condition" : "hiviewdfx.hiprofiler.plugins.start=1",
43 "start hiprofiler_plugins"
46 "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
/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/profiler/device/plugins/native_hook/src/
Druntime_stack_range.cpp35 const char* start; member
41 static void GetThreadRuntimeStackRange(const char** start, const char** end) in GetThreadRuntimeStackRange() argument
43 *start = nullptr; in GetThreadRuntimeStackRange()
50 …if (pthread_attr_getstack(&attr, reinterpret_cast<void**>(const_cast<char**>(start)), &stackSize) … in GetThreadRuntimeStackRange()
51 *end = *start + stackSize; in GetThreadRuntimeStackRange()
149 g_mainStack.start = reinterpret_cast<char*>(CvtStrToInt(line.c_str(), BASE_MAX)); in GetMainThreadRuntimeStackRange()
160 static bool IfContained(const char* start, const char* end, const char* ptr) in IfContained() argument
162 bool ret = (ptr >= start && ptr < end); in IfContained()
166 static void GetRuntimeSigalAltStackRange(char** start, char** end) in GetRuntimeSigalAltStackRange() argument
168 *start = nullptr; in GetRuntimeSigalAltStackRange()
[all …]
/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/smartperf_host/ide/src/trace/component/setting/
DSpFileSystem.ts35 set startRecord(start: boolean) {
36 if (start) {
53 set startFileSystem(start: boolean) {
54 if (start) {
59 this.startRecord = start;
66 set startVirtualMemory(start: boolean) {
67 if (start) {
72 this.startRecord = start;
79 set startIo(start: boolean) {
80 if (start) {
[all …]
/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/host/smartperf/ide/src/trace/component/setting/
DSpFileSystem.ts37 set startRecord(start: boolean) {
38 if (start) {
55 set startFileSystem(start: boolean) {
56 if (start) {
61 this.startRecord = start;
68 set startVirtualMemory(start: boolean) {
69 if (start) {
74 this.startRecord = start;
81 set startIo(start: boolean) {
82 if (start) {
[all …]
/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()
49 auto start = data + format.offset + i * retvalSize; in ParseVectorIntField() local
50 auto end = start + retvalSize; in ParseVectorIntField()
52 ReadData(start, end, &retval, retvalSize); in ParseVectorIntField()
79 static bool ReadData(const uint8_t start[], const uint8_t end[], VoidPtr out, size_t size);
/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/profiler/host/smartperf/trace_streamer/src/trace_streamer/
Dtrace_streamer_selector.cpp52 std::string start(reinterpret_cast<const char*>(data), std::min<size_t>(size, 20)); in GuessFileType()
53 if (start.find("# tracer") != std::string::npos) { in GuessFileType()
56 if (start.find("# TRACE") != std::string::npos) { in GuessFileType()
59 if (start.find("# SYSEVENT") != std::string::npos) { in GuessFileType()
62 if (start.find("# sysevent") != std::string::npos) { in GuessFileType()
65 std::string lowerStart(start); in GuessFileType()
66 transform(start.begin(), start.end(), lowerStart.begin(), ::tolower); in GuessFileType()
71 if (start.compare(0, std::string("\x0a").length(), "\x0a") == 0) { in GuessFileType()
74 if (start.compare(0, std::string("OHOSPROF").length(), "OHOSPROF") == 0) { in GuessFileType()
77 if (start.compare(0, std::string("PERFILE2").length(), "PERFILE2") == 0) { in GuessFileType()
[all …]
/developtools/smartperf_host/trace_streamer/src/base/
Dindex_map.h33 IndexMap(TableRowId start, TableRowId end);
136 void Set(TableRowId start, TableRowId end) in Set() argument
140 current_ = start_ = std::max(start_, start); in Set()
153 void Intersect(TableRowId start, TableRowId end);
159 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v); in IntersectabcEqual() local
160 auto end = std::upper_bound(start, rows.begin() + end_, v); in IntersectabcEqual()
161 auto newStart = std::distance(rows.begin(), start); in IntersectabcEqual()
170 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v, in IntersectGreaterEqual() local
172 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/smartperf_host/trace_streamer/src/trace_streamer/
Dtrace_streamer_selector.cpp53 std::string start(reinterpret_cast<const char*>(data), std::min<size_t>(size, 20)); in GuessFileType()
54 if (start.find("# tracer") != std::string::npos) { in GuessFileType()
57 if (start.find("# TRACE") != std::string::npos) { in GuessFileType()
60 if (start.find("# SYSEVENT") != std::string::npos) { in GuessFileType()
63 if (start.find("# sysevent") != std::string::npos) { in GuessFileType()
66 std::string lowerStart(start); in GuessFileType()
67 transform(start.begin(), start.end(), lowerStart.begin(), ::tolower); in GuessFileType()
72 if (start.compare(0, std::string("\x0a").length(), "\x0a") == 0) { in GuessFileType()
75 if (start.compare(0, std::string("OHOSPROF").length(), "OHOSPROF") == 0) { in GuessFileType()
78 if (start.compare(0, std::string("PERFILE2").length(), "PERFILE2") == 0) { in GuessFileType()
[all …]
/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/profiler/host/smartperf/trace_streamer/src/base/
Dindex_map.h33 IndexMap(TableRowId start, TableRowId end);
264 void Set(TableRowId start, TableRowId end) in Set() argument
268 current_ = start_ = std::max(start_, start); in Set()
281 void Intersect(TableRowId start, TableRowId end);
287 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v); in IntersectabcEqual() local
288 auto end = std::upper_bound(start, rows.begin() + end_, v); in IntersectabcEqual()
289 auto newStart = std::distance(rows.begin(), start); in IntersectabcEqual()
298 auto start = std::lower_bound(rows.begin() + start_, rows.begin() + end_, v, in IntersectGreaterEqual() local
300 auto newStart = std::distance(rows.begin(), start); in IntersectGreaterEqual()
Dindex_map.cpp24 IndexMap::IndexMap(TableRowId start, TableRowId end) : end_(end), current_(start), start_(start), t… 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/host/smartperf/trace_streamer/src/filter/
Dnative_hook_filter.cpp447 uint64_t start = INVALID_UINT64; in GetNeedUpdateProcessMapsAddrRange() local
450 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
472 start = startItor->first; in GetNeedUpdateProcessMapsAddrRange()
478 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
481 start = INVALID_UINT64; in GetNeedUpdateProcessMapsAddrRange()
482 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
490 end = endItor->second->start(); in GetNeedUpdateProcessMapsAddrRange()
495 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
534 inline void NativeHookFilter::ReparseStacksWithAddrRange(uint64_t start, uint64_t end) in ReparseStacksWithAddrRange() argument
540 if (*ipsItor >= start && *ipsItor < end) { in ReparseStacksWithAddrRange()
[all …]
/developtools/smartperf_host/trace_streamer/src/filter/
Dnative_hook_filter.cpp455 uint64_t start = INVALID_UINT64; in GetNeedUpdateProcessMapsAddrRange() local
458 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
480 start = startItor->first; in GetNeedUpdateProcessMapsAddrRange()
486 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
489 start = INVALID_UINT64; in GetNeedUpdateProcessMapsAddrRange()
490 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
498 end = endItor->second->start(); in GetNeedUpdateProcessMapsAddrRange()
503 return std::make_tuple(start, end); in GetNeedUpdateProcessMapsAddrRange()
542 inline void NativeHookFilter::ReparseStacksWithAddrRange(uint64_t start, uint64_t end) in ReparseStacksWithAddrRange() argument
548 if (*ipsItor >= start && *ipsItor < end) { in ReparseStacksWithAddrRange()
[all …]
/developtools/ace_ets2bundle/compiler/src/
Dcompile_info.ts81 location: { start?: { line: number, column: number } }
256 process.env.watchEts = 'start';
321 process.env.watchTs = 'start';
384 …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()
/developtools/profiler/host/smartperf/ide/src/trace/grpc/
DProfilerClient.ts38 this.start(clientPort, profilerServicePath);
65 start(address: string, filePath: string) {} method in ProfilerClient

12345678