Home
last modified time | relevance | path

Searched refs:empty (Results 1 - 25 of 291) sorted by relevance

12345678910>>...12

/developtools/hiperf/src/
H A 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()
[all...]
H A Dsubcommand_stat.cpp144 if (!args.empty()) { in ParseSpecialOption()
166 if (!(it->second->summaries.empty())) { in Report()
607 if (pids.empty()) { in CheckOptionPid()
659 if (!subTids.empty()) { in OnSubCommand()
662 HLOGD("[OnSubCommand] subTids empty for %d\n", selectPid); in OnSubCommand()
693 if (selectEvents_.empty() && selectGroups_.empty()) { in PrepairEvents()
715 if (!selectCpus_.empty()) { in CheckSelectCpuPidOption()
733 if (!selectPids_.empty()) { in CheckSelectCpuPidOption()
741 if (!selectTids_.empty()) { in CheckSelectCpuPidOption()
[all...]
H A Dutilities.cpp116 if (sub.empty()) { in SubStringCount()
131 if (!split.empty()) { in StringSplit()
136 if (!token.empty()) { in StringSplit()
143 if (!source.empty()) { in StringSplit()
150 if (!tempFile.empty()) { in StdoutRecord()
226 if (str.empty()) { in IsDigits()
235 if (str.empty()) { in IsHexDigits()
243 CHECK_TRUE(effectStr.empty(), false, 0, ""); in IsHexDigits()
268 HLOG_ASSERT(!fileName.empty()); in IsPath()
355 CHECK_TRUE(s.empty(), fals in ReadIntFromProcFile()
[all...]
/developtools/profiler/hiebpf/src/
H A 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()
63 // empty string only end with empty string in StringEndsWith()
64 if (with.empty()) { in StringEndsWith()
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dhsp_packager.cpp82 if (it == parameterMap_.end() || it->second.empty()) { in IsVerifyValidInHspCommonMode()
83 LOGE("HspPackager::isArgsValidInHspMode json-path is empty."); in IsVerifyValidInHspCommonMode()
99 if (it != parameterMap_.end() && !it->second.empty() && in IsVerifyValidInHspCommonMode()
115 if (it != parameterMap_.end() && !it ->second.empty()) { in IsVerifyValidInHspCommonMode()
132 if (!filePath.empty() && !fs::exists(filePath)) { in IsVerifyValidInHspMode()
157 if (it != parameterMap_.end() && !it->second.empty() && !CompatibleProcess(it->second, in Compatible()
201 return (!path.empty() && !IsPathValid(path, false)); in IsHspPathValid()
254 if (!jsonString.empty()) { in CompressHspMode()
277 if (it != parameterMap_.end() && !it->second.empty() && JsonUtils::IsModuleJson(jsonPath)) { in CompressHspMode()
303 if (it != parameterMap_.end() && !it->second.empty()) { in CompressHspModePartSecond()
[all...]
H A Dapp_packager.cpp79 if (!tmpHapPathList.empty()) { in CheckBundleTypeConsistency()
133 if (!hapPath.empty()) { in IsSharedApp()
136 if (hspPath.empty()) { in IsSharedApp()
150 if (modulePathList.empty()) { in VerifyIsAppService()
151 LOGE("Module path list is empty"); in VerifyIsAppService()
169 if (!hapPath.empty()) { in IsAppService()
177 if (hspPath.empty()) { in IsAppService()
193 if (hapPath.empty() && !isSharedApp && !isAppService) { in CheckInputModulePath()
194 LOGW("CheckInputModulePath hap-path is empty."); in CheckInputModulePath()
197 if (hspPath.empty() in CheckInputModulePath()
[all...]
H A Dhap_packager.cpp50 if (it != parameterMap_.end() && !it->second.empty() && jsonPath.empty()) { in PreProcess()
110 if (it == parameterMap_.end() || it->second.empty()) { in IsVerifyValidInHapCommonMode()
111 LOGE("HapPackager::commandPathVerify json-path is empty."); in IsVerifyValidInHapCommonMode()
159 if (it != parameterMap_.end() && !it->second.empty() && !CompatibleProcess(it->second, in Compatible()
193 if (!filePath.empty() && !fs::exists(filePath)) { in IsVerifyValidInHapMode()
293 return (!path.empty() && !IsPathValid(path, false)); in IsHapPathValid()
299 if (jsonPath_.empty() && it != parameterMap_.end() && !it->second.empty()) { in CompressHap()
370 if (!jsonString.empty()) { in CompressHapModeForModule()
[all...]
H A Dhqf_verify.cpp25 if (hqfInfos.empty()) { in CheckHQFIsValid()
26 LOGE("Error: input hqf file is empty!"); in CheckHQFIsValid()
49 if (bundleName.empty() || bundleName != info.GetBundleName()) { in CheckAppFields()
57 if (versionName.empty() || versionName != info.GetVersionName()) { in CheckAppFields()
65 if (patchVersionName.empty() || patchVersionName != info.GetPatchVersionName()) { in CheckAppFields()
H A Dfast_app_packager.cpp101 if (it != parameterMap_.end() && !it->second.empty()) { in IsVerifyValidInFastAppMode()
127 if (itHap != parameterMap_.end() && !itHap->second.empty() && in FormatPath()
134 if (itHsp != parameterMap_.end() && !itHsp->second.empty() && (!IsFormatPathValid(itHsp->second, in FormatPath()
140 if ((itHap == parameterMap_.end() || itHap->second.empty()) && in FormatPath()
141 (itHsp == parameterMap_.end() || itHsp->second.empty())) { in FormatPath()
142 LOGE("FastAppPackager::isVerifyValidInFastAppMode hap-path and hsp-path is empty."); in FormatPath()
151 if (it == parameterMap_.end() || it->second.empty()) { in IsVerifyValid()
152 LOGE("FastAppPackager::isArgsValidInAppMode pack-info-path is empty."); in IsVerifyValid()
163 if (it != parameterMap_.end() && !it->second.empty() && !IsPathValid(it->second, true)) { in IsVerifyValid()
169 if (it != parameterMap_.end() && !it->second.empty() in IsVerifyValid()
[all...]
H A Dmultiapp_packager.cpp83 if (outPath.empty()) { in GetAndCheckOutPath()
84 LOGE("input out-path are empty."); in GetAndCheckOutPath()
113 if (hapListStr.empty() && hspListStr.empty() && appListStr.empty()) { in GetAndCheckHapAndHspAndAppListStr()
114 LOGE("input hap-list, hsp-list and app-list are all empty."); in GetAndCheckHapAndHspAndAppListStr()
117 if (!hapListStr.empty()) { in GetAndCheckHapAndHspAndAppListStr()
123 if (!hspListStr.empty()) { in GetAndCheckHapAndHspAndAppListStr()
129 if (!appListStr.empty()) { in GetAndCheckHapAndHspAndAppListStr()
155 if (it != parameterMap_.end() && !it->second.empty()) { in IsVerifyValidInMultiAppMode()
[all...]
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Ddistro_filter.cpp39 return policy.empty(); in IsEmpty()
233 if (apiVersion.policy.empty() && screenShape.policy.empty() && screenDensity.policy.empty() in Dump()
234 && screenWindow.policy.empty() && countryCode.policy.empty()) { in Dump()
238 if (!apiVersion.policy.empty()) { in Dump()
243 if (!screenShape.policy.empty()) { in Dump()
248 if (!screenDensity.policy.empty()) { in Dump()
253 if (!screenWindow.policy.empty()) { in Dump()
[all...]
H A Dhap_verify_utils.cpp47 if (hapVerifyInfos.empty()) { in CheckHapIsValid()
48 LOGE("hapVerifyInfos is empty!"); in CheckHapIsValid()
99 if (hapVerifyInfos.empty()) { in CheckAppFieldsIsSame()
100 LOGE("hapVerifyInfos is empty!"); in CheckAppFieldsIsSame()
132 if (hapVerifyInfo.GetBundleName().empty()) { in AppFieldsIsSame()
133 LOGE("bundleName is empty"); in AppFieldsIsSame()
209 if (hapVerifyInfo1.GetModuleName().empty()) { in CheckModuleNameIsValid()
210 LOGE("module name can not be empty."); in CheckModuleNameIsValid()
272 if (policyValue2.value.empty() || Utils::CheckContainsAll(policyValue1.value, policyValue2.value)) { in CheckPolicyValueDisjoint()
280 if (policyValue1.value.empty() || Util in CheckPolicyValueDisjoint()
[all...]
/developtools/global_resource_tool/src/
H A Dcmd_parser.cpp123 if (inputPath.empty()) { in AddInput()
144 if (sysIdDefinedPath.empty()) { in AddSysIdDefined()
165 if (!packageName_.empty()) { in AddPackageName()
176 if (!output_.empty()) { in AddOutput()
182 if (output_.empty()) { in AddOutput()
217 if (!moduleNames_.empty()) { in AddMoudleNames()
235 if (!configPath_.empty()) { in AddConfig()
266 if (inputs_.empty() && append_.empty()) { in CheckParam()
267 cerr << "Error: input path empty in CheckParam()
[all...]
H A 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()
H A Dthread_pool.cpp32 if (!workerThreads_.empty() || threadCount_ <= 0) { in Start()
75 this->condition_.wait(lock, [this] { return !this->running_ || !this->tasks_.empty(); }); in WorkInThread()
80 if (!this->tasks_.empty()) { in WorkInThread()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/
H A DSignerFactory.java77 return Optional.empty(); in loadRemoteSigner()
87 return Optional.empty(); in loadRemoteSigner()
91 return Optional.empty(); in loadRemoteSigner()
98 return Optional.empty(); in loadRemoteSigner()
105 return Optional.empty(); in loadRemoteSigner()
118 return Optional.empty(); in loadRemoteSigner()
124 return Optional.empty(); in fileToUrl()
131 return Optional.empty(); in fileToUrl()
137 CustomException.throwException(ERROR.COMMAND_ERROR, "class path is empty"); in getClassLocation()
/developtools/profiler/host/smartperf/client/client_command/test/unittest/
H A Dparse_radar_test.cpp52 if (!result.empty() && !result1.empty() && !result2.empty() && !result3.empty()) { in HWTEST_F()
H A Dddr_test.cpp40 if (result.find("ddrFrequency") != result.end() && result["ddrFrequency"].empty()) { in HWTEST_F()
43 if (!result.empty()) { in HWTEST_F()
/developtools/profiler/device/plugins/bytrace_plugin/src/
H A Dbytrace_module.cpp53 if (!config.clock().empty()) { in ParseConfig()
56 if (!config.outfile_name().empty()) { in ParseConfig()
59 if (!config.categories().empty()) { in ParseConfig()
83 if (!g_bytraceInfo->clockType.empty()) { in BeginTrace()
111 if (g_bytraceInfo->outFile.empty()) { in StopTrace()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/src/
H A Dsignature_block_types.cpp21 if (!isSigned.empty() && 0 == isSigned.compare("0")) { in GetProfileBlockTypes()
24 if (!isSigned.empty() && 0 == isSigned.compare("1")) { in GetProfileBlockTypes()
/developtools/smartperf_host/trace_streamer/src/
H A Dmain.cpp100 argv, argv, dumpReadableTextPluginName.empty() ? "null" : dumpReadableTextPluginName.data()); in ShowHelpInfo()
216 printf("the enable ability list:%s\n", enableInfo.empty() ? "\n\tnull" : enableInfo.c_str()); in PrintAbilityInfo()
217 printf("the disable ability list:%s\n", disableInfo.empty() ? "\n\tnull" : disableInfo.c_str()); in PrintAbilityInfo()
264 if (traceFilePath.empty()) { in SetFileSize()
312 if (!sqliteFilePath.empty()) { in ExportDatabase()
340 if (!sqliteFilePath.empty()) { in LongTraceExportDatabase()
374 if (((traceExportOption.traceFilePath.empty() && traceExportOption.longTraceDir.empty()) || in CheckFinal()
375 (!traceExportOption.interactiveState && traceExportOption.sqliteFilePath.empty())) && in CheckFinal()
376 !traceExportOption.separateFile && traceExportOption.metricsIndex.empty() in CheckFinal()
[all...]
/developtools/hapsigner/hapsigntool_cpp_test/unittest/byteBuffer/
H A Dbyte_buffer_test.cpp150 ByteBuffer empty; in HWTEST_F() local
151 empty.PutByte(1); in HWTEST_F()
152 empty.PutInt16(1); in HWTEST_F()
153 empty.PutInt32(1); in HWTEST_F()
154 empty.PutInt64(1); in HWTEST_F()
155 empty.PutUInt8(1); in HWTEST_F()
156 empty.PutData("a", 2); in HWTEST_F()
157 empty.PutData(data, 1); in HWTEST_F()
158 empty.ClearData(); in HWTEST_F()
169 * @tc.steps: step1. Create an empty buffe in HWTEST_F()
[all...]
/developtools/profiler/device/plugins/native_daemon/src/
H A Dstack_data_repeater.cpp62 if (!rawDataCacheQueue_.empty()) { in GetRawStack()
82 if ((rawDataArray.empty()) && (rawDataQueue_.size() > 0)) { in PutRawStackArray()
148 !itemCondVar_.wait_for(lock, std::chrono::milliseconds(during), [&] { return !rawDataQueue_.empty(); })) { in TakeRawData()
149 if (rawDataQueue_.empty() && !closed_) { in TakeRawData()
156 while (rawDataQueue_.empty() && !closed_) { in TakeRawData()
/developtools/profiler/device/cmds/src/
H A 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/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
H A 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()

Completed in 17 milliseconds

12345678910>>...12