| /foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
| D | packet_payload_factory.cpp | 53 …_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()
|
| D | header_data.cpp | 24 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()
|
| D | mtp_event.cpp | 25 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/ |
| D | native_node_napi_test.cpp | 39 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/ |
| D | napi_castengine_utils.h | 32 #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/ |
| D | napi_param_utils.h | 70 #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/ |
| D | napi_utils.h | 39 #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/ |
| D | preferences_impl.cpp | 37 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/ |
| D | async_call.cpp | 23 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/ |
| D | ui_extension_context_test.cpp | 63 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/ |
| D | ability_stage_test.cpp | 53 …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/ |
| D | napi_async_call.cpp | 74 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/ |
| D | napi_async_call.cpp | 84 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/ |
| D | i_wifi_hotspot_iface.c | 54 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/ |
| D | form_element.cpp | 138 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/ |
| D | napi_async_call.cpp | 117 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/ |
| D | nnrt_delegate_kernel.cpp | 44 #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()
|
| D | nnrt_utils.h | 48 #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/ |
| D | js_third_provider_interaction_operation.cpp | 196 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 …]
|
| D | ai_write_adapter.cpp | 73 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/ |
| D | res_sched_exe_service_stub.cpp | 58 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/ |
| D | cj_ability_delegator.cpp | 44 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/ |
| D | napi_param_utils.h | 195 #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/ |
| D | window_extension_connection_ohos_ng.cpp | 55 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/ |
| D | wifi_global_func_test.cpp | 283 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()
|