Home
last modified time | relevance | path

Searched refs:endPtr (Results 1 – 4 of 4) 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.string(), &endPtr, 10); in getAppInfo()
188 if (endPtr != minSdk8.string() + minSdk8.size()) { in getAppInfo()
/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()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2214 char *endPtr; in parseProviderName() local
2216 long idVal = strtol(name.c_str() + slashIdx + 1, &endPtr, 10); in parseProviderName()
2223 if (endPtr != name.c_str() + name.size()) { in parseProviderName()
2292 char *endPtr; in parseDeviceName() local
2294 long majorVal = strtol(name.c_str() + atIdx + 1, &endPtr, 10); in parseDeviceName()
2301 if (endPtr != name.c_str() + dotIdx) { in parseDeviceName()
2307 long minorVal = strtol(name.c_str() + dotIdx + 1, &endPtr, 10); in parseDeviceName()
2314 if (endPtr != name.c_str() + typeSlashIdx) { in parseDeviceName()