/third_party/ninja/src/ |
H A D | build.cc | 53 virtual bool WaitForCommand(Result* result);
68 bool DryRunCommandRunner::WaitForCommand(Result* result) {
in WaitForCommand() argument 72 result->status = ExitSuccess;
in WaitForCommand() 73 result->edge = finished_.front();
in WaitForCommand() 193 bool Plan::EdgeFinished(Edge* edge, EdgeResult result, string* err) {
in EdgeFinished() argument 204 if (result != kEdgeSucceeded)
in EdgeFinished() 469 virtual bool WaitForCommand(Result* result);
522 bool RealCommandRunner::WaitForCommand(Result* result) {
in WaitForCommand() argument 530 result->status = subproc->Finish();
in WaitForCommand() 531 result in WaitForCommand() 701 CommandRunner::Result result; Build() local 799 std::string result = ""; SplicingWholeContent() local 870 FinishCommand(CommandRunner::Result* result, string* err) FinishCommand() argument 976 ExtractDeps(CommandRunner::Result* result, const string& deps_type, const string& deps_prefix, vector<Node*>* deps_nodes, string* err) ExtractDeps() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_bptc_tmp.h | 324 int result = 0; in extract_bits() local 328 result |= ((block[byte_index] >> bit_index) & in extract_bits() 334 return result; in extract_bits() 520 uint8_t *result) in apply_rotation() 529 t = result[rotation]; in apply_rotation() 530 result[rotation] = result[3]; in apply_rotation() 531 result[3] = t; in apply_rotation() 536 uint8_t *result, in fetch_rgba_unorm_from_block() 557 memset(result, in fetch_rgba_unorm_from_block() 519 apply_rotation(int rotation, uint8_t *result) apply_rotation() argument 535 fetch_rgba_unorm_from_block(const uint8_t *block, uint8_t *result, int texel) fetch_rgba_unorm_from_block() argument 681 uint8_t *result = dst_row; decompress_rgba_unorm_block() local 726 uint8_t *result = dst_row; decompress_rgba_unorm_block() local 952 fetch_rgb_float_from_block(const uint8_t *block, float *result, int texel, bool is_signed) fetch_rgb_float_from_block() argument 1066 float *result = dst_row; decompress_rgb_float_block() local 1093 float *result = dst_row; decompress_rgb_float_block() local [all...] |
/third_party/icu/icu4c/source/io/ |
H A D | uprntf_p.cpp | 286 UChar result[UPRINTF_BUFFER_SIZE]; in u_printf_double_handler() local 332 resultLen = unum_formatDouble(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_double_handler() 349 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_double_handler() 362 UChar result[UPRINTF_BUFFER_SIZE]; in u_printf_integer_handler() local 399 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_integer_handler() 416 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_integer_handler() 428 UChar result[UPRINTF_BUFFER_SIZE]; in u_printf_hex_handler() local 439 ufmt_64tou(result, &len, num, 16, in u_printf_hex_handler() 446 memmove(result + 2, result, le in u_printf_hex_handler() 464 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_octal_handler() local 499 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_uinteger_handler() local 551 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_pointer_handler() local 569 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_scientific_handler() local 689 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_percent_handler() local 892 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_spellout_handler() local [all...] |
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | uprntf_p.cpp | 286 UChar result[UPRINTF_BUFFER_SIZE]; in u_printf_double_handler() local 332 resultLen = unum_formatDouble(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_double_handler() 349 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_double_handler() 362 UChar result[UPRINTF_BUFFER_SIZE]; in u_printf_integer_handler() local 399 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_integer_handler() 416 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_integer_handler() 428 UChar result[UPRINTF_BUFFER_SIZE]; in u_printf_hex_handler() local 439 ufmt_64tou(result, &len, num, 16, in u_printf_hex_handler() 446 memmove(result + 2, result, le in u_printf_hex_handler() 464 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_octal_handler() local 499 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_uinteger_handler() local 551 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_pointer_handler() local 569 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_scientific_handler() local 689 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_percent_handler() local 892 UChar result[UPRINTF_BUFFER_SIZE]; u_printf_spellout_handler() local [all...] |
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | napi_web_scheme_handler_request.cpp | 120 napi_value result = nullptr; in JS_GetHeader() local 121 napi_create_array(env, &result); in JS_GetHeader() 137 napi_set_element(env, result, index, webHeaderObj); in JS_GetHeader() 143 return result; in JS_GetHeader() 160 char *result = request->GetRequestUrl(); in JS_GetRequestUrl() local 161 napi_status status = napi_create_string_utf8(env, result, NAPI_AUTO_LENGTH, &value); in JS_GetRequestUrl() 183 char *result = request->GetMethod(); in JS_GetRequestMethod() local 184 napi_status status = napi_create_string_utf8(env, result, NAPI_AUTO_LENGTH, &value); in JS_GetRequestMethod() 206 char *result = request->GetReferrer(); in JS_GetReferrer() local 207 napi_status status = napi_create_string_utf8(env, result, NAPI_AUTO_LENGT in JS_GetReferrer() 229 bool result = request->IsRedirect(); JS_IsRedirect() local 248 bool result = request->IsMainFrame(); JS_IsMainFrame() local 267 bool result = request->HasGesture(); JS_HasGesture() local 339 char *result = request->GetFrameUrl(); JS_GetFrameUrl() local 472 char *result = response->GetUrl(); JS_GetUrl() local 569 char* result = response->GetStatusText(); JS_GetStatusText() local 620 char* result = response->GetMimeType(); JS_GetMimeType() local 670 char* result = response->GetEncoding(); JS_GetEncoding() local 726 char* result = response->GetHeaderByName(name.c_str()); JS_GetHeaderByName() local 798 int32_t result = response->GetErrorCode(); JS_GetNetErrorCode() local 1188 napi_value result = nullptr; JS_Initialize() local 1259 napi_value result = nullptr; JS_Read() local 1318 int64_t result = static_cast<int64_t>(stream->GetSize()); JS_GetSize() local 1337 int64_t result = static_cast<int64_t>(stream->GetPostion()); JS_GetPostion() local 1356 bool result = stream->IsChunked(); JS_IsChunked() local 1375 bool result = stream->IsEof(); JS_IsEof() local 1394 bool result = stream->IsInMemory(); JS_IsInMemory() local [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/ |
H A D | js_ui_extension_context.cpp | 230 napi_value result = nullptr; in OnStartAbility() local 232 env, CreateAsyncTaskWithLastParam(env, lastParam, std::move(execute), std::move(complete), &result)); in OnStartAbility() 233 return result; in OnStartAbility() 253 napi_value result = nullptr; in CreateOpenLinkTask() local 255 CreateAsyncTaskWithLastParam(env, lastParam, nullptr, nullptr, &result); in CreateOpenLinkTask() 385 napi_value result = nullptr; in OnOpenLinkInner() local 386 AddFreeInstallObserver(env, want, nullptr, &result, false, true); in OnOpenLinkInner() 390 return result; in OnOpenLinkInner() 418 napi_value result = nullptr; in OnTerminateSelf() local 420 env, CreateAsyncTaskWithLastParam(env, lastParam, std::move(execute), std::move(complete), &result)); in OnTerminateSelf() 440 napi_value result = nullptr; OnStartAbilityForResult() local 491 napi_value result = nullptr; OnTerminateSelfWithResult() local 513 napi_value result = nullptr; OnStartAbilityForResultAsCaller() local 595 napi_value result = nullptr; OnConnectAbility() local 650 napi_value result = nullptr; OnDisconnectAbility() local 697 napi_value result = nullptr; OnStartUIServiceExtension() local 726 CheckConnectAlreadyExist(napi_env env, AAFwk::Want& want, napi_value callback, napi_value& result) CheckConnectAlreadyExist() argument 762 napi_value result = nullptr; OnConnectUIServiceExtension() local 867 napi_value result = nullptr; OnDisconnectUIServiceExtension() local 896 napi_value result = nullptr; OnReportDrawnCompleted() local 985 napi_value result = nullptr; OpenAtomicServiceInner() local 1022 AddFreeInstallObserver(napi_env env, const AAFwk::Want &want, napi_value callback, napi_value *result, bool isAbilityResult, bool isOpenLink) AddFreeInstallObserver() argument 1322 napi_value result = nullptr; CallObjectMethod() local [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service.cpp | 349 auto result = IN_PROCESS_CALL(bundleMgrHelper->GetNameForUid(callingUid, callerBundleName)); in ClearUpApplicationData() local 350 if (result != ERR_OK) { in ClearUpApplicationData() 351 TAG_LOGE(AAFwkTag::APPMGR, "getBundleName failed: %{public}d", result); in ClearUpApplicationData() 637 auto result = IN_PROCESS_CALL(bundleMgrHelper->GetNameForUid(callingUid, callerBundleName)); in FinishUserTest() local 638 if (result == ERR_OK) { in FinishUserTest() 645 TAG_LOGE(AAFwkTag::APPMGR, "fail: %{public}d", result); in FinishUserTest() 665 std::string result; in Dump() local 666 auto errCode = Dump(args, result); in Dump() 667 int ret = dprintf(fd, "%s\n", result.c_str()); in Dump() 675 int AppMgrService::Dump(const std::vector<std::u16string>& args, std::string& result) in Dump() argument 698 ShowHelp(const std::vector<std::u16string>& args, std::string& result) ShowHelp() argument 709 DumpIpcAllInner(const AppMgrService::DumpIpcKey key, std::string& result) DumpIpcAllInner() argument 728 DumpIpcWithPidInner(const AppMgrService::DumpIpcKey key, const std::string& optionPid, std::string& result) DumpIpcWithPidInner() argument 765 DumpFfrtInner(const std::string& pidsRaw, std::string& result) DumpFfrtInner() argument 818 DumpIpc(const std::vector<std::u16string>& args, std::string& result) DumpIpc() argument 854 DumpFfrt(const std::vector<std::u16string>& args, std::string& result) DumpFfrt() argument 877 DumpIpcAllStart(std::string& result) DumpIpcAllStart() argument 883 DumpIpcAllStop(std::string& result) DumpIpcAllStop() argument 889 DumpIpcAllStat(std::string& result) DumpIpcAllStat() argument 895 DumpIpcStart(const int32_t pid, std::string& result) DumpIpcStart() argument 901 DumpIpcStop(const int32_t pid, std::string& result) DumpIpcStop() argument 907 DumpIpcStat(const int32_t pid, std::string& result) DumpIpcStat() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_Extend_test_ng.cpp | 260 * @tc.step: step2. Get json result and compare the result. in HWTEST_F() 261 * @tc.expected: the result of ToJsonValue is correct. in HWTEST_F() 368 * @tc.step: step3. Get Text result and compare the result. in HWTEST_F() 369 * @tc.expected: the result of GetText is correct. in HWTEST_F() 397 * @tc.step: step3. Get Text result and compare the result. in HWTEST_F() 398 * @tc.expected: the result of GetText is correct. in HWTEST_F() 487 AccessibilityValue result; in HWTEST_F() local 699 auto result = textPickerPaintMethod->SetStrokeWidth(divider, 0.0, info); HWTEST_F() local 737 auto result = textPickerPaintMethod->NeedPaintDividerLines(contentRect, divider, 0.0, info); HWTEST_F() local 972 bool result = textPickerPattern->OnKeyEvent(event); HWTEST_F() local 1022 bool result = textPickerPattern->OnKeyEvent(event); HWTEST_F() local 1068 auto result = textPickerPattern->GetSelectedObject(false, 1); HWTEST_F() local 1099 auto result = pattern->GetSelectedObject(false, 1); HWTEST_F() local 1468 std::string result = pickerPattern->GetOptionsMultiStr(); HWTEST_F() local 1498 std::string result = pickerPattern->GetOptionsMultiStr(); HWTEST_F() local 1538 std::string result = pickerPattern->GetOptionsCascadeStr(options); HWTEST_F() local 1660 Dimension result = columnPattern->animationProperties_[0].fontSize; HWTEST_F() local 1661 EXPECT_EQ(Dimension(FONT_SIZE_10), result); HWTEST_F() local 1664 EXPECT_EQ(Dimension(FONT_SIZE_5), result); HWTEST_F() local 1682 EXPECT_EQ(Dimension(FONT_SIZE_10), result); HWTEST_F() local 1685 EXPECT_EQ(Dimension(FONT_SIZE_20), result); HWTEST_F() local [all...] |
/third_party/libabigail/src/ |
H A D | abg-suppression.cc | 1319 fn_call_expr_boundary_sptr result, nil; in create_fn_call_expr_boundary() local 1322 result.reset(new fn_call_expr_boundary(expr)); in create_fn_call_expr_boundary() 1323 return result; in create_fn_call_expr_boundary() 1589 /// and build a @ref type_suppression as a result. 1598 type_suppression_sptr result; in read_type_suppression() local 1601 return result; in read_type_suppression() 1618 return result; in read_type_suppression() 1742 return result; in read_type_suppression() 1785 return result; in read_type_suppression() 1798 return result; in read_type_suppression() 3044 function_suppression::parameter_spec_sptr result; read_parameter_spec_from_string() local 3115 function_suppression_sptr result; read_function_suppression() local 3995 variable_suppression_sptr result; read_variable_suppression() local 4297 file_suppression_sptr result; read_file_suppression() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | const_folding_rules.cpp | 210 // Check result type. in FoldVectorTimesScalar() 224 // Get a float vector that is the result of vector-times-scalar. in FoldVectorTimesScalar() 231 utils::FloatProxy<float> result(c1_components[i]->GetFloat() * scalar); in FoldVectorTimesScalar() 232 std::vector<uint32_t> words = result.GetWords(); in FoldVectorTimesScalar() 241 utils::FloatProxy<double> result(c1_components[i]->GetDouble() * in FoldVectorTimesScalar() 243 std::vector<uint32_t> words = result.GetWords(); in FoldVectorTimesScalar() 291 // The interface for a function that returns the result of applying a scalar 298 // The interface for a function that returns the result of applying a scalar 358 // Returns the result of folding the constants in |constants| according the 437 uint32_t result [all...] |
/third_party/node/deps/v8/src/wasm/baseline/s390/ |
H A D | liftoff-assembler-s390.h | 69 // 2 | (result address) | or parameter 0 563 LiftoffRegister result, StoreType type) { in AtomicAdd() 565 value, result}) in AtomicAdd() 568 value, result, tmp1}) in AtomicAdd() 589 AtomicCmpExchangeU8(ip, result.gp(), tmp1, tmp2, r0, r1); in AtomicAdd() 591 LoadU8(result.gp(), result.gp()); in AtomicAdd() 608 AtomicCmpExchangeU16(ip, result.gp(), tmp1, tmp2, r0, r1); in AtomicAdd() 610 LoadU16(result.gp(), result in AtomicAdd() 561 AtomicAdd(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister value, LiftoffRegister result, StoreType type) AtomicAdd() argument 661 AtomicSub(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister value, LiftoffRegister result, StoreType type) AtomicSub() argument 761 AtomicAnd(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister value, LiftoffRegister result, StoreType type) AtomicAnd() argument 861 AtomicOr(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister value, LiftoffRegister result, StoreType type) AtomicOr() argument 961 AtomicXor(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister value, LiftoffRegister result, StoreType type) AtomicXor() argument 1061 AtomicExchange(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister value, LiftoffRegister result, StoreType type) AtomicExchange() argument 1137 AtomicCompareExchange( Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister expected, LiftoffRegister new_value, LiftoffRegister result, StoreType type) AtomicCompareExchange() argument [all...] |
/base/customization/enterprise_device_management/interfaces/inner_api/account_manager/src/ |
H A D | account_manager_proxy.cpp | 58 int32_t AccountManagerProxy::IsAddLocalAccountDisallowed(AppExecFwk::ElementName *admin, bool &result) in IsAddLocalAccountDisallowed() argument 63 return proxy->IsPolicyDisabled(admin, EdmInterfaceCode::DISALLOW_ADD_LOCAL_ACCOUNT, result); in IsAddLocalAccountDisallowed() 94 bool &result) in IsAddOsAccountByUserDisallowed() 107 result = false; in IsAddOsAccountByUserDisallowed() 122 reply.ReadBool(result); in IsAddOsAccountByUserDisallowed() 149 OHOS::AccountSA::OsAccountInfo *result = OHOS::AccountSA::OsAccountInfo::Unmarshalling(reply); in AddOsAccount() local 150 accountInfo = *result; in AddOsAccount() 93 IsAddOsAccountByUserDisallowed(AppExecFwk::ElementName *admin, int32_t userId, bool &result) IsAddOsAccountByUserDisallowed() argument
|
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/ |
H A D | disallowed_running_bundles_plugin_test.cpp | 154 std::vector<std::string> result; in HWTEST_F() local 156 GetAppRunningControlRule(DEFAULT_USER_ID, result); in HWTEST_F() 158 ASSERT_TRUE(result.size() == 1); in HWTEST_F() 159 ASSERT_TRUE(result[0] == TEST_BUNDLE); in HWTEST_F() 167 result.clear(); in HWTEST_F() 168 res = appControlProxy->GetAppRunningControlRule(DEFAULT_USER_ID, result); in HWTEST_F() 170 ASSERT_TRUE(result.size() == 0); in HWTEST_F()
|
/base/powermgr/battery_statistics/services/native/src/ |
H A D | battery_stats_parser.cpp | 153 void BatteryStatsParser::DumpInfo(std::string& result)
in DumpInfo() argument 155 result.append("POWER AVERAGE CONFIGATION DUMP:\n");
in DumpInfo() 156 result.append("\n");
in DumpInfo() 158 result.append(iter.first).append(" : ").append(ToString(iter.second)).append("\n");
in DumpInfo() 161 result.append(vecIter.first).append(" : [");
in DumpInfo() 163 result.append(" ").append(ToString(levelIter));
in DumpInfo() 165 result.append(" ]").append("\n");
in DumpInfo()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_multiline_content_test.cpp | 74 std::vector<std::string> result = rrc->GetAllLines();
in HWTEST_F() local 75 EXPECT_EQ(result.size(), 1);
in HWTEST_F() 129 std::shared_ptr<NotificationMultiLineContent> result =
in HWTEST_F() local 132 if (nullptr != result) {
in HWTEST_F() 133 if (nullptr == result->Unmarshalling(parcel)) {
in HWTEST_F() 167 std::vector<std::string> result = rrc->GetAllLines();
in HWTEST_F() local 168 EXPECT_EQ(result.size(), max);
in HWTEST_F()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_common.cpp | 61 static void ReturnCallbackResult(napi_env env, AsyncCtx async, napi_value result)
in ReturnCallbackResult() argument 67 napi_value params[CALLBACK_NUM] = { businessError, result };
in ReturnCallbackResult() 78 static void ReturnPromiseResult(napi_env env, AsyncCtx async, napi_value result)
in ReturnPromiseResult() argument 81 napi_resolve_deferred(env, async->deferred, result);
in ReturnPromiseResult() 88 void ReturnJSResult(napi_env env, AsyncCtx async, napi_value result)
in ReturnJSResult() argument 94 ReturnCallbackResult(env, async, result);
in ReturnJSResult() 96 ReturnPromiseResult(env, async, result);
in ReturnJSResult()
|
/base/telephony/sms_mms/utils/ |
H A D | text_coder.h | 61 int EscapeTurkishLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16_t &result); 62 int EscapePortuLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16_t &result); 63 int EscapeGsm7bitToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16_t &result); 66 void GetTurkishSingleToUcs2(const uint8_t &srcText, uint16_t &result); 67 void GetSpanishSingleToUcs2(const uint8_t &srcText, uint16_t &result); 68 void GetGsm7BitExtToUcs2(const uint8_t &srcText, uint16_t &result); 69 void GetPortuSingleToUcs2(const uint8_t &srcText, uint16_t &result);
|
/base/update/updateservice/frameworks/js/napi/session/include/ |
H A D | base_async_session.h | 73 napi_value result; variable 74 napi_create_int32(env, 0, &result); 75 return result; 78 void NotifyJS(napi_env env, napi_value thisVar, const RESULT &result) in NotifyJS() argument 88 GetBusinessError(businessError, result); in NotifyJS() 94 ret = static_cast<uint32_t>(result.buildJSObject(env, retArgs[1], result)); in NotifyJS()
|
/base/update/updateservice/frameworks/js/napi/update/include/ |
H A D | update_session.h | 38 void GetUpdateResult(UpdateResult &result) in GetUpdateResult() argument 40 result.businessError = businessError_; in GetUpdateResult() 42 migrateClient->GetUpdateResult(sessionParams_.type, result); in GetUpdateResult() 74 void GetUpdateResult(UpdateResult &result) in GetUpdateResult() argument 76 result.businessError = businessError_; in GetUpdateResult() 78 migrateClient->GetUpdateResult(sessionParams_.type, result); in GetUpdateResult() 138 void NotifyJS(napi_env env, napi_value thisVar, const UpdateResult &result);
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/ |
H A D | js_startup_config.cpp | 122 [env, listenerRefSp](const std::shared_ptr<StartupTaskResult> &result) { in InitListener() 142 napi_value argv[1] = { JsStartupConfig::BuildResult(env, result) }; in InitListener() 148 napi_value JsStartupConfig::BuildResult(napi_env env, const std::shared_ptr<StartupTaskResult> &result) in BuildResult() argument 150 if (result == nullptr) { in BuildResult() 154 if (result->GetResultCode() != ERR_OK) { in BuildResult() 155 return CreateJsError(env, result->GetResultCode(), result->GetResultMessage()); in BuildResult()
|
/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
H A D | ability_scheduler.cpp | 42 int result = 0; in AmsCallback() local 81 result = SERIALIZE_ERROR; in AmsCallback() 92 result = SERIALIZE_ERROR; in AmsCallback() 103 result = SERIALIZE_ERROR; in AmsCallback() 116 result = SERIALIZE_ERROR; in AmsCallback() 126 result = COMMAND_ERROR; in AmsCallback() 130 return result; in AmsCallback()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | dump_runtime_helper.cpp | 102 napi_value result = GetMethodCheck(env, requireValue, global); in GetCheckList() local 103 if (result == nullptr) { in GetCheckList() 109 napi_get_value_string_utf8(env, result, nullptr, 0, &checkListSize); in GetCheckList() 111 napi_get_value_string_utf8(env, result, &checkList[0], checkListSize + 1, &checkListSize); in GetCheckList() 148 napi_value result = nullptr; in GetMethodCheck() local 149 status = napi_call_function(env, global, methodCheck, 0, nullptr, &result); in GetMethodCheck() 154 return result; in GetMethodCheck()
|
/foundation/ability/ability_runtime/test/mock/mock_appmgr_service/include/ |
H A D | mock_app_mgr_service_inner.h | 69 MOCK_METHOD1(DumpIpcAllStart, int(std::string& result)); 70 MOCK_METHOD1(DumpIpcAllStop, int(std::string& result)); 71 MOCK_METHOD1(DumpIpcAllStat, int(std::string& result)); 72 MOCK_METHOD2(DumpIpcStart, int(const int32_t pid, std::string& result)); 73 MOCK_METHOD2(DumpIpcStop, int(const int32_t pid, std::string& result)); 74 MOCK_METHOD2(DumpIpcStat, int(const int32_t pid, std::string& result)); 75 MOCK_METHOD2(DumpFfrt, int(const std::vector<int32_t>& pid, std::string& result));
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launchermgr/ |
H A D | js_launcher_unsupported.cpp | 55 napi_value result[INDEX_TWO] = { 0 }; in JsLauncherCommon() local 56 napi_create_int32(env, UNSUPPORTED_FEATURE_ERRCODE, &result[INDEX_ZERO]); in JsLauncherCommon() 58 NAPI_AUTO_LENGTH, &result[INDEX_ONE]); in JsLauncherCommon() 64 sizeof(result) / sizeof(result[0]), result, &placeHolder); in JsLauncherCommon() 66 napi_reject_deferred(env, deferred, result[INDEX_ZERO]); in JsLauncherCommon()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_multiuser_install_test/ |
H A D | bms_bundle_multiuser_install_ipc_test.cpp | 190 auto result = installerProxy->InstallExisted(bundleName, userId); in HWTEST_F() local 191 EXPECT_EQ(result, ERR_BUNDLE_MANAGER_BUNDLE_NOT_EXIST); in HWTEST_F() 205 auto result = installerProxy->InstallExisted(bundleName, userId); in HWTEST_F() local 206 EXPECT_EQ(result, ERR_BUNDLE_MANAGER_BUNDLE_NOT_EXIST); in HWTEST_F() 220 auto result = installerProxy->InstallExisted(bundleName, userId); in HWTEST_F() local 221 EXPECT_TRUE(result == ERR_BUNDLE_MANAGER_INVALID_USER_ID || result == ERR_BUNDLE_MANAGER_BUNDLE_NOT_EXIST); in HWTEST_F()
|