/developtools/packing_tool/packing_tool/frameworks/src/json/ |
H A D | module_json.cpp | 148 if (root_->GetObject(APP.c_str(), &appObj) != Result::SUCCESS) { in GetAppObject() 165 if (root_->GetObject(DEVICE_CONFIG.c_str(), &deviceConfigObj) != Result::SUCCESS) { in GetDeviceConfigObject() 183 if (appObj->GetObject(VERSION.c_str(), &versionObj) != Result::SUCCESS) { in GetVersionObject() 200 if (root_->GetObject(MODULE.c_str(), &moduleObj) != Result::SUCCESS) { in GetModuleObject() 228 if (moduleObj->GetObject(DISTRO.c_str(), &distroObj) != Result::SUCCESS) { in GetDistroObjectByModuleObj() 246 if (appObj->GetObject(API_VERSION.c_str(), &apiVersionObj) != Result::SUCCESS) { in GetApiVersionObject() 273 if (moduleObj->GetString(NAME.c_str(), &moduleName) != Result::SUCCESS) { in GetModuleNameByModuleObj() 291 if (moduleObj->GetString(NAME.c_str(), &patchModuleName) != Result::SUCCESS) { in GetPatchModuleName() 318 if (appObj->GetString(BUNDLE_NAME.c_str(), &bundleName) != Result::SUCCESS) { in GetBundleNameByAppObj() 336 if (appObj->SetString(BUNDLE_NAME.c_str(), bundleName) != Result::SUCCESS) { in SetBundleName() [all...] |
H A D | module_json_fa.cpp | 111 if (appObj->GetObject(VERSION.c_str(), &versionObj) != Result::SUCCESS) { in GetFaVersionByAppObj() 128 if (versionObj->GetInt(CODE.c_str(), &version.versionCode) != Result::SUCCESS) { in GetFaVersionByVersionObj() 132 if (versionObj->GetString(NAME.c_str(), &version.versionName) != Result::SUCCESS) { in GetFaVersionByVersionObj() 138 &version.minCompatibleVersionCode) != Result::SUCCESS) { in GetFaVersionByVersionObj() 159 if (versionObj->SetInt(CODE.c_str(), versionCode) != Result::SUCCESS) { in SetFaVersionCode() 177 if (versionObj->SetString(NAME.c_str(), versionName) != Result::SUCCESS) { in SetFaVersionName() 216 if (distroObj->GetBool(INSTALLATION_FREE.c_str(), &installationFree) != Result::SUCCESS) { in GetFaInstallationFreeByDistroObj() 259 if (appObj->GetObject(API_VERSION.c_str(), &apiVersionObj) != Result::SUCCESS) { in GetFaModuleApiVersionByAppObj() 274 if (apiVersionObj->GetInt(COMPATIBLE.c_str(), &moduleApiVersion.compatibleApiVersion) != Result::SUCCESS) { in GetFaModuleApiVersionByApiVersionObj() 280 if (apiVersionObj->GetInt(TARGET.c_str(), &moduleApiVersion.targetApiVersion) != Result::SUCCESS) { in GetFaModuleApiVersionByApiVersionObj() [all...] |
H A D | distro_filter.cpp | 50 if (root->GetArray(VALUE.c_str(), &valuesObj) != Result::SUCCESS) { in ParseFromJson() 59 if (root->GetString(POLICY.c_str(), &policy) != Result::SUCCESS) { in ParseFromJson() 75 if (root->GetArray(VALUE.c_str(), &valuesObj) != Result::SUCCESS) { in ParseFromJsonApiVersion() 84 if (root->GetString(POLICY.c_str(), &policy) != Result::SUCCESS) { in ParseFromJsonApiVersion() 100 if (root->GetObject(API_VERSION.c_str(), &apiVersionObj) != Result::SUCCESS) { in ParseApiVersion() 120 if (root->GetObject(SCREEN_SHAPE.c_str(), &screenShapeObj) != Result::SUCCESS) { in ParseScreenShape() 140 if (root->GetObject(SCREEN_DENSITY.c_str(), &screenDensityObj) != Result::SUCCESS) { in ParseScreenDensity() 160 if (root->GetObject(SCREEN_WINDOW.c_str(), &screenWindowObj) != Result::SUCCESS) { in ParseScreenWindow() 180 if (root->GetObject(COUNTRY_CODE.c_str(), &countryCodeObj) != Result::SUCCESS) { in ParseCountryCode()
|
H A D | pt_json.cpp | 357 return Result::SUCCESS; in GetBool() 367 return Result::SUCCESS; in SetBool() 374 if (ret == Result::SUCCESS) { in GetInt() 387 return Result::SUCCESS; in SetInt() 394 if (ret == Result::SUCCESS) { in GetInt64() 407 return Result::SUCCESS; in SetInt64() 414 if (ret == Result::SUCCESS) { in GetUInt() 427 return Result::SUCCESS; in SetUInt() 434 if (ret == Result::SUCCESS) { in GetUInt64() 447 return Result::SUCCESS; in SetUInt64() [all...] |
H A D | module_json_stage.cpp | 101 if (appObj->SetInt(VERSIONCODE.c_str(), versionCode) != Result::SUCCESS) { in SetStageVersionCode() 119 if (appObj->SetString(VERSIONNAME.c_str(), versionName) != Result::SUCCESS) { in SetStageVersionName() 146 if (appObj->GetInt(VERSIONCODE.c_str(), &version.versionCode) != Result::SUCCESS) { in GetStageVersionByAppObj() 150 if (appObj->GetString(VERSIONNAME.c_str(), &version.versionName) != Result::SUCCESS) { in GetStageVersionByAppObj() 156 &version.minCompatibleVersionCode) != Result::SUCCESS) { in GetStageVersionByAppObj() 184 if (moduleObj->GetBool(INSTALLATION_FREE.c_str(), &installationFree) != Result::SUCCESS) { in GetStageInstallationFreeByModuleObj() 209 if (appObj->GetInt(MIN_API_VERSION.c_str(), &moduleApiVersion.compatibleApiVersion) != Result::SUCCESS) { in GetStageModuleApiVersionByAppObj() 215 if (appObj->GetInt(TARGET_API_VERSION.c_str(), &moduleApiVersion.targetApiVersion) != Result::SUCCESS) { in GetStageModuleApiVersionByAppObj() 221 if (appObj->GetString(API_RELEASE_TYPE.c_str(), &moduleApiVersion.releaseType) != Result::SUCCESS) { in GetStageModuleApiVersionByAppObj() 249 if (moduleObj->GetString(NAME.c_str(), &stageModuleName) != Result::SUCCESS) { in GetStageModuleNameByModuleObj() [all...] |
H A D | pack_info.cpp | 103 if (root_->GetObject(SUMMARY.c_str(), &summaryObj) != Result::SUCCESS) { in GetSummaryObject() 120 if (root_->GetArray(PACKAGES.c_str(), &packagesObj) != Result::SUCCESS) { in GetPackagesObject() 138 if (summaryObj->GetObject(APP.c_str(), &appObj) != Result::SUCCESS) { in GetAppObject() 156 if (summaryObj->GetArray(MODULES.c_str(), &modulesObj) != Result::SUCCESS) { in GetModulesObject() 183 if (appObj->GetString(BUNDLE_NAME.c_str(), &bundleName) != Result::SUCCESS) { in GetBundleNameByAppObj() 201 if (appObj->SetString(BUNDLE_NAME.c_str(), bundleName) != Result::SUCCESS) { in SetBundleName() 226 if (appObj->GetString(BUNDLE_TYPE.c_str(), &bundleType) != Result::SUCCESS) { in GetBundleTypeByAppObj() 247 if (appObj->GetObject(VERSION.c_str(), &versionObj) != Result::SUCCESS) { in GetVersionObject() 290 if (moduleObj->GetObject(DISTRO.c_str(), &distroObj) != Result::SUCCESS) { in GetDistroObjectByModuleObj() 333 if (moduleObj->GetArray(EXTENSION_ABILITIES.c_str(), &extensionAbilitiesObj) != Result::SUCCESS) { in GetExtensionAbilitiesObjByModuleObj() [all...] |
H A D | patch_json.cpp | 97 if (root_->GetObject(APP.c_str(), &appObj) != Result::SUCCESS) { in GetAppObject() 114 if (root_->GetObject(MODULE.c_str(), &moduleObj) != Result::SUCCESS) { in GetModuleObject() 141 if (appObj->GetString(BUNDLE_NAME.c_str(), &bundleName) != Result::SUCCESS) { in GetBundleNameByAppObj() 168 if (appObj->GetInt(VERSION_CODE.c_str(), &versionCode) != Result::SUCCESS) { in GetVersionCodeByAppObj() 195 if (appObj->GetString(VERSION_NAME.c_str(), &versionName) != Result::SUCCESS) { in GetVersionNameByAppObj() 222 if (appObj->GetInt(PATCH_VERSION_CODE.c_str(), &patchVersionCode) != Result::SUCCESS) { in GetPatchVersionCodeByAppObj() 249 if (appObj->GetString(PATCH_VERSION_NAME.c_str(), &patchVersionName) != Result::SUCCESS) { in GetPatchVersionNameByAppObj() 276 if (moduleObj->GetString(NAME.c_str(), &name) != Result::SUCCESS) { in GetNameByModuleObj() 303 if (moduleObj->GetString(TYPE.c_str(), &type) != Result::SUCCESS) { in GetTypeByModuleObj() 331 if (moduleObj->GetArray(DEVICE_TYPES.c_str(), &deviceTypesObj) != Result::SUCCESS) { in GetDeviceTypesByModuleObj() [all...] |
/developtools/profiler/hidebug/frameworks/native/src/ |
H A D | hidebug_native_interface_impl.cpp | 78 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetAppThreadCpuUsage() 132 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetSystemCpuUsage() 150 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetAppMemoryLimit() 171 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetAppNativeMemInfo() 187 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetAppNativeMemInfo() 203 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetSystemMemInfo() 231 if (result.retCode != UCollect::UcError::SUCCESS) { in GetMemoryLeakResource() 270 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetGraphicsMemory()
|
/developtools/ace_js2bundle/ace-loader/src/ |
H A D | gen-abc.js | 19 const SUCCESS = 0; 44 process.exit(SUCCESS);
|
H A D | genAbc-plugin.js | 52 const SUCCESS = 0; 262 process.exitCode = SUCCESS;
|
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/pt_json_test/ |
H A D | pt_json_test.cpp | 370 EXPECT_EQ(ptJson.SetBool("AAA", flag), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 388 EXPECT_EQ(ptJson.SetInt("BBB", 321), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 408 EXPECT_EQ(ptJson.SetInt64("BBB", value64), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 410 EXPECT_EQ(ptJson.GetInt64("BBB", &value642), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 414 EXPECT_EQ(ptJson.SetUInt("BBB", value32), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 416 EXPECT_EQ(ptJson.GetUInt("BBB", &value322), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 420 EXPECT_EQ(ptJson.SetUInt64("BBB", valueInt64), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 422 EXPECT_EQ(ptJson.GetUInt64("BBB", &valueInt642), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 426 EXPECT_EQ(ptJson.SetDouble("CCC", valueDouble), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() 428 EXPECT_EQ(ptJson.GetDouble("CCC", &valueDouble2), OHOS::AppPackingTool::Result::SUCCESS); in HWTEST_F() [all...] |
/developtools/global_resource_tool/src/ |
H A D | compression_parser.cpp | 31 { TranscodeError::SUCCESS, "SUCCESS" }, 369 if (ret != TranscodeError::SUCCESS) { in TranscodeImages() 379 return TranscodeError::SUCCESS; in TranscodeImages() 398 if (ret != TranscodeError::SUCCESS) { in ScaleImage() 408 return TranscodeError::SUCCESS; in ScaleImage() 469 if (res == TranscodeError::SUCCESS) { in CollectTimeAndSize() 520 if (res != TranscodeError::SUCCESS) { in CheckAndTranscode() 535 if (res != TranscodeError::SUCCESS) { in CheckAndTranscode() 546 if (res != TranscodeError::SUCCESS) { in CheckAndTranscode() [all...] |
/developtools/hdc/src/test/jdwp/ |
H A D | define.h | 33 SUCCESS = 0,
member in RetErrCode
|
H A D | HdcJdwpSimulator.cpp | 78 ret = RetErrCode::SUCCESS;
in SendToStream()
|
/developtools/packing_tool/packing_tool/frameworks/include/json/ |
H A D | pt_json.h | 27 SUCCESS, member in OHOS::AppPackingTool::Result
|
/developtools/global_resource_tool/include/ |
H A D | compression_parser.h | 33 SUCCESS = 0, member in OHOS::Global::Restool::TranscodeError
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
H A D | flow_controller.cpp | 299 if (openRet.retCode != OHOS::HiviewDFX::UCollect::UcError::SUCCESS) { in StartCapture()
|
/developtools/profiler/device/plugins/memory_plugin/src/ |
H A D | memory_data_plugin.cpp | 1263 if (data.retCode != UcError::SUCCESS) { in GetGraphicsMemory()
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 123075 SUCCESS = 8194, global() enumerator [all...] |