Home
last modified time | relevance | path

Searched refs:pValue (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_volume_parser.cpp159 xmlFree(pValue); in ParseStreamVolumeInfoAttr()
163 streamVolInfo->minLevel = atoi(pValue); in ParseStreamVolumeInfoAttr()
165 xmlFree(pValue); in ParseStreamVolumeInfoAttr()
169 streamVolInfo->maxLevel = atoi(pValue); in ParseStreamVolumeInfoAttr()
171 xmlFree(pValue); in ParseStreamVolumeInfoAttr()
175 streamVolInfo->defaultLevel = atoi(pValue); in ParseStreamVolumeInfoAttr()
177 xmlFree(pValue); in ParseStreamVolumeInfoAttr()
193 xmlFree(pValue); in ParseDeviceVolumeInfos()
213 xmlFree(pValue); in ParseVolumePoints()
216 volumePoint.dbValue = atoi(pValue); in ParseVolumePoints()
[all …]
H A Daudio_tone_parser.cpp85 char *pValue = nullptr; in ParseToneInfoAttribute() local
88 pValue = reinterpret_cast<char*>(xmlGetProp(sNode, in ParseToneInfoAttribute()
106 segCnt = atoi(pValue); in ParseToneInfoAttribute()
115 if (pValue != nullptr) { in ParseToneInfoAttribute()
116 xmlFree(pValue); in ParseToneInfoAttribute()
164 xmlFree(pValue); in ParseSegment()
167 ltoneDesc->segments[SegInx].loopCnt = atoi(pValue); in ParseSegment()
169 xmlFree(pValue); in ParseSegment()
172 ltoneDesc->segments[SegInx].loopIndx = atoi(pValue); in ParseSegment()
174 xmlFree(pValue); in ParseSegment()
[all …]
H A Daudio_device_parser.cpp87 deviceInfo.deviceName = pValue; in ParseDevicePrivacyInfo()
88 xmlFree(pValue); in ParseDevicePrivacyInfo()
90 pValue = reinterpret_cast<char*>(xmlGetProp(deviceNode, in ParseDevicePrivacyInfo()
92 deviceInfo.deviceType = deviceTypeMap_[pValue]; in ParseDevicePrivacyInfo()
93 xmlFree(pValue); in ParseDevicePrivacyInfo()
98 ParseDeviceRole(pValue, intValue); in ParseDevicePrivacyInfo()
100 xmlFree(pValue); in ParseDevicePrivacyInfo()
105 ParseDeviceCategory(pValue, intValue); in ParseDevicePrivacyInfo()
107 xmlFree(pValue); in ParseDevicePrivacyInfo()
112 ParseDeviceUsage(pValue, intValue); in ParseDevicePrivacyInfo()
[all …]
H A Daudio_usage_strategy_parser.cpp63 char *pValue = reinterpret_cast<char*>(xmlGetProp(currNode, in ParseInternal() local
65 if (strcmp(pValue, "streamUsage") == 0) { in ParseInternal()
67 } else if (strcmp(pValue, "sourceType") == 0) { in ParseInternal()
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_config.cpp40 uint32_t uValue = (uint32_t)atoi(pValue); in SetEnableConfigInfo()
42 DHCP_LOGE("enable:%s error", pValue); in SetEnableConfigInfo()
62 if ((uValue = (uint32_t)atoi(pValue)) == 0) { in SetTimeConfigInfo()
63 DHCP_LOGE("atoi failed, time:%s", pValue); in SetTimeConfigInfo()
85 if ((uValue = ParseIpAddr(pValue)) == 0) { in SetNetConfigInfo()
86 DHCP_LOGE("ParseIpAddr failed, ip:%s", pValue); in SetNetConfigInfo()
107 char *pSrc = (char *)pValue; in SetIpAddressPool()
137 char *pSrc = (char *)pValue; in SetDnsInfo()
171 if (strlen(pValue) >= IFACE_NAME_SIZE) { in SetIfnameInfo()
172 DHCP_LOGE("ifname:%s too long!", pValue); in SetIfnameInfo()
[all …]
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/cj/src/
H A Dpreferences_impl.cpp338 if (pValue.IsInt()) { in NativeValueToCValueType()
341 } else if (pValue.IsLong()) { in NativeValueToCValueType()
344 } else if (pValue.IsFloat()) { in NativeValueToCValueType()
347 } else if (pValue.IsDouble()) { in NativeValueToCValueType()
348 v.float64 = std::get<double>(pValue.value_); in NativeValueToCValueType()
350 } else if (pValue.IsString()) { in NativeValueToCValueType()
355 } else if (pValue.IsBool()) { in NativeValueToCValueType()
356 v.boolean = std::get<bool>(pValue.value_); in NativeValueToCValueType()
358 } else if (pValue.IsBoolArray()) { in NativeValueToCValueType()
362 } else if (pValue.IsDoubleArray()) { in NativeValueToCValueType()
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Dconstant_of_shape_builder.cpp68 float* pValue = static_cast<float*>(buffer); in SetValue() local
72 m_value.emplace_back(*pValue); in SetValue()
73 ++pValue; in SetValue()
/ohos5.0/docs/zh-cn/application-dev/database/
H A Dpreferences-guidelines.md74 const OH_PreferencesValue *pValue = OH_PreferencesPair_GetPreferencesValue(pairs, i);
76 Preference_ValueType type = OH_PreferencesValue_GetValueType(pValue);
80 ret = OH_PreferencesValue_GetInt(pValue, &intValue);
86 ret = OH_PreferencesValue_GetBool(pValue, &boolValue);
93 ret = OH_PreferencesValue_GetString(pValue, &stringValue, &valueLen);
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c27 ParamValue* pValue = NEW(ParamValue); \
28 if (pValue != NULL) { \
29 pValue->type = uType; \
30 pValue->value.uName = uValue; \
31 pValue->arrSize = len; \
33 pValue; \
/ohos5.0/docs/en/application-dev/database/
H A Dpreferences-guidelines.md74 const OH_PreferencesValue *pValue = OH_PreferencesPair_GetPreferencesValue(pairs, i);
76 Preference_ValueType type = OH_PreferencesValue_GetValueType(pValue);
80 ret = OH_PreferencesValue_GetInt(pValue, &intValue);
86 ret = OH_PreferencesValue_GetBool(pValue, &boolValue);
93 ret = OH_PreferencesValue_GetString(pValue, &stringValue, &valueLen);
/ohos5.0/drivers/peripheral/format/interfaces/include/
H A Dparameter_item.h78 const void *pValue; /**< Pointer */ member
/ohos5.0/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_test.cpp106 const OH_PreferencesValue *pValue = OH_PreferencesPair_GetPreferencesValue(pairs, i); in DataChangeObserverCallback() local
107 Preference_ValueType type = OH_PreferencesValue_GetValueType(pValue); in DataChangeObserverCallback()
110 OH_PreferencesValue_GetInt(pValue, &intV); in DataChangeObserverCallback()
113 OH_PreferencesValue_GetBool(pValue, &boolV); in DataChangeObserverCallback()
117 OH_PreferencesValue_GetString(pValue, &stringV, &len); in DataChangeObserverCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_scroll_modifier.cpp181 auto pValue = paginationValue[i]; in SetScrollScrollSnap() local
183 CalcDimension dms = Dimension(pValue, pUnit); in SetScrollScrollSnap()
188 auto pValue = paginationValue[SNAP_START_INDEX]; in SetScrollScrollSnap() local
190 intervalSize = Dimension(pValue, pUnit); in SetScrollScrollSnap()
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/
H A Dnative_module_buffer.cpp424 Buffer *GetValueOffsetAndBuf(napi_env env, napi_callback_info info, int32_t *pValue, uint32_t *pOff… in GetValueOffsetAndBuf() argument
434 NAPI_CALL(env, napi_get_value_int32(env, args[0], pValue)); in GetValueOffsetAndBuf()