Lines Matching refs:buffer
33 Vector<char> buffer(buffer_container, kBufferSize);
40 buffer, &length, &point);
42 CHECK_EQ("5", buffer.start());
47 buffer, &length, &point);
49 CHECK_EQ("17976931348623157", buffer.start());
53 buffer, &length, &point);
55 CHECK_EQ("4294967272", buffer.start());
59 buffer, &length, &point);
61 CHECK_EQ("4185580496821357", buffer.start());
65 buffer, &length, &point);
67 CHECK_EQ("5562684646268003", buffer.start());
71 buffer, &length, &point);
73 CHECK_EQ("2147483648", buffer.start());
77 buffer, &length, &point);
79 CHECK_EQ("35844466002796428", buffer.start());
85 status = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, &length, &point);
87 CHECK_EQ("22250738585072014", buffer.start());
93 status = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, &length, &point);
95 CHECK_EQ("2225073858507201", buffer.start());
103 Vector<char> buffer(buffer_container, kBufferSize);
108 status = FastDtoa(1.0, FAST_DTOA_PRECISION, 3, buffer, &length, &point);
111 TrimRepresentation(buffer);
112 CHECK_EQ("1", buffer.start());
115 status = FastDtoa(1.5, FAST_DTOA_PRECISION, 10, buffer, &length, &point);
118 TrimRepresentation(buffer);
119 CHECK_EQ("15", buffer.start());
125 buffer, &length, &point);
127 CHECK_EQ("49407", buffer.start());
132 buffer, &length, &point);
134 CHECK_EQ("1797693", buffer.start());
138 buffer, &length, &point);
141 TrimRepresentation(buffer);
142 CHECK_EQ("4294967272", buffer.start());
147 buffer, &length, &point);
149 CHECK_EQ("41855804968213567", buffer.start());
153 buffer, &length, &point);
155 CHECK_EQ("6", buffer.start());
159 buffer, &length, &point);
161 CHECK_EQ("21475", buffer.start());
165 buffer, &length, &point);
168 TrimRepresentation(buffer);
169 CHECK_EQ("35844466", buffer.start());
174 status = FastDtoa(v, FAST_DTOA_PRECISION, 17, buffer, &length, &point);
176 CHECK_EQ("22250738585072014", buffer.start());
181 status = FastDtoa(v, FAST_DTOA_PRECISION, 17, buffer, &length, &point);
184 TrimRepresentation(buffer);
185 CHECK_EQ("22250738585072009", buffer.start());
189 status = FastDtoa(v, FAST_DTOA_PRECISION, 18, buffer, &length, &point);
191 CHECK_EQ("331613390521673906", buffer.start());
195 status = FastDtoa(v, FAST_DTOA_PRECISION, 4, buffer, &length, &point);
197 CHECK_EQ("7989", buffer.start());
204 Vector<char> buffer(buffer_container, kBufferSize);
218 status = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, &length, &point);
224 CHECK_EQ(current_test.representation, buffer.start());
233 Vector<char> buffer(buffer_container, kBufferSize);
252 buffer, &length, &point);
257 TrimRepresentation(buffer);
259 CHECK_EQ(current_test.representation, buffer.start());