Lines Matching refs:newDoubleValuePtr
29 double newDoubleValuePtr[1]; in TestString() local
101 *newDoubleValuePtr = -1.0; in TestString()
102 u_sscanf(uStringBuf, "Float f: %lf", newDoubleValuePtr); in TestString()
103 if (myFloat != *newDoubleValuePtr) { in TestString()
104 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
108 *newDoubleValuePtr = -1.0; in TestString()
109 u_sscanf(uStringBuf, "Lowercase float e: %le", newDoubleValuePtr); in TestString()
110 if (myFloat != *newDoubleValuePtr) { in TestString()
111 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestString()
115 *newDoubleValuePtr = -1.0; in TestString()
116 u_sscanf(uStringBuf, "Uppercase float E: %lE", newDoubleValuePtr); in TestString()
117 if (myFloat != *newDoubleValuePtr) { in TestString()
118 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestString()
122 *newDoubleValuePtr = -1.0; in TestString()
123 u_sscanf(uStringBuf, "Lowercase float g: %lg", newDoubleValuePtr); in TestString()
124 if (myFloat != *newDoubleValuePtr) { in TestString()
125 log_err("%%g Got: %g, Expected: %g\n", *newDoubleValuePtr, myFloat); in TestString()
129 *newDoubleValuePtr = -1.0; in TestString()
130 u_sscanf(uStringBuf, "Uppercase float G: %lG", newDoubleValuePtr); in TestString()
131 if (myFloat != *newDoubleValuePtr) { in TestString()
132 log_err("%%G Got: %G, Expected: %G\n", *newDoubleValuePtr, myFloat); in TestString()
183 *newDoubleValuePtr = -1.0; in TestString()
184 u_sscanf(uStringBuf, "Percent %%P (non-ANSI): %P", newDoubleValuePtr); in TestString()
185 if (myFloat != *newDoubleValuePtr) { in TestString()
186 log_err("%%P Got: %P, Expected: %P\n", *newDoubleValuePtr, myFloat); in TestString()
190 *newDoubleValuePtr = -1.0; in TestString()
191 u_sscanf(uStringBuf, "Spell Out %%V (non-ANSI): %V", newDoubleValuePtr); in TestString()
192 if (myFloat != *newDoubleValuePtr) { in TestString()
193 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
199 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()