Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 231) sorted by relevance

12345678910

/developtools/profiler/device/plugins/memory_plugin/test/utresources/proc/
Dmem_profile.txt14 (empty)
17 (empty)
26 (empty)
29 (empty)
75 (empty)
78 (empty)
81 (empty)
84 (empty)
87 (empty)
90 (empty)
[all …]
/developtools/hiperf/src/
Dsubcommand.cpp41 if (!args.empty()) { in OnSubCommandOptions()
55 if (!args.empty()) { in OnSubCommandOptions()
72 if (appPackage.empty()) { in CheckRestartOption()
76 if (targetSystemWide || !selectPids.empty()) { in CheckRestartOption()
81 if (!appPackage.empty()) { in CheckRestartOption()
90 if (!excludeTids.empty() && !excludeThreadNames.empty()) { in HandleSubCommandExclude()
94 if (excludeTids.empty() && excludeThreadNames.empty()) { in HandleSubCommandExclude()
97 if (selectTids.empty()) { in HandleSubCommandExclude()
101 if (!excludeTids.empty()) { in HandleSubCommandExclude()
152 if (cmdName.empty()) { in RegisterSubCommand()
Dsubcommand_stat.cpp137 if (!args.empty()) { in ParseSpecialOption()
159 if (!(it->second->summaries.empty())) { in Report()
608 if (pids.empty()) { in CheckOptionPid()
662 if (!subTids.empty()) { in OnSubCommand()
696 if (selectEvents_.empty() && selectGroups_.empty()) { in PrepairEvents()
718 if (!selectCpus_.empty()) { in CheckSelectCpuPidOption()
736 if (!selectPids_.empty()) { in CheckSelectCpuPidOption()
744 if (!selectTids_.empty()) { in CheckSelectCpuPidOption()
758 if (!pids.empty() || !selectTids_.empty()) { in CheckOptions()
762 if (!appPackage_.empty()) { in CheckOptions()
[all …]
Dsubcommand_dump.cpp43 if (!dumpFileName_.empty()) { in CheckInputFile()
44 if (elfFileName_.empty() && protobufDumpFileName_.empty()) { in CheckInputFile()
47 } else if (!elfFileName_.empty()) { in CheckInputFile()
48 if (protobufDumpFileName_.empty()) { in CheckInputFile()
51 } else if (!protobufDumpFileName_.empty()) { in CheckInputFile()
104 if (!args.empty()) { in ParseOption()
114 if (outputFilename_.empty()) { in PrepareDumpOutput()
141 if (!elfFileName_.empty()) { in OnSubCommand()
146 if (!protobufDumpFileName_.empty()) { in OnSubCommand()
168 if (!dumpSymbolsPaths_.empty()) { in OnSubCommand()
[all …]
Dutilities.cpp112 if (sub.empty()) { in SubStringCount()
127 if (!split.empty()) { in StringSplit()
132 if (!token.empty()) { in StringSplit()
139 if (!source.empty()) { in StringSplit()
146 if (!tempFile.empty()) { in StdoutRecord()
225 if (str.empty()) { in IsDigits()
234 if (str.empty()) { in IsHexDigits()
242 if (effectStr.empty()) { in IsHexDigits()
269 HLOG_ASSERT(!fileName.empty()); in IsPath()
355 if (s.empty()) { in ReadIntFromProcFile()
[all …]
Dsubcommand_record.cpp261 if (!callStackType_.empty()) { in GetOptions()
262 if (!callStackType.empty()) { in GetOptions()
301 if (!args.empty()) { in GetOptions()
338 if (!strLimit_.empty()) { in CheckDataLimitOption()
349 if (!selectCpus_.empty()) { in CheckSelectCpuPidOption()
359 if (!selectPids_.empty()) { in CheckSelectCpuPidOption()
367 if (!selectTids_.empty()) { in CheckSelectCpuPidOption()
407 if (!clockId_.empty() && GetClockId(clockId_) == -1) { in CheckArgsRange()
452 if (!args.empty()) { in ParseOption()
456 if (controlCmd_.empty()) { in ParseOption()
[all …]
/developtools/profiler/hiebpf/src/
Dutilities.cpp42 if (!split.empty()) { in StringSplit()
47 if (!token.empty()) { in StringSplit()
54 if (!source.empty()) { in StringSplit()
62 if (string.empty()) { in StringEndsWith()
64 if (with.empty()) { in StringEndsWith()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/
DSignerFactory.java77 return Optional.empty(); in loadRemoteSigner()
90 return Optional.empty(); in loadRemoteSigner()
94 return Optional.empty(); in loadRemoteSigner()
101 return Optional.empty(); in loadRemoteSigner()
108 return Optional.empty(); in loadRemoteSigner()
121 return Optional.empty(); in loadRemoteSigner()
127 return Optional.empty(); in fileToUrl()
134 return Optional.empty(); in fileToUrl()
/developtools/global_resource_tool/src/
Dselect_compile_parse.cpp34 if (limitArray.empty()) { in ParseTargetConfig()
50 if (limitValues.empty()) { in ParseTargetConfig()
65 if (keyParams.empty()) { in IsSelectCompile()
97 if (!mccmncArray_.empty()) { in InitMccmnc()
112 if (limit.empty()) { in IsSelectableMccmnc()
127 if (!localeArray_.empty()) { in InitLocale()
146 if (limit.empty()) { in IsSelectableLocale()
168 if (limit.empty()) { in IsSelectableOther()
Dcmd_parser.cpp122 if (inputPath.empty()) { in AddInput()
143 if (sysIdDefinedPath.empty()) { in AddSysIdDefined()
164 if (!packageName_.empty()) { in AddPackageName()
175 if (!output_.empty()) { in AddOutput()
181 if (output_.empty()) { in AddOutput()
216 if (!moduleNames_.empty()) { in AddMoudleNames()
234 if (!configPath_.empty()) { in AddConfig()
265 if (inputs_.empty() && append_.empty()) { in CheckParam()
270 if (output_.empty()) { in CheckParam()
275 if (isTtargetConfig_ && !append_.empty()) { in CheckParam()
[all …]
/developtools/smartperf_host/trace_streamer/src/
Dmain.cpp99 … argv, argv, dumpReadableTextPluginName.empty() ? "null" : dumpReadableTextPluginName.data()); in ShowHelpInfo()
215 printf("the enable ability list:%s\n", enableInfo.empty() ? "\n\tnull" : enableInfo.c_str()); in PrintAbilityInfo()
216 printf("the disable ability list:%s\n", disableInfo.empty() ? "\n\tnull" : disableInfo.c_str()); in PrintAbilityInfo()
263 if (traceFilePath.empty()) { in SetFileSize()
307 if (!sqliteFilePath.empty()) { in ExportDatabase()
335 if (!sqliteFilePath.empty()) { in LongTraceExportDatabase()
368 if (((traceExportOption.traceFilePath.empty() && traceExportOption.longTraceDir.empty()) || in CheckFinal()
369 (!traceExportOption.interactiveState && traceExportOption.sqliteFilePath.empty())) && in CheckFinal()
370 !traceExportOption.separateFile && traceExportOption.metricsIndex.empty() && in CheckFinal()
371 traceExportOption.sqlOperatorFilePath.empty() && traceExportOption.outputFilePath.empty() && in CheckFinal()
[all …]
/developtools/profiler/device/plugins/bytrace_plugin/src/
Dbytrace_module.cpp53 if (!config.clock().empty()) { in ParseConfig()
56 if (!config.outfile_name().empty()) { in ParseConfig()
59 if (!config.categories().empty()) { in ParseConfig()
92 if (!g_bytraceInfo->clockType.empty()) { in BeginTrace()
120 if (g_bytraceInfo->outFile.empty()) { in StopTrace()
/developtools/profiler/device/cmds/src/
Dcommand_line.cpp44 if (!filter1.empty()) { in AddParamText()
47 if (!filter2.empty()) { in AddParamText()
61 if (!filter1.empty()) { in AddParamSwitch()
64 if (!filter2.empty()) { in AddParamSwitch()
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp50 if (sub.empty()) { in SubStringCount()
66 if (!split.empty()) { in StringSplit()
70 if (!token.empty()) { in StringSplit()
77 if (!source.empty()) { in StringSplit()
101 if (!tempFile.empty()) { in StdoutRecord()
177 if (str.empty()) { in IsDigits()
186 if (str.empty()) { in IsHexDigits()
194 if (effectStr.empty()) { in IsHexDigits()
221 HLOG_ASSERT(!fileName.empty()); in IsPath()
304 if (s.empty()) { in ReadIntFromProcFile()
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DEndOfCentralDirectory.java116 return Optional.empty(); in getEOCDByBytes()
121 return Optional.empty(); in getEOCDByBytes()
131 return Optional.empty(); in getEOCDByBytes()
140 return Optional.empty(); in getEOCDByBytes()
/developtools/profiler/device/plugins/hiperf_plugin/src/
Dhiperf_module.cpp68 if (!config.outfile_name().empty()) { in ParseConfigToCmd()
74 if (!config.record_args().empty()) { in ParseConfigToCmd()
122 if (!g_config.split_outfile_name().empty()) { in HiperfPluginSessionStart()
146 if (!g_config.split_outfile_name().empty()) { in HiperfPluginSessionStop()
160 if (!g_config.split_outfile_name().empty()) { // write split file. in HiperfPluginSessionStop()
/developtools/profiler/host/smartperf/client/client_command/
DPower.cpp30 if (result.find("currentNow") != result.end() && result["currentNow"].empty()) { in ItemData()
33 if (result.find("voltageNow") != result.end() && result["voltageNow"].empty()) { in ItemData()
DGpuCounter.cpp60 if (!content.empty()) { in ItemData()
79 if (result.empty() || result.find(constProductInfo) == std::string::npos) { in Init()
90 if (packageName.empty()) { in Init()
173 if (!pidList.empty()) { // GPU process did not exit in Check()
250 if (value.empty()) { in GetCounterDuration()
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dsymbols_file_test.cpp112 EXPECT_EQ(symbols.empty(), false); in CheckSymbols()
290 EXPECT_EQ(symbols.empty(), true);
292 EXPECT_EQ(symbols.empty(), false);
402 if (!symbols->GetSymbols().empty()) {
409 ASSERT_EQ(symbols->GetSymbols().empty(), true);
424 ASSERT_EQ(elfSymbols->GetSymbols().empty(), false);
481 ASSERT_EQ(elfSymbols->GetSymbols().empty(), false);
552 ASSERT_EQ(elfSymbols->GetSymbols().empty(), false);
680 EXPECT_EQ(symbols->FindSymbolFile(symbolsFileSearchPaths, symboleFilePath).empty(), true);
683 EXPECT_EQ(symbols->FindSymbolFile(symbolsFileSearchPaths, symboleFilePath).empty(), false);
[all …]
/developtools/hiperf/test/unittest/common/native/
Dsymbols_file_test.cpp81 EXPECT_EQ(symbols.empty(), false); in CheckSymbols()
261 EXPECT_EQ(symbols.empty(), false);
355 if (!symbols->GetSymbols().empty()) {
362 ASSERT_EQ(symbols->GetSymbols().empty(), true);
377 ASSERT_EQ(elfSymbols->GetSymbols().empty(), false);
433 ASSERT_EQ(elfSymbols->GetSymbols().empty(), false);
606 EXPECT_EQ(symbols->FindSymbolFile(symbolsFileSearchPaths, symboleFilePath).empty(), true);
609 EXPECT_EQ(symbols->FindSymbolFile(symbolsFileSearchPaths, symboleFilePath).empty(), false);
612 EXPECT_EQ(symbols->FindSymbolFile(symbolsFileSearchPaths, symboleFilePath).empty(), true);
615 EXPECT_EQ(symbols->FindSymbolFile(symbolsFileSearchPaths, symboleFilePath).empty(), false);
[all …]
/developtools/profiler/device/plugins/xpower_plugin/src/
Dpower_message_queue.cpp51 if (emptyCon_.wait_for(lock, realTime, [&] { return !dataQueue_.empty(); })) { in WaitAndPop()
70 if (emptyCon_.wait_for(lock, realTime, [&] { return !dataQueue_.empty(); })) { in WaitAndPopBatch()
108 bool isEmpty = dataQueue_.empty(); in Empty()
/developtools/packing_tool/adapter/ohos/
DBinaryTool.java176 return Optional.empty(); in getValueFromJsonFileContent()
181 return Optional.empty(); in getValueFromJsonFileContent()
186 return Optional.empty(); in getValueFromJsonFileContent()
190 return Optional.empty(); in getValueFromJsonFileContent()
/developtools/profiler/device/base/test/unittest/
Dcommon_test.cpp143 EXPECT_TRUE(readContent.empty());
151 EXPECT_TRUE(readContent.empty());
159 EXPECT_TRUE(readContent.empty());
195 EXPECT_FALSE(timeStr.empty());
/developtools/profiler/device/plugins/hiebpf_plugin/src/
Dhiebpf_module.cpp66 if (!g_config.split_outfile_name().empty()) { in HiebpfSessionStart()
93 if (!g_config.split_outfile_name().empty()) { in HiebpfSessionStop()
101 if (!g_config.split_outfile_name().empty()) { // write split file. in HiebpfSessionStop()
/developtools/smartperf_host/trace_streamer/src/parser/ptreader_parser/bytrace_parser/
Dbytrace_event_parser.cpp36 if (delimiter.empty()) { in GetFunctionName()
180 if (args.empty() || args.size() < MIN_SCHED_SWITCH_ARGS_COUNT) { in SchedSwitchEvent()
213 if (!prevCommStr.empty()) { in SchedSwitchEvent()
226 if (args.empty() || args.size() < MIN_BLOCKED_REASON_ARGS_COUNT) { in BlockedReason()
259 if (args.empty() || args.size() < MIN_TASK_RENAME_ARGS_COUNT) { in TaskRenameEvent()
315 if (args.empty() || args.size() < MIN_SCHED_WAKING_ARGS_COUNT) { in SchedWakingEvent()
345 if (args.empty() || args.size() < MIN_CPU_IDLE_ARGS_COUNT) { in CpuIdleEvent()
373 if (args.empty() || args.size() < MIN_CPU_FREQUENCY_ARGS_COUNT) { in CpuFrequencyEvent()
400 if (args.empty() || args.size() < MIN_CPU_FREQUENCY_ARGS_COUNT) { in CpuFrequencyLimitsEvent()
472 if (args.empty() || args.size() < MIN_PROCESS_EXIT_ARGS_COUNT) { in ProcessExitEvent()
[all …]

12345678910