Lines Matching refs:low
2076 unsigned char low, high; local
2088 low = (unsigned char)Z_STRVAL_P(zlow)[0];
2091 if (low > high) { /* Negative Steps */
2097 array_init_size(return_value, (uint32_t)(((low - high) / lstep) + 1));
2100 for (; low >= high; low -= (unsigned int)lstep) {
2101 if (CG(one_char_string)[low]) {
2102 ZVAL_INTERNED_STR(&tmp, CG(one_char_string)[low]);
2104 ZVAL_STRINGL(&tmp, (char*)&low, 1);
2107 if (((signed int)low - lstep) < 0) {
2112 } else if (high > low) { /* Positive Steps */
2117 array_init_size(return_value, (uint32_t)(((high - low) / lstep) + 1));
2120 for (; low <= high; low += (unsigned int)lstep) {
2121 if (CG(one_char_string)[low]) {
2122 ZVAL_INTERNED_STR(&tmp, CG(one_char_string)[low]);
2124 ZVAL_STRINGL(&tmp, (char*)&low, 1);
2127 if (((signed int)low + lstep) > 255) {
2134 if (CG(one_char_string)[low]) {
2135 ZVAL_INTERNED_STR(&tmp, CG(one_char_string)[low]);
2137 ZVAL_STRINGL(&tmp, (char*)&low, 1);
2142 double low, high, element; local
2145 low = zval_get_double(zlow);
2148 if (zend_isinf(high) || zend_isinf(low)) {
2149 php_error_docref(NULL, E_WARNING, "Invalid range supplied: start=%0.0f end=%0.0f", low, high);
2154 if (low > high) { /* Negative steps */
2155 if (low - high < step || step <= 0) {
2160 RANGE_CHECK_DOUBLE_INIT_ARRAY(low, high);
2163 for (i = 0, element = low; i < size && element >= high; ++i, element = low - (i * step)) {
2168 } else if (high > low) { /* Positive steps */
2169 if (high - low < step || step <= 0) {
2174 RANGE_CHECK_DOUBLE_INIT_ARRAY(high, low);
2177 for (i = 0, element = low; i < size && element <= high; ++i, element = low + (i * step)) {
2184 Z_DVAL(tmp) = low;
2188 zend_long low, high; local
2193 low = zval_get_long(zlow);
2204 if (low > high) { /* Negative steps */
2205 if (low - high < lstep) {
2210 RANGE_CHECK_LONG_INIT_ARRAY(low, high);
2214 Z_LVAL(tmp) = low - (i * lstep);
2218 } else if (high > low) { /* Positive steps */
2219 if (high - low < lstep) {
2224 RANGE_CHECK_LONG_INIT_ARRAY(high, low);
2228 Z_LVAL(tmp) = low + (i * lstep);
2234 Z_LVAL(tmp) = low;