Lines Matching refs:num_type
1487 * @num_type: an integer flag
1491 * In case of error, @num_type is set to -1, values of @num and
1494 #define PARSE_DIGITS(num, cur, num_type) \
1496 num_type = -1; \
1507 * @num_type: an integer flag
1511 * then it must have an integer part and a decimal part; @num_type will
1512 * be set to 1. If there is no decimal part, @num_type is set to zero.
1513 * In case of error, @num_type is set to -1, values of @num and
1516 #define PARSE_NUM(num, cur, num_type) \
1518 PARSE_DIGITS(num, cur, num_type); \
1519 if (!num_type && (*cur == '.')) { \
1523 num_type = -1; \
1525 num_type = 1; \
1777 int num_type = 0; /* -1 = invalid, 0 = int, 1 = floating */
1820 PARSE_NUM(num, cur, num_type);
1822 if ((num_type == -1) || (*cur == 0))
1830 if ((num_type != 0) && (seq < (sizeof(desig)-1)))