Home | History | Annotate | Download | only in gensprep

Lines Matching refs:trieWord

87  *      if(trieWord >= _SPREP_TYPE_THRESHOLD){
88 * type = trieWord - 0xFFF0;
247 uint16_t trieWord =0;
282 trieWord = currentIndex << 2;
284 trieWord += 0x02;
286 if(trieWord > _SPREP_TYPE_THRESHOLD){
287 fprintf(stderr,"trieWord cannot contain value greater than 0x%04X.\n",_SPREP_TYPE_THRESHOLD);
295 trieWord += 0x01;
307 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
360 uint16_t trieWord = 0;
375 trieWord += 0x01;
392 trieWord = (uint16_t)(_SPREP_MAX_INDEX_VALUE << 2);
393 /* make sure that the value of trieWord is less than the threshold */
394 if(trieWord < _SPREP_TYPE_THRESHOLD){
396 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
403 fprintf(stderr,"trieWord cannot contain value greater than threshold 0x%04X.\n",_SPREP_TYPE_THRESHOLD);
413 trieWord = delta << 2;
417 if((trieWord & 0x02) != 0 ){
421 /* make sure that the value of trieWord is less than the threshold */
422 if(trieWord < _SPREP_TYPE_THRESHOLD){
424 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
433 trieWord is larger than the threshold
466 uint16_t trieWord = 0;
469 fprintf(stderr,"trieWord cannot contain value greater than 0xFFFF.\n");
472 trieWord = (_SPREP_TYPE_THRESHOLD + type); /* the top 4 bits contain the value */
488 trieWord = (uint16_t)savedTrieWord;
490 /* make sure that the value of trieWord is less than the threshold */
491 if(trieWord < _SPREP_TYPE_THRESHOLD){
493 if(!utrie_set32(sprepTrie,start,trieWord)){
500 fprintf(stderr,"trieWord cannot contain value greater than threshold 0x%04X.\n",_SPREP_TYPE_THRESHOLD);
504 }else if(savedTrieWord != trieWord){
508 /* if savedTrieWord == trieWord .. fall through and set the value */
510 if(!utrie_set32(sprepTrie,start,trieWord)){
515 if(!utrie_setRange32(sprepTrie, start, end+1, trieWord, FALSE)){