Home
last modified time | relevance | path

Searched refs:item (Results 1 - 25 of 117) sorted by relevance

12345

/developtools/profiler/hiebpf/src/
H A Dbpf_event_receiver.cpp92 HHLOGE(true, "failed to reserve space for fstrace event tlv item"); in ReceiveFSTraceEvent()
116 HHLOGE(true, "failed to reserve space for pftrace event tlv item"); in ReceivePFTraceEvent()
139 HHLOGE(true, "failed to reserve space for biotrace event tlv item"); in ReceiveBIOTraceEvent()
165 HHLOGE(true, "failed to reserve space for strtrace event tlv item"); in ReceiveSTRTraceEvent()
192 for (auto &item : mapsItems) { in WriteEventMaps()
193 size_t size = sizeof(FixedMapTLVItem) + item.fileName_.size() + 1; in WriteEventMaps()
196 HHLOGE(true, "failed to reserve space for strtrace event tlv item"); in WriteEventMaps()
202 mapItem->start = item.start_; in WriteEventMaps()
203 mapItem->end = item.end_; in WriteEventMaps()
204 mapItem->offset = item in WriteEventMaps()
291 struct FixedFSTraceTLVItem *item = static_cast<struct FixedFSTraceTLVItem *>(tlvItem); EncodeFSTraceEvent() local
327 struct FixedPFTraceTLVItem *item = static_cast<struct FixedPFTraceTLVItem *>(tlvItem); EncodePFTraceEvent() local
363 struct FixedBIOTraceTLVItem *item = static_cast<struct FixedBIOTraceTLVItem *>(tlvItem); EncodeBIOTraceEvent() local
397 struct FixedSTRTraceTLVItem *item = static_cast<struct FixedSTRTraceTLVItem *>(tlvItem); EncodeSTRTraceEvent() local
[all...]
/developtools/global_resource_tool/src/
H A Dfile_manager.cpp75 for (const auto &item : items_) { in CheckAllItems()
76 bool found = any_of(item.second.begin(), item.second.end(), [](const auto &iter) { in CheckAllItems()
80 auto firstItem = item.second.front(); in CheckAllItems()
114 for (auto &item : iter->second) { in ScaleIcons()
115 if (!ScaleIcon(output, item)) { in ScaleIcons()
123 bool FileManager::ScaleIcon(const string &output, ResourceItem &item) in ScaleIcon() argument
126 // item's data is short path for icon file, such as "entry/resources/base/media/app_icon.png" in ScaleIcon()
127 const string currentData(reinterpret_cast<const char *>(item.GetData()), item in ScaleIcon()
[all...]
H A Dresconfig_parser.cpp46 for (cJSON *item = root_->child; item; item = item->next) { in Init()
47 auto handler = fileListHandles_.find(item->string); in Init()
49 cout << "Warning: unsupport " << item->string << endl; in Init()
52 if (handler->second(item) != RESTOOL_SUCCESS) { in Init()
117 for (cJSON *item = node->child; item; item in GetArray()
[all...]
H A Dcompression_parser.cpp203 for (cJSON *item = filtersNode->child; item; item = item->next) { in ParseFilters()
204 if (!cJSON_IsObject(item)) { in ParseFilters()
208 cJSON *methodNode = cJSON_GetObjectItem(item, "method"); in ParseFilters()
219 cJSON *pathNode = cJSON_GetObjectItem(item, "path"); in ParseFilters()
221 cJSON *excludePathNode = cJSON_GetObjectItem(item, "exclude_path"); in ParseFilters()
223 cJSON *rulesNode = cJSON_GetObjectItem(item, "rules_origin"); in ParseFilters()
225 cJSON *excludeRulesNode = cJSON_GetObjectItem(item, "rules_exclud in ParseFilters()
[all...]
H A Dtranslatable_parser.cpp51 for (cJSON *item = arrayNode->child; item; item = item->next) { in ParseTranslatable()
53 if (!item || !cJSON_IsObject(item)) { in ParseTranslatable()
54 cerr << "Error: '" << name << "' value the seq=" << index << " item must be object."; in ParseTranslatable()
59 if (!ParseTranslatable(item, fileInfo.filePath)) { in ParseTranslatable()
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dpt_json.cpp348 cJSON *item = cJSON_GetObjectItem(object_, key); in GetBool() local
349 if (item == nullptr) { in GetBool()
352 if (cJSON_IsBool(item) == 0) { in GetBool()
356 *value = cJSON_IsTrue(item) != 0; in GetBool()
362 cJSON *item = cJSON_GetObjectItem(object_, key); in SetBool() local
363 if (item == nullptr) { in SetBool()
382 cJSON *item = cJSON_GetObjectItem(object_, key); in SetInt() local
383 if (item == nullptr) { in SetInt()
402 cJSON *item = cJSON_GetObjectItem(object_, key); in SetInt64() local
403 if (item in SetInt64()
422 cJSON *item = cJSON_GetObjectItem(object_, key); SetUInt() local
442 cJSON *item = cJSON_GetObjectItem(object_, key); SetUInt64() local
452 cJSON *item = cJSON_GetObjectItem(object_, key); GetDouble() local
466 cJSON *item = cJSON_GetObjectItem(object_, key); SetDouble() local
476 cJSON *item = cJSON_GetObjectItem(object_, key); GetString() local
490 cJSON *item = cJSON_GetObjectItem(object_, key); SetString() local
503 cJSON *item = cJSON_GetObjectItem(object_, key); GetObject() local
517 cJSON *item = cJSON_GetObjectItem(object_, key); GetArray() local
531 cJSON *item = cJSON_GetObjectItem(object_, key); GetAny() local
[all...]
/developtools/smartperf_host/trace_streamer/src/metrics/
H A Dmetrics.cpp237 for (auto item : memStrategy_) { in UpdataRepeateValueByTraceMem()
238 repeateValue += PROCESS_METRICES + PROCESS_NAME + "\"" + item.processName + "\"," + OVERALL_COUNTERS + in UpdataRepeateValueByTraceMem()
239 ANON_RSS + MIN + std::to_string(item.overallCounters.min) + "," + MAX + in UpdataRepeateValueByTraceMem()
240 std::to_string(item.overallCounters.max) + "," + AVG + in UpdataRepeateValueByTraceMem()
241 std::to_string(item.overallCounters.avg) + "}}},"; in UpdataRepeateValueByTraceMem()
247 for (auto item : memStrategy_) { in UpdataRepeateValueByTopTen()
248 repeateValue += PROCESS_METRICES + PROCESS_NAME + "\"" + item.processName + "\"," + OVERALL_COUNTERS + in UpdataRepeateValueByTopTen()
249 ANON_RSS + MIN + std::to_string(item.overallCounters.min) + "," + MAX + in UpdataRepeateValueByTopTen()
250 std::to_string(item.overallCounters.max) + "," + AVG + in UpdataRepeateValueByTopTen()
251 std::to_string(item in UpdataRepeateValueByTopTen()
[all...]
/developtools/integration_verification/tools/startup_guard/startup_checker/
H A Dcmds_rule.py70 for key, item in white_lists.items():
72 self._cmds = item
74 self._start_modes = item
76 self._start_cmd_list = item
90 for key, item in parser._services.items():
91 if item.get("start_mode") == "boot":
94 elif item.get("on_demand") is not True and item.get("start_mode") == "condition":
115 for key, item in parser._files.items():
116 if item["fileI
[all...]
H A Dplug_in_rule.py40 for key, item in white_lists[0].items():
42 self._base_so = item
44 self._private_so = item
65 for key, item in paser.items():
67 if needed in item["deps"] or needed in self._base_so:
/developtools/profiler/device/plugins/native_daemon/src/
H A Dhook_manager.cpp55 for (const auto& item : hookCtx_) { in ~HookManager()
56 if (item->eventPoller != nullptr) { in ~HookManager()
57 item->eventPoller = nullptr; in ~HookManager()
59 if (item->shareMemoryBlock != nullptr) { in ~HookManager()
60 item->shareMemoryBlock = nullptr; in ~HookManager()
62 if (item->stackPreprocess != nullptr) { in ~HookManager()
63 item->stackPreprocess = nullptr; in ~HookManager()
65 if (item->stackData != nullptr) { in ~HookManager()
66 item->stackData = nullptr; in ~HookManager()
138 for (const auto& item in CheckProcessName()
[all...]
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/module_info/
H A Dcompile_info_loader.py32 for item in info:
33 elf = load_mgr.get_elf_by_path(item["name"])
37 if k in item:
38 elf[k] = item[k]
112 for item in modules:
114 info["name"] = item["dest"][0]
116 if len(item["dest"]) > 1:
117 info["name"] = item["dest"][1]
121 if "label" in item:
122 info["labelPath"] = item["labe
[all...]
/developtools/smartperf_host/trace_streamer/src/filter/hi_sysevent_filter/
H A Dhi_sysevent_measure_filter.cpp101 for (auto item = jMessage.begin(); item != jMessage.end(); item++) { in FillJsMessage()
102 if (item.key() == "domain_") { in FillJsMessage()
103 std::string domainName = item.value(); in FillJsMessage()
105 } else if (item.key() == "name_") { in FillJsMessage()
106 std::string eventName = item.value(); in FillJsMessage()
108 } else if (item.key() == "type_") { in FillJsMessage()
109 jsMessage.type = item.value(); in FillJsMessage()
110 } else if (item in FillJsMessage()
[all...]
/developtools/ace_js2bundle/ace-loader/src/
H A Dcard-loader.js50 frag.element.forEach(item => {
52 if (!item.src) {
55 line: item.node.__location.line,
56 column: item.node.__location.col
60 if (!item.src.match(/\.hml$/)) {
61 item.src = item.src.concat('.hml')
63 const compResourcepath = path.join(resourcePath, '..', item.src)
67 line: item.node.__location.line,
68 column: item
[all...]
H A DcardJson-plugin.js174 propsValue.forEach(item => {
175 if (typeof(item) !== 'string') {
177 '\n' + `The props value type should be 'string', not '${typeof(item)}' in props array in custom elements.` + 'warnEnd'});
179 propsObject[item] = { 'default': '' };
183 Object.keys(propsValue).forEach(item => {
184 if (Object.prototype.toString.call(propsValue[item]) !== '[object Object]') {
188 if (!propsValue[item].hasOwnProperty('default')) {
189 propsValue[item] = { 'default': '' }
201 Object.keys(actionsValue).forEach(item => {
202 if (actionsValue[item]
[all...]
/developtools/profiler/device/plugins/ffrt_profiler/service/src/
H A Dffrt_profiler_manager.cpp154 for (auto& item : ffrtCtx_) { in StartFfrtProfiler()
155 CHECK_TRUE(HandleFfrtProfilerContext(item), false, "HandleFfrtProfilerContext failed"); in StartFfrtProfiler()
184 for (const auto& item : ffrtCtx_) { in StopFfrtProfiler()
185 if (item->eventPoller != nullptr) { in StopFfrtProfiler()
187 if (item->eventNotifier != nullptr) { in StopFfrtProfiler()
188 item->eventPoller->RemoveFileDescriptor(item->eventNotifier->GetFd()); in StopFfrtProfiler()
190 item->eventPoller->Stop(); in StopFfrtProfiler()
191 item->eventPoller->Finalize(); in StopFfrtProfiler()
192 item in StopFfrtProfiler()
[all...]
/developtools/profiler/device/plugins/network_profiler/service/src/
H A Dnetwork_profiler_manager.cpp163 for (auto& item : networkCtx_) { in StartNetworkProfiler()
164 CHECK_TRUE(HandleNetworkProfilerContext(item), false, "HandleNetworkProfilerContext failed"); in StartNetworkProfiler()
193 for (const auto& item : networkCtx_) { in StopNetworkProfiler()
194 if (item->eventPoller != nullptr) { in StopNetworkProfiler()
196 if (item->eventNotifier != nullptr) { in StopNetworkProfiler()
197 item->eventPoller->RemoveFileDescriptor(item->eventNotifier->GetFd()); in StopNetworkProfiler()
199 item->eventPoller->Stop(); in StopNetworkProfiler()
200 item->eventPoller->Finalize(); in StopNetworkProfiler()
201 item in StopNetworkProfiler()
[all...]
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/
H A Dconfig_parser.py182 for item in json_node.get("file"):
183 self._config_parser.add_service_file(item, self)
187 for item in json_node.get("socket"):
188 self._config_parser.add_service_socket(item, self)
359 def add_job(self, item, service, file_id):
360 if self._jobs.get(item.get("name")):
361 self._jobs.get(item.get("name")).update(item, service, file_id)
364 parser.create(item, service, file_id)
367 def add_cmd(self, item, jo
[all...]
/developtools/packing_tool/adapter/ohos/
H A DResourcesParser.java301 * Read base config item.
306 * @return the base item
321 DataItem item = readItem(buf); in readBaseItem()
322 return item.value; in readBaseItem()
377 * Read all config item.
382 * @return the item list
399 DataItem item = readItem(buf); in readAllItem()
400 result.add(item.value); in readAllItem()
409 * Read the config item.
412 * @return the item inf
511 parseDataItems(DataItem item, String configClass) parseDataItems() argument
[all...]
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
H A Dgn_common_tool.py174 for item in splited:
175 m = re.findall(patern, item)
177 if len(m) == 0 and "$" in item:
178 item = item.strip('"')
179 result.append(item[item.index("$"):])
207 for item in result.lstrip('[').rstrip(']').split('\n'):
208 item = item
[all...]
/developtools/ace_ets2bundle/compiler/
H A Dmain.js192 aceBuildJson.routerMap.forEach((item) => {
193 if (item.pageSourceFile && item.name && item.buildFunction) {
194 const filePath = path.resolve(item.pageSourceFile);
197 storedFileInfo.routerInfo.get(filePath).push({name: item.name, buildFunction: item.buildFunction});
199 storedFileInfo.routerInfo.set(filePath, [{name: item.name, buildFunction: item.buildFunction}]);
320 metadata.some(item
[all...]
H A Dbuild_kitConfigs_file.js34 kitFiles.forEach((item) => {
35 let content = fs.readFileSync(item, 'utf8');
36 const outputPath = path.resolve(output, path.basename(item).replace('.d.ts', '.json'));
38 const kitSourceFile = ts.createSourceFile(item, content, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);
/developtools/ace_ets2bundle/
H A DgenerateSysResource.py31 for item in self.json_records:
32 if ("flags" in item) and item["flags"].find("private") > -1:
35 item_type = item["type"]
44 item_name = item["name"]
45 item_id = item["order"] + 0x7800000
/developtools/smartperf_host/trace_streamer/src/filter/
H A Dapp_start_filter.cpp40 for (const auto &item : mAPPStartupData) { in CaclRsDataByPid()
41 if (item.second.empty()) { in CaclRsDataByPid()
44 auto itorSecond = item.second.begin(); in CaclRsDataByPid()
57 mAPPStartupData[item.first].emplace(FIRST_FRAME_APP_PHASE, in CaclRsDataByPid()
68 mAPPStartupData[item.first].emplace(FIRST_FRAME_RENDER_PHASE, in CaclRsDataByPid()
82 for (const auto &item : mAPPStartupData) { in UpdatePidByNameIndex()
85 if (item.second.count(UI_ABILITY_LAUNCHING)) { in UpdatePidByNameIndex()
86 ipid = item.second.at(UI_ABILITY_LAUNCHING)->ipid_; in UpdatePidByNameIndex()
87 tid = item.second.at(UI_ABILITY_LAUNCHING)->tid_; in UpdatePidByNameIndex()
90 if (item in UpdatePidByNameIndex()
107 auto item = itorSecond; AppendAssociatedData() local
[all...]
/developtools/hiperf/test/unittest/common/native/
H A Dvirtual_thread_test.cpp93 DfxMap &item = phdrMaps.emplace_back(); in MakeMapsFromDlpi() local
94 item.begin = (info->dlpi_addr + info->dlpi_phdr[i].p_vaddr); in MakeMapsFromDlpi()
95 item.end = RoundUp(item.begin + info->dlpi_phdr[i].p_memsz, info->dlpi_phdr[i].p_align); in MakeMapsFromDlpi()
96 item.offset = info->dlpi_phdr[i].p_offset; in MakeMapsFromDlpi()
97 item.name = dlpiName; in MakeMapsFromDlpi()
99 for (auto& item : phdrMaps) { in MakeMapsFromDlpi()
100 HLOGV("%s", item.ToString().c_str()); in MakeMapsFromDlpi()
127 for (auto item : thread->GetMaps()) { in PhdrCallBack()
128 if (item in PhdrCallBack()
[all...]
/developtools/hiperf/src/
H A Dreport.cpp49 ReportItem &item = configs_[configIndex].reportItems_.emplace_back( in AddReportItem() local
52 HLOGD("ReportItem: %s", item.ToDebugString().c_str()); in AddReportItem()
53 HLOG_ASSERT(!item.func_.empty()); in AddReportItem()
55 std::vector<ReportItemCallFrame> *currentCallFrames = &item.callStacks_; in AddReportItem()
68 HLOGV("callstack %zu", item.callStacks_.size()); in AddReportItem()
69 if (item.callStacks_.size() > 0) { in AddReportItem()
70 HLOGV("callstack 2nd level %zu", item.callStacks_[0].childs.size()); in AddReportItem()
81 ReportItem &item = configs_[configIndex].reportItems_.emplace_back( in AddReportItem() local
84 HLOGV("%s", item.ToDebugString().c_str()); in AddReportItem()
85 HLOG_ASSERT(!item in AddReportItem()
105 ReportItem &item = configs_[configIndex].reportItems_.emplace_back( AddReportItemBranch() local
[all...]

Completed in 12 milliseconds

12345