Home
last modified time | relevance | path

Searched +defs:code +defs:context (Results 1 – 25 of 116) sorted by relevance

12345

/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
Dpacket_payload_factory.cpp53 …_ptr<PayloadData> PacketPayloadFactory::CreatePayload(std::shared_ptr<MtpOperationContext> &contex… in CreatePayload()
54 const uint16_t code, const uint16_t stage) in CreatePayload()
108 …<PayloadData> PacketPayloadFactory::CreatePayloadMore(std::shared_ptr<MtpOperationContext> &contex… in CreatePayloadMore()
109 const uint16_t code, const uint16_t stage) in CreatePayloadMore()
Dheader_data.cpp24 HeaderData::HeaderData(std::shared_ptr<MtpOperationContext> &context) in HeaderData()
29 HeaderData::HeaderData(uint16_t containerType, uint16_t code, uint32_t transactionID) in HeaderData()
84 void HeaderData::SetCode(uint16_t code) in SetCode()
Dmtp_event.cpp25 MtpEvent::MtpEvent(const std::shared_ptr<MtpOperationContext> &context) in MtpEvent()
93 void MtpEvent::SendEvent(const int32_t &code) in SendEvent()
117 uint16_t MtpEvent::EventPayloadData(const uint16_t code, shared_ptr<PayloadData> &data) in EventPayloadData()
/foundation/arkui/ace_engine/test/unittest/interfaces/
Dnative_node_napi_test.cpp39 ArkUI_ContextHandle* context = nullptr; variable
40 int32_t code = OH_ArkUI_GetContextFromNapiValue(env, value, context); variable
53 ArkUI_NodeContentHandle* context = nullptr; variable
54 int32_t code = OH_ArkUI_GetNodeContentFromNapiValue(env, value, context); variable
67 ArkUI_NodeHandle* context = nullptr; variable
68 int32_t code = OH_ArkUI_GetNodeHandleFromNapiValue(env, value, context); variable
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
Dnapi_castengine_utils.h32 #define CHECK_ARGS_RETURN_VOID(context, condition, message, code) \ argument
43 #define CHECK_STATUS_RETURN_VOID(context, message, code) \ argument
/foundation/multimedia/audio_framework/frameworks/js/napi/common/
Dnapi_param_utils.h70 #define NAPI_CHECK_ARGS_RETURN_VOID(context, condition, message, code) \ argument
81 #define NAPI_CHECK_STATUS_RETURN_VOID(context, message, code) \ argument
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
Dnapi_utils.h39 #define CHECK_ARGS_RETURN_VOID(context, condition, message, code) \ argument
50 #define CHECK_STATUS_RETURN_VOID(context, message, code) \ argument
/foundation/distributeddatamgr/preferences/frameworks/cj/src/
Dpreferences_impl.cpp37 std::tuple<int32_t, std::string> GetInstancePath(OHOS::AbilityRuntime::Context* context, const std:… in GetInstancePath()
58 PreferencesImpl::PreferencesImpl(OHOS::AbilityRuntime::Context* context, in PreferencesImpl()
86 int32_t PreferencesImpl::DeletePreferences(OHOS::AbilityRuntime::Context* context, const std::strin… in DeletePreferences()
100 int32_t PreferencesImpl::RemovePreferencesFromCache(OHOS::AbilityRuntime::Context* context, const s… in RemovePreferencesFromCache()
261 static CArrDouble VectorToDoubleArray(const std::vector<double> &doubles, int32_t &code) in VectorToDoubleArray()
278 static CArrBool VectorToBoolArray(std::vector<bool> &bools, int32_t &code) in VectorToBoolArray()
302 static char** VectorToCharPointer(std::vector<std::string> &vec, int32_t &code) in VectorToCharPointer()
324 static CArrStr VectorToStringArray(std::vector<std::string> &strings, int32_t &code) in VectorToStringArray()
335 static ValueType NativeValueToCValueType(const PreferencesValue &pValue, int32_t &code) in NativeValueToCValueType()
376 …es NativeValuesToCValueTypes(const std::map<std::string, PreferencesValue> &objects, int32_t &code) in NativeValuesToCValueTypes()
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/
Dasync_call.cpp23 std::shared_ptr<Context> context) : env_(env) in AsyncCall()
97 AsyncContext *context = reinterpret_cast<AsyncContext *>(data); in OnExecute() local
105 napi_value code = nullptr; in SetBusinessError() local
116 AsyncContext *context = reinterpret_cast<AsyncContext *>(data); in OnComplete() local
150 void AsyncCall::DeleteContext(napi_env env, AsyncContext *context) in DeleteContext()
/foundation/ability/ability_runtime/test/unittest/ui_extension_context_test/
Dui_extension_context_test.cpp63 auto context = std::make_shared<UIExtensionContext>(); variable
81 auto context = std::make_shared<UIExtensionContext>(); variable
100 auto context = std::make_shared<UIExtensionContext>(); variable
116 auto context = std::make_shared<UIExtensionContext>(); variable
134 auto context = std::make_shared<UIExtensionContext>(); variable
152 auto context = std::make_shared<UIExtensionContext>(); variable
173 auto context = std::make_shared<UIExtensionContext>(); variable
193 auto context = std::make_shared<UIExtensionContext>(); variable
194 int32_t code = 2; variable
213 auto context = std::make_shared<UIExtensionContext>(); variable
[all …]
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
Dability_stage_test.cpp53 …int SendRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) o… in SendRequest()
98 std::shared_ptr<AbilityRuntime::Context> context = abilityStage_->GetContext(); variable
113 …std::shared_ptr<AbilityRuntime::Context> context = std::make_shared<AbilityRuntime::ContextImpl>(); variable
346 std::shared_ptr<AbilityRuntime::Context> context = abilityStage_->GetContext(); variable
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
Dnapi_async_call.cpp74 napi_value code = nullptr; in SetBusinessError() local
91 napi_value AsyncCall::Call(napi_env env, std::shared_ptr<BaseContext> context) in Call()
116 BaseContext *context = reinterpret_cast<BaseContext *>(data); in OnExecute() local
126 BaseContext *context = reinterpret_cast<BaseContext *>(data); in OnComplete() local
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
Dnapi_async_call.cpp84 napi_value code = nullptr; in SetBusinessError() local
99 napi_value AsyncCall::Call(napi_env env, std::shared_ptr<BaseContext> context, const std::string &n… in Call()
104 napi_value AsyncCall::Async(napi_env env, std::shared_ptr<BaseContext> context, const std::string &… in Async()
132 napi_value AsyncCall::Sync(napi_env env, std::shared_ptr<BaseContext> context) in Sync()
141 BaseContext *context = reinterpret_cast<BaseContext *>(data); in OnExecute() local
150 BaseContext *context = reinterpret_cast<BaseContext *>(data); in OnComplete() local
170 BaseContext *context = reinterpret_cast<BaseContext *>(data); in OnReturn() local
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/idl_interface/
Di_wifi_hotspot_iface.c54 Context *context = client->context; in StartSoftAp() local
76 Context *context = client->context; in StopSoftAp() local
97 Context *context = client->context; in SetHostapdConfig() local
124 Context *context = client->context; in GetStaInfos() local
150 Context *context = client->context; in SetMacFilter() local
171 Context *context = client->context; in DelMacFilter() local
192 Context *context = client->context; in DisassociateSta() local
213 Context *context = client->context; in GetValidFrequenciesForBand() local
238 WifiErrorNo SetCountryCode(const char *code, int id) in SetCountryCode()
242 Context *context = client->context; in SetCountryCode() local
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/form/
Dform_element.cpp138 auto context = context_.Upgrade(); in HandleOnAcquireEvent() local
165 auto context = context_.Upgrade(); in HandleOnRouterEvent() local
187 void FormElement::HandleOnErrorEvent(const std::string code, const std::string msg) in HandleOnErrorEvent()
193 auto context = context_.Upgrade(); in HandleOnErrorEvent() local
222 auto context = context_.Upgrade(); in HandleOnUninstallEvent() local
246 auto context = context_.Upgrade(); in Prepare() local
299 [weak = WeakClaim(this), instanceID](std::string code, std::string msg) { in Prepare()
383 auto context = GetContext().Upgrade(); in CreateCardContainer() local
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
Dnapi_async_call.cpp117 napi_value code = nullptr; in SetBusinessError() local
125 napi_value AsyncCall::Call(napi_env env, std::shared_ptr<ContextBase> context, const char *fun) in Call()
135 napi_value AsyncCall::Async(napi_env env, std::shared_ptr<ContextBase> context) in Async()
167 napi_value AsyncCall::Sync(napi_env env, std::shared_ptr<ContextBase> context) in Sync()
182 ContextBase *context = reinterpret_cast<ContextBase *>(data); in OnExecute() local
196 ContextBase *context = reinterpret_cast<ContextBase *>(data); in OnComplete() local
219 ContextBase *context = reinterpret_cast<ContextBase *>(data); in OnReturn() local
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
Dnnrt_delegate_kernel.cpp44 #define RETURN_TFLITE_ERROR_IF_NN_ERROR_FOR_COMPILE(code, callDesc) … argument
65 TfLiteStatus NnrtDelegateKernel::Init(TfLiteContext* context, const TfLiteDelegateParams* params) in Init()
96 TfLiteStatus NnrtDelegateKernel::Prepare(TfLiteContext* context, TfLiteNode* node) in Prepare()
128 TfLiteStatus NnrtDelegateKernel::Invoke(TfLiteContext* context, TfLiteNode* node) in Invoke()
178 TfLiteStatus NnrtDelegateKernel::BuildGraph(TfLiteContext* context, const NnrtDelegate::Options& de… in BuildGraph()
228 TfLiteStatus NnrtDelegateKernel::AddOpsAndTensors(TfLiteContext* context, const TfLiteIntArray* inp… in AddOpsAndTensors()
289 TfLiteStatus NnrtDelegateKernel::ConvertTensorTypeToNn(TfLiteContext* context, in ConvertTensorTypeToNn()
322 TfLiteStatus NnrtDelegateKernel::SetInputTensors(TfLiteContext* context, TfLiteNode* node, in SetInputTensors()
359 TfLiteStatus NnrtDelegateKernel::SetOutputTensors(TfLiteContext* context, TfLiteNode* node, in SetOutputTensors()
386 TfLiteStatus NnrtDelegateKernel::SetNnOptions(TfLiteContext* context, const NnrtDelegate::Options& … in SetNnOptions()
Dnnrt_utils.h48 #define RETURN_TFLITE_ERROR_IF_NN_ERROR(code, callDesc) \ argument
58 #define RETURN_TFLITE_ERROR_IF_NN_ERROR_FOR_TENSOR(code, callDesc, pTensor) … argument
110 TfLiteStatus TransposeTensor(TfLiteContext* context, int32_t tensorIndex, const int32_t* dims, in TransposeTensor()
/foundation/arkui/ace_engine/adapter/ohos/osal/
Djs_third_provider_interaction_operation.cpp196 int32_t code = provider->FindAccessibilityNodeInfosById( in FindAccessibilityNodeInfosByIdFromProvider() local
217 auto context = jsAccessibilityManager->GetPipelineContext().Upgrade(); in SetSearchElementInfoByAccessibilityIdResult() local
264 int32_t code = provider->FindAccessibilityNodeInfosByText( in FindAccessibilityNodeInfosByTextFromProvider() local
285 auto context = jsAccessibilityManager->GetPipelineContext().Upgrade(); in SetSearchElementInfoByTextResult() local
332 int32_t code = provider->FindFocusedAccessibilityNode( in FindFocusedElementInfoFromProvider() local
388 int32_t code = provider->FindNextFocusAccessibilityNode( in FocusMoveSearchProvider() local
457 int32_t code = provider->ExecuteAccessibilityAction( in ExecuteActionFromProvider() local
475 auto context = jsAccessibilityManager->GetPipelineContext().Upgrade(); in ExecuteActionForThird() local
510 int32_t code = provider->ClearFocusedAccessibilityNode(); in ClearFocusFromProvider() local
538 int32_t code = provider->GetAccessibilityNodeCursorPosition( in GetCursorPosition() local
[all …]
Dai_write_adapter.cpp73 auto context = pipelineContext_.Upgrade(); in CloseModalUIExtension() local
90 auto context = pipelineContext_.Upgrade(); in ShowModalUIExtension() local
117 callbacks.onResult = [](int32_t code, const AAFwk::Want& want) { in BindModalUIExtensionCallback()
126 …callbacks.onError = [weak = WeakClaim(this)](int32_t code, const std::string& name, const std::str… in BindModalUIExtensionCallback()
134 callbacks.onRelease = [](int32_t code) { in BindModalUIExtensionCallback()
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexeservice/src/
Dres_sched_exe_service_stub.cpp58 bool GetExtResType(uint32_t& resType, const nlohmann::json& context) in GetExtResType()
99 nlohmann::json context; in ReportRequestInner() local
170 int32_t ResSchedExeServiceStub::OnRemoteRequest(uint32_t code, MessageParcel &data, in OnRemoteRequest()
204 uint32_t& resType, int64_t& value, nlohmann::json& context) in ParseParcel()
/foundation/ability/ability_runtime/frameworks/cj/ffi/
Dcj_ability_delegator.cpp44 auto context = delegator_->GetAppContext(); in GetAppContext() local
67 void CJAbilityDelegator::FinishTest(const char* msg, int64_t code) in FinishTest()
161 void FFIAbilityDelegatorFinishTest(int64_t id, const char* msg, int64_t code) in FFIAbilityDelegatorFinishTest()
/foundation/multimedia/drm_framework/services/utils/include/
Dnapi_param_utils.h195 #define NAPI_CHECK_ARGS_RETURN_VOID(context, condition, message, code) \ argument
206 #define NAPI_CHECK_STATUS_RETURN_VOID(context, message, code) \ argument
/foundation/arkui/ace_engine/adapter/ohos/capability/window_connection_ng/
Dwindow_extension_connection_ohos_ng.cpp55 auto context = nodeStrong->GetRenderContext(); in OnWindowReady() local
96 auto context = container->GetPipelineContext(); in PostTaskToUI() local
108 auto context = node->GetRenderContext(); in UpdateFrameNodeTree() local
154 ErrCode code = AccountSA::OsAccountManager::QueryActiveOsAccountIds(userIds); in ConnectExtension() local
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
Dwifi_global_func_test.cpp283 string code; variable
290 string code; variable
296 string code = "cn"; variable
326 void MdmPropChangeEvt(const char *key, const char *value, void *context) in MdmPropChangeEvt()

12345