Home
last modified time | relevance | path

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

12345678910>>...15

/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/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/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()
179 #define HILOG_PRINT(type, level, fmt, ...) \ argument
180 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS_…
182 #define HILOG_PRINT(type, level, fmt, ...) \ argument
183 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str…
186 #define HILOG_DEBUG(type, fmt, ...) HILOG_PRINT(type, LOG_DEBUG, fmt, ##__VA_ARGS__) argument
187 #define HILOG_INFO(type, fmt, ...) HILOG_PRINT(type, LOG_INFO, fmt, ##__VA_ARGS__) argument
188 #define HILOG_WARN(type, fmt, ...) HILOG_PRINT(type, LOG_WARN, fmt, ##__VA_ARGS__) argument
189 #define HILOG_ERROR(type, fmt, ...) HILOG_PRINT(type, LOG_ERROR, fmt, ##__VA_ARGS__) argument
/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/profiler/device/plugins/ftrace_plugin/src/
Dftrace_parser.cpp100 bool FtraceParser::SetupEvent(const std::string& type, const std::string& name) in SetupEvent() argument
108 format.eventType = type; in SetupEvent()
110 std::string desc = FtraceFsOps::GetInstance().GetEventDataFormat(type, name); in SetupEvent()
111 …CHECK_TRUE(ParseEventFormat(desc.data(), format), false, "parse %s/%s/format failed!", type.c_str(… in SetupEvent()
112 …CHECK_TRUE(SubEventParser::GetInstance().SetupEvent(format), false, "setup %s/%s failed!", type.c_… in SetupEvent()
175 static std::string GetName(const std::map<int, std::string>& nameMap, int type) in GetName() argument
177 auto it = nameMap.find(type); in GetName()
184 static std::string GetFieldTypeName(EventFieldType type) in GetFieldTypeName() argument
198 return GetName(toNames, type); in GetFieldTypeName()
201 static std::string GetProtoTypeName(ProtoFieldType type) in GetProtoTypeName() argument
[all …]
/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/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/
Dfile_system_data_parser.cpp61 uint16_t type = INVALID_UINT16; in ParseFileSystemEvent() local
62 auto tmp = fucSubToSummaryType.find(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
66 type = fucSubToSummaryType.at(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
102 auto fd = GetFileDescriptor(fsFixedHeadrAddr, type); in ParseFileSystemEvent()
106 …tracerEventToStrIndexMap.Find(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->start… in ParseFileSystemEvent()
108 …tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->star… in ParseFileSystemEvent()
113 if ((type == READ || type == WRITE) && fsFixedHeadrAddr->ret >= 0) { in ParseFileSystemEvent()
118 …currentCallId_, type, ipid, itid, newStartTs, newEndTs, duration, returnValue, errorCode, size, fd, in ParseFileSystemEvent()
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Dfile_system_data_parser.cpp62 uint16_t type = INVALID_UINT16; in ParseFileSystemEvent() local
63 auto tmp = fucSubToSummaryType.find(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
67 type = fucSubToSummaryType.at(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
103 auto fd = GetFileDescriptor(fsFixedHeadrAddr, type); in ParseFileSystemEvent()
107 …tracerEventToStrIndexMap.Find(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->start… in ParseFileSystemEvent()
109 …tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->star… in ParseFileSystemEvent()
114 if ((type == READ || type == WRITE) && fsFixedHeadrAddr->ret >= 0) { in ParseFileSystemEvent()
119 …currentCallId_, type, ipid, itid, newStartTs, newEndTs, duration, returnValue, errorCode, size, fd, in ParseFileSystemEvent()
/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/smartperf_host/ide/src/doc/md/
Ddes_tables.md275 |type |INT |
290 - type:事件类型其取值为枚举类型(DATA_READ,DATA_WRITE,METADATA_READ,- METADATA_WRITE,PAGE_IN,PAGE_OUT)
340 |type |TEXT |
354 |type |TEXT |
368 |type |TEXT |
464 |type |INT |
483 - type:对应文件操作open,close,read,write
491 - file_id:当type为open,close时为其操作的文件路径,当type为read,write时为固定字段(null)
492 - size:在type为read,write时对应的文件的读或者写的大小
518 |type |INT |
[all …]
/developtools/profiler/host/smartperf/trace_streamer/doc/
Ddes_tables.md275 |type |INT |
290 - type:事件类型其取值为枚举类型(DATA_READ,DATA_WRITE,METADATA_READ,- METADATA_WRITE,PAGE_IN,PAGE_OUT)
340 |type |TEXT |
354 |type |TEXT |
368 |type |TEXT |
464 |type |INT |
483 - type:对应文件操作open,close,read,write
491 - file_id:当type为open,close时为其操作的文件路径,当type为read,write时为固定字段(null)
492 - size:在type为read,write时对应的文件的读或者写的大小
518 |type |INT |
[all …]
/developtools/profiler/host/smartperf/ide/src/doc/md/
Ddes_tables.md275 |type |INT |
290 - type:事件类型其取值为枚举类型(DATA_READ,DATA_WRITE,METADATA_READ,- METADATA_WRITE,PAGE_IN,PAGE_OUT)
340 |type |TEXT |
354 |type |TEXT |
368 |type |TEXT |
464 |type |INT |
483 - type:对应文件操作open,close,read,write
491 - file_id:当type为open,close时为其操作的文件路径,当type为read,write时为固定字段(null)
492 - size:在type为read,write时对应的文件的读或者写的大小
518 |type |INT |
[all …]
/developtools/profiler/host/smartperf/client/client_command/
DTemperature.cpp30 std::string type; in ItemData() local
32 SPUtils::LoadFile(dirType, type); in ItemData()
35 if (type.find(node) != std::string::npos) { in ItemData()
36 result[type] = temp; in ItemData()

12345678910>>...15