Home
last modified time | relevance | path

Searched refs:floatString (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPDFPrimitivesTest.cpp440 char floatString[SkPDFUtils::kMaximumFloatDecimalLength]; in check_pdf_scalar_serialization() local
441 size_t len = SkPDFUtils::FloatToDecimal(inputFloat, floatString); in check_pdf_scalar_serialization()
442 if (len >= sizeof(floatString)) { in check_pdf_scalar_serialization()
446 if (floatString[len] != '\0' || strlen(floatString) != len) { in check_pdf_scalar_serialization()
451 SkDebugf("%15.9g = \"%s\"\n", inputFloat, floatString); in check_pdf_scalar_serialization()
454 if (1 != sscanf(floatString, "%f", &roundTripFloat)) { in check_pdf_scalar_serialization()
455 ERRORF(reporter, "unscannable result: %s", floatString); in check_pdf_scalar_serialization()
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java311 public static float parseFloat(String floatString) { in parseFloat() argument
312 Matcher m = specialFloatRegex.matcher(floatString); in parseFloat()
325 return Float.parseFloat(floatString); in parseFloat()