Home
last modified time | relevance | path

Searched refs:ERANGE (Results 1 – 25 of 52) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_utils.h223 if (pEnd == value.c_str() || errno == ERANGE) {
235 if (pEnd == value.c_str() || errno == ERANGE) {
259 if (pEnd == value.c_str() || result > UINT32_MAX || errno == ERANGE) {
272 if (pEnd == value.c_str() || errno == ERANGE) { in StringToDouble()
284 if (pEnd == value.c_str() || errno == ERANGE) { in StringToDouble()
303 if (pEnd == value.c_str() || errno == ERANGE) { in StringToFloat()
319 if (pEnd == value.c_str() || errno == ERANGE) {
372 if (pEnd == value.c_str() || errno == ERANGE) { in StringToDimensionWithThemeValue()
389 if (pEnd == value.c_str() || errno == ERANGE) {
461 if (pEnd == value.c_str() || errno == ERANGE) { in StringToDegree()
[all …]
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/nandlife_controller/
H A Dnandlife_controller.cpp144 if (errno == ERANGE || minsToday_ == ULLONG_MAX) { in LoadNandLifeParam()
152 if (errno == ERANGE || swapOutKBToday_ == ULLONG_MAX) { in LoadNandLifeParam()
160 if (errno == ERANGE || minsSinceBirth_ == ULLONG_MAX) { in LoadNandLifeParam()
168 if (errno == ERANGE || swapOutKBSinceBirth_ == ULLONG_MAX) { in LoadNandLifeParam()
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/base/
H A Dsecurec.h86 #ifndef ERANGE
88 #define ERANGE (34) macro
252 … memcpy_sOptTc((dest), (destMax), (src), (count)) : ERANGE ) : \
262 … memset_sOptTc((dest), (destMax), (c), (count)) : ERANGE ) : \
H A Dsecurectype.h205 catRet = ERANGE; \
243 ncatRet = ERANGE; \
/ohos5.0/foundation/resourceschedule/device_usage_statistics/utils/src/
H A Dbundle_active_util.cpp84 if (errno == ERANGE || pEnd == str.c_str() || *pEnd != '\0' || in StringToInt32()
97 if (errno == ERANGE || pEnd == str.c_str() || *pEnd != '\0') { in StringToInt64()
/ohos5.0/base/powermgr/thermal_manager/utils/native/src/
H A Dstring_operation.cpp92 if ((end == addr) || (end[0] != '\0') || (errno == ERANGE) || (result >= ULONG_MAX)) { in StrToUint()
109 if ((end == addr) || (end[0] != '\0') || (errno == ERANGE) || (result == HUGE_VAL)) { in StrToDouble()
/ohos5.0/foundation/communication/dhcp/services/utils/src/
H A Ddhcp_common_utils.cpp121 if (errno == ERANGE) { in CheckDataLegal()
139 if (errno == ERANGE) { in CheckDataToUint()
155 if (errno == ERANGE) { in CheckDataTolonglong()
/ohos5.0/base/startup/init/services/init/standard/
H A Dinit_cmds.c274 INIT_CHECK_ONLY_ELOG(errno != ERANGE, "Failed to strtoul %s", ctx->argv[majorDevicePos]); in DoMakeNode()
276 INIT_CHECK_ONLY_ELOG(errno != ERANGE, "Failed to strtoul %s", ctx->argv[minorDevicePos]); in DoMakeNode()
278 INIT_CHECK_ONLY_ELOG(errno != ERANGE, "Failed to strtoul %s", ctx->argv[authorityPos]); in DoMakeNode()
290 INIT_CHECK_ONLY_ELOG(errno != ERANGE, "Failed to strtoul %s", ctx->argv[0]); in DoMakeDevice()
292 INIT_CHECK_ONLY_ELOG(errno != ERANGE, "Failed to strtoul %s", ctx->argv[1]); in DoMakeDevice()
/ohos5.0/base/security/security_guard/frameworks/common/utils/src/
H A Dsecurity_guard_utils.cpp67 …if ((errno == ERANGE && (value == LLONG_MAX || value == LLONG_MIN)) || (errno != 0 && value == 0))… in StrToLL()
87 if ((errno == ERANGE && value == ULLONG_MAX) || (errno != 0 && value == 0)) { in StrToULL()
/ohos5.0/drivers/peripheral/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.c322 …if ((errno == ERANGE && (tempRoute == LONG_MAX || tempRoute == LONG_MIN)) || (errno != 0 && tempRo… in TransferRoute()
342 …if ((errno == ERANGE && (tempFormat == LONG_MAX || tempFormat == LONG_MIN)) || (errno != 0 && temp… in TransferFormat()
365 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
385 if ((errno == ERANGE && (tempFrames == ULLONG_MAX)) || (errno != 0 && tempFrames == 0)) { in TransferFrames()
403 if ((errno == ERANGE && (tempSampleRate == ULONG_MAX)) || (errno != 0 && tempSampleRate == 0)) { in TransferSampleRate()
/ohos5.0/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_adapter_info_common.c306 …if ((errno == ERANGE && (tempRoute == LONG_MAX || tempRoute == LONG_MIN)) || (errno != 0 && tempRo… in TransferRoute()
330 …if ((errno == ERANGE && (tempFormat == LONG_MAX || tempFormat == LONG_MIN)) || (errno != 0 && temp… in TransferFormat()
360 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
383 if ((errno == ERANGE && (tempFrames == ULLONG_MAX)) || (errno != 0 && tempFrames == 0)) { in TransferFrames()
402 if ((errno == ERANGE && (tempSampleRate == ULONG_MAX)) || (errno != 0 && tempSampleRate == 0)) { in TransferSampleRate()
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant_params_wrapper.cpp160 if (errno == ERANGE) { in Parse()
213 if (errno == ERANGE) { in ParseWantParams()
266 if (errno == ERANGE) { in ParseWantParamsWithBrackets()
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/src/
H A Dability_main.cpp37 if ((errno == ERANGE && tokenId == ULLONG_MAX) || (errno != 0 && tokenId == 0) || in AbilityMain()
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.cpp776 …if ((errno == ERANGE && (tempRoute == LONG_MAX || tempRoute == LONG_MIN)) || (errno != 0 && tempRo… in TransferRoute()
794 …if ((errno == ERANGE && (tempFormat == LONG_MAX || tempFormat == LONG_MIN)) || (errno != 0 && temp… in TransferFormat()
816 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
834 if ((errno == ERANGE && (tempFrames == ULLONG_MAX)) || (errno != 0 && tempFrames == 0)) { in TransferFrames()
850 if ((errno == ERANGE && (tempSampleRate == ULONG_MAX)) || (errno != 0 && tempSampleRate == 0)) { in TransferSampleRate()
869 if (errno == ERANGE) { in TransferA2dpSuspended()
/ohos5.0/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_param_util.cpp48 if (errno == ERANGE) { in GetNfcStateFromParam()
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/src/
H A Dnetmanager_base_common_utils.cpp407 if (pEnd == value.c_str() || (result < INT_MIN || result > LONG_MAX) || errno == ERANGE) { in StrToInt()
418 if (pEnd == value.c_str() || result > UINT32_MAX || errno == ERANGE) { in StrToUint()
429 if (pEnd == value.c_str() || result > UINT32_MAX || errno == ERANGE) { in StrToBool()
440 if (pEnd == value.c_str() || errno == ERANGE) { in StrToLong()
451 if (pEnd == value.c_str() || errno == ERANGE) { in StrToUint64()
/ohos5.0/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_common_util.cpp668 if (errno == ERANGE) { in CheckDataLegalBin()
690 if (errno == ERANGE) { in CheckDataLegalHex()
712 if (errno == ERANGE) { in CheckDataLegal()
732 if (errno == ERANGE) { in CheckDataToUint()
754 if (errno == ERANGE) { in CheckDataTolonglong()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/util/
H A Dutil.h43 if (pEnd == value.c_str() || (result < INT_MIN || result > INT_MAX) || errno == ERANGE) { in StringToInt()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want_params_wrapper.cpp159 if (errno == ERANGE) { in Parse()
226 if (errno == ERANGE) { in ParseWantParams()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/common/include/
H A Dres_common_util.h68 if (errno == ERANGE || pEnd == value.c_str() || *pEnd != '\0' || in StrToFloat()
/ohos5.0/base/customization/enterprise_device_management/common/native/src/
H A Dedm_utils.cpp42 if (errno == ERANGE || end ==p || *end != '\0') { in ParseStringToLong()
/ohos5.0/base/hiviewdfx/hiview/base/
H A Devent.cpp56 return (errno == ERANGE) ? -1 : ret; in GetIntValue()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/
H A Ddevhost.c71 if (end == str || end[0] != '\0' || errno == ERANGE || result > INT_MAX || result < INT_MIN) { in HdfStringToInt()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Duri_utils.cpp125 if (errno == ERANGE || end == nullptr || end == str || *end != '\0') { in Strtoul()
/ohos5.0/foundation/distributedhardware/device_manager/common/src/
H A Ddm_anonymous.cpp226 if (errno == ERANGE || *nextPtr != '\0') { in StringToInt()

123