Lines Matching refs:trieWord
250 uint16_t trieWord =0; in storeMappingData() local
285 trieWord = currentIndex << 2; in storeMappingData()
287 trieWord += 0x02; in storeMappingData()
289 if(trieWord > _SPREP_TYPE_THRESHOLD){ in storeMappingData()
298 trieWord += 0x01; in storeMappingData()
310 if(!utrie_set32(sprepTrie,codepoint,trieWord)){ in storeMappingData()
363 uint16_t trieWord = 0; in storeMapping() local
378 trieWord += 0x01; in storeMapping()
395 trieWord = (uint16_t)(_SPREP_MAX_INDEX_VALUE << 2); in storeMapping()
397 if(trieWord < _SPREP_TYPE_THRESHOLD){ in storeMapping()
399 if(!utrie_set32(sprepTrie,codepoint,trieWord)){ in storeMapping()
416 trieWord = delta; in storeMapping()
417 trieWord <<= 2; in storeMapping()
421 if((trieWord & 0x02) != 0 ){ in storeMapping()
426 if(trieWord < _SPREP_TYPE_THRESHOLD){ in storeMapping()
428 if(!utrie_set32(sprepTrie,codepoint,trieWord)){ in storeMapping()
471 uint16_t trieWord = 0; in storeRange() local
477 trieWord = (_SPREP_TYPE_THRESHOLD + type); /* the top 4 bits contain the value */ in storeRange()
493 trieWord = (uint16_t)savedTrieWord; in storeRange()
496 if(trieWord < _SPREP_TYPE_THRESHOLD){ in storeRange()
498 if(!utrie_set32(sprepTrie,start,trieWord)){ in storeRange()
509 }else if(savedTrieWord != trieWord){ in storeRange()
515 if(!utrie_set32(sprepTrie,start,trieWord)){ in storeRange()
520 if(!utrie_setRange32(sprepTrie, start, end+1, trieWord, FALSE)){ in storeRange()