Lines Matching refs:glyphStorage
41 ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &c… in processStateEntry() argument
56 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); in processStateEntry()
70 void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrang… in doRearrangementAction() argument
82 a = glyphStorage[firstGlyph]; in doRearrangementAction()
83 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
87 glyphStorage[x - 1] = glyphStorage[x]; in doRearrangementAction()
88 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
89 glyphStorage.setCharIndex(x - 1, ix, success); in doRearrangementAction()
93 glyphStorage[lastGlyph] = a; in doRearrangementAction()
94 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
98 d = glyphStorage[lastGlyph]; in doRearrangementAction()
99 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
103 glyphStorage[x + 1] = glyphStorage[x]; in doRearrangementAction()
104 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
105 glyphStorage.setCharIndex(x + 1, ix, success); in doRearrangementAction()
109 glyphStorage[firstGlyph] = d; in doRearrangementAction()
110 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
114 a = glyphStorage[firstGlyph]; in doRearrangementAction()
115 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
116 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
118 glyphStorage[firstGlyph] = glyphStorage[lastGlyph]; in doRearrangementAction()
119 glyphStorage[lastGlyph] = a; in doRearrangementAction()
121 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
122 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
126 a = glyphStorage[firstGlyph]; in doRearrangementAction()
127 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
128 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
129 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
133 glyphStorage[x - 2] = glyphStorage[x]; in doRearrangementAction()
134 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
135 glyphStorage.setCharIndex(x - 2, ix, success); in doRearrangementAction()
139 glyphStorage[lastGlyph - 1] = a; in doRearrangementAction()
140 glyphStorage[lastGlyph] = b; in doRearrangementAction()
142 glyphStorage.setCharIndex(lastGlyph - 1, ia, success); in doRearrangementAction()
143 glyphStorage.setCharIndex(lastGlyph, ib, success); in doRearrangementAction()
147 a = glyphStorage[firstGlyph]; in doRearrangementAction()
148 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
149 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
150 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
154 glyphStorage[x - 2] = glyphStorage[x]; in doRearrangementAction()
155 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
156 glyphStorage.setCharIndex(x - 2, ix, success); in doRearrangementAction()
160 glyphStorage[lastGlyph - 1] = b; in doRearrangementAction()
161 glyphStorage[lastGlyph] = a; in doRearrangementAction()
163 glyphStorage.setCharIndex(lastGlyph - 1, ib, success); in doRearrangementAction()
164 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
168 c = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
169 d = glyphStorage[lastGlyph]; in doRearrangementAction()
170 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
171 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
175 glyphStorage[x + 2] = glyphStorage[x]; in doRearrangementAction()
176 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
177 glyphStorage.setCharIndex(x + 2, ix, success); in doRearrangementAction()
181 glyphStorage[firstGlyph] = c; in doRearrangementAction()
182 glyphStorage[firstGlyph + 1] = d; in doRearrangementAction()
184 glyphStorage.setCharIndex(firstGlyph, ic, success); in doRearrangementAction()
185 glyphStorage.setCharIndex(firstGlyph + 1, id, success); in doRearrangementAction()
189 c = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
190 d = glyphStorage[lastGlyph]; in doRearrangementAction()
191 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
192 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
196 glyphStorage[x + 2] = glyphStorage[x]; in doRearrangementAction()
197 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
198 glyphStorage.setCharIndex(x + 2, ix, success); in doRearrangementAction()
202 glyphStorage[firstGlyph] = d; in doRearrangementAction()
203 glyphStorage[firstGlyph + 1] = c; in doRearrangementAction()
205 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
206 glyphStorage.setCharIndex(firstGlyph + 1, ic, success); in doRearrangementAction()
210 a = glyphStorage[firstGlyph]; in doRearrangementAction()
211 c = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
212 d = glyphStorage[lastGlyph]; in doRearrangementAction()
213 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
214 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
215 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
219 glyphStorage[x + 1] = glyphStorage[x]; in doRearrangementAction()
220 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
221 glyphStorage.setCharIndex(x + 1, ix, success); in doRearrangementAction()
225 glyphStorage[firstGlyph] = c; in doRearrangementAction()
226 glyphStorage[firstGlyph + 1] = d; in doRearrangementAction()
227 glyphStorage[lastGlyph] = a; in doRearrangementAction()
229 glyphStorage.setCharIndex(firstGlyph, ic, success); in doRearrangementAction()
230 glyphStorage.setCharIndex(firstGlyph + 1, id, success); in doRearrangementAction()
231 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
235 a = glyphStorage[firstGlyph]; in doRearrangementAction()
236 c = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
237 d = glyphStorage[lastGlyph]; in doRearrangementAction()
238 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
239 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
240 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
244 glyphStorage[x + 1] = glyphStorage[x]; in doRearrangementAction()
245 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
246 glyphStorage.setCharIndex(x + 1, ix, success); in doRearrangementAction()
250 glyphStorage[firstGlyph] = d; in doRearrangementAction()
251 glyphStorage[firstGlyph + 1] = c; in doRearrangementAction()
252 glyphStorage[lastGlyph] = a; in doRearrangementAction()
254 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
255 glyphStorage.setCharIndex(firstGlyph + 1, ic, success); in doRearrangementAction()
256 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
260 a = glyphStorage[firstGlyph]; in doRearrangementAction()
261 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
262 d = glyphStorage[lastGlyph]; in doRearrangementAction()
263 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
264 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
265 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
269 glyphStorage[x - 2] = glyphStorage[x]; in doRearrangementAction()
270 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
271 glyphStorage.setCharIndex(x - 2, ix, success); in doRearrangementAction()
275 glyphStorage[firstGlyph] = d; in doRearrangementAction()
276 glyphStorage[lastGlyph - 1] = a; in doRearrangementAction()
277 glyphStorage[lastGlyph] = b; in doRearrangementAction()
279 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
280 glyphStorage.setCharIndex(lastGlyph - 1, ia, success); in doRearrangementAction()
281 glyphStorage.setCharIndex(lastGlyph, ib, success); in doRearrangementAction()
285 a = glyphStorage[firstGlyph]; in doRearrangementAction()
286 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
287 d = glyphStorage[lastGlyph]; in doRearrangementAction()
288 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
289 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
290 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
294 glyphStorage[x - 2] = glyphStorage[x]; in doRearrangementAction()
295 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
296 glyphStorage.setCharIndex(x - 2, ix, success); in doRearrangementAction()
300 glyphStorage[firstGlyph] = d; in doRearrangementAction()
301 glyphStorage[lastGlyph - 1] = b; in doRearrangementAction()
302 glyphStorage[lastGlyph] = a; in doRearrangementAction()
304 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
305 glyphStorage.setCharIndex(lastGlyph - 1, ib, success); in doRearrangementAction()
306 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
310 a = glyphStorage[firstGlyph]; in doRearrangementAction()
311 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
313 glyphStorage[firstGlyph] = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
314 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph]; in doRearrangementAction()
316 glyphStorage[lastGlyph - 1] = a; in doRearrangementAction()
317 glyphStorage[lastGlyph] = b; in doRearrangementAction()
319 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
320 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
321 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
322 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
324 glyphStorage.setCharIndex(firstGlyph, ic, success); in doRearrangementAction()
325 glyphStorage.setCharIndex(firstGlyph + 1, id, success); in doRearrangementAction()
327 glyphStorage.setCharIndex(lastGlyph - 1, ia, success); in doRearrangementAction()
328 glyphStorage.setCharIndex(lastGlyph, ib, success); in doRearrangementAction()
332 a = glyphStorage[firstGlyph]; in doRearrangementAction()
333 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
335 glyphStorage[firstGlyph] = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
336 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph]; in doRearrangementAction()
338 glyphStorage[lastGlyph - 1] = b; in doRearrangementAction()
339 glyphStorage[lastGlyph] = a; in doRearrangementAction()
341 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
342 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
343 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
344 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
346 glyphStorage.setCharIndex(firstGlyph, ic, success); in doRearrangementAction()
347 glyphStorage.setCharIndex(firstGlyph + 1, id, success); in doRearrangementAction()
349 glyphStorage.setCharIndex(lastGlyph - 1, ib, success); in doRearrangementAction()
350 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
354 a = glyphStorage[firstGlyph]; in doRearrangementAction()
355 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
357 glyphStorage[firstGlyph] = glyphStorage[lastGlyph]; in doRearrangementAction()
358 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
360 glyphStorage[lastGlyph - 1] = a; in doRearrangementAction()
361 glyphStorage[lastGlyph] = b; in doRearrangementAction()
363 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
364 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
365 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
366 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
368 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
369 glyphStorage.setCharIndex(firstGlyph + 1, ic, success); in doRearrangementAction()
371 glyphStorage.setCharIndex(lastGlyph - 1, ia, success); in doRearrangementAction()
372 glyphStorage.setCharIndex(lastGlyph, ib, success); in doRearrangementAction()
376 a = glyphStorage[firstGlyph]; in doRearrangementAction()
377 b = glyphStorage[firstGlyph + 1]; in doRearrangementAction()
379 glyphStorage[firstGlyph] = glyphStorage[lastGlyph]; in doRearrangementAction()
380 glyphStorage[firstGlyph + 1] = glyphStorage[lastGlyph - 1]; in doRearrangementAction()
382 glyphStorage[lastGlyph - 1] = b; in doRearrangementAction()
383 glyphStorage[lastGlyph] = a; in doRearrangementAction()
385 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
386 ib = glyphStorage.getCharIndex(firstGlyph + 1, success); in doRearrangementAction()
387 ic = glyphStorage.getCharIndex(lastGlyph - 1, success); in doRearrangementAction()
388 id = glyphStorage.getCharIndex(lastGlyph, success); in doRearrangementAction()
390 glyphStorage.setCharIndex(firstGlyph, id, success); in doRearrangementAction()
391 glyphStorage.setCharIndex(firstGlyph + 1, ic, success); in doRearrangementAction()
393 glyphStorage.setCharIndex(lastGlyph - 1, ib, success); in doRearrangementAction()
394 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()