| /PHP_5_5/ext/zip/lib/ |
| H A D | zip_open.c | 308 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_5/sapi/fpm/fpm/ |
| H A D | fpm_children.c | 365 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...] |
| H A D | fpm_events.c | 311 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);
|
| /PHP_5_5/ext/mbstring/oniguruma/ |
| H A D | regcomp.c | 2147 get_max_match_length(Node* node, OnigDistance *max, ScanEnv* env) argument 2152 *max = 0; 2158 *max = distance_add(*max, tmax); 2165 if (r == 0 && *max < tmax) *max = tmax; 2172 *max = sn->end - sn->s; 2177 *max = ONIGENC_MBC_MAXLEN_DIST(env->enc); 2182 *max = ONIGENC_MBC_MAXLEN_DIST(env->enc); 2192 *max 3932 OnigDistance max; /* max byte length */ member in struct:__anon231 4056 set_mml(MinMaxLen* mml, OnigDistance min, OnigDistance max) argument 4596 int max; local 4633 OnigDistance max = ONIGENC_MBC_MAXLEN_DIST(env->enc); local 4651 int i, min, max; local 4687 OnigDistance max = ONIGENC_MBC_MAXLEN_DIST(env->enc); local 4733 OnigDistance min, max, tmin, tmax; local 4774 OnigDistance min, max; local 4843 OnigDistance min, max; local [all...] |
| /PHP_5_5/Zend/ |
| H A D | zend_ptr_stack.h | 26 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 D | zend_stack.h | 26 int top, max; member in struct:_zend_stack
|
| /PHP_5_5/ext/interbase/ |
| H A D | php_ibase_includes.h | 189 #ifndef max 190 #define max(a,b) ((a)>(b)?(a):(b)) macro
|
| /PHP_5_5/ext/oci8/ |
| H A D | oci8_interface.c | 2312 Return the max value of a collection. For a varray this is the maximum length of the array */ 2317 long max; local 2332 if (php_oci_collection_max(collection, &max TSRMLS_CC)) { 2335 RETURN_LONG(max);
|
| H A D | php_oci8_int.h | 50 #if defined(max) 51 #undef max macro
|
| /PHP_5_5/ext/standard/ |
| H A D | rand.c | 288 /* {{{ proto int rand([int min, int max]) 293 long max; local 297 if (argc != 0 && zend_parse_parameters(argc TSRMLS_CC, "ll", &min, &max) == FAILURE) 302 RAND_RANGE(number, min, max, PHP_RAND_MAX); 309 /* {{{ proto int mt_rand([int min, int max]) 314 long max; local 319 if (zend_parse_parameters(argc TSRMLS_CC, "ll", &min, &max) == FAILURE) { 321 } else if (max < min) { 322 php_error_docref(NULL TSRMLS_CC, E_WARNING, "max(%ld) is smaller than min(%ld)", max, mi [all...] |
| H A D | php_array.h | 51 PHP_FUNCTION(max); variable
|
| H A D | array.c | 990 /* {{{ proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]]) 992 PHP_FUNCTION(max) 1003 /* mixed max ( array $values ) */ 1019 /* mixed max ( mixed $value1 , mixed $value2 [, mixed $value3... ] ) */ 1020 zval **max, result; local 1023 max = args[0]; 1026 is_smaller_or_equal_function(&result, *args[i], *max TSRMLS_CC); 1028 max = args[i]; 1032 RETVAL_ZVAL(*max, 1, 0);
|
| /PHP_5_5/ext/zlib/ |
| H A D | zlib.c | 345 static inline int php_zlib_inflate_rounds(z_stream *Z, size_t max, char **buf, size_t *len) argument 353 buffer.size = (max && (max < Z->avail_in)) ? max : Z->avail_in; 356 if ((max && (max <= buffer.used)) || !(buffer.aptr = erealloc_recoverable(buffer.data, buffer.size))) {
|
| /PHP_5_5/main/ |
| H A D | rfc1867.c | 606 int len, max; local 616 max = bound - self->buf_begin; 621 max = self->bytes_in_buffer; 625 len = max < bytes-1 ? max : bytes-1;
|
| /PHP_5_5/sapi/apache_hooks/ |
| H A D | mod_php5.c | 58 int top, max, persistent; member in struct:_sapi_stack 123 stack->max = STACK_BLOCK_SIZE; 129 if (stack->top >= stack->max) { /* we need to allocate more memory */ 131 (sizeof(void **) * (stack->max += STACK_BLOCK_SIZE)), stack->persistent);
|
| /PHP_5_5/sapi/fpm/fpm/events/ |
| H A D | devpoll.c | 35 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 D | epoll.c | 31 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;
|
| H A D | kqueue.c | 34 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 D | poll.c | 32 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 D | port.c | 32 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 D | select.c | 38 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);
|
| /PHP_5_5/ext/pcre/pcrelib/ |
| H A D | pcre_compile.c | 1302 maxp pointer to int for max 1303 returned as -1 if no max 1314 int max = -1; local 1327 Also, max must not be less than min. */ 1329 if (*p == CHAR_RIGHT_CURLY_BRACKET) max = min; else 1333 max = 0; 1334 while(IS_DIGIT(*p)) max = max * 10 + (int)(*p++ - CHAR_0); 1335 if (max < 0 || max > 6553 [all...] |
| H A D | pcre_exec.c | 57 #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_5/ext/opcache/Optimizer/ |
| H A D | optimize_temp_vars_5.c | 69 if (i > max) { \ 70 max = i; \ 83 int max = -1; local 221 op_array->T = max + 1;
|
| /PHP_5_5/ext/wddx/ |
| H A D | wddx.c | 96 int top, max; member in struct:__anon3 179 stack->max = STACK_BLOCK_SIZE; 191 if (stack->top >= stack->max) { /* we need to allocate more memory */ 193 (sizeof(void **) * (stack->max += STACK_BLOCK_SIZE)));
|