Lines Matching refs:glyphCount
64 le_int32 glyphCount = 0; in ParamTest() local
66 glyphCount = engine->getGlyphCount(); in ParamTest()
67 if (glyphCount != 0) { in ParamTest()
68 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount); in ParamTest()
71 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); in ParamTest()
72 indices = NEW_ARRAY(le_int32, glyphCount + 10); in ParamTest()
73 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
149 glyphCount = engine->layoutChars(NULL, 0, 0, 0, FALSE, 0.0, 0.0, status); in ParamTest()
162 glyphCount = engine->layoutChars(chars, -1, 6, 20, TRUE, 0.0, 0.0, status); in ParamTest()
169 glyphCount = engine->layoutChars(chars, 8, -1, 20, TRUE, 0.0, 0.0, status); in ParamTest()
176 glyphCount = engine->layoutChars(chars, 8, 6, -1, TRUE, 0.0, 0.0, status); in ParamTest()
183 glyphCount = engine->layoutChars(chars, 8, 6, 10, TRUE, 0.0, 0.0, status); in ParamTest()
192 glyphCount = engine->layoutChars(chars, 8, 6, 20, TRUE, 0.0, 0.0, status); in ParamTest()
206 engine->getGlyphPosition(glyphCount + 1, x, y, status); in ParamTest()
246 le_int32 glyphCount; in AccessTest() local
261 glyphCount = engine->layoutChars(chars, 8, 6, 20, TRUE, 0.0, 0.0, status); in AccessTest()
263 if (LE_FAILURE(status) || glyphCount != 6) { in AccessTest()
282 for(glyph = 0; glyph < glyphCount; glyph += 1) { in AccessTest()
297 for (glyph = 0; glyph < glyphCount; glyph += 1) { in AccessTest()
307 for (glyph = 0; glyph <= glyphCount; glyph += 1) { in AccessTest()
333 if (actual->glyphCount != expected->glyphCount) { in compareResults()
335 testID, expected->glyphCount, actual->glyphCount); in compareResults()
341 for (i = 0; i < actual->glyphCount; i += 1) { in compareResults()
349 for (i = 0; i < actual->glyphCount; i += 1) { in compareResults()
357 for (i = 0; i <= actual->glyphCount; i += 1) { in compareResults()
615 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; in DataDrivenTest() local
681 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); in DataDrivenTest()
685 expected.glyphCount = glyphCount; in DataDrivenTest()
687 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in DataDrivenTest()
689 id, charCount, glyphCount, indexCount, positionCount); in DataDrivenTest()
700 …actual.glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0… in DataDrivenTest()
702 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount); in DataDrivenTest()
703 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount); in DataDrivenTest()
704 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2); in DataDrivenTest()
718 log_verbose("OK - %4d glyphs: %s\n", actual.glyphCount, id); in DataDrivenTest()
900 le_int32 glyphCount = visualRun->getGlyphCount(); in GlyphToCharTest() local
910 for(le_int32 i = glyphCount - 1; i >= 0; i -= 1) { in GlyphToCharTest()
933 for(le_int32 i = 0; i < glyphCount; i += 1) { in GlyphToCharTest()