Home
last modified time | relevance | path

Searched refs:min (Results 1 - 25 of 46) sorted by relevance

12

/php-7.4/ext/opcache/Optimizer/
H A Dzend_inference.c(last modified 26/03/20 08:00)421 0: + + + + 0 0 0 0 => 0 0 + min/max
422 2: + + - + 0 0 1 0 => 1 0 ? min(a,b,c,-1)/max(a,b,0,d)
423 3: + + - - 0 0 1 1 => 1 1 - min/max
424 8: - + + + 1 0 0 0 => 1 0 ? min(a,-1,b,d)/max(0,b,c,d)
427 c: - - + + 1 1 0 0 => 1 1 - min/max
429 f - - - - 1 1 1 1 => 1 1 - min/max
442 tmp->min = minOR(a, b, c, d); in zend_ssa_range_or()
446 tmp->min = minOR(a, b, c, -1); in zend_ssa_range_or()
450 tmp->min = minOR(a, -1, c, d); in zend_ssa_range_or()
454 tmp->min in zend_ssa_range_or()
516 zend_abs_range( zend_long min, zend_long max, zend_long *abs_min, zend_long *abs_max) zend_abs_range() argument
1514 zend_inference_init_range(const zend_op_array *op_array, zend_ssa *ssa, int var, zend_bool underflow, zend_long min, zend_long max, zend_bool overflow) zend_inference_init_range() argument
[all...]
H A Dzend_dump.c(last modified 08/07/19 08:00)161 fprintf(stderr, ZEND_LONG_FMT "..", r->min); in zend_dump_range()
385 if (r->range.min > 0) { in zend_dump_range_constraint()
386 fprintf(stderr, " + " ZEND_LONG_FMT, r->range.min); in zend_dump_range_constraint()
387 } else if (r->range.min < 0) { in zend_dump_range_constraint()
388 fprintf(stderr, " - " ZEND_LONG_FMT, -r->range.min); in zend_dump_range_constraint()
392 fprintf(stderr, ZEND_LONG_FMT " .. ", r->range.min); in zend_dump_range_constraint()
H A Dzend_inference.h(last modified 21/06/19 08:00)74 return ssa->var_info[ssa->ops[opline - op_array->opcodes].opN##_use].range.min; \
259 void zend_inference_init_range(const zend_op_array *op_array, zend_ssa *ssa, int var, zend_bool underflow, zend_long min, zend_long max, zend_bool overflow);
H A Dzend_ssa.h(last modified 11/12/19 08:00)26 zend_long min; member
46 int min_ssa_var; /* ((min_var>0) ? MIN(ssa_var) : 0) + range.min */
H A Dzend_ssa.c(last modified 13/11/19 08:00)119 zend_ssa_phi *phi, int min_var, int max_var, zend_long min, zend_long max, in pi_range()
127 constraint->range.min = min; in pi_range()
1093 /* min and max variables can't be used together */ in zend_ssa_compute_use_def_chains()
118 pi_range( zend_ssa_phi *phi, int min_var, int max_var, zend_long min, zend_long max, char underflow, char overflow, char negative) pi_range() argument
/php-7.4/ext/standard/
H A Dmt_rand.c(last modified 13/02/19 23:05)278 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max) in php_mt_rand_range() argument
280 zend_ulong umax = max - min; in php_mt_rand_range()
284 return (zend_long) (rand_range64(umax) + min); in php_mt_rand_range()
288 return (zend_long) (rand_range32(umax) + min); in php_mt_rand_range()
293 * rand() allows min > max, mt_rand does not */
294 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max) in php_mt_rand_common() argument
299 return php_mt_rand_range(min, max); in php_mt_rand_common()
305 RAND_RANGE_BADSCALING(n, min, max, PHP_MT_RAND_MAX); in php_mt_rand_common()
311 /* {{{ proto int mt_rand([int min, int max])
315 zend_long min; in PHP_FUNCTION() local
[all...]
H A Drandom.c(last modified 04/09/19 08:00)228 PHPAPI int php_random_int(zend_long min, zend_long max, zend_long *result, zend_bool should_throw) in php_random_int() argument
233 if (min == max) { in php_random_int()
234 *result = min; in php_random_int()
238 umax = (zend_ulong) max - (zend_ulong) min; in php_random_int()
266 *result = (zend_long)((trial % umax) + min); in php_random_int()
271 /* {{{ proto int random_int(int min, int max)
275 zend_long min; in PHP_FUNCTION() local
280 Z_PARAM_LONG(min) in PHP_FUNCTION()
284 if (min > max) { in PHP_FUNCTION()
289 if (php_random_int_throw(min, ma in PHP_FUNCTION()
[all...]
H A Drand.c(last modified 13/02/19 23:05)47 /* {{{ proto int mt_rand([int min, int max])
51 zend_long min; in PHP_FUNCTION() local
60 Z_PARAM_LONG(min) in PHP_FUNCTION()
64 if (max < min) { in PHP_FUNCTION()
65 RETURN_LONG(php_mt_rand_common(max, min)); in PHP_FUNCTION()
68 RETURN_LONG(php_mt_rand_common(min, max)); in PHP_FUNCTION()
H A Dphp_random.h(last modified 11/11/19 08:00)37 #define php_random_int_throw(min, max, result) \
38 php_random_int((min), (max), (result), 1)
39 #define php_random_int_silent(min, max, result) \
40 php_random_int((min), (max), (result), 0)
43 PHPAPI int php_random_int(zend_long min, zend_long max, zend_long *result, zend_bool should_throw);
H A Dphp_mt_rand.h(last modified 13/02/19 23:05)37 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max);
38 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max);
H A Darray.c(last modified 20/07/20 08:00)1257 /* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
1259 PHP_FUNCTION(min) in PHP_FUNCTION()
1268 /* mixed min ( array $values ) */ in PHP_FUNCTION()
1284 /* mixed min ( mixed $value1 , mixed $value2 [, mixed $value3... ] ) */ in PHP_FUNCTION()
1285 zval *min, result; in PHP_FUNCTION() local
1288 min = &args[0]; in PHP_FUNCTION()
1291 is_smaller_function(&result, &args[i], min); in PHP_FUNCTION()
1293 min = &args[i]; in PHP_FUNCTION()
1297 ZVAL_COPY(return_value, min); in PHP_FUNCTION()
H A Dphp_array.h(last modified 13/02/19 23:05)48 PHP_FUNCTION(min); variable
/php-7.4/ext/date/lib/
H A Dtimelib.c(last modified 01/07/19 08:00)185 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
189 *min = floor((h - *hour) * 60); in timelib_decimal_hour_to_hms()
190 *sec = (h - *hour - ((float) *min / 60)) * 3600; in timelib_decimal_hour_to_hms()
193 *min = 0 - ceil((h - *hour) * 60); in timelib_decimal_hour_to_hms()
194 *sec = 0 - (h - *hour - ((float) *min / -60)) * 3600; in timelib_decimal_hour_to_hms()
198 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument
201 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour()
203 *h = ((double)hour - (double)min / 60 - (double)sec / 3600); in timelib_hms_to_decimal_hour()
H A Dtimelib.h(last modified 16/10/19 08:00)877 * Converts a decimal hour into hour/min/sec components
879 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec);
882 * Converts hour/min/sec values into a decimal hour
884 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h);
/php-7.4/ext/pcre/pcre2lib/
H A Dpcre2_study.c(last modified 23/04/20 08:00)138 int d, min, recno; in find_minlength() local
606 min = 0; in find_minlength()
613 min = 1; in find_minlength()
620 min = GET2(cc, 1); in find_minlength()
625 min = 1; in find_minlength()
629 /* Take care not to overflow: (1) min and d are ints, so check that their in find_minlength()
633 if ((d > 0 && (INT_MAX/d) < min) || UINT16_MAX - branchlength < min*d) in find_minlength()
635 else branchlength += min * d; in find_minlength()
1777 int min; in study() local
[all...]
H A Dpcre2_jit_compile.c(last modified 23/04/20 08:00)1377 sljit_u32 min; in get_class_iterator_size() local
1393 min = GET2(cc, 1); in get_class_iterator_size()
1397 max -= min; in get_class_iterator_size()
1415 sljit_s32 min, max, i; in detect_repeat() local
1426 min = 1; in detect_repeat()
1435 min++; in detect_repeat()
1438 if (min == 2) in detect_repeat()
1472 if (min == 1) in detect_repeat()
1474 min--; in detect_repeat()
1481 if (min > in detect_repeat()
3576 read_char(compiler_common *common, sljit_u32 min, sljit_u32 max, jump_list **backtracks, sljit_u32 options) read_char() argument
7066 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; compile_xclass_matchingpath() local
8843 int min = 0, max = 0; compile_ref_iterator_matchingpath() local
[all...]
H A Dpcre2_printint.c(last modified 23/04/20 08:00)645 unsigned int min, max; in pcre2_printint() local
787 min = GET2(ccode,1); in pcre2_printint()
789 if (max == 0) fprintf(f, "{%u,}", min); in pcre2_printint()
790 else fprintf(f, "{%u,%u}", min, max); in pcre2_printint()
/php-7.4/ext/gd/libgd/
H A Dgd_interpolation.c(last modified 15/06/20 08:00)2411 gdPointF extent[4], min, max, point; in gdTransformAffineBoundingBox() local
2429 min=extent[0]; in gdTransformAffineBoundingBox()
2433 if (min.x > extent[i].x) in gdTransformAffineBoundingBox()
2434 min.x=extent[i].x; in gdTransformAffineBoundingBox()
2435 if (min.y > extent[i].y) in gdTransformAffineBoundingBox()
2436 min.y=extent[i].y; in gdTransformAffineBoundingBox()
2442 bbox->x = (int) min.x; in gdTransformAffineBoundingBox()
2443 bbox->y = (int) min.y; in gdTransformAffineBoundingBox()
2444 bbox->width = (int) floor(max.x - min.x) - 1; in gdTransformAffineBoundingBox()
2445 bbox->height = (int) floor(max.y - min in gdTransformAffineBoundingBox()
[all...]
/php-7.4/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h(last modified 29/10/19 08:00)60 #ifndef min
61 #define min(a,b) ((a)<(b)?(a):(b)) macro
H A Dfirebird_statement.c(last modified 04/02/20 08:00)535 min(ZSTR_LEN(param->name), var->aliasname_length))) in firebird_stmt_param_hook()
537 min(ZSTR_LEN(param->name), var->sqlname_length)))) { in firebird_stmt_param_hook()
/php-7.4/ext/ffi/
H A Dffi_parser.c(last modified 12/11/19 08:00)271 static int parse_enumerator(int sym, zend_ffi_dcl *enum_dcl, int64_t *min, int64_t *max, int64_t *last);
2516 int64_t min = 0, max = 0, last = -1; in parse_enumerator_list() local
2517 sym = parse_enumerator(sym, enum_dcl, &min, &max, &last); in parse_enumerator_list()
2551 sym = parse_enumerator(sym, enum_dcl, &min, &max, &last); in parse_enumerator_list()
2559 static int parse_enumerator(int sym, zend_ffi_dcl *enum_dcl, int64_t *min, int64_t *max, int64_t *last) { in parse_enumerator() argument
2568 zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last); in parse_enumerator()
H A Dffi.c(last modified 12/05/20 08:00)5537 void zend_ffi_add_enum_val(zend_ffi_dcl *enum_dcl, const char *name, size_t name_len, zend_ffi_val *val, int64_t *min, int64_t *max, int64_t *last) /* {{{ */ argument
5557 if ((*min != 0 || *max != 0)
5597 *min = MIN(*min, value);
5600 && *min >= -0x7FLL-1 && *max <= 0x7FLL) {
5603 && *min >= -0x7FFFLL-1 && *max <= 0x7FFFLL) {
5605 } else if (*min >= -0x7FFFFFFFLL-1 && *max <= 0x7FFFFFFFLL) {
5611 *min = MIN((uint64_t)*min, (uint64_t)value);
/php-7.4/ext/oci8/
H A Dphp_oci8_int.h(last modified 13/02/19 23:05)49 #if defined(min)
50 #undef min macro
/php-7.4/ext/openssl/
H A Dxp_ssl.c(last modified 19/06/20 08:00)1087 static int php_openssl_get_proto_version_flags(int flags, int min, int max) /* {{{ */ in php_openssl_get_proto_version_flags() argument
1091 if (!min) { in php_openssl_get_proto_version_flags()
1092 min = php_openssl_get_min_proto_version_flag(flags); in php_openssl_get_proto_version_flags()
1099 if (ver >= min && ver <= max) { in php_openssl_get_proto_version_flags()
/php-7.4/ext/gmp/
H A Dgmp.c(last modified 12/06/19 08:00)115 ZEND_ARG_INFO(0, min)
1939 /* {{{ proto GMP gmp_random_range(mixed min, mixed max)
1940 Gets a random number in the range min to max */

Completed in 183 milliseconds

12