Home
last modified time | relevance | path

Searched refs:RET_OK (Results 1 - 25 of 29) sorted by relevance

12

/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/
H A Dnative_memory_profiler_sa_proxy.cpp40 if (ret != RET_OK) { in Start()
44 return RET_OK; in Start()
67 if (ret != RET_OK) { in DumpData()
71 return RET_OK; in DumpData()
88 if (ret != RET_OK) { in Stop()
92 return RET_OK; in Stop()
109 if (ret != RET_OK) { in Stop()
113 return RET_OK; in Stop()
H A Dnative_memory_profiler_sa_service.cpp102 return RET_OK; in Stop()
108 return RET_OK; in Stop()
116 return RET_OK; in DumpData()
122 return RET_OK; in DumpData()
216 if (hook->CreatePluginSession() != RET_OK) { in StartHook()
251 return RET_OK; in StartHook()
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/test/unittest/
H A Dnative_memory_profiler_sa_client_manager_test.cpp98 EXPECT_EQ(NativeMemoryProfilerSaClientManager::Start(config), RET_OK); in HWTEST_F() local
100 EXPECT_EQ(NativeMemoryProfilerSaClientManager::Stop(TEST_PROC_NAME), RET_OK); in HWTEST_F() local
107 pid, 10, 0), RET_OK); in HWTEST_F() local
109 EXPECT_EQ(NativeMemoryProfilerSaClientManager::Stop(pid), RET_OK); in HWTEST_F() local
117 EXPECT_EQ(NativeMemoryProfilerSaClientManager::DumpData(fd, config), RET_OK); in HWTEST_F() local
119 EXPECT_EQ(NativeMemoryProfilerSaClientManager::Stop(pid), RET_OK); in HWTEST_F() local
H A Dnative_memory_profiler_sa_service_test.cpp66 EXPECT_EQ(service.Start(config), RET_OK); in HWTEST_F()
68 EXPECT_EQ(service.Stop(config->pid_), RET_OK); in HWTEST_F()
73 EXPECT_EQ(service.DumpData(fd, config), RET_OK); in HWTEST_F()
75 EXPECT_EQ(service.Stop(config->pid_), RET_OK); in HWTEST_F()
/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dkey_store_helper.cpp243 if ((publicKeyStatus == RET_OK) && (privateKeyStatus == RET_OK)) { in FindKeyPair()
249 if (publicKeyStatus != RET_OK) { in FindKeyPair()
257 } else if (OBJ_obj2nid(safe->type) == NID_pkcs7_data && privateKeyStatus != RET_OK) { in FindKeyPair()
266 if (((publicKeyStatus == RET_OK) && (privateKeyStatus == RET_OK)) in FindKeyPair()
275 return RET_OK; in FindKeyPair()
317 return RET_OK; in GetPublicKey()
356 return RET_OK; in GetPrivateKey()
397 return RET_OK; in WriteKeyStore()
[all...]
H A Dfile_utils.cpp90 return RET_OK; in Write()
106 return RET_OK; in Read()
121 return RET_OK; in ReadFile()
134 return RET_OK; in ReadFileByOffsetAndLength()
148 return RET_OK; in ReadInputByOffsetAndLength()
179 return RET_OK; in ReadInputByLength()
254 int result = RET_OK; in WriteInputToOutPut()
/developtools/hapsigner/hapsigntool_cpp/common/src/
H A Dlocalization_adapter.cpp44 if (status == RET_OK) { in IsAliasExist()
45 return RET_OK; in IsAliasExist()
122 if (status == RET_OK) { in KeyStoreFile()
123 return RET_OK; in KeyStoreFile()
135 if (status == RET_OK) { in KeyStoreFile()
137 return RET_OK; in KeyStoreFile()
159 if (status == RET_OK) { in IssuerKeyStoreFile()
160 return RET_OK; in IssuerKeyStoreFile()
H A Drandom_access_file.cpp182 buffer.GetBufferPtr(), bufCapacity) != RET_OK) { in WriteToFile()
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
H A Dbc_signeddata_generator.cpp35 int result = RET_OK; in GenerateSignedData()
77 int result = RET_OK; in PackageSignedData()
124 return RET_OK; in GetSigAlg()
154 return RET_OK; in AddOwnerID()
/developtools/hapsigner/hapsigntool_cpp/hap/provider/src/
H A Dsign_provider.cpp72 if (ret != RET_OK) { in CheckParmaAndInitConfig()
92 return RET_OK; in CheckParmaAndInitConfig()
218 if (CheckParmaAndInitConfig(signerConfig, options, suffix) != RET_OK) { in Sign()
274 if (ret != RET_OK) { in SignElf()
320 if (ret != RET_OK) { in SignBin()
409 int ret = RET_OK; in LoadOptionalBlocks()
412 if ((ret = LoadOptionalBlock(property->second, HapUtils::HAP_PROPERTY_BLOCK_ID)) != RET_OK) in LoadOptionalBlocks()
416 if ((ret = LoadOptionalBlock(profile->second, HapUtils::HAP_PROFILE_BLOCK_ID)) != RET_OK) in LoadOptionalBlocks()
421 if ((LoadOptionalBlock(proofOfRotation->second, HapUtils::HAP_PROOF_OF_ROTATION_BLOCK_ID)) != RET_OK) in LoadOptionalBlocks()
430 return RET_OK; in LoadOptionalBlock()
[all...]
/developtools/hapsigner/hapsigntool_cpp/profile/src/
H A Dprofile_sign_tool.cpp30 int result = RET_OK; in GenerateP7b()
72 int result = RET_OK;
H A Dpkcs7_data.cpp47 return RET_OK; in PKCS7AddAttribute()
66 return RET_OK; in I2dPkcs7Str()
102 return RET_OK; in VerifySignature()
118 int result = RET_OK; in Sign()
158 return RET_OK; in Parse()
172 return RET_OK; in Verify()
188 return RET_OK; in GetContent()
206 int result = RET_OK; in InitPkcs7()
328 return RET_OK; in CheckSignTimeInValidPeriod()
391 result = RET_OK;
[all...]
/developtools/hapsigner/hapsigntool_cpp/hap/sign/src/
H A Dbc_pkcs7_generator.cpp35 int result = RET_OK; in GenerateSignedData()
70 int result = RET_OK; in PackagePKCS7()
/developtools/profiler/device/plugins/hiebpf_plugin/src/
H A Dhiebpf_module.cpp32 constexpr int32_t RET_OK = 0; member
89 return RET_OK; in HiebpfSessionStart()
115 return RET_OK; in HiebpfSessionStop()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/hapVerify/
H A Dhap_verify_test.cpp164 ASSERT_TRUE(resultCode != OHOS::SignatureTools::RET_OK); in HWTEST_F()
170 ASSERT_TRUE(resultCode != OHOS::SignatureTools::RET_OK); in HWTEST_F()
182 * @tc.expected: step1. the return will be RET_OK. in HWTEST_F()
192 ASSERT_EQ(ret, OHOS::SignatureTools::RET_OK); in HWTEST_F()
220 * @tc.expected: step1. the return will be RET_OK. in HWTEST_F()
223 ASSERT_TRUE(verify.Verify(filePath, &options) == OHOS::SignatureTools::RET_OK); in HWTEST_F()
237 ASSERT_NE(verify.Verify(errorfilePath, &options), OHOS::SignatureTools::RET_OK); in HWTEST_F()
248 ASSERT_NE(verify.Verify(errorfilePath, &options), OHOS::SignatureTools::RET_OK); in HWTEST_F()
259 ASSERT_NE(verify.Verify(errorfilePath, &options), OHOS::SignatureTools::RET_OK); in HWTEST_F()
290 ASSERT_NE(resultCode, OHOS::SignatureTools::RET_OK); in HWTEST_F()
[all...]
/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dsignature_tools_errno.h21 const int RET_OK = 0; member
/developtools/profiler/hiebpf/src/
H A Dhiebpf.cpp68 RET_OK = 0x10000, enumerator
84 cmd = HiebpfIpcCommand::RET_OK; in HandleIpcMessage()
89 cmd = HiebpfIpcCommand::RET_OK; in HandleIpcMessage()
114 CHECK_TRUE(reply == HiebpfIpcCommand::RET_OK, false, "recv unknown reply: 0x%x\n", reply); in SendIpcCommand()
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/util/include/
H A Ddefine_macro.h20 #ifndef RET_OK
21 #define RET_OK (0) macro
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/
H A Dfs_verity_digest.cpp39 if (memset_s(dataArr, sizeof(dataArr), 0, sizeof(dataArr)) != RET_OK) { in GetFsVerityDigest()
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
H A Dverify_hap.cpp156 if (resultCode != RET_OK) { in Verify()
236 return RET_OK; in Verify()
400 return RET_OK; in WriteVerifyOutput()
407 return RET_OK; in WriteVerifyOutput()
H A Dverify_bin.cpp51 if (writeFlag != RET_OK) { in Verify()
H A Dverify_elf.cpp67 if (writeVerifyOutputFlag != RET_OK) { in Verify()
/developtools/hapsigner/hapsigntool_cpp/api/src/
H A Dsign_tool_service_impl.cpp154 return RET_OK; in HandleIssuerKeyAliasEmpty()
161 return RET_OK; in HandleIssuerKeyAliasEmpty()
177 return RET_OK; in HandleIsserKeyAliasNotEmpty()
247 if (status == RET_OK) { in GenerateKeyStore()
668 if (ret == RET_OK) { in VerifyHapSigner()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/generateKeyPair/
H A Dgenerate_keypair_test.cpp572 EXPECT_EQ(ret, RET_OK); in HWTEST_F()
597 EXPECT_EQ(ret, RET_OK); in HWTEST_F()
684 EXPECT_EQ(ret, RET_OK); in HWTEST_F()
711 EXPECT_EQ(ret, RET_OK); in HWTEST_F()
/developtools/hapsigner/hapsigntool_cpp/cmd/src/
H A Dcmd_util.cpp345 return RET_OK; in GetCommandParameterKey()
361 if (GetCommandParameterKey(args[i][0], strChars, trustList, keyStandBy) == RET_OK) { in Convert2Params()

Completed in 15 milliseconds

12