Home
last modified time | relevance | path

Searched refs:max (Results 1 - 25 of 99) sorted by relevance

1234

/php-7.4/ext/opcache/Optimizer/
H A Dzend_inference.c(last modified 26/03/2020 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)
425 a: - + - + 1 0 1 0 => 1 0 ? MIN(a,c)/max(0,b,0,d)
427 c: - - + + 1 1 0 0 => 1 1 - min/max
429 f - - - - 1 1 1 1 => 1 1 - min/max
443 tmp->max = maxOR(a, b, c, d); in zend_ssa_range_or()
447 tmp->max = maxOR(a, b, 0, d); in zend_ssa_range_or()
451 tmp->max 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 Doptimize_temp_vars_5.c(last modified 13/02/2019 23:05)38 if (i > max) { \
39 max = i; \
54 int max = -1; in zend_optimize_temporary_variables() local
87 var = max; in zend_optimize_temporary_variables()
91 max = MAX(max, var + num); in zend_optimize_temporary_variables()
130 i = ++max; in zend_optimize_temporary_variables()
186 op_array->T = max + 1; in zend_optimize_temporary_variables()
H A Dzend_dump.c(last modified 08/07/2019 08:00)166 fprintf(stderr, ZEND_LONG_FMT "]", r->max); in zend_dump_range()
400 if (r->range.max > 0) { in zend_dump_range_constraint()
401 fprintf(stderr, " + " ZEND_LONG_FMT, r->range.max); in zend_dump_range_constraint()
402 } else if (r->range.max < 0) { in zend_dump_range_constraint()
403 fprintf(stderr, " - " ZEND_LONG_FMT, -r->range.max); in zend_dump_range_constraint()
407 fprintf(stderr, ZEND_LONG_FMT "]", r->range.max); in zend_dump_range_constraint()
/php-7.4/sapi/fpm/fpm/
H A Dfpm_status.c(last modified 13/02/2019 23:05)90 add_assoc_long(status, "max-listen-queue", scoreboard.lq_max); in fpm_status_export_to_zval()
96 add_assoc_long(status, "max-active-processes", scoreboard.active_max); in fpm_status_export_to_zval()
97 add_assoc_long(status, "max-children-reached", scoreboard.max_children_reached); in fpm_status_export_to_zval()
164 sapi_add_header_ex(ZEND_STRL("Cache-Control: no-cache, no-store, must-revalidate, max-age=0"), 1, 1); in fpm_status_handle_request()
186 sapi_add_header_ex(ZEND_STRL("Cache-Control: no-cache, no-store, must-revalidate, max-age=0"), 1, 1); in fpm_status_handle_request()
196 sapi_add_header_ex(ZEND_STRL("Cache-Control: no-cache, no-store, must-revalidate, max-age=0"), 1, 1); in fpm_status_handle_request()
209 sapi_add_header_ex(ZEND_STRL("Cache-Control: no-cache, no-store, must-revalidate, max-age=0"), 1, 1); in fpm_status_handle_request()
216 sapi_add_header_ex(ZEND_STRL("Cache-Control: no-cache, no-store, must-revalidate, max-age=0"), 1, 1); in fpm_status_handle_request()
250 "<tr><th>max listen queue</th><td>%d</td></tr>\n" in fpm_status_handle_request()
256 "<tr><th>max activ in fpm_status_handle_request()
[all...]
H A Dfpm_children.c(last modified 18/11/2019 08:00)372 int max; in fpm_children_make() local
377 max = wp->config->pm_start_servers; in fpm_children_make()
379 max = wp->running_children + nb_to_spawn; in fpm_children_make()
383 max = 0; /* do not create any child at startup */ in fpm_children_make()
385 max = wp->running_children + nb_to_spawn; in fpm_children_make()
388 max = wp->config->pm_max_children; in fpm_children_make()
394 * - wp->running_children < max : there is less than the max process for the current pool in fpm_children_make()
398 while (fpm_pctl_can_spawn_children() && wp->running_children < max && (fpm_global_config.process_max < 1 || fpm_globals.running_children < fpm_global_config.process_max)) { in fpm_children_make()
443 if (wp->running_children < max) { in fpm_children_make()
[all...]
H A Dfpm_events.c(last modified 31/07/2019 08:00)322 int max; in fpm_event_init_main() local
334 /* count the max number of necessary fds for polling */ in fpm_event_init_main()
335 max = 1; /* only one FD is necessary at startup for the master process signal pipe */ in fpm_event_init_main()
339 max += (wp->config->pm_max_children * 2); in fpm_event_init_main()
343 if (module->init(max) < 0) { in fpm_event_init_main()
348 zlog(ZLOG_DEBUG, "event module is %s and %d fds have been reserved", module->name, max); in fpm_event_init_main()
/php-7.4/ext/standard/
H A Dmt_rand.c(last modified 13/02/2019 23:05)224 /* Increment the max so the range is inclusive of max */ in rand_range32()
232 /* Ceiling under which UINT32_MAX % max == 0 */ in rand_range32()
255 /* Increment the max so the range is inclusive of max */ in rand_range64()
263 /* Ceiling under which UINT64_MAX % max == 0 */ in rand_range64()
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()
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
316 zend_long max; PHP_FUNCTION() local
[all...]
H A Drandom.c(last modified 04/09/2019 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()
238 umax = (zend_ulong) max - (zend_ulong) min; in php_random_int()
250 /* Increment the max so the range is inclusive of max */ in php_random_int()
255 /* Ceiling under which ZEND_LONG_MAX % max == 0 */ in php_random_int()
271 /* {{{ proto int random_int(int min, int max)
276 zend_long max; in PHP_FUNCTION() local
281 Z_PARAM_LONG(max) in PHP_FUNCTION()
284 if (min > max) { in PHP_FUNCTION()
[all...]
H A Drand.c(last modified 13/02/2019 23:05)47 /* {{{ proto int mt_rand([int min, int max])
52 zend_long max; in PHP_FUNCTION() local
61 Z_PARAM_LONG(max) 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/2019 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_var.h(last modified 01/10/2019 08:00)44 PHPAPI int php_var_unserialize(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash);
45 PHPAPI int php_var_unserialize_ref(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash);
46 PHPAPI int php_var_unserialize_intern(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash);
H A Dphp_mt_rand.h(last modified 13/02/2019 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);
/php-7.4/sapi/fpm/fpm/events/
H A Ddevpoll.c(last modified 13/02/2019 23:05)33 static int fpm_event_devpoll_init(int max);
71 static int fpm_event_devpoll_init(int max) /* {{{ */ in fpm_event_devpoll_init() argument
82 if (max < 1) { in fpm_event_devpoll_init()
87 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
89 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_devpoll_init()
92 memset(pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
95 for (i = 0; i < max; i++) { in fpm_event_devpoll_init()
100 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
103 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_devpoll_init()
106 memset(active_pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
[all...]
H A Dpoll.c(last modified 13/02/2019 23:05)30 static int fpm_event_poll_init(int max);
70 static int fpm_event_poll_init(int max) /* {{{ */ in fpm_event_poll_init() argument
74 if (max < 1) { in fpm_event_poll_init()
79 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
81 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_poll_init()
84 memset(pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_poll_init()
87 for (i = 0; i < max; i++) { in fpm_event_poll_init()
92 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
95 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max); in fpm_event_poll_init()
98 memset(active_pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_poll_init()
[all...]
H A Depoll.c(last modified 13/02/2019 23:05)29 static int fpm_event_epoll_init(int max);
66 static int fpm_event_epoll_init(int max) /* {{{ */ in fpm_event_epoll_init() argument
68 if (max < 1) { in fpm_event_epoll_init()
73 epollfd = epoll_create(max + 1); in fpm_event_epoll_init()
80 epollfds = malloc(sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
82 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max); in fpm_event_epoll_init()
85 memset(epollfds, 0, sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
87 /* save max */ in fpm_event_epoll_init()
88 nepollfds = max; in fpm_event_epoll_init()
H A Dkqueue.c(last modified 13/02/2019 23:05)32 static int fpm_event_kqueue_init(int max);
72 static int fpm_event_kqueue_init(int max) /* {{{ */ in fpm_event_kqueue_init() argument
74 if (max < 1) { in fpm_event_kqueue_init()
84 kevents = malloc(sizeof(struct kevent) * max); in fpm_event_kqueue_init()
86 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max); in fpm_event_kqueue_init()
90 memset(kevents, 0, sizeof(struct kevent) * max); in fpm_event_kqueue_init()
92 nkevents = max; in fpm_event_kqueue_init()
H A Dport.c(last modified 13/02/2019 23:05)30 static int fpm_event_port_init(int max);
67 static int fpm_event_port_init(int max) /* {{{ */ in fpm_event_port_init() argument
76 if (max < 1) { in fpm_event_port_init()
81 events = malloc(sizeof(port_event_t) * max); in fpm_event_port_init()
83 zlog(ZLOG_ERROR, "port: Unable to allocate %d events", max); in fpm_event_port_init()
87 nevents = max; in fpm_event_port_init()
H A Dselect.c(last modified 13/02/2019 23:05)36 static int fpm_event_select_init(int max);
73 static int fpm_event_select_init(int max) /* {{{ */ in fpm_event_select_init() argument
144 zlog(ZLOG_ERROR, "select: not enough space in the select fd list (max = %d). Please consider using another event mechanism.", FD_SETSIZE); in fpm_event_select_add()
/php-7.4/Zend/
H A Dzend_ptr_stack.h(last modified 13/02/2019 23:05)24 int top, max; member
46 if (stack->top+count > stack->max) { \
49 stack->max += PTR_STACK_BLOCK_SIZE; \
50 } while (stack->top+count > stack->max); \
51 stack->elements = (void **) perealloc(stack->elements, (sizeof(void *) * (stack->max)), stack->persistent); \
H A Dzend_stack.c(last modified 13/02/2019 23:05)29 stack->max = 0; in zend_stack_init()
37 if (stack->top >= stack->max) { in zend_stack_push()
38 stack->max += STACK_BLOCK_SIZE; in zend_stack_push()
39 stack->elements = safe_erealloc(stack->elements, stack->size, stack->max, 0); in zend_stack_push()
162 stack->top = stack->max = 0; in zend_stack_clean()
/php-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_compile.c(last modified 22/09/2020 08:00)1583 sljit_u32 max; in get_class_iterator_size() local
1599 max = GET2(cc, 1 + IMM2_SIZE); in get_class_iterator_size()
1600 if (max == 0) in get_class_iterator_size()
1602 max -= min; in get_class_iterator_size()
1603 if (max > 2) in get_class_iterator_size()
1604 max = 2; in get_class_iterator_size()
1605 return max; in get_class_iterator_size()
1620 sljit_s32 min, max, i; in detect_repeat() local
1646 max = 0; in detect_repeat()
1659 max in detect_repeat()
3673 peek_char(compiler_common *common, sljit_u32 max, sljit_s32 dst, sljit_sw dstw, jump_list **backtracks) peek_char() argument
3757 peek_char_back(compiler_common *common, sljit_u32 max, jump_list **backtracks) peek_char_back() argument
3830 read_char(compiler_common *common, sljit_u32 min, sljit_u32 max, jump_list **backtracks, sljit_u32 options) read_char() argument
5787 check_fast_forward_char_pair_simd(compiler_common *common, fast_forward_char_data *chars, int max) check_fast_forward_char_pair_simd() argument
5929 int i, max, from; fast_forward_first_n_chars() local
7340 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; compile_xclass_matchingpath() local
9126 int min = 0, max = 0; compile_ref_iterator_matchingpath() local
10978 get_iterator_parameters(compiler_common *common, PCRE2_SPTR cc, PCRE2_UCHAR *opcode, PCRE2_UCHAR *type, sljit_u32 *max, sljit_u32 *exact, PCRE2_SPTR *end) get_iterator_parameters() argument
11129 sljit_u32 max = 0, exact; compile_iterator_matchingpath() local
12112 sljit_u32 max = 0, exact; compile_iterator_backtrackingpath() local
[all...]
H A Dpcre2_printint.c(last modified 23/04/2020 08:00)645 unsigned int min, max; in pcre2_printint() local
788 max = GET2(ccode,1 + IMM2_SIZE); 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/fileinfo/libmagic/
H A Dfile.h(last modified 09/07/2019 08:00)136 #define MAXMAGIS 8192 /* max entries in any one magic file
138 #define MAXDESC 64 /* max len of text description/MIME type */
139 #define MAXMIME 80 /* max len of text MIME type */
140 #define MAXstring 96 /* max len of "string" types */
/php-7.4/ext/zlib/
H A Dzlib.c(last modified 06/06/2019 08:00)373 static inline int php_zlib_inflate_rounds(z_stream *Z, size_t max, char **buf, size_t *len) in php_zlib_inflate_rounds() argument
381 buffer.size = (max && (max < Z->avail_in)) ? max : Z->avail_in; in php_zlib_inflate_rounds()
384 if ((max && (max <= buffer.used)) || !(buffer.aptr = erealloc_recoverable(buffer.data, buffer.size))) { in php_zlib_inflate_rounds()
/php-7.4/ext/gmp/
H A Dgmp.c(last modified 12/06/2019 08:00)116 ZEND_ARG_INFO(0, max)
596 const unsigned char *p, *max; in gmp_unserialize() local
610 max = buf + buf_len; in gmp_unserialize()
613 if (!php_var_unserialize(zv, &p, max, &unserialize_data) in gmp_unserialize()
622 if (!php_var_unserialize(zv, &p, max, &unserialize_data) in gmp_unserialize()
1939 /* {{{ proto GMP gmp_random_range(mixed min, mixed max)
1940 Gets a random number in the range min to max */

Completed in 141 milliseconds

1234