/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | MaterialJS.cpp | 97 napi_value value; in GetMaterialType() local 98 napi_status status = napi_create_uint32(ctx, type, &value); in GetMaterialType() 99 return value; in GetMaterialType()
|
H A D | PostProcJS.cpp | 256 napi_value value;
in GetBloom() local 257 napi_status status = napi_get_boolean(ctx, enabled, &value);
in GetBloom() 258 return value;
in GetBloom()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_material_objects.cpp | 44 constexpr size_t Align(size_t value, size_t align) in Align() argument 46 if (value == 0) { in Align() 49 return ((value + align) / align) * align; in Align()
|
H A D | render_node_morph.cpp | 41 inline size_t Align(size_t value, size_t align) in Align() argument 44 return value; in Align() 47 return ((value + align - 1U) / align) * align; in Align()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | ref_uri.h | 115 void SetStartsFromRoot(bool value); 157 /** Return true if ref:/base/$test refers to the property, otherwise (default) it refers to the value of the 253 inline void RefUri::SetStartsFromRoot(bool value) in SetStartsFromRoot() argument 255 startFromRoot_ = value; in SetStartsFromRoot()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | device.h | 131 void SetLockResourceBackendAccess(bool value); 133 void SetRenderBackendRunning(bool value); 138 void SetRenderFrameRunning(bool value);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | pipeline_state_object_gles.cpp | 140 uint32_t HighestBit(uint32_t value) in HighestBit() argument 143 while (value) { in HighestBit() 145 value >>= 1U; in HighestBit()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/samples/ |
H A D | sample_bitmap.cpp | 151 uint32_t *value = static_cast<uint32_t *>(bitmapAddr);
in DisPlay() local 157 if (value == nullptr) {
in DisPlay() 163 *pixel++ = *value++;
in DisPlay()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_egl_image_manager.cpp | 41 #define RS_EGL_ERR_CASE_STR(value) case value: return #value
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/color_filter_napi/ |
H A D | js_color_filter.cpp | 204 double value = 0; in CreateMatrixColorFilter() local 205 ConvertFromJsNumber(env, element, value); in CreateMatrixColorFilter() 206 matrix[i] = value; in CreateMatrixColorFilter()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_matrix.cpp | 335 OH_Drawing_ErrorCode OH_Drawing_MatrixGetAll(OH_Drawing_Matrix* cMatrix, float value[9]) in OH_Drawing_MatrixGetAll() argument 338 if (matrix == nullptr || value == nullptr) { in OH_Drawing_MatrixGetAll() 343 for (int i = 0; i < 9; ++i) { // 9:size of value in OH_Drawing_MatrixGetAll() 344 value[i] = buffer[i]; in OH_Drawing_MatrixGetAll()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | heif_exif_metadata_accessor_test.cpp | 49 std::string value; in GetProperty() local 50 metadata->GetValue(key, value); in GetProperty() 51 return value; in GetProperty()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | light_painting_session_napi.cpp | 104 MEDIA_ERR_LOG("Failed to create napi reference value instance");
in CreateCameraSession() 174 napi_value value;
in GetSupportedLightPaintings() local 175 napi_create_int32(env, lightPaintingType, &value);
in GetSupportedLightPaintings() 176 napi_set_element(env, result, i, value);
in GetSupportedLightPaintings()
|
H A D | night_session_napi.cpp | 129 napi_value value;
in GetSupportedExposureRange() local 130 napi_create_uint32(env, exposure, &value);
in GetSupportedExposureRange() 131 napi_set_element(env, result, i, value);
in GetSupportedExposureRange()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_avcall_meta_data.cpp | 65 napi_value value {}; in ConvertFilter() 66 status = napi_get_element(env, filter, i, &value); in ConvertFilter() 69 status = NapiUtils::GetValue(env, value, metaKey); in ConvertFilter() 70 CHECK_RETURN(status == napi_ok, "get string value failed", status); in ConvertFilter() 194 SLOGE("avatar property value type invalid"); in GetMediaImage()
|
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/audio_haptic_player/ |
H A D | audio_haptic_player_callback_napi.cpp | 81 napi_value value = nullptr; in SetValueInt32() local 82 napi_create_int32(env, intValue, &value); in SetValueInt32() 83 napi_set_named_property(env, result, fieldStr.c_str(), value); in SetValueInt32() 141 "%{public}s get reference value fail", request.c_str()); in OnInterruptJsCallback() 214 "%{public}s get reference value fail", request.c_str()); in OnEndOfStreamJsCallback()
|
/foundation/multimodalinput/input/test/facility/virtual_device/src/ |
H A D | v_input_device.cpp | 98 int32_t VInputDevice::SendEvent(uint16_t type, uint16_t code, int32_t value) in SendEvent() argument 107 .value = value in SendEvent()
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | media_utils.cpp | 251 bool __attribute__((visibility("default"))) GetPackageName(const char *key, std::string &value) in GetPackageName() argument 260 valueStr >> value; in GetPackageName() local 261 MEDIA_LOG_I("Config parameter %{public}s : %{public}s", key, value.c_str()); in GetPackageName()
|
/foundation/multimodalinput/input/frameworks/napi/pointer/include/ |
H A D | js_pointer_context.h | 100 static int32_t GetWindowId(napi_env env, napi_value value); 101 static int32_t GetCursorFocusX(napi_env env, napi_value value); 102 static int32_t GetCursorFocusY(napi_env env, napi_value value);
|
/foundation/resourceschedule/device_standby/frameworks/src/ |
H A D | standby_service_stub.cpp | 313 int64_t value = 0; in HandleCommonEvent() local 314 if (!data.ReadInt64(value)) { in HandleCommonEvent() 315 STANDBYSERVICE_LOGW("Failed to read value"); in HandleCommonEvent() 323 return HandleEvent(resType, value, sceneInfo); in HandleCommonEvent()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/nandlife_controller/ |
H A D | nandlife_controller.cpp | 134 std::string value = system::GetParameter(paramName, PARAM_VALUE_UNKOWN); in ReadUnsignedLongLongParam() local 135 if (value == PARAM_VALUE_UNKOWN) { in ReadUnsignedLongLongParam() 138 return std::strtoull(value.c_str(), nullptr, 10); // 10:Decimal in ReadUnsignedLongLongParam() 145 HILOGI("[%{public}llu] invalid value of minsToday_", iter_); in LoadNandLifeParam() 153 HILOGI("[%{public}llu] invalid value of swapOutKBToday_", iter_); in LoadNandLifeParam() 161 HILOGI("[%{public}llu] invalid value of minsSinceBirth_", iter_); in LoadNandLifeParam() 169 HILOGI("[%{public}llu] invalid value of swapOutKBSinceBirth_", iter_); in LoadNandLifeParam()
|
/foundation/window/window_manager/previewer/mock/ |
H A D | js_window_register_manager.cpp | 137 CaseType caseType, napi_env env, napi_value value) in UnregisterListener() 155 if (value == nullptr) { in UnregisterListener() 160 WLOGFE("[NAPI]Unregister type %{public}s failed, no value", type.c_str()); in UnregisterListener() 169 napi_strict_equals(env, value, it->first->GetNapiValue(), &isEquals); in UnregisterListener() 136 UnregisterListener(sptr<Window> window, std::string type, CaseType caseType, napi_env env, napi_value value) UnregisterListener() argument
|
/foundation/communication/netmanager_base/test/netmanagernative/unit_test/ |
H A D | network_route.cpp | 296 std::string value = "5"; in TestNetGetProcSysNet() local 299 ret = netsysServiceR_->SetProcSysNet(IPVERSION, 1, std::string("eth0"), std::string("disable_policy"), value); in TestNetGetProcSysNet() 300 NETNATIVE_LOGE("SetProcSysNet ret:%{public}d, value:%{public}s \n", ret, value.c_str()); in TestNetGetProcSysNet()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/ |
H A D | stream_encrypt_server_mt.cpp | 102 { .qos = QOS_TYPE_MIN_BW, .value = 80 }, 103 { .qos = QOS_TYPE_MAX_LATENCY, .value = 4000 }, 104 { .qos = QOS_TYPE_MIN_LATENCY, .value = 2000 }, 308 * @tc.expect: return value is SOFTBUS_OK. in HWTEST_F()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_service.cpp | 333 void NetworkShareService::DisAllowNetworkShareEventCallback(const char *key, const char *value, void *context) in DisAllowNetworkShareEventCallback() argument 335 if (strcmp(value, "true") == 0) { in DisAllowNetworkShareEventCallback() 336 NETMGR_EXT_LOG_I("DisAllowNetworkShareEventCallback calledstop all network sharing with %{public}s", value); in DisAllowNetworkShareEventCallback()
|