Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/developtools/smartperf_host/trace_streamer/src/trace_data/
Dsqllite_prepar_cache_data.h29 …using TLVResultCallBack = std::function<void(const char* data, uint32_t len, uint32_t type, int32_…
40 …void FillAndSendCpuDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVResultCallBac…
41 …void FillAndSendCpuFreqDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVResultCal…
42 …void FillAndSendProcessDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVResultCal…
43 …void FillAndSendCpuFreqLimitDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVResu…
44 …void FillAndSendCpuStateDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVResultCa…
45 …void FillAndSendProcessMemDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVResult…
46 …void FillAndSendProcessSoInitDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVRes…
47 …void FillAndSendProcessStartupDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVRe…
48 …void FillAndSendClockDataDataProto(sqlite3_stmt* stmt, uint32_t type, TLVResultCallBack TLVResultC…
[all …]
Dsqllite_prepar_cache_data.cpp339 static bool SendDBProto(uint32_t type, in SendDBProto() argument
346 TLVResultCallBack(bufferData.data(), bufferData.size(), type, isFinish); in SendDBProto()
352 uint32_t type, in FillAndSendCpuDataProto() argument
367 SendDBProto(type, SEND_FINISH, batchSphCpuData, TLVResultCallBack); in FillAndSendCpuDataProto()
371 uint32_t type, in FillAndSendCpuFreqDataProto() argument
383 SendDBProto(type, SEND_FINISH, batchSphCpuFreqData, TLVResultCallBack); in FillAndSendCpuFreqDataProto()
387 uint32_t type, in FillAndSendProcessDataProto() argument
398 SendDBProto(type, SEND_FINISH, batchSphProcessData, TLVResultCallBack); in FillAndSendProcessDataProto()
402 uint32_t type, in FillAndSendCpuFreqLimitDataProto() argument
415 SendDBProto(type, SEND_FINISH, batchSphCpuFreqLimitData, TLVResultCallBack); in FillAndSendCpuFreqLimitDataProto()
[all …]
/developtools/global_resource_tool/src/
Dfactory_resource_compiler.cpp25 unique_ptr<IResourceCompiler> FactoryResourceCompiler::CreateCompiler(ResType type, const string &o… in CreateCompiler() argument
27 if (type == ResType::ELEMENT) { in CreateCompiler()
28 return make_unique<JsonCompiler>(type, output); in CreateCompiler()
30 return make_unique<GenericCompiler>(type, output); in CreateCompiler()
34 unique_ptr<IResourceCompiler> FactoryResourceCompiler::CreateCompilerForAppend(ResType type, const … in CreateCompilerForAppend() argument
36 if (type == ResType::ELEMENT) { in CreateCompilerForAppend()
37 return make_unique<JsonCompiler>(type, output); in CreateCompilerForAppend()
38 } else if (type == ResType::MEDIA || type == ResType::PROF) { in CreateCompilerForAppend()
39 return make_unique<AppendCompiler>(type, output); in CreateCompilerForAppend()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DSignBlockData.java26 private char type; field in SignBlockData
33 public SignBlockData(byte[] signData, char type) { in SignBlockData() argument
35 this.type = type; in SignBlockData()
40 public SignBlockData(String signFile, char type) { in SignBlockData() argument
42 this.type = type; in SignBlockData()
48 return type; in getType()
51 public void setType(char type) { in setType() argument
52 this.type = type; in setType()
DSigningBlock.java24 private int type; field in SigningBlock
36 public SigningBlock(int type, byte[] value) { in SigningBlock() argument
38 this.type = type; in SigningBlock()
50 public SigningBlock(int type, byte[] value, int offset) { in SigningBlock() argument
52 this.type = type; in SigningBlock()
59 return type; in getType()
DSignContentInfo.java32 protected char type; field in SignContentHash
64 SignContentHash(char type, char tag, short algId, int length, byte[] hash) { in SignContentHash() argument
65 this.type = type; in SignContentHash()
95 public void addContentHashData(char type, char tag, short algId, int length, byte[] hash) { in addContentHashData() argument
96 SignContentHash signInfo = new SignContentHash(type, tag, algId, length, hash); in addContentHashData()
132 ret[index] = (byte) tmp.type; in getByteContent()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
DExtension.java39 private final int type; field in Extension
43 public Extension(int type, int size) { in Extension() argument
44 this.type = type; in Extension()
52 public boolean isType(int type) { in isType() argument
53 return this.type == type; in isType()
63 bf.putInt(this.type); in toByteArray()
74 return String.format(Locale.ROOT, "Extension: type[%d], size[%d]", this.type, this.size); in toString()
DSegmentHeader.java56 private final int type; field in SegmentHeader
68 public SegmentHeader(int type, int segmentSize) { in SegmentHeader() argument
69 this(type, 0, segmentSize); in SegmentHeader()
79 public SegmentHeader(int type, int segmentOffset, int segmentSize) { in SegmentHeader() argument
80 this.type = type; in SegmentHeader()
86 return type; in getType()
108 bf.putInt(type); in toByteArray()
153 …rn String.format(Locale.ROOT, "Segment Header: type=%d, seg_offset = %d, seg_size = %d", this.type, in toString()
/developtools/profiler/device/base/include/
Dlogging.h100 static inline int HiLogPrint(int type, int prio, int domain, ConstCharPtr tag, ConstCharPtr fmt, ..… in HiLogPrint() argument
103 UNUSED_PARAMETER(type); in HiLogPrint()
159 #define HILOG_PRINT_DEBUG(type, fmt, ...) \ argument
160 HILOG_DEBUG(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str())
161 #define HILOG_PRINT_INFO(type, fmt, ...) \ argument
162 HILOG_INFO(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str())
163 #define HILOG_PRINT_WARN(type, fmt, ...) \ argument
164 HILOG_WARN(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str())
165 #define HILOG_PRINT_ERROR(type, fmt, ...) \ argument
166 HILOG_ERROR(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str())
[all …]
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/privateAttr/
DprivateAttr.hml5 <list-item-group type="{{type}}"></list-item-group>
6 …<list-item type="{{type}}" primary="{{primary}}" section="{{section}}" sticky="{{sticky}}"stickyra…
24 …<refresh offset="{{offset}}" refreshing="{{refreshing}}" type="auto" lasttime="{{lasttime}}" frict…
33 …<progress type="horizontal" percent="{{percent}}" secondarypercent="{{secondarypercent}}"></progre…
36 …<progress type="scale-ring" percent="{{percent}}" secondarypercent="{{secondarypercent}}" clockwis…
39 <progress type="arc" percent="{{percent}}"></progress>
54 <menu target="{{target}}" type="{{type}}" title="{{title}}"></menu>
57 <chart type="line" options="{{options}}" datasets="{{datasets}}"></chart>
60 …<input type="time" checked="{{checked}}" name="{{name}}" value="{{value}}" placeholder="{{placehol…
65 <button type="capsule" value="{{value}}" icon="{{icon}}" value="{{value}}"></button>
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dftrace_parser.cpp83 bool FtraceParser::SetupEvent(const std::string& type, const std::string& name) in SetupEvent() argument
91 format.eventType = type; in SetupEvent()
93 std::string desc = FtraceFsOps::GetInstance().GetEventDataFormat(type, name); in SetupEvent()
96 type.c_str(), name.c_str()); in SetupEvent()
98 false, "setup %s/%s failed!", type.c_str(), name.c_str()); in SetupEvent()
100 false, "setup pbzero %s/%s failed!", type.c_str(), name.c_str()); in SetupEvent()
105 hmformat.eventType = type; in SetupEvent()
107 desc = FtraceFsOps::GetInstance().HmGetEventDataFormat(type, name); in SetupEvent()
110 type.c_str(), name.c_str()); in SetupEvent()
121 false, "setup hm %s/%s failed!", type.c_str(), name.c_str()); in SetupEvent()
[all …]
Dftrace_fs_ops.cpp196 std::string FtraceFsOps::GetEventDataFormat(const std::string& type, const std::string& name) const in GetEventDataFormat() argument
198 if (access((ftraceRoot_ + "/events/" + type + "/" + name + "/format").c_str(), R_OK) == 0) { in GetEventDataFormat()
199 return FileUtils::ReadFile(ftraceRoot_ + "/events/" + type + "/" + name + "/format"); in GetEventDataFormat()
205 std::string FtraceFsOps::HmGetEventDataFormat(const std::string& type, const std::string& name) con… in HmGetEventDataFormat() argument
207 …if (access((ftraceRoot_ + "/hongmeng/events/" + type + "/" + name + "/format").c_str(), R_OK) == 0… in HmGetEventDataFormat()
208 … return FileUtils::ReadFile(ftraceRoot_ + "/hongmeng/events/" + type + "/" + name + "/format"); in HmGetEventDataFormat()
278 for (auto& type : FileUtils::ListDir(eventsPath)) { in AddPlatformEvents() local
280 std::string typePath = eventsPath + "/" + type; in AddPlatformEvents()
290 eventSet.insert(std::make_pair(type, name)); in AddPlatformEvents()
306 bool FtraceFsOps::AppendSetEvent(const std::string& type, const std::string& name) in AppendSetEvent() argument
[all …]
/developtools/ace_js2bundle/ace-loader/test/card/testcase/pages/privateAttr/
DprivateAttr.hml6 …<progress type="horizontal" percent="{{percent}}" secondarypercent="{{secondarypercent}}"></progre…
9 …<progress type="scale-ring" percent="{{percent}}" secondarypercent="{{secondarypercent}}" clockwis…
12 <progress type="arc" percent="{{percent}}"></progress>
15 <chart type="line" options="{{options}}" datasets="{{datasets}}"></chart>
18 <button type="capsule" value="{{value}}" icon="{{icon}}" value="{{value}}"></button>
/developtools/profiler/device/base/src/
Di_semaphore.cpp19 ISemaphoreFactory& GetSemaphoreFactory(SemaphoreFactoryType type) in GetSemaphoreFactory() argument
22 if (type == STD_SEMAPHORE_FACTORY) { in GetSemaphoreFactory()
24 } else if (type == POSIX_SEMAPHORE_FACTORY) { in GetSemaphoreFactory()
27 } else if (type == PTHREAD_SEMAPHORE_FACTORY) { in GetSemaphoreFactory()
/developtools/profiler/hiebpf/include/
Dhiebpf_macros.h123 #define container_of(ptr, type, member) \ argument
126 ((type *)(__mptr - offsetof(type, member))); \
147 #define list_entry(ptr, type, member) \ argument
148 container_of(ptr, type, member)
152 #define hlist_entry(ptr, type, member) container_of(ptr, type, member) argument
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/measure/
Dmeasure_stdtype.cpp20 size_t Filter::AppendNewFilterData(std::string type, std::string name, uint64_t sourceArgSetId) in AppendNewFilterData() argument
25 typeDeque_.emplace_back(type); in AppendNewFilterData()
29 size_t Measure::AppendMeasureData(uint32_t type, uint64_t timeStamp, int64_t value, uint32_t filter… in AppendMeasureData() argument
33 typeDeque_.emplace_back(type); in AppendMeasureData()
64 size_t SysMeasureFilter::AppendNewFilter(uint64_t filterId, DataIndex type, DataIndex nameId) in AppendNewFilter() argument
68 types_.emplace_back(type); in AppendNewFilter()
89 size_t ClockEventData::AppendNewFilter(uint64_t id, DataIndex type, DataIndex name, uint64_t cpu) in AppendNewFilter() argument
93 types_.emplace_back(type); in AppendNewFilter()
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Dfile_system_data_parser.cpp85 uint16_t type) in FileWriteOperation() argument
88 …tracerEventToStrIndexMap.Find(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->start… in FileWriteOperation()
90 …tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->star… in FileWriteOperation()
95 if ((type == READ || type == WRITE) && fsFixedHeadrAddr->ret >= 0) { in FileWriteOperation()
115 uint16_t type = INVALID_UINT16; in ParseFileSystemEvent() local
116 auto tmp = fucSubToSummaryType.find(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
120 type = fucSubToSummaryType.at(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
145 auto fd = GetFileDescriptor(fsFixedHeadrAddr, type); in ParseFileSystemEvent()
146 …ze_t size = FileWriteOperation(tracerEventToStrIndexMap, fsFixedHeadrAddr, itid, filePathId, type); in ParseFileSystemEvent()
148 …currentCallId_, type, ipid, itid, newStartTs, newEndTs, duration, returnValue, errorCode, size, fd, in ParseFileSystemEvent()
/developtools/smartperf_host/trace_streamer/doc/
DarkTs.md59 type:JS数据类型,取值与枚举HeapType对应,0表示JS内存数据为snapshot类型,1表示JS内存数据为timeline类型,-1表示没有JS内存数据。
60 interval:当type=0时生效,单位是秒,表示一次snapshot事件和下一次snapshot事件之间的间隔。
61 capture_numeric_value:当type=0时生效,表示是否同时抓取numeric。
62 track_allocation:当type=1时生效,表示是否抓取allocations。
88 …js-memory_config和js-memory插件头,先通过接口ParseJSMemoryConfig获取对应的type和pid,其中type=0为snapshot类型数据,type=1为t…
94 nodes:该节点包含了js_heap_nodes表的信息,每一行为7个int类型数字,分别表示type,name,id,self_size,edge_count,trace_node_id,det…
96 edges:该节点包含了js_heap_edges表的信息,每一行为3个int类型数字,分别表示type,name_or_index,to_node。表中from_node_id是通过nodes节点…
102 | type | name | id | self_size | edge_count | trace_node_id | datachedness |
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/
DProvision.java109 private String type; field in Provision
196 ValidateUtils.throwIfMatches(provision.type == null || !isBuildTypeValid(provision.type), in enforceValid()
197 … ERROR.SIGN_ERROR, "Require build type must be debug or release, current is :" + provision.type); in enforceValid()
201 provision.bundleInfo.enforceValid(provision.type); in enforceValid()
229 return type; in getType()
232 public void setType(String type) { in setType() argument
233 this.type = type; in setType()
297 + "type:" + type + NEWLINE_CHARACTER in toString()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
DFsVerityDescriptorWithSign.java33 private int type = FsVerityDescriptor.FS_VERITY_DESCRIPTOR_TYPE; field in FsVerityDescriptorWithSign
63 …public FsVerityDescriptorWithSign(int type, int length, FsVerityDescriptor fsVerityDescriptor, byt… in FsVerityDescriptorWithSign() argument
64 this.type = type; in FsVerityDescriptorWithSign()
87 buffer.putInt(type); in toByteArray()
/developtools/ace_js2bundle/ace-loader/src/
Dcard-loader.js43 … getRequireString(this, jsonLoaders('style', customLang[styleInfo.type]), styleInfo.styleFileName)
94 getRequireString(this, jsonLoaders('style', customLang[compStyleInfo.type]),
107 let type = 'css'
110 type = 'css'
115 type = 'less'
120 type = 'sass'
125 type = 'sass'
132 return {extStyle: extStyle, styleFileName: styleFileName, type: type}
/developtools/packing_tool/adapter/ohos/
DHQFInfo.java36 private String type = ""; field in HQFInfo
91 return type; in getType()
94 public void setType(String type) { in setType() argument
95 this.type = type; in setType()
DResourcesParser.java77 private final String type; field in ResourcesParser.ResType
79 private ResType(int index, String type) { in ResType() argument
81 this.type = type; in ResType()
87 return resType.type; in getType()
97 return type; in getType()
113 private final String type; field in ResourcesParser.DeviceType
114 private DeviceType(int index, String type) { in DeviceType() argument
116 this.type = type; in DeviceType()
122 return deviceType.type; in getType()
132 return type; in getType()
[all …]
/developtools/profiler/hiebpf/src/
Dhiebpf.bpf.c52 __uint(type, BPF_MAP_TYPE_ARRAY);
62 __uint(type, BPF_MAP_TYPE_ARRAY);
76 __uint(type, BPF_MAP_TYPE_HASH);
84 __uint(type, BPF_MAP_TYPE_ARRAY);
92 __uint(type, BPF_MAP_TYPE_RINGBUF);
134 if (cmplt_event->start_event.type == 0) { in emit_fstrace_event()
166 int handle_pftrace_start_event(struct vm_fault *vmf, u32 type) in handle_pftrace_start_event() argument
172 pf_se->type = type; in handle_pftrace_start_event()
190 int read_modify_update_page_fault_stats(u32 type, u32 duration) in read_modify_update_page_fault_stats() argument
192 const struct pf_stat_t *stat_ptr = bpf_map_lookup_elem(&pftrace_stats_map, &type); in read_modify_update_page_fault_stats()
[all …]
/developtools/profiler/host/smartperf/client/client_command/
DTemperature.cpp44 std::string type; in ItemData() local
46 SPUtils::LoadFile(dirType, type); in ItemData()
49 if (type.find(node) != std::string::npos) { in ItemData()
50 LOGI("type====: %s", type.c_str()); in ItemData()
53 result[type] = std::to_string(t / 1e3); in ItemData()

12345678910>>...15