Lines Matching defs:num_type
1490 * @num_type: an integer flag
1494 * In case of error, @num_type is set to -1, values of @num and
1497 #define PARSE_DIGITS(num, cur, num_type) \
1499 num_type = -1; \
1510 * @num_type: an integer flag
1514 * then it must have an integer part and a decimal part; @num_type will
1515 * be set to 1. If there is no decimal part, @num_type is set to zero.
1516 * In case of error, @num_type is set to -1, values of @num and
1519 #define PARSE_NUM(num, cur, num_type) \
1521 PARSE_DIGITS(num, cur, num_type); \
1522 if (!num_type && (*cur == '.')) { \
1526 num_type = -1; \
1528 num_type = 1; \
1780 int num_type = 0; /* -1 = invalid, 0 = int, 1 = floating */
1823 PARSE_NUM(num, cur, num_type);
1825 if ((num_type == -1) || (*cur == 0))
1833 if ((num_type != 0) && (seq < (sizeof(desig)-1)))