Lines Matching defs:value

85  * Each code point is associated with a value (trie-word) in the trie.
89 * i) A value greater than or equal to _SPREP_TYPE_THRESHOLD (0xFFF0)
99 * ii) A value less than _SPREP_TYPE_THRESHOLD means the type is USPREP_MAP and
103 * 1 - ON : The value in the next 14 bits is an index into the mapping table
104 * OFF: The value in the next 14 bits is an delta value from the code point
106 * (value = _SPREP_MAX_INDEX_VALUE) then the type is USPREP_DELETE
111 * If the type of the code point is USPREP_MAP and value in trie word is an index, the index
134 /* indexes[] value names */
222 /* Callback for deleting the value from the hashtable */
224 ValueStruct* value = (ValueStruct*) obj;
225 uprv_free(value->mapping);
226 uprv_free(value);
245 ValueStruct* value = NULL;
267 value = (ValueStruct*)element->value.pointer;
284 if(value->length == mappingLength){
291 fprintf(stderr,"trieWord cannot contain value greater than 0x%04X.\n",_SPREP_TYPE_THRESHOLD);
302 * the codepoint has value something other than prohibited
310 /* now set the value in the trie */
312 fprintf(stderr,"Could not set the value for code point.\n");
320 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){
322 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE);
333 u_memmove(mappingData+currentIndex, value->mapping, value->length);
334 currentIndex += value->length;
365 ValueStruct *value = NULL;
382 * the codepoint has value something other than prohibited
397 /* make sure that the value of trieWord is less than the threshold */
399 /* now set the value in the trie */
401 fprintf(stderr,"Could not set the value for code point.\n");
404 /* value is set so just return */
407 fprintf(stderr,"trieWord cannot contain value greater than threshold 0x%04X.\n",_SPREP_TYPE_THRESHOLD);
426 /* make sure that the value of trieWord is less than the threshold */
428 /* now set the value in the trie */
430 fprintf(stderr,"Could not set the value for code point.\n");
433 /* value is set so just return */
449 value = (ValueStruct*) uprv_malloc(sizeof(ValueStruct));
450 value->mapping = map;
451 value->type = type;
452 value->length = adjustedLen;
453 if(value->length > _SPREP_MAX_INDEX_TOP_LENGTH){
456 if(maxLength < value->length){
457 maxLength = value->length;
459 uhash_iput(hashTable,codepoint,value,status);
475 fprintf(stderr,"trieWord cannot contain value greater than 0xFFFF.\n");
478 trieWord = (_SPREP_TYPE_THRESHOLD + type); /* the top 4 bits contain the value */
496 /* make sure that the value of trieWord is less than the threshold */
498 /* now set the value in the trie */
500 fprintf(stderr,"Could not set the value for code point.\n");
503 /* value is set so just return */
506 fprintf(stderr,"trieWord cannot contain value greater than threshold 0x%04X.\n",_SPREP_TYPE_THRESHOLD);
514 /* if savedTrieWord == trieWord .. fall through and set the value */
517 fprintf(stderr,"Could not set the value for code point \\U%08X.\n", (int)start);
529 /* folding value: just store the offset (16 bits) if there is any non-0 entry */
532 uint32_t value;
538 value=utrie_get32(trie, start, &inBlockZero);
541 } else if(value!=0) {