/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/ |
H A D | wifi_config_file_spec.cpp | 162 std::string tmpValue = value; in SetWifiDeviceConfigOutDated() local 164 item.band = CheckDataLegal(tmpValue); in SetWifiDeviceConfigOutDated() 166 item.channel = CheckDataLegal(tmpValue); in SetWifiDeviceConfigOutDated() 168 item.level = CheckDataLegal(tmpValue); in SetWifiDeviceConfigOutDated() 170 item.isEphemeral = CheckDataLegal(tmpValue); in SetWifiDeviceConfigOutDated() 179 std::string tmpValue = value; in SetWifiDeviceConfigExternal() local 181 item.numRebootsSinceLastUse = CheckDataLegal(tmpValue); in SetWifiDeviceConfigExternal() 183 item.numAssociation = CheckDataLegal(tmpValue); in SetWifiDeviceConfigExternal() 185 item.networkStatusHistory = static_cast<unsigned int>(CheckDataLegal(tmpValue)); in SetWifiDeviceConfigExternal() 187 item.isPortal = CheckDataLegal(tmpValue); in SetWifiDeviceConfigExternal() 211 std::string tmpValue = value; SetWifiDeviceConfigFirst() local 314 std::string tmpValue = value; SetWifiDeviceConfig() local 333 std::string tmpValue = value; SetWifiIpConfig() local 394 std::string tmpValue = value; SetWifiDeviceConfigEap() local 425 std::string tmpValue = value; SetWifiProxyConfig() local 446 std::string tmpValue = value; SetWifiDeviceconfigPrivacy() local 462 std::string tmpValue = value; SetWifiDeviceconfigWapi() local 489 std::string tmpValue = value; SetLastDhcpResultsConfig() local 806 std::string tmpValue = value; SetTClassKeyValue() local 892 std::string tmpValue = value; SetTClassKeyValue() local 1286 std::string tmpValue = value; SetWifiP2pDevicClassKeyValue() local 1371 std::string tmpValue = value; SetTClassKeyValue() local 1482 std::string tmpValue = value; SetTClassKeyValue() local 1603 std::string tmpValue = value; SetTClassKeyValue() local 1724 std::string tmpValue = value; SetNetworkStatusHistory() local 1731 std::string tmpValue = value; SetIsPortal() local 1738 std::string tmpValue = value; SetLastHasInternetTime() local 1745 std::string tmpValue = value; SetNoInternetAccess() local 1783 std::string tmpValue = value; SetWifiBackupConfigFirst() local 1820 std::string tmpValue = value; SetWifiBackupConfig() local 1847 std::string tmpValue = value; SetWifiBackupConfigPrivacy() local [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | image_analyzer_adapter_impl.cpp | 61 napi_value tmpValue = nullptr; in GetImageAnalyzerConfig() local 62 napi_create_int32(env_, static_cast<int>(types[i]), &tmpValue); in GetImageAnalyzerConfig() 63 napi_set_element(env_, typeNapi, i, tmpValue); in GetImageAnalyzerConfig()
|
/foundation/multimedia/av_session/frameworks/native/session/src/ |
H A D | avsession_pixel_map_adapter.cpp | 62 uint32_t tmpValue = innerImgBuffer[IMAGE_BYTE_SIZE + imgBufferSize + i]; in ConvertFromInner() local 63 dataSize += (tmpValue << (OFFSET_BYTE * (DATA_BYTE_SIZE - i - 1))); in ConvertFromInner() 143 uint8_t tmpValue = ((pixelDataSize & computedValue) >> (OFFSET_BYTE * (DATA_BYTE_SIZE - i - 1))); in ConvertToInner() local 144 imgBuffer.insert(imgBuffer.begin() + imgBuffer.size(), tmpValue); in ConvertToInner() 197 uint8_t tmpValue = ((pixelDataSize & computedValue) >> (OFFSET_BYTE * (DATA_BYTE_SIZE - i - 1))); in ConvertToInnerWithLimitedSize() local 198 imgBuffer.insert(imgBuffer.begin() + imgBuffer.size(), tmpValue); in ConvertToInnerWithLimitedSize()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_packer_napi.cpp | 554 napi_value tmpValue = nullptr; in parsePackOptionOfdelayTimes() local 555 if (!GET_NODE_BY_NAME(root, "frameCount", tmpValue)) { in parsePackOptionOfdelayTimes() 560 napi_get_value_uint32(env, tmpValue, &Count); in parsePackOptionOfdelayTimes() 561 if (!GET_NODE_BY_NAME(root, "delayTimeList", tmpValue)) { in parsePackOptionOfdelayTimes() 566 napi_is_array(env, tmpValue, &isDelayTimesArray); in parsePackOptionOfdelayTimes() 570 if (napi_get_array_length(env, tmpValue, &len) != napi_ok) { in parsePackOptionOfdelayTimes() 580 napi_get_element(env, tmpValue, i, &item); in parsePackOptionOfdelayTimes() 596 napi_value tmpValue = nullptr; in parsePackOptionOfdisposalTypes() local 597 GET_NODE_BY_NAME(root, "disposalTypes", tmpValue); in parsePackOptionOfdisposalTypes() 599 napi_is_array(env, tmpValue, in parsePackOptionOfdisposalTypes() 647 napi_value tmpValue = nullptr; parsePackOptions() local [all...] |
H A D | image_source_napi.cpp | 978 napi_value tmpValue = nullptr; in ParseRegion() local 993 if (!GET_NODE_BY_NAME(root, "size", tmpValue)) { in ParseRegion() 997 if (!GET_INT32_BY_NAME(tmpValue, "height", region->height)) { in ParseRegion() 1001 if (!GET_INT32_BY_NAME(tmpValue, "width", region->width)) { in ParseRegion() 1103 napi_value tmpValue = nullptr; in ParseDecodeOptions() local 1135 if (!GET_NODE_BY_NAME(root, "desiredSize", tmpValue)) { in ParseDecodeOptions() 1138 if (!ParseSize(env, tmpValue, &(opts->desiredSize))) { in ParseDecodeOptions() 1143 if (!GET_NODE_BY_NAME(root, "desiredRegion", tmpValue)) { in ParseDecodeOptions() 1146 if (!ParseRegion(env, tmpValue, &(opts->CropRect))) { in ParseDecodeOptions() 1176 napi_value tmpValue in parseSourceOptions() local 1701 napi_value tmpValue = nullptr; ParsePropertyOptions() local 2840 napi_value tmpValue = nullptr; ParseDecodingOptionsForPicture() local [all...] |
H A D | auxiliary_picture_napi.cpp | 623 napi_value tmpValue = nullptr; in ParseAuxiliaryPictureInfo() local 632 if (!GET_NODE_BY_NAME(root, "size", tmpValue)) { in ParseAuxiliaryPictureInfo() 635 if (!ParseSize(env, tmpValue, context->auxiliaryPictureInfo.size.width, in ParseAuxiliaryPictureInfo()
|
H A D | pixel_map_napi.cpp | 214 napi_value tmpValue = nullptr; in parseInitializationOptions() local 247 if (!GET_NODE_BY_NAME(root, "size", tmpValue)) { in parseInitializationOptions() 251 if (!parseSize(env, tmpValue, &(opts->size))) { in parseInitializationOptions() 282 napi_value tmpValue = nullptr; in parseRegion() local 296 if (!GET_NODE_BY_NAME(root, "size", tmpValue)) { in parseRegion() 300 if (!GET_INT32_BY_NAME(tmpValue, "height", region->height)) { in parseRegion() 304 if (!GET_INT32_BY_NAME(tmpValue, "width", region->width)) { in parseRegion() 313 napi_value tmpValue = nullptr; in parsePositionArea() local 331 if (!GET_NODE_BY_NAME(root, "region", tmpValue)) { in parsePositionArea() 335 if (!parseRegion(env, tmpValue, in parsePositionArea() [all...] |
/foundation/resourceschedule/memmgr/services/memmgrservice/src/ |
H A D | mem_mgr_service.cpp | 308 std::vector<std::string> tmpValue; in ParseParams() local 314 keyValuesMapping[tmpKey] = tmpValue; in ParseParams() 315 tmpValue.clear(); in ParseParams() 319 tmpValue.emplace_back(params[i]); in ParseParams() 323 keyValuesMapping[tmpKey] = tmpValue; in ParseParams()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_source_napi.cpp | 236 napi_value tmpValue = nullptr;
in parseSourceOptions() local 237 if (!GET_NODE_BY_NAME(root, "sourceSize", tmpValue)) {
in parseSourceOptions() 240 if (!ParseSize(env, tmpValue, &(opts->size))) {
in parseSourceOptions() 314 napi_value tmpValue = nullptr;
in ParseRegion() local 329 if (!GET_NODE_BY_NAME(root, "size", tmpValue)) {
in ParseRegion() 333 if (!GET_INT32_BY_NAME(tmpValue, "height", region->height)) {
in ParseRegion() 337 if (!GET_INT32_BY_NAME(tmpValue, "width", region->width)) {
in ParseRegion() 437 napi_value tmpValue = nullptr;
in ParseDecodeOptions() local 469 if (!GET_NODE_BY_NAME(root, "desiredSize", tmpValue)) {
in ParseDecodeOptions() 472 if (!ParseSize(env, tmpValue, in ParseDecodeOptions() [all...] |
H A D | sendable_pixel_map_napi.cpp | 141 napi_value tmpValue = nullptr; in parseInitializationOptions() local 174 if (!GET_NODE_BY_NAME(root, "size", tmpValue)) { in parseInitializationOptions() 178 if (!parseSize(env, tmpValue, &(opts->size))) { in parseInitializationOptions() 209 napi_value tmpValue = nullptr; in parseRegion() local 223 if (!GET_NODE_BY_NAME(root, "size", tmpValue)) { in parseRegion() 227 if (!GET_INT32_BY_NAME(tmpValue, "height", region->height)) { in parseRegion() 231 if (!GET_INT32_BY_NAME(tmpValue, "width", region->width)) { in parseRegion() 240 napi_value tmpValue = nullptr; in parsePositionArea() local 258 if (!GET_NODE_BY_NAME(root, "region", tmpValue)) { in parsePositionArea() 262 if (!parseRegion(env, tmpValue, in parsePositionArea() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_result_set_impl.cpp | 247 int64_t tmpValue; in GetInt() local 248 int status = GetLong(columnIndex, tmpValue); in GetInt() 250 if (tmpValue < INT32_MIN || tmpValue > INT32_MAX) { in GetInt() 254 value = static_cast<int32_t>(tmpValue); in GetInt()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_single_ver_p2p_query_sync_test.cpp | 385 Value tmpValue; in HWTEST_F() local 389 g_kvDelegatePtr->Get(key2, tmpValue); in HWTEST_F() 390 EXPECT_TRUE(tmpValue == value2); in HWTEST_F() 396 g_kvDelegatePtr->Get(key3, tmpValue); in HWTEST_F() 397 EXPECT_TRUE(tmpValue != value3); in HWTEST_F() 425 Value tmpValue(value); in HWTEST_F() 427 tmpValue.push_back(i); in HWTEST_F() 428 key1Vec.push_back(pair<Key, Value> {tmpKey, tmpValue}); in HWTEST_F() 432 Value tmpValue(value2); in HWTEST_F() 434 tmpValue in HWTEST_F() 459 Value tmpValue; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/ |
H A D | text_timer_pattern.cpp | 113 auto tmpValue = static_cast<double>(elapsedTime_); in Tick() local 116 tmpValue = in Tick() 119 if (isCountDown_ && tmpValue <= 0) { in Tick() 125 UpdateTextTimer(static_cast<uint32_t>(tmpValue)); in Tick()
|
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | napi_param_utils.cpp | 207 napi_value tmpValue; in GetValueOptionsData() local 214 status = napi_get_named_property(env, tmpData, "value", &tmpValue); in GetValueOptionsData() 219 status = napi_get_value_string_utf8(env, tmpValue, nullptr, 0, &valueLength); in GetValueOptionsData() 227 status = napi_get_value_string_utf8(env, tmpValue, &value[0], valueLength + 1, &valueLength); in GetValueOptionsData()
|
/foundation/multimodalinput/input/util/napi/src/ |
H A D | util_napi_value.cpp | 186 char tmpValue[MAX_STRING_LEN] = { 0 }; in GetNamePropertyString() local 188 napi_get_value_string_utf8(env, napiValue, tmpValue, MAX_STRING_LEN - 1, &typeLen); in GetNamePropertyString() 189 value = tmpValue; in GetNamePropertyString()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | exif_metadata_formatter.cpp | 1461 std::string tmpValue = value; in Format() local 1473 if (ExifMetadatFormatter::IsForbiddenValue(tmpValue)) { in Format() 1476 ExifMetadatFormatter::ConvertRangeValue(keyName, tmpValue); in Format() 1477 ExifMetadatFormatter::ExtractValue(keyName, tmpValue); in Format() 1480 if (ExifMetadatFormatter::ConvertValueFormat(keyName, tmpValue)) { in Format() 1488 if (ExifMetadatFormatter::ValidateValueRange(keyName, tmpValue)) { in Format() 1493 return std::make_pair(Media::SUCCESS, tmpValue); in Format()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | stream_packet_header.h | 41 auto tmpValue = static_cast<unsigned int>(x); in Align() local 43 return static_cast<int>((tmpValue + ((1 << tmpShift) - 1)) & ~((1 << tmpShift) - 1)); in Align()
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/src/ |
H A D | napi_storage.cpp | 360 bool tmpValue = (bool)obj->value_->GetBool(context->key, context->defValue); in GetValue() 361 context->defValue = PreferencesValue(tmpValue); in GetValue() 363 std::string tmpValue = obj->value_->GetString(context->key, context->defValue); in GetValue() 364 context->defValue = PreferencesValue(tmpValue); in GetValue() 366 double tmpValue = obj->value_->GetDouble(context->key, context->defValue); in GetValue() 367 context->defValue = PreferencesValue(tmpValue); in GetValue()
|
/foundation/multimedia/media_foundation/src/meta/ |
H A D | meta.cpp | 70 EnumTypeName tmpValue; \ 71 if (meta.GetData(tag, tmpValue)) { \ 72 value = static_cast<ExtTypeName>(tmpValue); \
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_store.cpp | 468 std::vector<uint8_t> tmpValue; in ParseValuesBucket() local 469 valueObject.GetBlob(tmpValue); in ParseValuesBucket() 470 if (tmpValue.empty()) { in ParseValuesBucket() 791 std::vector<uint8_t> tmpValue; in ParseBindArgs() local 792 valueObject.GetBlob(tmpValue); in ParseBindArgs() 793 if (tmpValue.empty()) { in ParseBindArgs()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_store.cpp | 477 std::vector<uint8_t> tmpValue; in ParseBindArgs() local 478 valueObject.GetBlob(tmpValue); in ParseBindArgs() 479 if (tmpValue.empty()) { in ParseBindArgs() 566 std::vector<uint8_t> tmpValue; in ParseValuesBucket() local 567 valueObject.GetBlob(tmpValue); in ParseValuesBucket() 568 if (tmpValue.empty()) { in ParseValuesBucket()
|
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | render_text_field.cpp | 1620 std::string tmpValue; in FilterWithRegex() local 1625 tmpValue += value; in FilterWithRegex() 1630 valueToUpdate = tmpValue; in FilterWithRegex()
|