Home | History | Annotate | Download | only in gensprep

Lines Matching defs:sprepTrie

188 static UNewTrie *sprepTrie;
200 sprepTrie = (UNewTrie *)uprv_calloc(1, sizeof(UNewTrie));
203 if(NULL==utrie_open(sprepTrie, NULL, MAX_DATA_LENGTH, 0, 0, FALSE)) {
291 savedTrieWord= utrie_get32(sprepTrie,codepoint,NULL);
307 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
371 savedTrieWord= utrie_get32(sprepTrie,codepoint,NULL);
396 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
424 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
474 uint32_t savedTrieWord = utrie_get32(sprepTrie, start, NULL);
493 if(!utrie_set32(sprepTrie,start,trieWord)){
510 if(!utrie_set32(sprepTrie,start,trieWord)){
515 if(!utrie_setRange32(sprepTrie, start, end+1, trieWord, FALSE)){
567 sprepTrieSize=utrie_serialize(sprepTrie, sprepTrieBlock, sizeof(sprepTrieBlock), getFoldedValue, TRUE, &errorCode);
634 utrie_close(sprepTrie);
635 uprv_free(sprepTrie);