Lines Matching refs:value

54  * The lookup value of a unit points to another table that is to be searched
83 * which are output value limits in the data structure.
157 * Array of byte/value pairs for lookups for toUnicode conversion.
160 * a default value for when the lookup in this section yields no match.
172 * Each uint32_t contains an input byte value in bits 31..24 and the
173 * corresponding lookup value in bits 23..0.
174 * Interpret the value as follows:
175 * if(value==0) {
177 * } else if(value<0x1f0000) {
178 * partial match - use value as index to the next toUTable section
179 * and match the next unit; (value indexes toUTable[value])
186 * unset value bit 23;
187 * if(value<=0x2fffff) {
188 * (value-0x1f0000) is a code point; (BMP: value<=0x1fffff)
190 * bits 17..0 (value&0x3ffff) is an index to
192 * length of the result=((value>>18)-12); (length=0..19)
198 * The value of the initial word is used when the current byte is not found
200 * If the value is not 0, then it represents a result as above.
201 * If the value is 0, then the search has to return a shorter match with an
202 * earlier default value as the result, or result in "unmappable" even for the
204 * If the value is 0 for the initial toUTable entry, then the initial byte
223 * Interpret a value as follows:
224 * if(value==0) {
226 * } else if(value<=0xffffff) { (bits 31..24 are 0)
227 * partial match - use value as index to the next fromUTable section
228 * and match the next unit; (value indexes fromUTable[value])
230 * if(value==0x80000001) {
241 * length=(value>>24)&0x1f; (bits 28..24)
245 * bits 23..0 (value&0xffffff) is an index to
252 * The value of the initial pair is used when the current UChar is not found
254 * If the value is not 0, then it represents a result as above.
255 * If the value is 0, then the search has to return a shorter match with an
256 * earlier default value as the result, or result in "unmappable" even for the
262 * (reserved, set to 0) because a value of 0 is used in trie results
297 * The default value of a fromUTableValues[] section that is referenced
299 * but this value must not occur anywhere else in fromUTableValues[]
419 #define UCNV_EXT_TO_U_MAKE_WORD(byte, value) (((uint32_t)(byte)<<UCNV_EXT_TO_U_BYTE_SHIFT)|(value))
424 #define UCNV_EXT_TO_U_IS_PARTIAL(value) ((value)<UCNV_EXT_TO_U_MIN_CODE_POINT)
425 #define UCNV_EXT_TO_U_GET_PARTIAL_INDEX(value) (value)
427 #define UCNV_EXT_TO_U_IS_ROUNDTRIP(value) (((value)&UCNV_EXT_TO_U_ROUNDTRIP_FLAG)!=0)
428 #define UCNV_EXT_TO_U_MASK_ROUNDTRIP(value) ((value)&~UCNV_EXT_TO_U_ROUNDTRIP_FLAG)
431 #define UCNV_EXT_TO_U_IS_CODE_POINT(value) ((value)<=UCNV_EXT_TO_U_MAX_CODE_POINT)
432 #define UCNV_EXT_TO_U_GET_CODE_POINT(value) ((value)-UCNV_EXT_TO_U_MIN_CODE_POINT)
434 #define UCNV_EXT_TO_U_GET_INDEX(value) ((value)&UCNV_EXT_TO_U_INDEX_MASK)
435 #define UCNV_EXT_TO_U_GET_LENGTH(value) (((value)>>UCNV_EXT_TO_U_LENGTH_SHIFT)-UCNV_EXT_TO_U_LENGTH_OFFSET)
445 /* trie access, returns the stage 3 value=index to stage 3b; s1Index=c>>10 */
456 /* special value for "no mapping" to <subchar1> (impossible roundtrip to 0 bytes, value 01) */
459 /* at most 3 bytes in the lower part of the value */
465 #define UCNV_EXT_FROM_U_IS_PARTIAL(value) (((value)>>UCNV_EXT_FROM_U_LENGTH_SHIFT)==0)
466 #define UCNV_EXT_FROM_U_GET_PARTIAL_INDEX(value) (value)
468 #define UCNV_EXT_FROM_U_IS_ROUNDTRIP(value) (((value)&UCNV_EXT_FROM_U_ROUNDTRIP_FLAG)!=0)
469 #define UCNV_EXT_FROM_U_MASK_ROUNDTRIP(value) ((value)&~UCNV_EXT_FROM_U_ROUNDTRIP_FLAG)
472 #define UCNV_EXT_FROM_U_GET_LENGTH(value) (int32_t)(((value)>>UCNV_EXT_FROM_U_LENGTH_SHIFT)&UCNV_EXT_MAX_BYTES)
475 #define UCNV_EXT_FROM_U_GET_DATA(value) ((value)&UCNV_EXT_FROM_U_DATA_MASK)