Lines Matching defs:index
120 int32_t index = getScriptIndex(script);
121 return index == 0 ? 0 : (uint32_t)scriptStarts[index] << 16;
126 int32_t index = getScriptIndex(script);
127 if(index == 0) {
130 uint32_t limit = scriptStarts[index + 1];
140 int32_t index = 1;
141 while(p >= scriptStarts[index + 1]) { ++index; }
143 if(scriptsIndex[i] == index) {
148 if(scriptsIndex[numScripts + i] == index) {
178 int32_t index = getScriptIndex(script);
179 if(index == 0) { return 0; }
192 if(scriptsIndex[i] == index) {
227 int32_t index = scriptsIndex[
229 if(index != 0) {
230 table[index] = 0xff;
232 index = scriptsIndex[
234 if(index != 0) {
235 table[index] = 0xff;
260 int32_t index = scriptsIndex[numScripts + i];
261 if(index != 0 && (specials & ((uint32_t)1 << i)) == 0) {
262 lowStart = addLowScriptRange(table, index, lowStart);
270 int32_t index = scriptsIndex[USCRIPT_LATIN];
271 U_ASSERT(index != 0);
272 int32_t start = scriptStarts[index];
293 int32_t index = getScriptIndex(script);
294 if(index == 0) { continue; }
295 if(table[index] != 0) { // Duplicate or equivalent script.
299 highLimit = addHighScriptRange(table, index, highLimit);
309 int32_t index = getScriptIndex(script);
310 if(index == 0) { continue; }
311 if(table[index] != 0) { // Duplicate or equivalent script.
315 lowStart = addLowScriptRange(table, index, lowStart);
365 CollationData::addLowScriptRange(uint8_t table[], int32_t index, int32_t lowStart) const {
366 int32_t start = scriptStarts[index];
370 table[index] = (uint8_t)(lowStart >> 8);
371 int32_t limit = scriptStarts[index + 1];
377 CollationData::addHighScriptRange(uint8_t table[], int32_t index, int32_t highLimit) const {
378 int32_t limit = scriptStarts[index + 1];
382 int32_t start = scriptStarts[index];
384 table[index] = (uint8_t)(highLimit >> 8);