/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
H A D | native_memory_profiler_sa_proxy.cpp | 40 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 D | native_memory_profiler_sa_service.cpp | 102 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 D | native_memory_profiler_sa_client_manager_test.cpp | 98 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 D | native_memory_profiler_sa_service_test.cpp | 66 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 D | key_store_helper.cpp | 243 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 D | file_utils.cpp | 90 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 D | localization_adapter.cpp | 44 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 D | random_access_file.cpp | 182 buffer.GetBufferPtr(), bufCapacity) != RET_OK) { in WriteToFile()
|
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/ |
H A D | bc_signeddata_generator.cpp | 35 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 D | sign_provider.cpp | 72 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 D | profile_sign_tool.cpp | 30 int result = RET_OK; in GenerateP7b() 72 int result = RET_OK;
|
H A D | pkcs7_data.cpp | 47 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 D | bc_pkcs7_generator.cpp | 35 int result = RET_OK; in GenerateSignedData() 70 int result = RET_OK; in PackagePKCS7()
|
/developtools/profiler/device/plugins/hiebpf_plugin/src/ |
H A D | hiebpf_module.cpp | 32 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 D | hap_verify_test.cpp | 164 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 D | signature_tools_errno.h | 21 const int RET_OK = 0; member
|
/developtools/profiler/hiebpf/src/ |
H A D | hiebpf.cpp | 68 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 D | define_macro.h | 20 #ifndef RET_OK 21 #define RET_OK (0) macro
|
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/ |
H A D | fs_verity_digest.cpp | 39 if (memset_s(dataArr, sizeof(dataArr), 0, sizeof(dataArr)) != RET_OK) { in GetFsVerityDigest()
|
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/ |
H A D | verify_hap.cpp | 156 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 D | verify_bin.cpp | 51 if (writeFlag != RET_OK) { in Verify()
|
H A D | verify_elf.cpp | 67 if (writeVerifyOutputFlag != RET_OK) { in Verify()
|
/developtools/hapsigner/hapsigntool_cpp/api/src/ |
H A D | sign_tool_service_impl.cpp | 154 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 D | generate_keypair_test.cpp | 572 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 D | cmd_util.cpp | 345 return RET_OK; in GetCommandParameterKey() 361 if (GetCommandParameterKey(args[i][0], strChars, trustList, keyStandBy) == RET_OK) { in Convert2Params()
|