/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
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->flowControl.pktLossAllow); in FtValidateConfigParamsInner() [all …]
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
D | fillp_stack_app_config.c | 33 static FILLP_INT FtGetRightAppResourceByIndex(struct GlobalAppResource **resource, FILLP_INT sockIn… 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 sockInd… in FtCheckCofigPar() argument 70 FILLP_INT32 ret = FtAppValidateConfigParams(resource); in FtCheckCofigPar() 77 …GlobalConfig(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->common.maxServerAllowRecvCache = globalConfig->common.maxServerAllowRecvCache; in CopyGlobalConfig() [all …]
|
D | fillp_stack_app_config_in.c | 205 struct GlobalAppResource *resource, in FtAppTimerConfigSet() argument 216 resource->common.connectTimeout = timerValue; in FtAppTimerConfigSet() 226 struct GlobalAppResource *resource, in FtAppSetKeepAliveTime() argument 245 resource->common.keepAliveTime = timerValue; in FtAppSetKeepAliveTime() 260 resource->common.keepAliveTime = timerValue; in FtAppSetKeepAliveTime() 269 struct GlobalAppResource *resource, in FtAppSetConnRetryTimeout() argument 280 resource->common.connRetryTimeout = usTempTimerValue; in FtAppSetConnRetryTimeout() 287 struct GlobalAppResource *resource, in FtAppSetDisconnectRetryTimeout() argument 298 resource->common.disconnectRetryTimeout = timerValue; in FtAppSetDisconnectRetryTimeout() 318 struct GlobalAppResource *resource, in FtAppConfigSetTxBurst() argument [all …]
|
D | api.c | 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.tx… in FillpDebugSocketConfigRes() 749 …FILLP_SHOWDATABUTT("FillP keep alive timeout is (FT_CONF_TIMER_KEEP_ALIVE) = %u", resource->common… 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.recvCa… in FillpDebugSocketConfigRes() 762 resource->common.udpSendBufSize); in FillpDebugSocketConfigRes() 765 resource->common.enableNackDelay); in FillpDebugSocketConfigRes() 768 resource->common.nackDelayTimeout); in FillpDebugSocketConfigRes() [all …]
|
/foundation/graphic/standard/frameworks/wmserver/src/ |
D | wmserver.c | 511 const struct wl_resource *resource, in ControllerGetDisplayPower() argument 516 wms_send_display_power(resource, WMS_ERROR_API_FAILED, 0); in ControllerGetDisplayPower() 517 wl_client_flush(wl_resource_get_client(resource)); in ControllerGetDisplayPower() 524 wms_send_display_power(resource, WMS_ERROR_API_FAILED, 0); in ControllerGetDisplayPower() 525 wl_client_flush(wl_resource_get_client(resource)); in ControllerGetDisplayPower() 527 wms_send_display_power(resource, WMS_ERROR_OK, status); in ControllerGetDisplayPower() 528 wl_client_flush(wl_resource_get_client(resource)); in ControllerGetDisplayPower() 532 const struct wl_resource *resource, in ControllerSetDisplayPower() argument 537 wms_send_reply_error(resource, WMS_ERROR_API_FAILED); in ControllerSetDisplayPower() 538 wl_client_flush(wl_resource_get_client(resource)); in ControllerSetDisplayPower() [all …]
|
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/mediacapability/ |
D | media_capability_napi.cpp | 138 napi_value resource = nullptr; in GetMediaCapability() local 139 napi_create_string_utf8(env, "GetMediaCapability", NAPI_AUTO_LENGTH, &resource); in GetMediaCapability() 140 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in GetMediaCapability() 168 napi_value resource = nullptr; in GetAudioDecoderCaps() local 169 napi_create_string_utf8(env, "GetAudioDecoderCaps", NAPI_AUTO_LENGTH, &resource); in GetAudioDecoderCaps() 170 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in GetAudioDecoderCaps() 217 napi_value resource = nullptr; in FindAudioDecoder() local 218 napi_create_string_utf8(env, "FindAudioDecoder", NAPI_AUTO_LENGTH, &resource); in FindAudioDecoder() 219 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in FindAudioDecoder() 265 napi_value resource = nullptr; in GetAudioEncoderCaps() local [all …]
|
/foundation/graphic/standard/frameworks/wmtest/test/ |
D | wmclient_native_test_3.cpp | 76 auto ret = resource.Parse(filename); in Run() 91 window->Resize(resource.GetWidth(), resource.GetHeight()); in Run() 114 resource.GetNextData(vaddr); in Draw() 133 resource.GetNextData(vaddr); in Draw() 135 resource.GetNowData(vaddr); in Draw() 142 RawParser resource; member in __anon989103fe0111::WMClientNativeTest3
|
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_document/ |
D | document_n_exporter.cpp | 36 napi_value resource; member 57 asyncCallbackInfo->resource, in DoChoosePromise() 85 asyncCallbackInfo->resource, in DoChooseCallback() 149 napi_value resource = nullptr; in Choose() local 150 NAPI_CALL(env, napi_create_string_utf8(env, "Choose", NAPI_AUTO_LENGTH, &resource)); in Choose() 156 .resource = resource, in Choose() 178 asyncCallbackInfo->resource, in DoShowPromise() 206 asyncCallbackInfo->resource, in DoShowCallback() 263 napi_value resource = nullptr; in Show() local 264 NAPI_CALL(env, napi_create_string_utf8(env, "Show", NAPI_AUTO_LENGTH, &resource)); in Show() [all …]
|
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/avcodec/video_decoder/ |
D | video_decoder_napi.cpp | 177 napi_value resource = nullptr; in CreateVideoDecoderByMime() local 178 napi_create_string_utf8(env, "CreateVideoDecoderByMime", NAPI_AUTO_LENGTH, &resource); in CreateVideoDecoderByMime() 179 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoDecoderByMime() 217 napi_value resource = nullptr; in CreateVideoDecoderByName() local 218 napi_create_string_utf8(env, "CreateVideoDecoderByName", NAPI_AUTO_LENGTH, &resource); in CreateVideoDecoderByName() 219 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoDecoderByName() 255 napi_value resource = nullptr; in Configure() local 256 napi_create_string_utf8(env, "Configure", NAPI_AUTO_LENGTH, &resource); in Configure() 257 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in Configure() 300 napi_value resource = nullptr; in Prepare() local [all …]
|
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/avcodec/audio_decoder/ |
D | audio_decoder_napi.cpp | 174 napi_value resource = nullptr; in CreateAudioDecoderByMime() local 175 napi_create_string_utf8(env, "CreateAudioDecoderByMime", NAPI_AUTO_LENGTH, &resource); in CreateAudioDecoderByMime() 176 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateAudioDecoderByMime() 214 napi_value resource = nullptr; in CreateAudioDecoderByName() local 215 napi_create_string_utf8(env, "CreateAudioDecoderByName", NAPI_AUTO_LENGTH, &resource); in CreateAudioDecoderByName() 216 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateAudioDecoderByName() 252 napi_value resource = nullptr; in Configure() local 253 napi_create_string_utf8(env, "Configure", NAPI_AUTO_LENGTH, &resource); in Configure() 254 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in Configure() 297 napi_value resource = nullptr; in Prepare() local [all …]
|
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/avcodec/audio_encoder/ |
D | audio_encoder_napi.cpp | 174 napi_value resource = nullptr; in CreateAudioEncoderByMime() local 175 napi_create_string_utf8(env, "CreateAudioEncoderByMime", NAPI_AUTO_LENGTH, &resource); in CreateAudioEncoderByMime() 176 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateAudioEncoderByMime() 214 napi_value resource = nullptr; in CreateAudioEncoderByName() local 215 napi_create_string_utf8(env, "CreateAudioEncoderByName", NAPI_AUTO_LENGTH, &resource); in CreateAudioEncoderByName() 216 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateAudioEncoderByName() 252 napi_value resource = nullptr; in Configure() local 253 napi_create_string_utf8(env, "Configure", NAPI_AUTO_LENGTH, &resource); in Configure() 254 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in Configure() 297 napi_value resource = nullptr; in Prepare() local [all …]
|
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/avcodec/video_encoder/ |
D | video_encoder_napi.cpp | 182 napi_value resource = nullptr; in CreateVideoEncoderByMime() local 183 napi_create_string_utf8(env, "CreateVideoEncoderByMime", NAPI_AUTO_LENGTH, &resource); in CreateVideoEncoderByMime() 184 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoEncoderByMime() 222 napi_value resource = nullptr; in CreateVideoEncoderByName() local 223 napi_create_string_utf8(env, "CreateVideoEncoderByName", NAPI_AUTO_LENGTH, &resource); in CreateVideoEncoderByName() 224 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoEncoderByName() 260 napi_value resource = nullptr; in Configure() local 261 napi_create_string_utf8(env, "Configure", NAPI_AUTO_LENGTH, &resource); in Configure() 262 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in Configure() 305 napi_value resource = nullptr; in Prepare() local [all …]
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/ |
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/ace/ace_engine/frameworks/core/components/video/ |
D | BUILD.gn | 21 "resource/player.cpp", 22 "resource/resource.cpp", 23 "resource/texture.cpp",
|
/foundation/appexecfwk/standard/test/systemtest/common/bms/bms_client_system_test/ |
D | bundle_mgr_client_system_test.cpp | 225 data.resource = "@profile:form_config"; 251 data.resource = "@profile:form_config"; 277 data.resource = "@profile:form_config"; 328 data.resource = "@profile:form_config"; 361 data.resource = "@profile:form_config"; 400 data.resource = "@profile:form_config"; 404 data1.resource = "@profile:shortcuts_config"; 445 data.resource = "@profile:form_config"; 449 data1.resource = "@profile:shortcuts_config"; 491 data.resource = "@profile:form_config"; [all …]
|
/foundation/multimedia/camera_standard/frameworks/js/camera_napi/src/input/ |
D | camera_input_napi.cpp | 461 napi_value resource = nullptr; in GetCameraId() local 478 CAMERA_NAPI_CREATE_RESOURCE_NAME(env, resource, "GetCameraId"); in GetCameraId() 481 env, nullptr, resource, [](napi_env env, void* data) { in GetCameraId() 524 napi_value resource = nullptr; in HasFlash() local 541 CAMERA_NAPI_CREATE_RESOURCE_NAME(env, resource, "HasFlash"); in HasFlash() 543 env, nullptr, resource, [](napi_env env, void* data) { in HasFlash() 571 napi_value resource = nullptr; in IsFlashModeSupported() local 587 CAMERA_NAPI_CREATE_RESOURCE_NAME(env, resource, "IsFlashModeSupported"); in IsFlashModeSupported() 589 env, nullptr, resource, in IsFlashModeSupported() 616 napi_value resource = nullptr; in SetFlashMode() local [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/web/ |
D | BUILD.gn | 31 "resource/web_client_impl.cpp", 32 "resource/web_delegate.cpp", 33 "resource/web_resource.cpp", 39 sources += [ "resource/web_javascript_result_callback.cpp" ]
|
/foundation/multimedia/camera_standard/frameworks/js/camera_napi/src/session/ |
D | camera_session_napi.cpp | 241 napi_value resource = nullptr; in BeginConfig() local 258 CAMERA_NAPI_CREATE_RESOURCE_NAME(env, resource, "BeginConfig"); in BeginConfig() 261 env, nullptr, resource, [](napi_env env, void* data) { in BeginConfig() 294 napi_value resource = nullptr; in CommitConfig() local 311 CAMERA_NAPI_CREATE_RESOURCE_NAME(env, resource, "CommitConfig"); in CommitConfig() 314 env, nullptr, resource, [](napi_env env, void* data) { in CommitConfig() 380 napi_value resource = nullptr; in AddInput() local 395 CAMERA_NAPI_CREATE_RESOURCE_NAME(env, resource, "AddInput"); in AddInput() 397 env, nullptr, resource, in AddInput() 429 napi_value resource = nullptr; in RemoveInput() local [all …]
|
/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/ |
D | napi_net_stats.cpp | 404 napi_value resource = nullptr; in GetCellularRxBytes() local 406 NAPI_CALL(env, napi_get_undefined(env, &resource)); in GetCellularRxBytes() 409 …napi_create_async_work(env, resource, resourceName, ExecGetCellularRxBytes, CompleteGetCellularRxB… in GetCellularRxBytes() 432 napi_value resource = nullptr; in GetCellularTxBytes() local 434 NAPI_CALL(env, napi_get_undefined(env, &resource)); in GetCellularTxBytes() 437 …napi_create_async_work(env, resource, resourceName, ExecGetCellularTxBytes, CompleteGetCellularTxB… in GetCellularTxBytes() 460 napi_value resource = nullptr; in GetAllRxBytes() local 462 NAPI_CALL(env, napi_get_undefined(env, &resource)); in GetAllRxBytes() 465 … napi_create_async_work(env, resource, resourceName, ExecGetAllRxBytes, CompleteGetAllRxBytes, in GetAllRxBytes() 487 napi_value resource = nullptr; in GetAllTxBytes() local [all …]
|
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/recorder/ |
D | video_recorder_napi.cpp | 165 napi_value resource = nullptr; in CreateVideoRecorder() local 166 napi_create_string_utf8(env, "createVideoRecorder", NAPI_AUTO_LENGTH, &resource); in CreateVideoRecorder() 167 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoRecorder() 225 napi_value resource = nullptr; in Prepare() local 226 napi_create_string_utf8(env, "Prepare", NAPI_AUTO_LENGTH, &resource); in Prepare() 227 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in Prepare() 265 napi_value resource = nullptr; in GetInputSurface() local 266 napi_create_string_utf8(env, "GetInputSurface", NAPI_AUTO_LENGTH, &resource); in GetInputSurface() 267 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in GetInputSurface() 316 napi_value resource = nullptr; in Start() local [all …]
|
/foundation/ace/ace_engine/frameworks/core/components/rich_text/resource/ |
D | rich_text_resource.cpp | 46 auto resource = weak.Upgrade(); in Release() local 47 if (!resource || resource->id_ == INVALID_ID) { in Release() 54 bool ret = resRegister->ReleaseResource(resource->GetHashCode()); in Release() 56 resource->Reset(); in Release()
|
/foundation/multimedia/audio_standard/frameworks/js/napi/ringtone_manager/src/ |
D | ringtone_player_napi.cpp | 232 napi_value resource = nullptr; in GetTitle() local 259 napi_create_string_utf8(env, "GetTitle", NAPI_AUTO_LENGTH, &resource); in GetTitle() 260 status = napi_create_async_work(env, nullptr, resource, in GetTitle() 324 napi_value resource = nullptr; in GetAudioRendererInfo() local 351 napi_create_string_utf8(env, "GetAudioRendererInfo", NAPI_AUTO_LENGTH, &resource); in GetAudioRendererInfo() 352 status = napi_create_async_work(env, nullptr, resource, in GetAudioRendererInfo() 381 napi_value resource = nullptr; in Configure() local 426 napi_create_string_utf8(env, "Configure", NAPI_AUTO_LENGTH, &resource); in Configure() 427 status = napi_create_async_work(env, nullptr, resource, in Configure() 450 napi_value resource = nullptr; in Start() local [all …]
|
/foundation/multimedia/medialibrary_standard/frameworks/kitsimpl/medialibrary/src/ |
D | fetch_file_result_napi.cpp | 256 napi_value resource = nullptr; in JSGetFirstObject() local 273 NAPI_CREATE_RESOURCE_NAME(env, resource, "JSGetFirstObject"); in JSGetFirstObject() 275 env, nullptr, resource, [](napi_env env, void* data) { in JSGetFirstObject() 300 napi_value resource = nullptr; in JSGetNextObject() local 317 NAPI_CREATE_RESOURCE_NAME(env, resource, "JSGetNextObject"); in JSGetNextObject() 319 env, nullptr, resource, [](napi_env env, void* data) { in JSGetNextObject() 344 napi_value resource = nullptr; in JSGetLastObject() local 361 NAPI_CREATE_RESOURCE_NAME(env, resource, "JSGetLastObject"); in JSGetLastObject() 363 env, nullptr, resource, [](napi_env env, void* data) { in JSGetLastObject() 389 napi_value resource = nullptr; in JSGetPositionObject() local [all …]
|
/foundation/multimedia/audio_standard/frameworks/js/napi/audio_manager/src/ |
D | audio_manager_napi.cpp | 902 napi_value resource = nullptr; in SetMicrophoneMute() local 903 napi_create_string_utf8(env, "SetMicrophoneMute", NAPI_AUTO_LENGTH, &resource); in SetMicrophoneMute() 906 env, nullptr, resource, in SetMicrophoneMute() 957 napi_value resource = nullptr; in IsMicrophoneMute() local 958 napi_create_string_utf8(env, "IsMicrophoneMute", NAPI_AUTO_LENGTH, &resource); in IsMicrophoneMute() 961 env, nullptr, resource, in IsMicrophoneMute() 1016 napi_value resource = nullptr; in SetRingerMode() local 1017 napi_create_string_utf8(env, "SetRingerMode", NAPI_AUTO_LENGTH, &resource); in SetRingerMode() 1020 env, nullptr, resource, in SetRingerMode() 1072 napi_value resource = nullptr; in GetRingerMode() local [all …]
|
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/player/ |
D | video_player_napi.cpp | 178 napi_value resource = nullptr; in CreateVideoPlayer() local 179 napi_create_string_utf8(env, "CreateVideoPlayer", NAPI_AUTO_LENGTH, &resource); in CreateVideoPlayer() 180 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoPlayer() 493 napi_value resource = nullptr; in SetDisplaySurface() local 494 napi_create_string_utf8(env, "SetDisplaySurface", NAPI_AUTO_LENGTH, &resource); in SetDisplaySurface() 495 …NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, VideoPlayerNapi::AsyncSetDisplaySurf… in SetDisplaySurface() 543 napi_value resource = nullptr; in GetDisplaySurface() local 544 napi_create_string_utf8(env, "GetDisplaySurface", NAPI_AUTO_LENGTH, &resource); in GetDisplaySurface() 545 …NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, VideoPlayerNapi::AsyncGetDisplaySurf… in GetDisplaySurface() 633 napi_value resource = nullptr; in Prepare() local [all …]
|