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

12

/PHP_5_5/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_5/ext/mbstring/oniguruma/
H A Dregcomp.c2024 get_min_match_length(Node* node, OnigDistance *min, ScanEnv* env) argument
2029 *min = 0;
2041 r = get_min_match_length(nodes[backs[0]], min, env);
2047 if (*min > tmin) *min = tmin;
2057 *min = en->min_len;
2060 r = get_min_match_length(NCALL(node)->target, min, env);
2067 if (r == 0) *min += tmin;
2079 if (y == node) *min = tmin;
2080 else if (*min > tmi
2724 OnigDistance min; local
3931 OnigDistance min; /* min byte length */ member in struct:__anon231
4056 set_mml(MinMaxLen* mml, OnigDistance min, OnigDistance max) argument
4632 OnigDistance min = ONIGENC_MBC_MINLEN(env->enc); local
4651 int i, min, max; local
4686 OnigDistance min = ONIGENC_MBC_MINLEN(env->enc); local
4733 OnigDistance min, max, tmin, tmax; local
4774 OnigDistance min, max; local
4843 OnigDistance min, max; local
[all...]
/PHP_5_5/ext/zip/lib/
H A Dzip_open.c308 unsigned int min, max, j;
313 min = cd->entry[0].offset;
316 min = max = 0;
319 if (cd->entry[i].offset < min)
320 min = cd->entry[i].offset;
321 if (min > cd->offset) {
351 return max - min;
302 unsigned int min, max, j; local
/PHP_5_5/ext/gd/libgd/
H A Dgd_interpolation.c2429 gdPointF extent[4], min, max, point; local
2447 min=extent[0];
2451 if (min.x > extent[i].x)
2452 min.x=extent[i].x;
2453 if (min.y > extent[i].y)
2454 min.y=extent[i].y;
2460 bbox->x = (int) min.x;
2461 bbox->y = (int) min.y;
2462 bbox->width = (int) floor(max.x - min.x) - 1;
2463 bbox->height = (int) floor(max.y - min
[all...]
/PHP_5_5/ext/oci8/
H A Dphp_oci8_int.h47 #if defined(min)
48 #undef min macro
/PHP_5_5/ext/pdo_firebird/
H A Dfirebird_statement.c480 min(param->namelen, var->aliasname_length)))
482 min(param->namelen, var->sqlname_length)))) {
H A Dphp_pdo_firebird_int.h60 #ifndef min
61 #define min(a,b) ((a)<(b)?(a):(b)) macro
/PHP_5_5/ext/sockets/
H A Dsockets.c1106 retval = send(php_sock->bsd_socket, str, min(length, str_len), 0);
/PHP_5_5/ext/standard/
H A Darray.c939 /* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
941 PHP_FUNCTION(min)
952 /* mixed min ( array $values ) */
968 /* mixed min ( mixed $value1 , mixed $value2 [, mixed $value3... ] ) */
969 zval **min, result; local
972 min = args[0];
975 is_smaller_function(&result, *args[i], *min TSRMLS_CC);
977 min = args[i];
981 RETVAL_ZVAL(*min, 1, 0);
H A Dcrypt_blowfish.c656 BF_word min)
694 if (count < min || BF_decode(data.binary.salt, &setting[7], 16)) {
654 BF_crypt(const char *key, const char *setting, char *output, int size, BF_word min) argument
H A Dphp_array.h50 PHP_FUNCTION(min); variable
H A Drand.c287 /* {{{ proto int rand([int min, int max])
291 long min; 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])
312 long min; 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, min);
[all...]
H A Dbasic_functions.c1926 ZEND_ARG_INFO(0, min)
1931 ZEND_ARG_INFO(0, min)
3309 PHP_FE(min, arginfo_min)
/PHP_5_5/ext/interbase/
H A Dphp_ibase_udf.c103 #define min(a,b) ((a)<(b)?(a):(b)) macro
150 b->blob_get_segment(b->blob_handle, &code[i++<<16],min(0x10000,remaining), &read);
332 (res->vary_length = min(r->dsc_length-2,Z_STRLEN(return_value))));
/PHP_5_5/ext/date/lib/
H A Dparse_date.re191 { "min", TIMELIB_MINUTE, 1 },
931 reltextunit = (('sec'|'second'|'min'|'minute'|'hour'|'day'|'fortnight'|'forthnight'|'month'|'year') 's'?) | 'weeks' | daytext;
1970 timelib_sll min;
1973 min = timelib_get_nr_ex((char **) &ptr, 2, &length);
1974 if (min == TIMELIB_UNSET || length != 2) {
1977 s->time->i = min;
H A Dtimelib.h138 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec);
H A Dtimelib.c197 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) argument
200 *min = floor((h - *hour) * 60);
201 *sec = (h - *hour - ((float) *min / 60)) * 3600;
/PHP_5_5/ext/pcre/pcrelib/
H A Dpcre_compile.c1578 minp pointer to int for min
1590 int min = 0; local
1595 min = min * 10 + (int)(*p++ - CHAR_0);
1596 if (min > 65535)
1603 if (*p == CHAR_RIGHT_CURLY_BRACKET) max = min; else
1617 if (max < min)
1625 *minp = min;
5831 /* Else insert an UPTO if the max is greater than the min, again
H A Dpcre_exec.c56 #undef min macro
594 #define min frame->Xmin macro
650 int min;
2754 min = rep_min[c]; /* Pick up values from tables; */
2762 min = GET2(ecode, 1);
2786 if (length < 0 && min == 0) continue;
2792 for (i = 1; i <= min; i++)
2804 /* If min = max, continue at the same level without recursion.
2807 if (min == max) continue;
2813 for (fi = min;; f
6272 #undef min macro
[all...]
H A Dpcre_jit_compile.c931 int min, max, i; local
942 min = 1;
951 min++;
954 if (min == 2)
988 if (min == 1)
990 min--;
997 if (min >= 3)
1001 common->private_data_ptrs[end - common->start - LINK_SIZE + 2] = min;
2640 static void read_char_range(compiler_common *common, pcre_uint32 min, pcre_uint32 max, BOOL update_str_ptr) argument
2643 between min an
4752 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; local
6057 int min = 0, max = 0; local
7763 get_iterator_parameters(compiler_common *common, pcre_uchar *cc, pcre_uchar *opcode, pcre_uchar *type, int *max, int *min, pcre_uchar **end) argument
7867 int max = -1, min = -1; local
8563 int max = -1, min = -1; local
[all...]
H A Dpcre_study.c101 int d, min; local
472 min = 0;
479 min = 1;
486 min = GET2(cc, 1);
491 min = 1;
495 branchlength += min * d;
1455 int min; local
1542 switch(min = find_minlength(re, code, code, re->options, NULL))
1558 if (bits_set || min > 0 || (options & (
1608 if (min >
[all...]
/PHP_5_5/ext/pgsql/
H A Dpgsql.c5881 unit markings. For example, '1 12:59:10' is read the same as '1 day 12 hours 59 min 10
5898 "minutes|minute|mins|min|m|"
/PHP_5_5/win32/build/
H A Dconfutils.js1539 var min = new Array(l);
1564 min[j] = header[j].length;
/PHP_5_5/ext/gd/
H A Dgd.c4285 #define min(a, b) (a < b ? a : b) macro
4313 /* Find min & max values and compare them with current bounding box */
4314 str_bbox.llx = min(str_bbox.llx, min(x1, min(x2, min(x3, x4))));
4315 str_bbox.lly = min(str_bbox.lly, min(y1, min(y2, min(y
[all...]
/PHP_5_5/ext/date/
H A Dphp_date.c83 ZEND_ARG_INFO(0, min)
93 ZEND_ARG_INFO(0, min)
1505 long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; local
1511 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lllllll", &hou, &min, &sec, &mon, &day, &yea, &dst) == FAILURE) {
1546 now->i = min;
1594 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
1602 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])

Completed in 137 milliseconds

12