Home
last modified time | relevance | path

Searched refs:endPtr (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
DPathParser.cpp102 char* endPtr = NULL; in parseFloat() local
103 float currentValue = strtof(startPtr, &endPtr); in parseFloat()
109 if (currentValue == 0 && endPtr == startPtr) { in parseFloat()
/frameworks/base/tools/split-select/
DMain.cpp186 char *endPtr; in getAppInfo() local
187 int minSdk = strtol(minSdk8->c_str(), &endPtr, 10); in getAppInfo()
188 if (endPtr != minSdk8->c_str() + minSdk8->size()) { in getAppInfo()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp518 char* endPtr; in ParseGenderRatio() local
520 *gender_ratio = strtof(input, &endPtr); in ParseGenderRatio()
521 if (endPtr == input || *endPtr != '\0' || errno == ERANGE || *gender_ratio < 0 || in ParseGenderRatio()
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlUtils.cpp43 uint8_t* endPtr = startPtr + size; in cloneToAidl() local
44 dst->metadata.assign(startPtr, endPtr); in cloneToAidl()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1733 char *endPtr; in set() local
1735 validatedParams.gpsCoordinates[0] = strtod(gpsLatStr, &endPtr); in set()
1736 if (errno || endPtr == gpsLatStr) { in set()
1741 validatedParams.gpsCoordinates[1] = strtod(gpsLongStr, &endPtr); in set()
1742 if (errno || endPtr == gpsLongStr) { in set()
1747 validatedParams.gpsCoordinates[2] = strtod(gpsAltitudeStr, &endPtr); in set()
1748 if (errno || endPtr == gpsAltitudeStr) { in set()
1754 validatedParams.gpsTimestamp = strtoll(gpsTimeStr, &endPtr, 10); in set()
1755 if (errno || endPtr == gpsTimeStr) { in set()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp3011 char *endPtr; in parseProviderName() local
3013 long idVal = strtol(name.c_str() + slashIdx + 1, &endPtr, 10); in parseProviderName()
3020 if (endPtr != name.c_str() + name.size()) { in parseProviderName()
3089 char *endPtr; in parseDeviceName() local
3091 long majorVal = strtol(name.c_str() + atIdx + 1, &endPtr, 10); in parseDeviceName()
3098 if (endPtr != name.c_str() + dotIdx) { in parseDeviceName()
3104 long minorVal = strtol(name.c_str() + dotIdx + 1, &endPtr, 10); in parseDeviceName()
3111 if (endPtr != name.c_str() + typeSlashIdx) { in parseDeviceName()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp6109 char *endPtr; in handleSetImageDumpMask() local
6112 long maskValue = strtol(maskString.c_str(), &endPtr, 10); in handleSetImageDumpMask()
6115 if (endPtr != maskString.c_str() + maskString.size()) return BAD_VALUE; in handleSetImageDumpMask()