Home
last modified time | relevance | path

Searched refs:ntv (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/common/
Duchar.c390 int32_t ntv; in u_getNumericValue() local
392 ntv=(int32_t)GET_NUMERIC_TYPE_VALUE(props); in u_getNumericValue()
394 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
396 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
398 return ntv-UPROPS_NTV_DECIMAL_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_NUMERIC_START) { in u_getNumericValue()
401 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
402 } else if(ntv<UPROPS_NTV_FRACTION_START) { in u_getNumericValue()
404 return ntv-UPROPS_NTV_NUMERIC_START; in u_getNumericValue()
405 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
[all …]
Duprops.h79 #define UPROPS_NTV_GET_TYPE(ntv) \ argument
80 ((ntv==UPROPS_NTV_NONE) ? U_NT_NONE : \
81 (ntv<UPROPS_NTV_DIGIT_START) ? U_NT_DECIMAL : \
82 (ntv<UPROPS_NTV_NUMERIC_START) ? U_NT_DIGIT : \
Duprops.cpp374 int32_t ntv=(int32_t)GET_NUMERIC_TYPE_VALUE(u_getUnicodeProperties(c, -1)); in getNumericType() local
375 return UPROPS_NTV_GET_TYPE(ntv); in getNumericType()