/external/icu4c/test/letest/ |
D | cletest.c | 44 float *positions = NULL; in ParamTest() local 62 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 113 le_getGlyphPositions(engine, positions, &status); in ParamTest() 119 DELETE_ARRAY(positions); in ParamTest() 217 float positions[6 * 2 + 2]; in AccessTest() local 238 le_getGlyphPositions(engine, positions, &status); in AccessTest() 271 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) { in AccessTest() 273 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1]); in AccessTest() 312 double xError = uprv_fabs(actual->positions[i * 2] - expected->positions[i * 2]); in compareResults() 313 double yError = uprv_fabs(actual->positions[i * 2 + 1] - expected->positions[i * 2 + 1]); in compareResults() [all …]
|
D | letest.cpp | 61 float *positions = NULL; in ParamTest() local 71 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 136 engine->getGlyphPositions(positions, status); in ParamTest() 142 DELETE_ARRAY(positions); in ParamTest() 247 float positions[6 * 2 + 2]; in AccessTest() local 268 engine->getGlyphPositions(positions, status); in AccessTest() 315 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) { in AccessTest() 317 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1]); in AccessTest() 356 double xError = uprv_fabs(actual->positions[i * 2] - expected->positions[i * 2]); in compareResults() 360 testID, i, expected->positions[i * 2], actual->positions[i * 2]); in compareResults() [all …]
|
D | gendata.cpp | 166 float *positions = NULL; in main() local 261 positions = NEW_ARRAY(float, glyphCount * 2 + 2); in main() 265 engine->getGlyphPositions(positions, leStatus); in main() 271 dumpFloats(outputFile, "result-positions", positions, glyphCount * 2 + 2); in main() 275 DELETE_ARRAY(positions); in main()
|
D | xmlreader.cpp | 180 UnicodeString text, glyphs, indices, positions; in readTestFile() local 216 positions = element->getText(TRUE); in readTestFile() 228 expected.positions = getFloatArray(positions, positionCount); in readTestFile() 241 DELETE_ARRAY(expected.positions); in readTestFile()
|
D | letest.h | 40 float *positions; member
|
/external/chromium/third_party/icu/source/test/letest/ |
D | cletest.c | 44 float *positions = NULL; in ParamTest() local 62 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 113 le_getGlyphPositions(engine, positions, &status); in ParamTest() 119 DELETE_ARRAY(positions); in ParamTest() 217 float positions[6 * 2 + 2]; in AccessTest() local 238 le_getGlyphPositions(engine, positions, &status); in AccessTest() 271 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) { in AccessTest() 273 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1]); in AccessTest() 312 double xError = uprv_fabs(actual->positions[i * 2] - expected->positions[i * 2]); in compareResults() 313 double yError = uprv_fabs(actual->positions[i * 2 + 1] - expected->positions[i * 2 + 1]); in compareResults() [all …]
|
D | letest.cpp | 61 float *positions = NULL; in ParamTest() local 71 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 136 engine->getGlyphPositions(positions, status); in ParamTest() 142 DELETE_ARRAY(positions); in ParamTest() 247 float positions[6 * 2 + 2]; in AccessTest() local 268 engine->getGlyphPositions(positions, status); in AccessTest() 315 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) { in AccessTest() 317 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1]); in AccessTest() 356 double xError = uprv_fabs(actual->positions[i * 2] - expected->positions[i * 2]); in compareResults() 360 testID, i, expected->positions[i * 2], actual->positions[i * 2]); in compareResults() [all …]
|
D | gendata.cpp | 166 float *positions = NULL; in main() local 261 positions = NEW_ARRAY(float, glyphCount * 2 + 2); in main() 265 engine->getGlyphPositions(positions, leStatus); in main() 271 dumpFloats(outputFile, "result-positions", positions, glyphCount * 2 + 2); in main() 275 DELETE_ARRAY(positions); in main()
|
D | xmlreader.cpp | 180 UnicodeString text, glyphs, indices, positions; in readTestFile() local 216 positions = element->getText(TRUE); in readTestFile() 228 expected.positions = getFloatArray(positions, positionCount); in readTestFile() 241 DELETE_ARRAY(expected.positions); in readTestFile()
|
D | letest.h | 40 float *positions; member
|
/external/icu4c/layoutex/ |
D | ParagraphLayout.cpp | 381 fStyleRunInfo[run].positions = NULL; in ParagraphLayout() 439 fStyleRunInfo[run].positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); in ParagraphLayout() 441 (fStyleRunInfo[run].positions == NULL)) { in ParagraphLayout() 452 engine->getGlyphPositions(fStyleRunInfo[run].positions, layoutStatus); in ParagraphLayout() 465 …phWidths[glyphBase + glyph] = fStyleRunInfo[run].positions[glyph * 2 + 2] - fStyleRunInfo[run].pos… in ParagraphLayout() 566 LE_DELETE_ARRAY(fStyleRunInfo[run].positions); in ~ParagraphLayout() 569 fStyleRunInfo[run].positions = NULL; in ~ParagraphLayout() 1065 fVisualRunLastX -= fStyleRunInfo[run].positions[leftGlyph * 2]; in appendRun() 1074 float *positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); in appendRun() local 1080 positions[outGlyph] = fStyleRunInfo[run].positions[inGlyph] + fVisualRunLastX; in appendRun() [all …]
|
/external/icu4c/samples/layout/ |
D | GnomeFontInstance.cpp | 42 … const float *positions, le_int32 x, le_int32 y, le_int32 /*width*/, le_int32 /*height*/) in drawGlyphs() argument 46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y); in drawGlyphs() 178 …sterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, in rasterizeGlyphs() argument 189 glyph_t[out].x = x + positions[in*2]; in rasterizeGlyphs() 190 glyph_t[out].y = y + positions[in*2 + 1]; in rasterizeGlyphs()
|
D | rsurface.cpp | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) in rs_drawGlyphs() argument 21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height); in rs_drawGlyphs()
|
D | GDIFontInstance.cpp | 53 …Glyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, in drawGlyphs() argument 72 dx[out] = (le_int32) (positions[g * 2 + 2] - positions[g * 2]); in drawGlyphs() 73 ps[out * 2] = positions[g * 2]; in drawGlyphs() 74 ps[out * 2 + 1] = positions[g * 2 + 1]; in drawGlyphs()
|
D | GnomeFontInstance.h | 38 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height); 100 …sterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions,
|
D | rsurface.h | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
D | RenderingSurface.h | 27 … const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
|
/external/icu4c/layoutex/layout/ |
D | ParagraphLayout.h | 180 … const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]); 341 … const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]); 560 float *positions; member 728 … const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) in VisualRun() argument 730 fGlyphs(glyphs), fPositions(positions), fGlyphToCharMap(glyphToCharMap) in VisualRun()
|
/external/icu4c/layout/ |
D | loengine.cpp | 121 float positions[], in le_getGlyphPositions() argument 131 le->getGlyphPositions(positions, *success); in le_getGlyphPositions()
|
D | LEGlyphStorage.cpp | 387 void LEGlyphStorage::getGlyphPositions(float positions[], LEErrorCode &success) const in getGlyphPositions() argument 393 if (positions == NULL) { in getGlyphPositions() 403 LE_ARRAY_COPY(positions, fPositions, fGlyphCount * 2 + 2); in getGlyphPositions()
|
/external/chromium/base/ |
D | string_util.cc | 396 TrimPositions positions, in TrimStringT() argument 400 const typename STR::size_type first_good_char = (positions & TRIM_LEADING) ? in TrimStringT() 402 const typename STR::size_type last_good_char = (positions & TRIM_TRAILING) ? in TrimStringT() 412 return input_was_empty ? TRIM_NONE : positions; in TrimStringT() 446 TrimPositions positions, in TrimWhitespace() argument 448 return TrimStringT(input, kWhitespaceWide, positions, output); in TrimWhitespace() 453 TrimPositions positions, in TrimWhitespace() argument 455 return TrimStringT(input, kWhitespaceUTF16, positions, output); in TrimWhitespace() 460 TrimPositions positions, in TrimWhitespaceASCII() argument 462 return TrimStringT(input, kWhitespaceASCII, positions, output); in TrimWhitespaceASCII() [all …]
|
D | string_util.h | 172 TrimPositions positions, 175 TrimPositions positions, 178 TrimPositions positions, 184 TrimPositions positions,
|
/external/bluetooth/glib/tests/ |
D | utf8.txt | 1 # This file is derived from 2 # 3 # http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt 4 # 5 # Which was created by Markus Kuhn <mkuhn@acm.org> - 2000-09-02 6 # 7 # lines begining with # and blank lines are ignored 8 # 9 # Beyond that, this file consists of a series of test cases. Each test case consists of 10 # 2 or 3 lines: [all …]
|
/external/webkit/WebKit/android/nav/ |
D | FindCanvas.cpp | 286 const SkPaint& paint, const SkScalar positions[], in findHelper() argument 291 const SkScalar positions[], SkScalar y)) { in findHelper() 360 remaining, glyphs, positions, y); in findHelper() 442 partialGlyphs, positions, y); in findHelper()
|
/external/guava/src/com/google/common/base/ |
D | Splitter.java | 167 positions: 172 continue positions;
|