Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathParser.cpp104 char* endPtr = NULL; in parseFloat() local
105 float currentValue = strtof(startPtr, &endPtr); in parseFloat()
111 if (currentValue == 0 && endPtr == startPtr) { in parseFloat()
/frameworks/base/tools/split-select/
DMain.cpp186 char* endPtr; in getAppInfo() local
187 int minSdk = strtol(minSdk8.string(), &endPtr, 10); in getAppInfo()
188 if (endPtr != minSdk8.string() + minSdk8.size()) { in getAppInfo()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2171 char *endPtr; in parseProviderName() local
2173 long idVal = strtol(name.c_str() + slashIdx + 1, &endPtr, 10); in parseProviderName()
2180 if (endPtr != name.c_str() + name.size()) { in parseProviderName()
2249 char *endPtr; in parseDeviceName() local
2251 long majorVal = strtol(name.c_str() + atIdx + 1, &endPtr, 10); in parseDeviceName()
2258 if (endPtr != name.c_str() + dotIdx) { in parseDeviceName()
2264 long minorVal = strtol(name.c_str() + dotIdx + 1, &endPtr, 10); in parseDeviceName()
2271 if (endPtr != name.c_str() + typeSlashIdx) { in parseDeviceName()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1688 char *endPtr; in set() local
1690 validatedParams.gpsCoordinates[0] = strtod(gpsLatStr, &endPtr); in set()
1691 if (errno || endPtr == gpsLatStr) { in set()
1696 validatedParams.gpsCoordinates[1] = strtod(gpsLongStr, &endPtr); in set()
1697 if (errno || endPtr == gpsLongStr) { in set()
1702 validatedParams.gpsCoordinates[2] = strtod(gpsAltitudeStr, &endPtr); in set()
1703 if (errno || endPtr == gpsAltitudeStr) { in set()
1709 validatedParams.gpsTimestamp = strtoll(gpsTimeStr, &endPtr, 10); in set()
1710 if (errno || endPtr == gpsTimeStr) { in set()