Lines Matching refs:number
233 "Number encoding\n",
244 "Invalid number of arguments\n",
382 * @line: the line number
383 * @no: the error number
408 int number;
430 list->number = 0;
432 } else if (list->size <= list->number) {
443 list->items[list->number++] = item;
468 ret->number = 0;
575 int nbStep; /* Number of steps in this expression */
576 int maxStep; /* Maximum number of steps allocated */
1038 fprintf(output, "Object is a number : Infinity\n");
1041 fprintf(output, "Object is a number : -Infinity\n");
1045 fprintf(output, "Object is a number : NaN\n");
1047 fprintf(output, "Object is a number : 0\n");
1049 fprintf(output, "Object is a number : %0g\n", cur->floatval);
1717 leftObjs -= cache->nodesetObjs->number;
1719 leftObjs -= cache->stringObjs->number;
1721 leftObjs -= cache->booleanObjs->number;
1723 leftObjs -= cache->numberObjs->number;
1725 leftObjs -= cache->miscObjs->number;
1819 for (i = 0; i < list->number; i++) {
1870 * This will set the maximum number of XPath objects
1872 * There are 5 slots for: node-set, string, number, boolean, and
1873 * misc objects. Use <0 for the default number (100).
1929 (cache->miscObjs->number != 0))
1934 cache->miscObjs->items[--cache->miscObjs->number];
1965 (cache->stringObjs->number != 0))
1971 cache->stringObjs->items[--cache->stringObjs->number];
1979 (cache->miscObjs->number != 0))
1986 cache->miscObjs->items[--cache->miscObjs->number];
2017 (cache->nodesetObjs->number != 0))
2024 cache->nodesetObjs->items[--cache->nodesetObjs->number];
2042 (cache->miscObjs->number != 0))
2050 cache->miscObjs->items[--cache->miscObjs->number];
2081 (cache->stringObjs->number != 0))
2086 cache->stringObjs->items[--cache->stringObjs->number];
2095 (cache->miscObjs->number != 0))
2100 cache->miscObjs->items[--cache->miscObjs->number];
2130 (cache->stringObjs->number != 0))
2135 cache->stringObjs->items[--cache->stringObjs->number];
2146 (cache->miscObjs->number != 0))
2151 cache->miscObjs->items[--cache->miscObjs->number];
2184 (cache->booleanObjs->number != 0))
2189 cache->booleanObjs->items[--cache->booleanObjs->number];
2197 (cache->miscObjs->number != 0))
2202 cache->miscObjs->items[--cache->miscObjs->number];
2232 (cache->numberObjs->number != 0))
2237 cache->numberObjs->items[--cache->numberObjs->number];
2245 (cache->miscObjs->number != 0))
2250 cache->miscObjs->items[--cache->miscObjs->number];
2377 * Converts an existing object to its number() equivalent
2474 * returns the number of items on the value stack
2530 * Pops a number from the stack, handling conversion if needed.
2533 * Returns the number
2703 * @number: number to format
2707 * Convert the number into a string representation.
2710 xmlXPathFormatNumber(double number, char buffer[], int buffersize)
2712 switch (xmlXPathIsInf(number)) {
2722 if (xmlXPathIsNaN(number)) {
2725 } else if (number == 0 && xmlXPathGetSign(number) != 0) {
2727 } else if (number == ((int) number)) {
2730 int value = (int) number;
2751 DBL_DIG is number of significant digits
2754 LOWER_DOUBLE_EXP is max number of leading zeroes in fraction
2765 absolute_value = fabs(number);
2779 integer_place, fraction_place, number);
2795 fraction_place, number);
2833 * field, the value stored is actually - the node number (starting at -1)
2836 * Returns the number of elements found in the document or -1 in case
5453 #define XP_CACHE_WANTS(sl, n) ((sl == NULL) || ((sl)->number < n))
5609 * @val: a number
5611 * Converts a number to its string value.
5772 * Converts a boolean to its number value
5774 * Returns the number value
5787 * Converts a string to its number value
5789 * Returns the number value
5800 * Converts a node to its number value
5802 * Returns the number value
5824 * Converts a node-set to its number value
5826 * Returns the number value
5845 * Converts an XPath object to its number value
5847 * Returns the number value
5858 xmlGenericError(xmlGenericErrorContext, "NUMBER: undefined\n");
5890 * Converts an existing object to its number() equivalent
5910 * @val: a number
5912 * Converts a number to its boolean value
6384 * Implement the compare operation between a nodeset and a number
6390 * If one object to be compared is a node-set and the other is a number,
6392 * node-set such that the result of performing the comparison on the number
6394 * node to a numbernumber function is true.
6504 * The number function converts its argument to a number as follows:
6506 * optional minus sign followed by a Number followed by whitespace
6507 * is converted to the IEEE 754 number that is nearest (according
6700 * If one object to be compared is a node-set and the other is a number,
6703 * number to be compared and on the result of converting the string-value
6704 * of that node to a number using the number function is true.
7240 * comparison will be true if and only if the first number is less than the
7241 * second number. The <= comparison will be true if and only if the first
7242 * number is less than or equal to the second number. The > comparison
7243 * will be true if and only if the first number is greater than the second
7244 * number. The >= comparison will be true if and only if the first number
7245 * is greater than or equal to the second number.
7367 * by calling the number function.
7396 * by calling the number function.
7419 * by calling the number function.
7442 * by calling the number function.
7465 * by calling the number function.
7506 * by calling the number function.
8397 * @nargs: the number of arguments
8400 * number last()
8401 * The last function returns the number of nodes in the context node list.
8422 * @nargs: the number of arguments
8425 * number position()
8449 * @nargs: the number of arguments
8452 * number count(node-set)
8552 * @nargs: the number of arguments
8612 * @nargs: the number of arguments
8670 * @nargs: the number of arguments
8722 * @nargs: the number of arguments
8803 * @nargs: the number of arguments
8811 * - A number is converted to a string as follows
8817 * + if the number is an integer, the number is represented in
8818 * decimal form as a Number with no decimal point and no leading
8819 * zeros, preceded by a minus sign (-) if the number is negative
8820 * + otherwise, the number is represented in decimal form as a
8821 * Number including a decimal point with at least one digit
8823 * decimal point, preceded by a minus sign (-) if the number
8829 * number from all other IEEE 754 numeric values.
8857 * @nargs: the number of arguments
8860 * number string-length(string?)
8861 * The string-length returns the number of characters in the string
8897 * @nargs: the number of arguments
8941 * @nargs: the number of arguments
8975 * @nargs: the number of arguments
9011 * @nargs: the number of arguments
9014 * string substring(string, number, number?)
9115 /* number of chars to copy */
9135 * @nargs: the number of arguments
9177 * @nargs: the number of arguments
9221 * @nargs: the number of arguments
9285 * @nargs: the number of arguments
9371 * @nargs: the number of arguments
9376 * - a number is true if and only if it is neither positive or
9395 * @nargs: the number of arguments
9413 * @nargs: the number of arguments
9427 * @nargs: the number of arguments
9441 * @nargs: the number of arguments
9491 * @nargs: the number of arguments
9493 * Implement the number() XPath function
9494 * number number(object?)
9523 * @nargs: the number of arguments
9526 * number sum(node-set)
9567 * @nargs: the number of arguments
9570 * number floor(number)
9572 * number that is not greater than the argument and that is an integer.
9594 * @nargs: the number of arguments
9597 * number ceiling(number)
9599 * number that is not less than the argument and that is an integer.
9630 * @nargs: the number of arguments
9633 * number round(number)
9634 * The round function returns the number that is closest to the
9965 * These are used as divisors for the fractional part of a number.
9982 * [30a] Float ::= Number ('e' Digits?)?
9984 * [30] Number ::= Digits ('.' Digits?)?
9988 * Compile a Number in the string
9989 * In complement of the Number expression, this function also handles
9990 * negative values : '-' Number.
10083 * [30] Number ::= Digits ('.' Digits?)?
10087 * Compile a Number, then push it on the stack
10407 * | Number
10978 * a filter can only diminish the number of items in a sequence,
11609 * context node, with the number of nodes in the
11742 * Check if the node set contains a sufficient number of nodes for
12173 * ELEM Object is a number : 1 -- predOp->ch2 = [1]
12631 * Returns the number of examined objects.
12755 * Returns the number of nodes traversed
13176 * Returns the number of nodes traversed
13620 * ELEM Object is a number : 1
13768 * context node, with the number of nodes in the
14125 * For predicates a result of type "number" is handled
14128 * "If the result is a number, the result will be converted
14129 * to true if the number is equal to the context position
14462 * the result to a boolean. If the result is a number, the result will
14463 * be converted to true if the number is equal to the position of the
14466 * is not a number, then the result will be converted as if by a call
14500 * the result to a boolean. If the result is a number, the result will
14501 * be converted to true if the number is equal to the position of the
14504 * is not a number, then the result will be converted as if by a call
15051 * @nargs: the number of arguments
15196 xmlXPathRegisterFunc(ctxt, (const xmlChar *)"number",