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

12

/PHP_5_4/ext/pcre/pcrelib/
H A Dpcre_printint.src423 int i, min, max;
521 max = GET2(ccode,3);
522 if (max == 0) fprintf(f, "{%d,}", min);
523 else fprintf(f, "{%d,%d}", min, max);
H A Dpcre_exec.c57 #undef max macro
90 /* Min and max values for the common repeats; for the maxima, 0 => infinity */
577 #define max frame->Xmax macro
633 int max;
2691 max = rep_max[c]; /* zero for max => infinity */
2692 if (max == 0) max = INT_MAX;
2699 max = GET2(ecode, 1 + IMM2_SIZE);
2700 if (max
6156 #undef max macro
[all...]
/PHP_5_4/ext/pdo_mysql/
H A Dget_error_codes.php10 $maxlen = max($maxlen, strlen($matches[1]));
/PHP_5_4/ext/soap/interop/
H A Dtest.utility.php46 $d = max(min(strlen(count($m1)?$m1[1]:'0'),strlen(count($m2)?$m2[1]:'0')),2);
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_events.c311 int max; local
323 /* count the max number of necessary fds for polling */
324 max = 1; /* only one FD is necessary at startup for the master process signal pipe */
328 max += (wp->config->pm_max_children * 2);
332 if (module->init(max) < 0) {
337 zlog(ZLOG_DEBUG, "event module is %s and %d fds have been reserved", module->name, max);
H A Dfpm_children.c365 int max; local
370 max = wp->config->pm_start_servers;
372 max = wp->running_children + nb_to_spawn;
376 max = 0; /* do not create any child at startup */
378 max = wp->running_children + nb_to_spawn;
381 max = wp->config->pm_max_children;
387 * - wp->running_children < max : there is less than the max process for the current pool
391 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)) {
428 zlog(ZLOG_WARNING, "The maximum number of processes has been reached. Please review your configuration and consider raising 'process.max'");
[all...]
/PHP_5_4/ext/zip/lib/
H A Dzip_open.c308 unsigned int min, max, j;
312 max = cd->entry[0].offset;
316 min = max = 0;
328 if (j > max)
329 max = j;
330 if (max > cd->offset) {
351 return max - min;
302 unsigned int min, max, j; local
/PHP_5_4/ext/mbstring/oniguruma/
H A Dregcomp.c2130 get_max_match_length(Node* node, OnigDistance *max, ScanEnv* env) argument
2135 *max = 0;
2141 *max = distance_add(*max, tmax);
2148 if (r == 0 && *max < tmax) *max = tmax;
2155 *max = sn->end - sn->s;
2163 *max = ONIGENC_MBC_MAXLEN_DIST(env->enc);
2173 *max = ONIGENC_MBC_MAXLEN_DIST(env->enc);
2183 *max
3721 OnigDistance max; /* max byte length */ member in struct:__anon73
3845 set_mml(MinMaxLen* mml, OnigDistance min, OnigDistance max) argument
4391 int n, max; local
4427 OnigDistance max = ONIGENC_MBC_MAXLEN_DIST(env->enc); local
4445 int i, min, max; local
4480 OnigDistance max = ONIGENC_MBC_MAXLEN_DIST(env->enc); local
4526 OnigDistance min, max, tmin, tmax; local
4567 OnigDistance min, max; local
4636 OnigDistance min, max; local
[all...]
/PHP_5_4/ext/standard/
H A Dphp_array.h51 PHP_FUNCTION(max); variable
H A Dphp_var.h53 PHPAPI int php_var_unserialize(zval **rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
H A Drand.c287 /* {{{ proto int rand([int min, int max])
292 long max; local
296 if (argc != 0 && zend_parse_parameters(argc TSRMLS_CC, "ll", &min, &max) == FAILURE)
301 RAND_RANGE(number, min, max, PHP_RAND_MAX);
308 /* {{{ proto int mt_rand([int min, int max])
313 long max; local
318 if (zend_parse_parameters(argc TSRMLS_CC, "ll", &min, &max) == FAILURE) {
320 } else if (max < min) {
321 php_error_docref(NULL TSRMLS_CC, E_WARNING, "max(%ld) is smaller than min(%ld)", max, mi
[all...]
H A Dvar_unserializer.c290 #define UNSERIALIZE_PARAMETER zval **rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC
291 #define UNSERIALIZE_PASSTHRU rval, p, max, var_hash TSRMLS_CC
300 if (!php_var_unserialize(&key, p, max, NULL TSRMLS_CC)) {
314 if (!php_var_unserialize(&data, p, max, var_hash TSRMLS_CC)) {
375 if (datalen < 0 || (*p) + datalen >= max) {
376 zend_error(E_WARNING, "Insufficient data for unserializing - %ld required, %ld present", datalen, (long)(max - (*p)));
461 limit = max;
640 maxlen = max - YYCURSOR;
865 maxlen = max - YYCURSOR;
915 maxlen = max
[all...]
H A Dvar_unserializer.re294 #define UNSERIALIZE_PARAMETER zval **rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC
295 #define UNSERIALIZE_PASSTHRU rval, p, max, var_hash TSRMLS_CC
304 if (!php_var_unserialize(&key, p, max, NULL TSRMLS_CC)) {
318 if (!php_var_unserialize(&data, p, max, var_hash TSRMLS_CC)) {
379 if (datalen < 0 || (*p) + datalen >= max) {
380 zend_error(E_WARNING, "Insufficient data for unserializing - %ld required, %ld present", datalen, (long)(max - (*p)));
465 limit = max;
597 maxlen = max - YYCURSOR;
625 maxlen = max - YYCURSOR;
698 maxlen = max
[all...]
/PHP_5_4/sapi/fpm/fpm/events/
H A Ddevpoll.c35 static int fpm_event_devpoll_init(int max);
73 static int fpm_event_devpoll_init(int max) /* {{{ */ argument
84 if (max < 1) {
89 pollfds = malloc(sizeof(struct pollfd) * max);
91 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
94 memset(pollfds, 0, sizeof(struct pollfd) * max);
97 for (i = 0; i < max; i++) {
102 active_pollfds = malloc(sizeof(struct pollfd) * max);
105 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
108 memset(active_pollfds, 0, sizeof(struct pollfd) * max);
[all...]
H A Dkqueue.c34 static int fpm_event_kqueue_init(int max);
74 static int fpm_event_kqueue_init(int max) /* {{{ */ argument
76 if (max < 1) {
86 kevents = malloc(sizeof(struct kevent) * max);
88 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max);
92 memset(kevents, 0, sizeof(struct kevent) * max);
94 nkevents = max;
H A Dpoll.c32 static int fpm_event_poll_init(int max);
72 static int fpm_event_poll_init(int max) /* {{{ */ argument
76 if (max < 1) {
81 pollfds = malloc(sizeof(struct pollfd) * max);
83 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
86 memset(pollfds, 0, sizeof(struct pollfd) * max);
89 for (i = 0; i < max; i++) {
94 active_pollfds = malloc(sizeof(struct pollfd) * max);
97 zlog(ZLOG_ERROR, "poll: unable to allocate %d events", max);
100 memset(active_pollfds, 0, sizeof(struct pollfd) * max);
[all...]
H A Dport.c32 static int fpm_event_port_init(int max);
69 static int fpm_event_port_init(int max) /* {{{ */ argument
78 if (max < 1) {
83 events = malloc(sizeof(port_event_t) * max);
85 zlog(ZLOG_ERROR, "port: Unable to allocate %d events", max);
89 nevents = max;
H A Dselect.c38 static int fpm_event_select_init(int max);
75 static int fpm_event_select_init(int max) /* {{{ */ argument
146 zlog(ZLOG_ERROR, "select: not enough space in the select fd list (max = %d). Please consider using another event mechanism.", FD_SETSIZE);
H A Depoll.c31 static int fpm_event_epoll_init(int max);
68 static int fpm_event_epoll_init(int max) /* {{{ */ argument
70 if (max < 1) {
75 epollfd = epoll_create(max + 1);
82 epollfds = malloc(sizeof(struct epoll_event) * max);
84 zlog(ZLOG_ERROR, "epoll: unable to allocate %d events", max);
87 memset(epollfds, 0, sizeof(struct epoll_event) * max);
89 /* save max */
90 nepollfds = max;
/PHP_5_4/Zend/
H A Dzend_ptr_stack.c31 stack->top = stack->max = 0;
H A Dzend_ptr_stack.h26 int top, max; member in struct:_zend_ptr_stack
47 if (stack->top+count > stack->max) { \
50 stack->max += PTR_STACK_BLOCK_SIZE; \
51 } while (stack->top+count > stack->max); \
52 stack->elements = (void **) perealloc(stack->elements, (sizeof(void *) * (stack->max)), stack->persistent); \
H A Dzend_stack.c28 stack->max = 0;
35 if (stack->top >= stack->max) { /* we need to allocate more memory */
37 (sizeof(void **) * (stack->max += STACK_BLOCK_SIZE)));
H A Dzend_stack.h26 int top, max; member in struct:_zend_stack
/PHP_5_4/ext/standard/html_tables/
H A Dhtml_table_gen.php250 $maxencnum = max(array_map(function($e) { return $e['enumid']; }, $encodings));
738 $numelems = max(pow(2, ceil(log(1.5*count($origdp))/log(2))),16);
/PHP_5_4/ext/interbase/
H A Dphp_ibase_includes.h187 #ifndef max
188 #define max(a,b) ((a)>(b)?(a):(b)) macro

Completed in 99 milliseconds

12