Lines Matching refs:newDoubleValuePtr
26 double newDoubleValuePtr[1]; in TestString() local
98 *newDoubleValuePtr = -1.0; in TestString()
99 u_sscanf(uStringBuf, "Float f: %lf", newDoubleValuePtr); in TestString()
100 if (myFloat != *newDoubleValuePtr) { in TestString()
101 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
105 *newDoubleValuePtr = -1.0; in TestString()
106 u_sscanf(uStringBuf, "Lowercase float e: %le", newDoubleValuePtr); in TestString()
107 if (myFloat != *newDoubleValuePtr) { in TestString()
108 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestString()
112 *newDoubleValuePtr = -1.0; in TestString()
113 u_sscanf(uStringBuf, "Uppercase float E: %lE", newDoubleValuePtr); in TestString()
114 if (myFloat != *newDoubleValuePtr) { in TestString()
115 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestString()
119 *newDoubleValuePtr = -1.0; in TestString()
120 u_sscanf(uStringBuf, "Lowercase float g: %lg", newDoubleValuePtr); in TestString()
121 if (myFloat != *newDoubleValuePtr) { in TestString()
122 log_err("%%g Got: %g, Expected: %g\n", *newDoubleValuePtr, myFloat); in TestString()
126 *newDoubleValuePtr = -1.0; in TestString()
127 u_sscanf(uStringBuf, "Uppercase float G: %lG", newDoubleValuePtr); in TestString()
128 if (myFloat != *newDoubleValuePtr) { in TestString()
129 log_err("%%G Got: %G, Expected: %G\n", *newDoubleValuePtr, myFloat); in TestString()
180 *newDoubleValuePtr = -1.0; in TestString()
181 u_sscanf(uStringBuf, "Percent %%P (non-ANSI): %P", newDoubleValuePtr); in TestString()
182 if (myFloat != *newDoubleValuePtr) { in TestString()
183 log_err("%%P Got: %P, Expected: %P\n", *newDoubleValuePtr, myFloat); in TestString()
187 *newDoubleValuePtr = -1.0; in TestString()
188 u_sscanf(uStringBuf, "Spell Out %%V (non-ANSI): %V", newDoubleValuePtr); in TestString()
189 if (myFloat != *newDoubleValuePtr) { in TestString()
190 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
196 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()