Home
last modified time | relevance | path

Searched refs:code_ (Results 1 - 25 of 157) sorted by relevance

1234567

/test/testfwk/arkxtest/uitest/test/
H A Dwidget_selector_test.cpp238 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
257 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
278 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
301 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
306 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
325 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
330 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
350 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
355 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
381 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
[all...]
H A Dfrontend_api_handler_test.cpp82 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_); in TEST_F()
101 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
106 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_) << "The handler should be unavailable after been removed"; in TEST_F()
123 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
140 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_); in TEST_F()
148 auto handler = [](const ApiCallInfo &in, ApiReplyInfo &out) { out.exception_.code_ = USAGE_ERROR; }; in TEST_F()
155 ASSERT_EQ(USAGE_ERROR, reply.exception_.code_); in TEST_F()
168 out.exception_.code_ = ERR_OPERATION_UNSUPPORTED; in TEST_F()
178 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
185 ASSERT_EQ(ERR_OPERATION_UNSUPPORTED, reply.exception_.code_); in TEST_F()
[all...]
/foundation/ability/ability_lite/services/abilitymgr_lite/include/util/
H A Dabilityms_status.h24 AbilityMsStatus() : code_(OK) {} in AbilityMsStatus()
83 if (code_ == ABILITY_DUMP) { in DumpAppend()
90 if (code_ == ABILITY_DUMP) { in DumpAppend()
97 if (code_ == ABILITY_DUMP) { in Dump()
105 return code_ == OK; in IsOk()
110 return code_ == NO_ACTIVE_ABILITY; in IsNoActiveAbility()
115 return code_ == PROCESS_ERROR; in IsProcessError()
120 return code_ == APP_TRANSACT_ERROR; in IsTransactError()
139 StatusCode code_ = OK; member in OHOS::AbilityMsStatus
/foundation/ability/ability_runtime/test/unittest/ability_scheduler_proxy_test/
H A Dability_scheduler_proxy_test.cpp99 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_TRANSACTION, mock_->code_); in HWTEST_F()
120 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_TRANSACTION, mock_->code_); in HWTEST_F()
140 EXPECT_EQ(IAbilityScheduler::SEND_RESULT, mock_->code_); in HWTEST_F()
160 EXPECT_EQ(IAbilityScheduler::SEND_RESULT, mock_->code_); in HWTEST_F()
180 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_CONNECT, mock_->code_); in HWTEST_F()
200 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_CONNECT, mock_->code_); in HWTEST_F()
220 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_DISCONNECT, mock_->code_); in HWTEST_F()
240 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_DISCONNECT, mock_->code_); in HWTEST_F()
260 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_COMMAND, mock_->code_); in HWTEST_F()
280 EXPECT_EQ(IAbilityScheduler::SCHEDULE_ABILITY_COMMAND, mock_->code_); in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/
H A Dability_manager_proxy_test.cpp89 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::DUMPSYS_STATE), mock_->code_); in HWTEST_F()
110 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::START_ABILITY), mock_->code_); in HWTEST_F()
130 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::START_ABILITY), mock_->code_); in HWTEST_F()
151 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::TERMINATE_ABILITY), mock_->code_); in HWTEST_F()
172 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::TERMINATE_ABILITY), mock_->code_); in HWTEST_F()
192 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::SEND_RESULT_TO_ABILITY), mock_->code_); in HWTEST_F()
211 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::SEND_RESULT_TO_ABILITY), mock_->code_); in HWTEST_F()
237 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::CONNECT_ABILITY_WITH_TYPE), mock_->code_); in HWTEST_F()
258 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::CONNECT_ABILITY_WITH_TYPE), mock_->code_); in HWTEST_F()
278 EXPECT_EQ(static_cast<uint32_t>(AbilityManagerInterfaceCode::DISCONNECT_ABILITY), mock_->code_); in HWTEST_F()
[all...]
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-register.h222 (code_ & (3 << (2 * kBitsPerGpRegCode))); in is_pair()
226 return kNeedI64RegPair && (code_ & (1 << (2 * kBitsPerGpRegCode))) != 0; in is_gp_pair()
229 return kNeedS128RegPair && (code_ & (2 << (2 * kBitsPerGpRegCode))) != 0; in is_fp_pair()
231 constexpr bool is_gp() const { return code_ < kAfterMaxLiftoffGpRegCode; } in is_gp()
233 return code_ >= kAfterMaxLiftoffGpRegCode && in is_fp()
234 code_ < kAfterMaxLiftoffFpRegCode; in is_fp()
253 return Register::from_code(code_ & kCodeMask); in low_gp()
259 return Register::from_code((code_ >> kBitsPerGpRegCode) & kCodeMask); in high_gp()
265 return DoubleRegister::from_code(code_ & kCodeMask); in low_fp()
271 return DoubleRegister::from_code((code_ in high_fp()
313 storage_t code_; global() member in v8::internal::wasm::LiftoffRegister
[all...]
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_common_event_data.cpp21 CommonEventData::CommonEventData() : code_(0) in CommonEventData()
24 CommonEventData::CommonEventData(const Want& want) : want_(want), code_(0) in CommonEventData()
28 : want_(want), code_(code), data_(data) in CommonEventData()
36 code_ = code; in SetCode()
41 return code_; in GetCode()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dexpected.h116 constexpr ReturnValue(Enum code) : code_(code) {} in ReturnValue()
121 return BASE_NS::underlying_type_t<Enum>(code_) > 0; in operator bool()
126 return code_; in GetCode()
131 return code_ == v; in operator ==()
136 return code_ != v; in operator !=()
140 Enum code_ {};
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dheader_data.cpp30 : containerType_(containerType), code_(code), transactionID_(transactionID) in HeaderData()
49 code_ = MtpPacketTool::GetUInt16(buffer[offset + OFFSET_6], buffer[offset + OFFSET_7]); in Parser()
57 context_->operationCode = code_; in Parser()
74 MtpPacketTool::PutUInt16(outBuffer, code_); in Maker()
81 return code_; in GetCode()
86 code_ = code; in SetCode()
123 code_ = 0; in Reset()
/foundation/ability/ability_runtime/test/unittest/stop_user_callback_proxy_test/
H A Dstop_user_callback_stub_mock.h29 StopUserCallbackStubMock() : code_(0) {} in StopUserCallbackStubMock()
36 code_ = code; in InvokeSendRequest()
42 code_ = code; in InvokeErrorSendRequest()
46 int code_ = 0; member in OHOS::AAFwk::StopUserCallbackStubMock
/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/
H A Ddatashare_business_error.h28 return code_; in GetCode()
34 code_ = atoi(code.c_str()); in SetCode()
40 code_ = code; in SetCode()
56 int code_ = 0; member in OHOS::DataShare::DatashareBusinessError
/foundation/filemanagement/app_file_service/utils/include/b_error/
H A Db_error.h143 return code_; in GetRawCode()
178 return code_ != Codes::OK; in operator bool()
200 explicit BError(Codes code = Codes::OK, DEFINE_SOURCE_LOCATION) : code_(code) in BError()
202 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {mpErrToMsg_.at(code_)}); in BError()
214 BError(Codes code, const std::string_view &extraMsg, DEFINE_SOURCE_LOCATION) : code_(code) in BError()
216 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {mpErrToMsg_.at(code_), extraMsg}); in BError()
227 explicit BError(int stdErrno, DEFINE_SOURCE_LOCATION) : code_ {stdErrno} in BError()
230 msg_ = WrapMessageWithExtraInfos(fileName, lineNo, functionName, code_, {rawMs
[all...]
/foundation/ability/ability_runtime/test/unittest/remote_mission_listener_proxy_test/
H A Dremote_mission_listener_proxy_test.cpp66 EXPECT_EQ(IRemoteMissionListener::NOTIFY_MISSION_CHANGED, mock_->code_); in HWTEST_F()
84 EXPECT_EQ(IRemoteMissionListener::NOTIFY_MISSION_CHANGED, mock_->code_); in HWTEST_F()
103 EXPECT_EQ(IRemoteMissionListener::NOTIFY_SNAPSHOT, mock_->code_); in HWTEST_F()
122 EXPECT_EQ(IRemoteMissionListener::NOTIFY_SNAPSHOT, mock_->code_); in HWTEST_F()
141 EXPECT_EQ(IRemoteMissionListener::NOTIFY_NET_DISCONNECT, mock_->code_); in HWTEST_F()
160 EXPECT_EQ(IRemoteMissionListener::NOTIFY_NET_DISCONNECT, mock_->code_); in HWTEST_F()
H A Dremote_mission_listener_stub_mock.h29 RemoteMissionListenerStubMock() : code_(0) {} in RemoteMissionListenerStubMock()
36 code_ = code; in InvokeSendRequest()
42 code_ = code; in InvokeErrorSendRequest()
46 int code_ = 0; member in OHOS::AAFwk::RemoteMissionListenerStubMock
H A Dremote_on_listener_stub_mock.h29 RemoteOnListenerStubMock() : code_(0) {} in RemoteOnListenerStubMock()
36 code_ = code; in InvokeSendRequest()
42 code_ = code; in InvokeErrorSendRequest()
46 int code_ = 0; member in OHOS::AAFwk::RemoteOnListenerStubMock
/foundation/ability/ability_runtime/test/unittest/app_mgr_proxy_test/
H A Dapp_mgr_proxy_test.cpp120 mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::APP_GET_RUNNING_PROCESSES_BY_USER_ID)); in HWTEST_F()
142 mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::APP_GET_ALL_RENDER_PROCESSES)); in HWTEST_F()
164 mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::GET_ALL_CHILDREN_PROCESSES)); in HWTEST_F()
186 EXPECT_EQ(mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::GET_APP_RUNNING_STATE)); in HWTEST_F()
209 EXPECT_EQ(mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::NOTIFY_LOAD_REPAIR_PATCH)); in HWTEST_F()
232 EXPECT_EQ(mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::NOTIFY_HOT_RELOAD_PAGE)); in HWTEST_F()
255 EXPECT_EQ(mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::NOTIFY_UNLOAD_REPAIR_PATCH)); in HWTEST_F()
275 EXPECT_EQ(mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::PRE_START_NWEBSPAWN_PROCESS)); in HWTEST_F()
297 EXPECT_EQ(mockAppMgrService_->code_, static_cast<uint32_t>(AppMgrInterfaceCode::GET_PROCESS_MEMORY_BY_PID)); in HWTEST_F()
320 EXPECT_EQ(mockAppMgrService_->code_, static_cas in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/app_debug_listener_proxy_test/
H A Dapp_debug_listener_stub_mock.h31 AppDebugListenerStubMock() : code_(0) {} in AppDebugListenerStubMock()
36 code_ = code; in InvokeSendRequest()
42 code_ = code; in InvokeErrorSendRequest()
46 uint32_t code_ = 0; member in OHOS::AppExecFwk::AppDebugListenerStubMock
/third_party/node/deps/v8/src/regexp/experimental/
H A Dexperimental-compiler.cc216 // TODO(mbid,v8:10765): Use some upper bound for code_ capacity computed from
218 explicit BytecodeAssembler(Zone* zone) : zone_(zone), code_(0, zone) {} in BytecodeAssembler()
220 ZoneList<RegExpInstruction> IntoCode() && { return std::move(code_); } in IntoCode()
222 void Accept() { code_.Add(RegExpInstruction::Accept(), zone_); } in Accept()
225 code_.Add(RegExpInstruction::Assertion(t), zone_); in Assertion()
229 code_.Add(RegExpInstruction::ClearRegister(register_index), zone_); in ClearRegister()
233 code_.Add(RegExpInstruction::ConsumeRange(from, to), zone_); in ConsumeRange()
237 code_.Add(RegExpInstruction::ConsumeAnyChar(), zone_); in ConsumeAnyChar()
249 code_.Add(RegExpInstruction::SetRegisterToCp(register_index), zone_); in SetRegisterToCp()
255 int index = code_ in Bind()
293 ZoneList<RegExpInstruction> code_; global() member in v8::internal::__anon14955::BytecodeAssembler
[all...]
/third_party/node/deps/v8/src/parsing/
H A Dpreparser.h96 PreParserExpression() : code_(TypeField::encode(kNull)) {} in PreParserExpression()
192 return ExpressionTypeField::decode(code_) == kCallTaggedTemplateExpression; in is_tagged_template()
201 bool IsNull() const { return TypeField::decode(code_) == kNull; } in IsNull()
203 return TypeField::decode(code_) == kFailure; in IsFailureExpression()
207 return TypeField::decode(code_) == kIdentifierExpression; in IsIdentifier()
212 return PreParserIdentifier(IdentifierTypeField::decode(code_)); in AsIdentifier()
216 return TypeField::decode(code_) == kExpression && in IsAssignment()
217 ExpressionTypeField::decode(code_) == kAssignment; in IsAssignment()
221 return TypeField::decode(code_) == kObjectLiteralExpression; in IsObjectLiteral()
225 return TypeField::decode(code_) in IsArrayLiteral()
494 Type code_; global() member in v8::internal::PreParserStatement
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_first_frame_state_observer_proxy_test/
H A Dmock_ability_first_frame_state_observer_stub.h34 code_ = code; in InvokeSendRequest()
40 return code_; in GetCode()
44 int code_ = 0; member in OHOS::AppExecFwk::MockAbilityFirstFrameStateObserverStub
/foundation/ability/ability_runtime/test/unittest/ability_foreground_state_observer_proxy_test/
H A Dmock_ability_foreground_state_observer_stub.h34 code_ = code; in InvokeSendRequest()
40 return code_; in GetCode()
44 int code_ = 0; member in OHOS::AppExecFwk::MockAbilityForegroundStateObserverStub
/third_party/node/deps/v8/src/codegen/
H A Dcallable.h20 : code_(code), descriptor_(descriptor) {} in Callable()
22 Handle<CodeT> code() const { return code_; } in code()
26 const Handle<CodeT> code_; member in v8::internal::final
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
H A Dnapi_preferences_error.h117 code_ = E_INNER_ERROR; in InnerError()
126 code_ = napiError.jsCode; in InnerError()
129 code_ = E_INNER_ERROR; in InnerError()
141 return code_;
144 int code_; member in OHOS::PreferencesJsKit::InnerError
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_rdb_error.h101 code_ = napiError.jsCode; in InnerError()
104 code_ = E_INNER_ERROR; in InnerError()
111 code_ = E_INNER_ERROR; in InnerError()
122 return code_;
125 int code_; member in OHOS::RelationalStoreJsKit::InnerError
/foundation/ability/ability_runtime/test/unittest/ability_manager_collaborator_proxy_test/
H A Dability_manager_collaborator_stub_mock.h29 AbilityManagerCollaboratorStubMock() : code_(0) in AbilityManagerCollaboratorStubMock()
96 code_ = code; in InvokeSendRequest()
102 return code_; in GetCode()
106 int code_ = 0; member in OHOS::AAFwk::AbilityManagerCollaboratorStubMock

Completed in 17 milliseconds

1234567