Lines Matching refs:glyphStorage

63 le_uint16 IndicRearrangementProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph,
71 if (currGlyph < 0 || currGlyph >= glyphStorage.getGlyphCount()) {
84 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask), success);
97 void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb, LEErrorCode &success) const
120 a = glyphStorage[firstGlyph];
121 ia = glyphStorage.getCharIndex(firstGlyph, success);
125 glyphStorage[x - 1] = glyphStorage[x];
126 ix = glyphStorage.getCharIndex(x, success);
127 glyphStorage.setCharIndex(x - 1, ix, success);
131 glyphStorage[lastGlyph] = a;
132 glyphStorage.setCharIndex(lastGlyph, ia, success);
141 d = glyphStorage[lastGlyph];
142 id = glyphStorage.getCharIndex(lastGlyph, success);
146 glyphStorage[x + 1] = glyphStorage[x];
147 ix = glyphStorage.getCharIndex(x, success);
148 glyphStorage.setCharIndex(x + 1, ix, success);
152 glyphStorage[firstGlyph] = d;
153 glyphStorage.setCharIndex(firstGlyph, id, success);
157 a = glyphStorage[firstGlyph];
158 ia = glyphStorage.getCharIndex(firstGlyph, success);
159 id = glyphStorage.getCharIndex(lastGlyph, success);
161 glyphStorage[firstGlyph] = glyphStorage[lastGlyph];
162 glyphStorage[lastGlyph] = a;
164 glyphStorage.setCharIndex(firstGlyph, id, success);
165 glyphStorage.setCharIndex(lastGlyph, ia, success);
174 a = glyphStorage[firstGlyph];
175 b = glyphStorage[firstGlyph + 1];
176 ia = glyphStorage.getCharIndex(firstGlyph, success);
177 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
181 glyphStorage[x - 2] = glyphStorage[x];
182 ix = glyphStorage.getCharIndex(x, success);
183 glyphStorage.setCharIndex(x - 2, ix, success);
187 glyphStorage[lastGlyph - 1] = a;
188 glyphStorage[lastGlyph] = b;
190 glyphStorage.setCharIndex(lastGlyph - 1, ia, success);
191 glyphStorage.setCharIndex(lastGlyph, ib, success);
200 a = glyphStorage[firstGlyph];
201 b = glyphStorage[firstGlyph + 1];
202 ia = glyphStorage.getCharIndex(firstGlyph, success);
203 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
207 glyphStorage[x - 2] = glyphStorage[x];
208 ix = glyphStorage.getCharIndex(x, success);
209 glyphStorage.setCharIndex(x - 2, ix, success);
213 glyphStorage[lastGlyph - 1] = b;
214 glyphStorage[lastGlyph] = a;
216 glyphStorage.setCharIndex(lastGlyph - 1, ib, success);
217 glyphStorage.setCharIndex(lastGlyph, ia, success);
226 c = glyphStorage[lastGlyph - 1];
227 d = glyphStorage[lastGlyph];
228 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
229 id = glyphStorage.getCharIndex(lastGlyph, success);
233 glyphStorage[x + 2] = glyphStorage[x];
234 ix = glyphStorage.getCharIndex(x, success);
235 glyphStorage.setCharIndex(x + 2, ix, success);
239 glyphStorage[firstGlyph] = c;
240 glyphStorage[firstGlyph + 1] = d;
242 glyphStorage.setCharIndex(firstGlyph, ic, success);
243 glyphStorage.setCharIndex(firstGlyph + 1, id, success);
252 c = glyphStorage[lastGlyph - 1];
253 d = glyphStorage[lastGlyph];
254 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
255 id = glyphStorage.getCharIndex(lastGlyph, success);
259 glyphStorage[x + 2] = glyphStorage[x];
260 ix = glyphStorage.getCharIndex(x, success);
261 glyphStorage.setCharIndex(x + 2, ix, success);
265 glyphStorage[firstGlyph] = d;
266 glyphStorage[firstGlyph + 1] = c;
268 glyphStorage.setCharIndex(firstGlyph, id, success);
269 glyphStorage.setCharIndex(firstGlyph + 1, ic, success);
278 a = glyphStorage[firstGlyph];
279 c = glyphStorage[lastGlyph - 1];
280 d = glyphStorage[lastGlyph];
281 ia = glyphStorage.getCharIndex(firstGlyph, success);
282 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
283 id = glyphStorage.getCharIndex(lastGlyph, success);
287 glyphStorage[x + 1] = glyphStorage[x];
288 ix = glyphStorage.getCharIndex(x, success);
289 glyphStorage.setCharIndex(x + 1, ix, success);
293 glyphStorage[firstGlyph] = c;
294 glyphStorage[firstGlyph + 1] = d;
295 glyphStorage[lastGlyph] = a;
297 glyphStorage.setCharIndex(firstGlyph, ic, success);
298 glyphStorage.setCharIndex(firstGlyph + 1, id, success);
299 glyphStorage.setCharIndex(lastGlyph, ia, success);
308 a = glyphStorage[firstGlyph];
309 c = glyphStorage[lastGlyph - 1];
310 d = glyphStorage[lastGlyph];
311 ia = glyphStorage.getCharIndex(firstGlyph, success);
312 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
313 id = glyphStorage.getCharIndex(lastGlyph, success);
317 glyphStorage[x + 1] = glyphStorage[x];
318 ix = glyphStorage.getCharIndex(x, success);
319 glyphStorage.setCharIndex(x + 1, ix, success);
323 glyphStorage[firstGlyph] = d;
324 glyphStorage[firstGlyph + 1] = c;
325 glyphStorage[lastGlyph] = a;
327 glyphStorage.setCharIndex(firstGlyph, id, success);
328 glyphStorage.setCharIndex(firstGlyph + 1, ic, success);
329 glyphStorage.setCharIndex(lastGlyph, ia, success);
338 a = glyphStorage[firstGlyph];
339 b = glyphStorage[firstGlyph + 1];
340 d = glyphStorage[lastGlyph];
341 ia = glyphStorage.getCharIndex(firstGlyph, success);
342 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
343 id = glyphStorage.getCharIndex(lastGlyph, success);
347 glyphStorage[x - 2] = glyphStorage[x];
348 ix = glyphStorage.getCharIndex(x, success);
349 glyphStorage.setCharIndex(x - 2, ix, success);
353 glyphStorage[firstGlyph] = d;
354 glyphStorage[lastGlyph - 1] = a;
355 glyphStorage[lastGlyph] = b;
357 glyphStorage.setCharIndex(firstGlyph, id, success);
358 glyphStorage.setCharIndex(lastGlyph - 1, ia, success);
359 glyphStorage.setCharIndex(lastGlyph, ib, success);
368 a = glyphStorage[firstGlyph];
369 b = glyphStorage[firstGlyph + 1];
370 d = glyphStorage[lastGlyph];
371 ia = glyphStorage.getCharIndex(firstGlyph, success);
372 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
373 id = glyphStorage.getCharIndex(lastGlyph, success);
377 glyphStorage[x - 2] = glyphStorage[x];
378 ix = glyphStorage.getCharIndex(x, success);
379 glyphStorage.setCharIndex(x - 2, ix, success);
383 glyphStorage[firstGlyph] = d;
384 glyphStorage[lastGlyph - 1] = b;
385 glyphStorage[lastGlyph] = a;
387 glyphStorage.setCharIndex(firstGlyph, id, success);
388 glyphStorage.setCharIndex(lastGlyph - 1, ib, success);
389 glyphStorage.setCharIndex(lastGlyph, ia, success);
397 a = glyphStorage[firstGlyph];
398 b = glyphStorage[firstGlyph + 1];
400 glyphStorage[firstGlyph] = glyphStorage[lastGlyph - 1];
401 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph];
403 glyphStorage[lastGlyph - 1] = a;
404 glyphStorage[lastGlyph] = b;
406 ia = glyphStorage.getCharIndex(firstGlyph, success);
407 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
408 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
409 id = glyphStorage.getCharIndex(lastGlyph, success);
411 glyphStorage.setCharIndex(firstGlyph, ic, success);
412 glyphStorage.setCharIndex(firstGlyph + 1, id, success);
414 glyphStorage.setCharIndex(lastGlyph - 1, ia, success);
415 glyphStorage.setCharIndex(lastGlyph, ib, success);
423 a = glyphStorage[firstGlyph];
424 b = glyphStorage[firstGlyph + 1];
426 glyphStorage[firstGlyph] = glyphStorage[lastGlyph - 1];
427 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph];
429 glyphStorage[lastGlyph - 1] = b;
430 glyphStorage[lastGlyph] = a;
432 ia = glyphStorage.getCharIndex(firstGlyph, success);
433 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
434 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
435 id = glyphStorage.getCharIndex(lastGlyph, success);
437 glyphStorage.setCharIndex(firstGlyph, ic, success);
438 glyphStorage.setCharIndex(firstGlyph + 1, id, success);
440 glyphStorage.setCharIndex(lastGlyph - 1, ib, success);
441 glyphStorage.setCharIndex(lastGlyph, ia, success);
449 a = glyphStorage[firstGlyph];
450 b = glyphStorage[firstGlyph + 1];
452 glyphStorage[firstGlyph] = glyphStorage[lastGlyph];
453 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph - 1];
455 glyphStorage[lastGlyph - 1] = a;
456 glyphStorage[lastGlyph] = b;
458 ia = glyphStorage.getCharIndex(firstGlyph, success);
459 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
460 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
461 id = glyphStorage.getCharIndex(lastGlyph, success);
463 glyphStorage.setCharIndex(firstGlyph, id, success);
464 glyphStorage.setCharIndex(firstGlyph + 1, ic, success);
466 glyphStorage.setCharIndex(lastGlyph - 1, ia, success);
467 glyphStorage.setCharIndex(lastGlyph, ib, success);
475 a = glyphStorage[firstGlyph];
476 b = glyphStorage[firstGlyph + 1];
478 glyphStorage[firstGlyph] = glyphStorage[lastGlyph];
479 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph - 1];
481 glyphStorage[lastGlyph - 1] = b;
482 glyphStorage[lastGlyph] = a;
484 ia = glyphStorage.getCharIndex(firstGlyph, success);
485 ib = glyphStorage.getCharIndex(firstGlyph + 1, success);
486 ic = glyphStorage.getCharIndex(lastGlyph - 1, success);
487 id = glyphStorage.getCharIndex(lastGlyph, success);
489 glyphStorage.setCharIndex(firstGlyph, id, success);
490 glyphStorage.setCharIndex(firstGlyph + 1, ic, success);
492 glyphStorage.setCharIndex(lastGlyph - 1, ib, success);
493 glyphStorage.setCharIndex(lastGlyph, ia, success);