Lines Matching refs:ntv
384 int32_t ntv; in u_getNumericValue() local
386 ntv=(int32_t)GET_NUMERIC_TYPE_VALUE(props); in u_getNumericValue()
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
392 return ntv-UPROPS_NTV_DECIMAL_START; in u_getNumericValue()
393 } else if(ntv<UPROPS_NTV_NUMERIC_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
396 } else if(ntv<UPROPS_NTV_FRACTION_START) { in u_getNumericValue()
398 return ntv-UPROPS_NTV_NUMERIC_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
404 } else if(ntv<UPROPS_NTV_BASE60_START) { in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
432 } else if(ntv<UPROPS_NTV_FRACTION20_START) { in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
435 int32_t exp=(ntv&3)+1; in u_getNumericValue()
456 } else if(ntv<UPROPS_NTV_RESERVED_START) { in u_getNumericValue()
458 int32_t frac20=ntv-UPROPS_NTV_FRACTION20_START; // 0..0x17 in u_getNumericValue()