Home | History | Annotate | Download | only in libxml2

Lines Matching refs:num_type

1495  * @num_type: an integer flag
1499 * In case of error, @num_type is set to -1, values of @num and
1502 #define PARSE_DIGITS(num, cur, num_type) \
1504 num_type = -1; \
1515 * @num_type: an integer flag
1519 * then it must have an integer part and a decimal part; @num_type will
1520 * be set to 1. If there is no decimal part, @num_type is set to zero.
1521 * In case of error, @num_type is set to -1, values of @num and
1524 #define PARSE_NUM(num, cur, num_type) \
1526 PARSE_DIGITS(num, cur, num_type); \
1527 if (!num_type && (*cur == '.')) { \
1531 num_type = -1; \
1533 num_type = 1; \
1785 int num_type = 0; /* -1 = invalid, 0 = int, 1 = floating */
1828 PARSE_NUM(num, cur, num_type);
1830 if ((num_type == -1) || (*cur == 0))
1838 if ((num_type != 0) && (seq < (sizeof(desig)-1)))