Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 258) sorted by last modified time

1234567891011

/php-src/sapi/fpm/fpm/events/
H A Dkqueue.c30 static int fpm_event_kqueue_init(int max);
70 static int fpm_event_kqueue_init(int max) /* {{{ */ in fpm_event_kqueue_init() argument
72 if (max < 1) { in fpm_event_kqueue_init()
82 kevents = calloc(max, sizeof(struct kevent)); in fpm_event_kqueue_init()
84 zlog(ZLOG_ERROR, "kevent: unable to allocate %d events", max); in fpm_event_kqueue_init()
88 nkevents = max; in fpm_event_kqueue_init()
/php-src/ext/opcache/jit/ir/
H A Dir_x86.dasc8174 ir_val min, max;
8182 max.u64 = 0x8000000000000000;
8185 max.u64 = 0x0;
8199 max.i64 = IR_MAX(max.i64, val->val.i64);
8203 max.u64 = (int64_t)IR_MAX(max.u64, val->val.u64);
8219 if (count > 2 && (max.i64-min.i64) < count * 8) {
8220 int *labels = ir_mem_malloc(sizeof(int) * (size_t)(max.i64 - min.i64 + 1));
8222 for (i = 0; i <= (max.i64 - min.i64); i++) {
8280 offset = max.i64 - min.i64;
8305 int64_t offset = max.i64;
[all …]
H A Dir_fold.h605 uint64_t max = ((uint64_t)0xffffffffffffffff) >> (64 - ir_type_size[type] * 8); in IR_FOLD() local
607 if (op1_insn->val.u64 > max - op2_insn->val.u64) { in IR_FOLD()
619 int64_t max = ((uint64_t)0x7fffffffffffffff) >> (64 - ir_type_size[type] * 8); in IR_FOLD() local
620 int64_t min = - max - 1; in IR_FOLD()
622 if ((op2_insn->val.i64 > 0 && op1_insn->val.i64 > max - op2_insn->val.i64) in IR_FOLD()
647 int64_t max = ((uint64_t)0x7fffffffffffffff) >> (64 - ir_type_size[type] * 8); in IR_FOLD() local
648 int64_t min = - max - 1; in IR_FOLD()
651 || (op2_insn->val.i64 < 0 && op1_insn->val.i64 > max + op2_insn->val.i64)) { in IR_FOLD()
663 uint64_t max = ((uint64_t)0xffffffffffffffff) >> (64 - ir_type_size[type] * 8); in IR_FOLD() local
679 int64_t max = ((uint64_t)0x7fffffffffffffff) >> (64 - ir_type_size[type] * 8); in IR_FOLD() local
[all …]
H A Dir_aarch64.dasc4449 ir_val min, max;
4455 max.u64 = 0x8000000000000000;
4458 max.u64 = 0x0;
4472 max.i64 = IR_MAX(max.i64, val->val.i64);
4476 max.u64 = (int64_t)IR_MAX(max.u64, val->val.u64);
4496 if (count > 2 && (max.i64-min.i64) < count * 8) {
4499 for (i = 0; i <= (max.i64 - min.i64); i++) {
4515 if (aarch64_may_encode_imm12(max.i64)) {
4516 | ASM_REG_IMM_OP cmp, type, op2_reg, max.i64
4518 ir_emit_load_imm_int(ctx, type, tmp_reg, max.i64);
[all …]
/php-src/ext/gmp/
H A Dgmp.c476 const unsigned char *p, *max; in gmp_unserialize() local
488 max = buf + buf_len; in gmp_unserialize()
491 if (!php_var_unserialize(zv, &p, max, &unserialize_data) in gmp_unserialize()
500 if (!php_var_unserialize(zv, &p, max, &unserialize_data) in gmp_unserialize()
/php-src/Zend/
H A Dzend.c1378 CG(stack).top = CG(stack).max = 0; \
/php-src/ext/dom/lexbor/lexbor/core/
H A Dbst.c209 lexbor_bst_entry_t *max = NULL; in lexbor_bst_search_close() local
219 max = scope; in lexbor_bst_search_close()
224 return max; in lexbor_bst_search_close()
252 lexbor_bst_entry_t *max = NULL; in lexbor_bst_remove_close() local
266 max = entry; in lexbor_bst_remove_close()
271 if (max != NULL) { in lexbor_bst_remove_close()
273 *found_size = max->size; in lexbor_bst_remove_close()
276 return lexbor_bst_remove_by_pointer(bst, max, scope); in lexbor_bst_remove_close()
/php-src/build/
H A Dlibtool.m4833 # the test eventually succeeds (with a max line length of 256k).
/php-src/.github/workflows/
H A Dnightly.yml484 export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
/php-src/ext/zlib/
H A Dzlib.c421 static inline int php_zlib_inflate_rounds(z_stream *Z, size_t max, char **buf, size_t *len) in php_zlib_inflate_rounds() argument
429 buffer.size = (max && (max < Z->avail_in)) ? max : Z->avail_in; in php_zlib_inflate_rounds()
432 …if ((max && (max <= buffer.used)) || !(buffer.aptr = erealloc_recoverable(buffer.data, buffer.size… in php_zlib_inflate_rounds()
/php-src/ext/random/
H A Dcsprng.c213 PHPAPI zend_result php_random_int(zend_long min, zend_long max, zend_long *result, bool should_thro… in php_random_int() argument
218 if (min == max) { in php_random_int()
223 umax = (zend_ulong) max - (zend_ulong) min; in php_random_int()
H A Dengine_combinedlcg.c65 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
70 }, min, max); in range()
/php-src/ext/posix/
H A Dposix.c1196 zend_long res, cur, max; in PHP_FUNCTION() local
1201 Z_PARAM_LONG(max) in PHP_FUNCTION()
1205 rl.rlim_max = max; in PHP_FUNCTION()
/php-src/Zend/Optimizer/
H A Dzend_inference.c1188 tmp->max = MIN(constraint->range.max, tmp->max); in zend_inference_calc_range()
1193 …tmp->max = MIN(ssa->var_info[constraint->max_ssa_var].range.max + constraint->range.max, tmp->max); in zend_inference_calc_range()
1217 tmp->max = constraint->range.max; in zend_inference_calc_range()
1241 tmp->max = MAX(tmp->max, ssa->var_info[p->sources[i]].range.max); in zend_inference_calc_range()
1621 ssa->var_info[var].range.max = max; in zend_inference_init_range()
1639 r->max > var_info->range.max) { in zend_inference_widening_meet()
1644 var_info->range.max == r->max && in zend_inference_widening_meet()
1679 var_info->range.max > r->max) { in zend_inference_narrowing_meet()
1680 r->max = var_info->range.max; in zend_inference_narrowing_meet()
1689 var_info->range.max == r->max && in zend_inference_narrowing_meet()
[all …]
/php-src/scripts/dev/
H A Dbless_tests.php182 $max = $n + $m;
185 for ($d = 0; $d <= $max; $d++) {
/php-src/ext/reflection/tests/
H A DReflectionFiber_bug_gh11121_1.phpt16 $f = new Fiber(function() { f(); max(...[1,2,3,4,5,6,7,8,9,10,11,12]); g(); });
/php-src/ext/standard/
H A Dbasic_functions.stub.php1645 function max(mixed $value, mixed ...$values): mixed {} function
H A Dbasic_functions_arginfo.h2213 ZEND_FRAMELESS_FUNCTION(max, 2);
2215 { ZEND_FRAMELESS_FUNCTION_NAME(max, 2), 2 },
2353 ZEND_FUNCTION(max);
H A Dvar_unserializer.re459 #define UNSERIALIZE_PASSTHRU rval, p, max, var_hash
483 if (!php_var_unserialize_internal(&key, p, max, NULL)) {
727 if (*p >= max || **p != '}') {
741 if (max - (*p) < 2) {
756 if (datalen < 0 || (max - (*p)) <= datalen) {
880 limit = max;
1025 maxlen = max - YYCURSOR;
1062 maxlen = max - YYCURSOR;
1144 maxlen = max - YYCURSOR;
1293 if (*p >= max - 2) {
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c5457 op2_range->max >= SIZEOF_ZEND_LONG * 8) { in zend_jit_long_math_helper()
5506 op2_range->max >= SIZEOF_ZEND_LONG * 8) { in zend_jit_long_math_helper()
5549 …E_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) || !op2_range || (op2_range->min <= 0 && op2_range->max >= 0)) { in zend_jit_long_math_helper()
5560 if (!op2_range || (op2_range->min <= -1 && op2_range->max >= -1)) { in zend_jit_long_math_helper()
H A Dzend_jit_trace.c936 tssa->var_info[ssa_var].range.max = tmp.max; in zend_jit_trace_propagate_range()
982 tssa->var_info[ssa_var].range.max = MIN(tssa->var_info[ssa_var].range.max, info->range.max); in zend_jit_trace_copy_ssa_var_range()
1036 tssa->var_info[ssa_var].range.max = MIN(tssa->var_info[ssa_var].range.max, info->range.max); in zend_jit_trace_restrict_ssa_var_info()
3601 static void zend_jit_trace_set_var_range(zend_ssa_var_info *info, zend_long min, zend_long max) in zend_jit_trace_set_var_range() argument
3605 info->range.max = max; in zend_jit_trace_set_var_range()
6437 ssa->var_info[ssa_op->result_def].range.max = tmp.max; in zend_jit_trace()
6505 ssa->var_info[ssa_op->op1_def].range.max = tmp.max; in zend_jit_trace()
6549 ssa->var_info[ssa_op->op2_def].range.max = tmp.max; in zend_jit_trace()
6592 ssa->var_info[ssa_op->op1_def].range.max = tmp.max; in zend_jit_trace()
H A Dzend_jit.c181 op1_max = op1_range->max; in zend_jit_is_constant_cmp_long_long()
191 op2_max = op2_range->max; in zend_jit_is_constant_cmp_long_long()
/php-src/ext/mbstring/tests/
H A Dmb_encode_mimeheader_basic4.phpt56 // take a vastly larger number of bytes; make sure we don't overrun max line length
75 // without overrunning max line length
/php-src/ext/openssl/
H A Dxp_ssl.c1090 static int php_openssl_get_proto_version_flags(int flags, int min, int max) /* {{{ */ in php_openssl_get_proto_version_flags() argument
1097 if (!max) { in php_openssl_get_proto_version_flags()
1098 max = php_openssl_get_max_proto_version_flag(flags); in php_openssl_get_proto_version_flags()
1102 if (ver >= min && ver <= max) { in php_openssl_get_proto_version_flags()
/php-src/ext/ffi/
H A Dffi.c5938 if ((*min != 0 || *max != 0)
5946 if ((uint64_t)*max > 0x7FFFFFFFFFFFFFFFULL) {
5955 if ((uint64_t)*max > 0x7FFFFFFFFFFFFFFFULL) {
5979 *max = MAX(*max, value);
5981 && *min >= -0x7FLL-1 && *max <= 0x7FLL) {
5984 && *min >= -0x7FFFLL-1 && *max <= 0x7FFFLL) {
5986 } else if (*min >= -0x7FFFFFFFLL-1 && *max <= 0x7FFFFFFFLL) {
5993 *max = MAX((uint64_t)*max, (uint64_t)value);
5995 && (uint64_t)*max <= 0xFFULL) {
5998 && (uint64_t)*max <= 0xFFFFULL) {
[all …]

Completed in 231 milliseconds

1234567891011