Home | History | Annotate | Download | only in common

Lines Matching full:value

99     /* reset the initially allocated blocks to the initial value */
217 * @return TRUE if the value was successfully set
220 utrie_set32(UNewTrie *trie, UChar32 c, uint32_t value) {
233 trie->data[block+(c&UTRIE_MASK)]=value;
262 uint32_t value, uint32_t initialValue, UBool overwrite) {
269 *block++=value;
274 *block=value;
282 utrie_setRange32(UNewTrie *trie, UChar32 start, UChar32 limit, uint32_t value, UBool overwrite) {
284 * repeat value in [start..limit[
314 value, initialValue, overwrite);
318 value, initialValue, overwrite);
329 /* iterate over all-value blocks */
330 if(value==initialValue) {
336 /* get index value */
339 /* already allocated, fill in value */
340 utrie_fillBlock(trie->data+block, 0, UTRIE_DATA_BLOCK_LENGTH, value, initialValue, overwrite);
341 } else if(trie->data[-block]!=value && (block==0 || overwrite)) {
354 utrie_fillBlock(trie->data+repeatBlock, 0, UTRIE_DATA_BLOCK_LENGTH, value, initialValue, TRUE);
368 utrie_fillBlock(trie->data+block, 0, rest, value, initialValue, overwrite);
406 uint32_t value;
422 * which will result in a non-zero folding value below that is set for
429 block=0; /* leadUnitValue==initialValue, use all-initial-value block */
469 * get a folded value for [c..c+0x400[ and,
470 * if different from the value for the lead surrogate code point,
473 value=getFoldedValue(trie, c, block+UTRIE_SURROGATE_BLOCK_COUNT);
474 if(value!=utrie_get32(trie, U16_LEAD(c), NULL)) {
475 if(!utrie_set32(trie, U16_LEAD(c), value)) {
536 * Set a value in the trie index map to indicate which data block
555 /* never move the all-initial-value block 0 */
639 /* found an identical block, set the other block's index value for the current block */
698 * Default function for the folding value:
699 * Just store the offset (16 bits) if there is any non-initial-value entry.
709 * which would always result in a value of 0x40..0x43f
720 uint32_t value, initialValue;
727 value=utrie_get32(trie, start, &inBlockZero);
730 } else if(value!=initialValue) {
1046 /* default UTrieEnumValue() returns the input value itself */
1048 enumSameValue(const void *context, uint32_t value) {
1049 return value;
1062 uint32_t value, prevValue, initialValue;
1077 /* get the enumeration value that corresponds to an initial-value trie data entry */
1103 /* the block is the same as the previous one, and filled with value */
1106 /* this is the all-initial-value block */
1121 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]);
1122 if(value!=prevValue) {
1129 /* the block is not filled with all the same value */
1133 prevValue=value;
1162 value= data32!=NULL ? data32[offset+(l&UTRIE_MASK)] : idx[offset+(l&UTRIE_MASK)];
1165 offset=trie->getFoldingOffset(value);
1189 /* the block is the same as the previous one, and filled with value */
1192 /* this is the all-initial-value block */
1207 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]);
1208 if(value!=prevValue) {
1215 /* the block is not filled with all the same value */
1219 prevValue=value;