/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | fillp_stack_app_config.c | 33 static FILLP_INT FtGetRightAppResourceByIndex(struct GlobalAppResource **resource, FILLP_INT sockIndex) in FtGetRightAppResourceByIndex() argument 54 *resource = &sock->resConf; in FtGetRightAppResourceByIndex() 56 *resource = &g_appResource; in FtGetRightAppResourceByIndex() 62 static FILLP_INT32 FtCheckCofigPar(FILLP_CONST FillpAppGlobalConfigsSt *resource, FILLP_INT sockIndex) in FtCheckCofigPar() argument 70 FILLP_INT32 ret = FtAppValidateConfigParams(resource); in FtCheckCofigPar() 77 static void CopyGlobalConfig(FILLP_CONST FillpAppGlobalConfigsSt *globalConfig, struct GlobalAppResource *resource) in CopyGlobalConfig() argument 79 if (globalConfig == FILLP_NULL_PTR || resource == FILLP_NULL_PTR) { in CopyGlobalConfig() 82 resource->udp.txBurst = globalConfig->udp.txBurst; in CopyGlobalConfig() 85 resource->common.maxServerAllowSendCache = globalConfig->common.maxServerAllowSendCache; in CopyGlobalConfig() 86 resource in CopyGlobalConfig() 129 struct GlobalAppResource *resource = FILLP_NULL_PTR; FtAppInitConfigSet() local 166 CopySockConfig(FillpAppGlobalConfigsSt *gresource, struct GlobalAppResource *resource) CopySockConfig() argument 217 struct GlobalAppResource *resource = FILLP_NULL_PTR; FtAppInitConfigGet() local 277 struct GlobalAppResource *resource = FILLP_NULL_PTR; FtSetConfigApp() local 415 struct GlobalAppResource *resource = FILLP_NULL_PTR; FtGetSockValue() local 498 struct GlobalAppResource *resource = &g_appResource; FtGetConfigApp() local [all...] |
H A D | fillp_stack_app_config_in.c | 163 Input : resource This is the pointer to FillpAppGlobalConfigsSt structure. 205 struct GlobalAppResource *resource, in FtAppTimerConfigSet() 216 resource->common.connectTimeout = timerValue; in FtAppTimerConfigSet() 226 struct GlobalAppResource *resource, in FtAppSetKeepAliveTime() 245 resource->common.keepAliveTime = timerValue; in FtAppSetKeepAliveTime() 259 resource->common.keepAliveTime = timerValue; in FtAppSetKeepAliveTime() 268 struct GlobalAppResource *resource, in FtAppSetConnRetryTimeout() 279 resource->common.connRetryTimeout = usTempTimerValue; in FtAppSetConnRetryTimeout() 286 struct GlobalAppResource *resource, in FtAppSetDisconnectRetryTimeout() 297 resource in FtAppSetDisconnectRetryTimeout() 203 FtAppTimerConfigSet( IN FILLP_CONST void *value, struct GlobalAppResource *resource, IN FILLP_INT sockIndex) FtAppTimerConfigSet() argument 224 FtAppSetKeepAliveTime( IN FILLP_CONST void *value, struct GlobalAppResource *resource, IN FILLP_INT sockIndex) FtAppSetKeepAliveTime() argument 266 FtAppSetConnRetryTimeout( IN FILLP_CONST void *value, struct GlobalAppResource *resource, IN FILLP_INT sockIndex) FtAppSetConnRetryTimeout() argument 284 FtAppSetDisconnectRetryTimeout( IN FILLP_CONST void *value, struct GlobalAppResource *resource, IN FILLP_INT sockIndex) FtAppSetDisconnectRetryTimeout() argument 315 FtAppConfigSetTxBurst( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetTxBurst() argument 333 FtAppConfigSetSendCache( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetSendCache() argument 360 FtAppConfigSetRecvCache( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetRecvCache() argument 387 FtAppSetMaxServerSendCache( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppSetMaxServerSendCache() argument 405 FtAppSetMaxServeRecvCache( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppSetMaxServeRecvCache() argument 424 FtAppConfigSetOppositeSetRate( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetOppositeSetRate() argument 455 FtAppConfigSetPktSize( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetPktSize() argument 495 FtAppConfigSetSendBufSize( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex, struct FtSocket *sock) FtAppConfigSetSendBufSize() argument 530 FtAppConfigSetRecvBufSize( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex, struct FtSocket *sock) FtAppConfigSetRecvBufSize() argument 565 FtAppConfigSetSlowStart( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetSlowStart() argument 590 FtAppConfigSetMaxRate( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetMaxRate() argument 615 FtAppConfigSetConstRate( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetConstRate() argument 633 FtAppConfigSetMaxRecvRate( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetMaxRecvRate() argument 652 FtAppEnlargePackInterval( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex, struct FtSocket *sock) FtAppEnlargePackInterval() argument 673 FtAppConfigInitNackDelayCfg( FILLP_INT sockIndex, struct GlobalAppResource *resource) FtAppConfigInitNackDelayCfg() argument 702 FtAppConfigSetEnableNackDelay( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetEnableNackDelay() argument 733 FtAppConfigSetNackDelayTimeout( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetNackDelayTimeout() argument 763 FtAppSetFcStatInterval( IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppSetFcStatInterval() argument 782 FtAppConfigSetPackInterval(IN FILLP_CONST void *value, struct GlobalAppResource *resource, FILLP_INT sockIndex) FtAppConfigSetPackInterval() argument 812 FtInnerAppConfigSetHelper( IN FILLP_UINT32 name, IN FILLP_CONST void *value, IN struct GlobalAppResource *resource, IN FILLP_INT sockIndex, IN struct FtSocket *sock) FtInnerAppConfigSetHelper() argument 865 FtInnerAppConfigSet( IN FILLP_UINT32 name, IN FILLP_CONST void *value, IN struct GlobalAppResource *resource, IN FILLP_INT sockIndex, IN struct FtSocket *sock) FtInnerAppConfigSet() argument 924 FtInnerAppConfigGetHelper(FILLP_UINT32 name, void *value, FILLP_CONST struct GlobalAppResource *resource) FtInnerAppConfigGetHelper() argument 983 FtAppGetMaxServerSendCache(void *value, FILLP_CONST struct GlobalAppResource *resource) FtAppGetMaxServerSendCache() argument 997 FtAppGetMaxServeRecvCache(void *value, FILLP_CONST struct GlobalAppResource *resource) FtAppGetMaxServeRecvCache() argument 1011 FtAppConfigGetOppositeSetRate(void *value, FILLP_CONST struct GlobalAppResource *resource) FtAppConfigGetOppositeSetRate() argument 1038 FtInnerAppConfigGet(IN FILLP_UINT32 name, IO void *value, IN FILLP_CONST struct GlobalAppResource *resource) FtInnerAppConfigGet() argument [all...] |
H A D | api.c | 739 Input : resource : config resource structure to print info 745 void FillpDebugSocketConfigRes(FILLP_CONST struct GlobalAppResource *resource) in FillpDebugSocketConfigRes() argument 747 FILLP_SHOWDATABUTT("\r FillP max UDP TX burst number is (FT_CONF_TX_BURST) = %u", resource->udp.txBurst); in FillpDebugSocketConfigRes() 749 FILLP_SHOWDATABUTT("FillP keep alive timeout is (FT_CONF_TIMER_KEEP_ALIVE) = %u", resource->common.keepAliveTime); in FillpDebugSocketConfigRes() 752 resource->common.maxServerAllowSendCache); in FillpDebugSocketConfigRes() 755 resource->common.maxServerAllowRecvCache); in FillpDebugSocketConfigRes() 757 FILLP_SHOWDATABUTT("FillP max send cache is (FT_CONF_SEND_CACHE) = %u", resource->common.sendCache); in FillpDebugSocketConfigRes() 759 FILLP_SHOWDATABUTT("FillP max receive cache is (FT_CONF_RECV_CACHE) = %u", resource->common.recvCache); in FillpDebugSocketConfigRes() 762 resource in FillpDebugSocketConfigRes() 821 struct GlobalAppResource *resource = FILLP_NULL_PTR; FillpDebugCmdSocketConfigRes() local [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | fillp_stack_config_in.c | 327 static FILLP_INT32 FtValidateConfigParamsInner(IN FILLP_CONST FillpGlobalConfigsSt *resource) in FtValidateConfigParamsInner() argument 329 if ((resource->flowControl.oppositeSetPercentage == 0) || in FtValidateConfigParamsInner() 330 (resource->flowControl.oppositeSetPercentage > FILLP_MAX_STACK_OPPOSITE_SET_PERCENTAGE)) { in FtValidateConfigParamsInner() 332 resource->flowControl.oppositeSetPercentage); in FtValidateConfigParamsInner() 336 if ((resource->flowControl.nackRepeatTimes == 0) || in FtValidateConfigParamsInner() 337 (resource->flowControl.nackRepeatTimes > FILLP_MAX_STACK_NACK_REPEAT_TIMES)) { in FtValidateConfigParamsInner() 338 FILLP_LOGERR("nackRepeatTimes %u is invalid parameter!!!", resource->flowControl.nackRepeatTimes); in FtValidateConfigParamsInner() 342 if ((resource->flowControl.pktLossAllow == 0) || in FtValidateConfigParamsInner() 343 (resource->flowControl.pktLossAllow >= FILLP_MAX_STACK_PACKET_LOSS_ALLOWED)) { in FtValidateConfigParamsInner() 344 FILLP_LOGERR("pktLossAllow %u is invalid parameter!!!", resource in FtValidateConfigParamsInner() 351 FtValidateUdpConfigParamsInner(IN FILLP_CONST FillpGlobalConfigsSt *resource) FtValidateUdpConfigParamsInner() argument 361 FtValidateCommonConfigParamsInner(IN FILLP_CONST FillpGlobalConfigsSt *resource) FtValidateCommonConfigParamsInner() argument 398 FtValidateTimersConfigParamsInner(IN FILLP_CONST FillpGlobalConfigsSt *resource) FtValidateTimersConfigParamsInner() argument 410 FtValidateFlowcontorMaxRateMaxRecvRate(IN FILLP_CONST FillpGlobalConfigsSt *resource) FtValidateFlowcontorMaxRateMaxRecvRate() argument 427 FtValidateFlowcontorRateConfigParamsInner(IN FILLP_CONST FillpGlobalConfigsSt *resource) FtValidateFlowcontorRateConfigParamsInner() argument 446 FtValidateFlowcontorFairnessConfigParamsInner(IN FILLP_CONST FillpGlobalConfigsSt *resource) FtValidateFlowcontorFairnessConfigParamsInner() argument 466 FtValidateConfigParams(IN FILLP_CONST FillpGlobalConfigsSt *resource) FtValidateConfigParams() argument [all...] |
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/statistics/src/ |
H A D | client_trans_statistics.c | 79 TRANS_LOGE(TRANS_SDK, "socket resource calloc fail"); in AddSocketResource() 134 static int32_t PackStatistics(cJSON *json, SocketResource *resource) in PackStatistics() argument 136 if (json == NULL || resource == NULL) { in PackStatistics() 141 if (sprintf_s(laneId, sizeof(laneId), "%" PRIu64"", resource->laneId) < 0) { in PackStatistics() 145 if (!AddNumberToJsonObject(json, "channelId", resource->channelId) || in PackStatistics() 146 !AddNumberToJsonObject(json, "channelType", resource->channelType) || in PackStatistics() 147 !AddNumberToJsonObject(json, "socketId", resource->socketId) || in PackStatistics() 148 !AddNumber64ToJsonObject(json, "traffic", resource->traffic) || in PackStatistics() 149 !AddNumber64ToJsonObject(json, "startTime", resource->startTime) || in PackStatistics() 150 !AddNumber64ToJsonObject(json, "endTime", resource in PackStatistics() 162 CloseChannelAndSendStatistics(SocketResource *resource) CloseChannelAndSendStatistics() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_pipeline_descriptor_set_binder.h | 49 * @param handle Binding resource handle 57 * @param handle Binding resource handle 67 * @param resource Binding resource 69 virtual void BindBuffer(const uint32_t binding, const BindableBuffer& resource) = 0; 79 * @param handle Binding resource handle 85 * @param handle Binding resource handle 86 * @param samplerHandle Binding resource handle for combined image sampler 92 * @param resource Binding resources 94 virtual void BindImage(const uint32_t binding, const BindableImage& resource) [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | pipeline_descriptor_set_binder.cpp | 204 ref.resource = {}; in ClearBindings() 228 if (!RenderHandleUtil::IsValid(vec[idx].resource.handle)) { in PrintDescriptorSetLayoutBindingValidation() 229 PLUGIN_LOG_E("RENDER_VALIDATION: invalid resource in descriptor set bindings (binding:%u) (type:%s)", in PrintDescriptorSetLayoutBindingValidation() 246 const uint32_t binding, const BindableBuffer& resource, const AdditionalDescriptorFlags flags) in BindBuffer() 248 const RenderHandleType handleType = RenderHandleUtil::GetHandleType(resource.handle); in BindBuffer() 252 if (resource.byteSize == 0) { in BindBuffer() 263 buffers_[bind.resourceIndex].resource = resource; in BindBuffer() 279 void DescriptorSetBinder::BindBuffer(const uint32_t binding, const BindableBuffer& resource) in BindBuffer() argument 281 BindBuffer(binding, resource, in BindBuffer() 245 BindBuffer( const uint32_t binding, const BindableBuffer& resource, const AdditionalDescriptorFlags flags) BindBuffer() argument 342 BindImage( const uint32_t binding, const BindableImage& resource, const AdditionalDescriptorFlags flags) BindImage() argument 384 BindImage(const uint32_t binding, const BindableImage& resource) BindImage() argument 451 BindSampler( const uint32_t binding, const BindableSampler& resource, const AdditionalDescriptorFlags flags) BindSampler() argument 478 BindSampler(const uint32_t binding, const BindableSampler& resource) BindSampler() argument 605 BindBuffer( const uint32_t set, const uint32_t binding, const BindableBuffer& resource, const AdditionalDescriptorFlags flags) BindBuffer() argument 616 BindBuffer(const uint32_t set, const uint32_t binding, const BindableBuffer& resource) BindBuffer() argument 632 BindImage( const uint32_t set, const uint32_t binding, const BindableImage& resource, const AdditionalDescriptorFlags flags) BindImage() argument 643 BindImage(const uint32_t set, const uint32_t binding, const BindableImage& resource) BindImage() argument 659 BindSampler( const uint32_t set, const uint32_t binding, const BindableSampler& resource, const AdditionalDescriptorFlags flags) BindSampler() argument 670 BindSampler( const uint32_t set, const uint32_t binding, const BindableSampler& resource) BindSampler() argument [all...] |
H A D | pipeline_descriptor_set_binder.h | 105 const uint32_t binding, const BindableBuffer& resource, const AdditionalDescriptorFlags flags) override; 106 void BindBuffer(const uint32_t binding, const BindableBuffer& resource) override; 115 const uint32_t binding, const BindableImage& resource, const AdditionalDescriptorFlags flags) override; 116 void BindImage(const uint32_t binding, const BindableImage& resource) override; 124 const uint32_t binding, const BindableSampler& resource, const AdditionalDescriptorFlags flags) override; 125 void BindSampler(const uint32_t binding, const BindableSampler& resource) override; 180 void BindBuffer(const uint32_t set, const uint32_t binding, const BindableBuffer& resource, 182 void BindBuffer(const uint32_t set, const uint32_t binding, const BindableBuffer& resource) override; 186 void BindImage(const uint32_t set, const uint32_t binding, const BindableImage& resource, 188 void BindImage(const uint32_t set, const uint32_t binding, const BindableImage& resource) overrid [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/resourceholder_fuzzer/ |
H A D | resource_holder_fuzzer.cpp | 35 ResourceHolder resource; in ResourceHolderFuzzTest000() local 37 resource.HoldResource(img); in ResourceHolderFuzzTest000() 38 resource.ReleaseResource(); in ResourceHolderFuzzTest000() 39 resource.IsEmpty(); in ResourceHolderFuzzTest000()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_mdk_kits.cpp | 117 struct OhosImageSourceOps* ops, std::shared_ptr<ImageSource> &result, ImageResource &resource) in ImageSourceNativeCreate() 135 resource.type = ImageResourceType::IMAGE_RESOURCE_PATH; in ImageSourceNativeCreate() 136 resource.path = path; in ImageSourceNativeCreate() 140 resource.type = ImageResourceType::IMAGE_RESOURCE_FD; in ImageSourceNativeCreate() 141 resource.fd = source->fd; in ImageSourceNativeCreate() 146 resource.type = ImageResourceType::IMAGE_RESOURCE_BUFFER; in ImageSourceNativeCreate() 147 resource.buffer = source->buffer; in ImageSourceNativeCreate() 148 resource.bufferSize = source->bufferSize; in ImageSourceNativeCreate() 161 std::shared_ptr<IncrementalPixelMap> incrementalPixelMap, ImageResource* resource) in ImageSourceCreateNapi() 179 if (resource ! in ImageSourceCreateNapi() 116 ImageSourceNativeCreate(struct OhosImageSource* source, struct OhosImageSourceOps* ops, std::shared_ptr<ImageSource> &result, ImageResource &resource) ImageSourceNativeCreate() argument 159 ImageSourceCreateNapi(napi_env env, napi_value* res, std::shared_ptr<ImageSource> imageSource, std::shared_ptr<IncrementalPixelMap> incrementalPixelMap, ImageResource* resource) ImageSourceCreateNapi() argument 192 ImageResource resource; ImageSourceNapiCreate() local 224 ImageResource resource; ImageSourceNapiCreateFromUri() local 257 ImageResource resource; ImageSourceNapiCreateFromFd() local 292 ImageResource resource; ImageSourceNapiCreateFromData() local 335 ImageResource resource; ImageSourceNapiCreateFromRawFile() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_util.cpp | 42 GpuBuffer* resource = gpuResourceMgr.GetBuffer(handle); in CopyGpuResource() local 43 PLUGIN_ASSERT(resource); in CopyGpuResource() 44 if (resource == nullptr) { in CopyGpuResource() 51 CopyGpuBufferVk(*resource, byteArray); in CopyGpuResource() 56 CopyGpuBufferGLES(*resource, byteArray); in CopyGpuResource()
|
H A D | shader_pipeline_binder.cpp | 367 const uint32_t set, const uint32_t binding, const BindableBufferWithHandleReference& resource) in BindBuffer() 369 if (resource.handle && set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindBuffer() 372 const RenderHandleType type = resource.handle.GetHandleType(); in BindBuffer() 381 setResources.buffers[resIdx] = resource; in BindBuffer() 387 resource.handle.GetHandle(), in BindBuffer() 388 resource.byteOffset, in BindBuffer() 389 resource.byteSize, in BindBuffer() 430 const uint32_t set, const uint32_t binding, const BindableImageWithHandleReference& resource) in BindImage() 432 if (resource.handle && (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT)) { in BindImage() 435 const RenderHandleType type = resource in BindImage() 366 BindBuffer( const uint32_t set, const uint32_t binding, const BindableBufferWithHandleReference& resource) BindBuffer() argument 429 BindImage( const uint32_t set, const uint32_t binding, const BindableImageWithHandleReference& resource) BindImage() argument 495 BindSampler( const uint32_t set, const uint32_t binding, const BindableSamplerWithHandleReference& resource) BindSampler() argument [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/ |
H A D | fillp_stack_app_config_in.h | 38 IN FILLP_CONST struct GlobalAppResource *resource); 40 IN struct GlobalAppResource *resource, IN FILLP_INT sockIndex, IN struct FtSocket *sock); 41 FILLP_INT FtAppConfigInitNackDelayCfg(FILLP_INT sockIndex, struct GlobalAppResource *resource);
|
/foundation/communication/dsoftbus/tests/core/common/dfx/statistics/unittest/ |
H A D | trans_network_statistics_test.cpp | 193 info.resource.laneId = 1234567890; in HWTEST_F() 194 EXPECT_EQ(EOK, strcpy_s(info.resource.localUdid, sizeof(info.resource.localUdid), "localUdid")); in HWTEST_F() 195 EXPECT_EQ(EOK, strcpy_s(info.resource.peerUdid, sizeof(info.resource.peerUdid), "peerUdid")); in HWTEST_F() 196 info.resource.laneLinkType = 1; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/ |
H A D | rich_text_resource.cpp | 16 #include "core/components/rich_text/resource/rich_text_resource.h" 37 LOGE("fail to release resource due to context is null"); in Release() 46 auto resource = weak.Upgrade(); in Release() 47 if (!resource || resource->id_ == INVALID_ID) { in Release() 48 LOGW("rich text resource has released"); in Release() 54 bool ret = resRegister->ReleaseResource(resource->GetHashCode()); in Release() 56 resource->Reset(); in Release()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/ |
H A D | bundle_mgr_client_system_test.cpp | 291 data.resource = "$profile:form_config"; in HWTEST_F() 316 data.resource = "$profile:form_config"; in HWTEST_F() 341 data.resource = "$profile:form_config"; in HWTEST_F() 390 data.resource = "$profile:form_config"; in HWTEST_F() 418 data.resource = "$profile:form_config"; in HWTEST_F() 447 data.resource = "$profile:form_config"; in HWTEST_F() 451 data1.resource = "$profile:shortcuts_config"; in HWTEST_F() 481 data.resource = "$profile:form_config"; in HWTEST_F() 485 data1.resource = "$profile:shortcuts_config"; in HWTEST_F() 517 data.resource in HWTEST_F() [all...] |
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | recorder_capability_napi.cpp | 46 napi_value resource = nullptr; in GetAudioRecorderCaps() local 48 napi_create_string_utf8(env, "GetAudioRecorderCaps", NAPI_AUTO_LENGTH, &resource); in GetAudioRecorderCaps() 49 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in GetAudioRecorderCaps() 97 napi_value resource = nullptr; in IsAudioRecorderConfigSupported() local 98 napi_create_string_utf8(env, "IsAudioRecorderConfigSupported", NAPI_AUTO_LENGTH, &resource); in IsAudioRecorderConfigSupported() 99 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in IsAudioRecorderConfigSupported() 141 napi_value resource = nullptr; in GetVideoRecorderCaps() local 142 napi_create_string_utf8(env, "GetVideoRecorderCaps", NAPI_AUTO_LENGTH, &resource); in GetVideoRecorderCaps() 143 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in GetVideoRecorderCaps() 194 napi_value resource in GetVideoRecorderProfile() local 248 napi_value resource = nullptr; HasVideoRecorderProfile() local [all...] |
H A D | video_recorder_napi.cpp | 175 napi_value resource = nullptr; in CreateVideoRecorder() local 176 napi_create_string_utf8(env, "createVideoRecorder", NAPI_AUTO_LENGTH, &resource); in CreateVideoRecorder() 177 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoRecorder() 236 napi_value resource = nullptr; in Prepare() local 237 napi_create_string_utf8(env, "Prepare", NAPI_AUTO_LENGTH, &resource); in Prepare() 238 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in Prepare() 284 napi_value resource = nullptr; in GetInputSurface() local 285 napi_create_string_utf8(env, "GetInputSurface", NAPI_AUTO_LENGTH, &resource); in GetInputSurface() 286 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in GetInputSurface() 343 napi_value resource in Start() local 391 napi_value resource = nullptr; Pause() local 441 napi_value resource = nullptr; Resume() local 489 napi_value resource = nullptr; Stop() local 537 napi_value resource = nullptr; Reset() local 592 napi_value resource = nullptr; Release() local [all...] |
/foundation/arkui/napi/sample/native_module_storage/ |
H A D | js_storage.h | 125 void CreateAsyncWorkOfGet(napi_env env, StorageAsyncContext *asyncContext, napi_value resource, napi_value result); 126 void CreateAsyncWorkOfSet(napi_env env, StorageAsyncContext *asyncContext, napi_value resource, napi_value result); 127 void CreateAsyncWorkOfDelete(napi_env env, StorageAsyncContext *asyncContext, napi_value resource, napi_value result); 128 void CreateAsyncWorkOfClear(napi_env env, StorageAsyncContext *asyncContext, napi_value resource, napi_value result);
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link/ |
H A D | lnn_lane_link_deps_mock.cpp | 91 int32_t FindLaneResourceByLinkType(const char *peerUdid, LaneLinkType type, LaneResource *resource) in FindLaneResourceByLinkType() argument 93 return GetLaneLinkDepsInterface()->FindLaneResourceByLinkType(peerUdid, type, resource); in FindLaneResourceByLinkType() 101 int32_t FindLaneResourceByLaneId(uint64_t laneId, LaneResource *resource) in FindLaneResourceByLaneId() argument 103 return GetLaneLinkDepsInterface()->FindLaneResourceByLaneId(laneId, resource); in FindLaneResourceByLaneId()
|
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | intell_voice_napi_queue.cpp | 88 napi_value resource = nullptr; in AsyncWork() local 89 napi_create_string_utf8(env, name.c_str(), NAPI_AUTO_LENGTH, &resource); in AsyncWork() 90 napi_status status = napi_create_async_work(env, nullptr, resource, execute, AsyncCompleteCallback, in AsyncWork() 120 napi_value resource = nullptr; in AsyncWork() local 121 napi_create_string_utf8(env, name.c_str(), NAPI_AUTO_LENGTH, &resource); in AsyncWork() 122 napi_status status = napi_create_async_work(env, nullptr, resource, execute, complete, in AsyncWork()
|
/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/ |
H A D | picker_napi_utils.cpp | 62 napi_value resource = nullptr; in NapiCreateAsyncWork() local 64 napi_create_string_utf8(env, resourceName.c_str(), NAPI_AUTO_LENGTH, &(resource)); in NapiCreateAsyncWork() 65 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, execute, complete, in NapiCreateAsyncWork()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_graph.cpp | 203 const EngineResourceHandle gpuHandle = gpuResourceMgr.GetGpuHandle(resState.resource.handle); in DebugPrintImageState() 205 resState.resource.handle.id, gpuResourceMgr.GetName(resState.resource.handle).c_str(), in DebugPrintImageState() 206 resState.resource.imageLayout, RenderHandleUtil::GetIndexPart(resState.resource.handle), in DebugPrintImageState() 207 RenderHandleUtil::GetGenerationIndexPart(resState.resource.handle), in DebugPrintImageState() 228 storeState.resource.imageLayout = imageLayout; in PatchRenderPassFinalLayout() 249 // resource states are copied from valid subpasses to another render command list subpasses in UpdateMultiRenderCommandListRenderPasses() 296 // copy input resource state in UpdateMultiRenderCommandListRenderPasses() 625 // need to store some of the resource fo in ProcessRenderNodeGraph() [all...] |
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ |
H A D | system_sound_manager_napi.cpp | 484 napi_value resource = nullptr; in SetRingtoneUri() local 523 napi_create_string_utf8(env, "SetRingtoneUri", NAPI_AUTO_LENGTH, &resource); in SetRingtoneUri() 524 status = napi_create_async_work(env, nullptr, resource, AsyncSetRingtoneUri, in SetRingtoneUri() 556 napi_value resource = nullptr; in GetRingtoneUri() local 591 napi_create_string_utf8(env, "GetRingtoneUri", NAPI_AUTO_LENGTH, &resource); in GetRingtoneUri() 592 status = napi_create_async_work(env, nullptr, resource, AsyncGetRingtoneUri, in GetRingtoneUri() 664 napi_value resource = nullptr; in GetRingtonePlayer() local 699 napi_create_string_utf8(env, "GetRingtonePlayer", NAPI_AUTO_LENGTH, &resource); in GetRingtonePlayer() 700 status = napi_create_async_work(env, nullptr, resource, AsyncGetRingtonePlayer, in GetRingtonePlayer() 730 napi_value resource in SetSystemToneUri() local 802 napi_value resource = nullptr; GetSystemToneUri() local 864 napi_value resource = nullptr; GetSystemTonePlayer() local 998 napi_value resource = nullptr; GetDefaultRingtoneAttrs() local 1084 napi_value resource = nullptr; GetRingtoneAttrList() local 1176 napi_value resource = nullptr; GetDefaultSystemToneAttrs() local 1237 napi_value resource = nullptr; GetSystemToneAttrList() local 1298 napi_value resource = nullptr; SetAlarmToneUri() local 1367 napi_value resource = nullptr; GetAlarmToneUri() local 1420 napi_value resource = nullptr; GetDefaultAlarmToneAttrs() local 1471 napi_value resource = nullptr; GetAlarmToneAttrList() local 1521 napi_value resource = nullptr; OpenAlarmTone() local 1612 napi_value resource = nullptr; Close() local 1803 napi_value resource = nullptr; RemoveCustomizedTone() local [all...] |
/foundation/multimedia/player_framework/frameworks/js/player/ |
H A D | video_player_napi.cpp | 211 napi_value resource = nullptr; in CreateVideoPlayer() local 212 napi_create_string_utf8(env, "CreateVideoPlayer", NAPI_AUTO_LENGTH, &resource); in CreateVideoPlayer() 213 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoPlayer() 450 napi_value resource = nullptr; in SetDisplaySurface() local 451 napi_create_string_utf8(env, "SetDisplaySurface", NAPI_AUTO_LENGTH, &resource); in SetDisplaySurface() 452 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, VideoPlayerNapi::AsyncSetDisplaySurface, in SetDisplaySurface() 564 napi_value resource = nullptr; in Prepare() local 565 napi_create_string_utf8(env, "Prepare", NAPI_AUTO_LENGTH, &resource); in Prepare() 566 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in Prepare() 598 napi_value resource in Play() local 631 napi_value resource = nullptr; Pause() local 663 napi_value resource = nullptr; Stop() local 696 napi_value resource = nullptr; Reset() local 740 napi_value resource = nullptr; Release() local 793 napi_value resource = nullptr; Seek() local 837 napi_value resource = nullptr; SetSpeed() local 879 napi_value resource = nullptr; SelectBitrate() local 951 napi_value resource = nullptr; GetTrackDescription() local 996 napi_value resource = nullptr; SetVolume() local [all...] |