Home
last modified time | relevance | path

Searched refs:trieWord (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/tools/gensprep/
Dstore.c247 uint16_t trieWord =0; in storeMappingData() local
279 trieWord = currentIndex << 2; in storeMappingData()
281 trieWord += 0x02; in storeMappingData()
283 if(trieWord > _SPREP_TYPE_THRESHOLD){ in storeMappingData()
292 trieWord += 0x01; in storeMappingData()
304 if(!utrie_set32(sprepTrie,codepoint,trieWord)){ in storeMappingData()
374 uint16_t trieWord = 0; in storeMapping() local
389 trieWord += 0x01; in storeMapping()
410 trieWord = (uint16_t)(_SPREP_MAX_INDEX_VALUE << 2); in storeMapping()
412 if(trieWord < _SPREP_TYPE_THRESHOLD){ in storeMapping()
[all …]
/external/icu4c/common/
Dusprep.cpp470 getValues(uint16_t trieWord, int16_t& value, UBool& isIndex){ in getValues() argument
473 if(trieWord == 0){ in getValues()
482 }else if(trieWord >= _SPREP_TYPE_THRESHOLD){ in getValues()
483 type = (UStringPrepType) (trieWord - _SPREP_TYPE_THRESHOLD); in getValues()
490 if(trieWord & 0x02){ in getValues()
492 value = trieWord >> 2; //mask off the lower 2 bits and shift in getValues()
495 value = (int16_t)trieWord; in getValues()
499 if((trieWord>>2) == _SPREP_MAX_INDEX_VALUE){ in getValues()
/external/icu4c/i18n/
Ducol_elm.cpp1499 uint32_t trieWord; in uprv_uca_assembleTable() local
1505 trieWord = UTRIE_GET32_FROM_LEAD(UCAt, 0xDC01) in uprv_uca_assembleTable()