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

12

/PHP_TRUNK/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_TRUNK/ext/standard/
H A Dcrypt_blowfish.c651 BF_word min)
692 if (count < min || BF_decode(data.binary.salt, &setting[7], 16)) {
649 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 Darray.c961 /* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
963 PHP_FUNCTION(min)
974 /* mixed min ( array $values ) */
990 /* mixed min ( mixed $value1 , mixed $value2 [, mixed $value3... ] ) */
991 zval *min, result; local
994 min = &args[0];
997 is_smaller_function(&result, &args[i], min TSRMLS_CC);
999 min = &args[i];
1003 RETVAL_ZVAL_FAST(min);
H A Drand.c287 /* {{{ proto int rand([int min, int max])
291 zend_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 zend_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(" ZEND_LONG_FMT ") is smaller than min(" ZEND_LONG_FMT ")", max, min);
[all...]
H A Dbasic_functions.c1889 ZEND_ARG_INFO(0, min)
1894 ZEND_ARG_INFO(0, min)
3268 PHP_FE(min, arginfo_min)
/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c319 zip_uint64_t min, max, j;
324 min = cd->entry[0].orig->offset;
327 min = max = 0;
330 if (cd->entry[i].orig->offset < min)
331 min = cd->entry[i].orig->offset;
332 if (min > (zip_uint64_t)cd->offset) {
367 return (max-min) < ZIP_INT64_MAX ? (zip_int64_t)(max-min) : ZIP_INT64_MAX;
313 zip_uint64_t min, max, j; local
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_interpolation.c2432 gdPointF extent[4], min, max, point; local
2450 min=extent[0];
2454 if (min.x > extent[i].x)
2455 min.x=extent[i].x;
2456 if (min.y > extent[i].y)
2457 min.y=extent[i].y;
2463 bbox->x = (int) min.x;
2464 bbox->y = (int) min.y;
2465 bbox->width = (int) floor(max.x - min.x) - 1;
2466 bbox->height = (int) floor(max.y - min
[all...]
/PHP_TRUNK/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
3930 OnigDistance min; /* min byte length */ member in struct:__anon7
4055 set_mml(MinMaxLen* mml, OnigDistance min, OnigDistance max) argument
4631 OnigDistance min = ONIGENC_MBC_MINLEN(env->enc); local
4650 int i, min, max; local
4685 OnigDistance min = ONIGENC_MBC_MINLEN(env->enc); local
4732 OnigDistance min, max, tmin, tmax; local
4773 OnigDistance min, max; local
4842 OnigDistance min, max; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c1569 minp pointer to int for min
1581 int min = 0; local
1587 while (IS_DIGIT(*p)) min = min * 10 + (int)(*p++ - CHAR_0);
1588 if (min < 0 || min > 65535)
1595 Also, max must not be less than min. */
1597 if (*p == CHAR_RIGHT_CURLY_BRACKET) max = min; else
1608 if (max < min)
1619 *minp = min;
[all...]
H A Dpcre_jit_compile.c943 int min, max, i; local
954 min = 1;
963 min++;
966 if (min == 2)
1000 if (min == 1)
1002 min--;
1009 if (min >= 3)
1013 common->private_data_ptrs[end - common->start - LINK_SIZE + 2] = min;
2612 static void read_char_range(compiler_common *common, pcre_uint32 min, pcre_uint32 max, BOOL update_str_ptr) argument
2615 between min an
4736 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; local
6041 int min = 0, max = 0; local
7744 get_iterator_parameters(compiler_common *common, pcre_uchar *cc, pcre_uchar *opcode, pcre_uchar *type, int *max, int *min, pcre_uchar **end) argument
7848 int max = -1, min = -1; local
8544 int max = -1, min = -1; local
[all...]
H A Dpcre_exec.c54 #undef min macro
592 #define min frame->Xmin macro
648 int min;
2734 min = rep_min[c]; /* Pick up values from tables; */
2742 min = GET2(ecode, 1);
2766 if (length < 0 && min == 0) continue;
2772 for (i = 1; i <= min; i++)
2784 /* If min = max, continue at the same level without recursion.
2787 if (min == max) continue;
2793 for (fi = min;; f
6276 #undef min macro
[all...]
H A Dpcre_printint.c643 unsigned int min, max; local
784 min = GET2(ccode,1);
786 if (max == 0) fprintf(f, "{%u,}", min);
787 else fprintf(f, "{%u,%u}", min, max);
H A Dpcre_study.c98 int d, min; local
443 min = 0;
450 min = 1;
457 min = GET2(cc, 1);
462 min = 1;
466 branchlength += min * d;
1400 int min; local
1487 switch(min = find_minlength(re, code, code, re->options, 0))
1503 if (bits_set || min > 0 || (options & (
1553 if (min >
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dtimelib.c198 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) argument
201 *min = floor((h - *hour) * 60);
202 *sec = (h - *hour - ((float) *min / 60)) * 3600;
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.h135 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec);
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h51 #if defined(min)
52 #undef min macro
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c479 min(param->name->len, var->aliasname_length)))
481 min(param->name->len, var->sqlname_length)))) {
H A Dphp_pdo_firebird_int.h60 #ifndef min
61 #define min(a,b) ((a)<(b)?(a):(b)) macro
/PHP_TRUNK/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_TRUNK/ext/gd/
H A Dgd.c4258 #define min(a, b) (a < b ? a : b) macro
4286 /* Find min & max values and compare them with current bounding box */
4287 str_bbox.llx = min(str_bbox.llx, min(x1, min(x2, min(x3, x4))));
4288 str_bbox.lly = min(str_bbox.lly, min(y1, min(y2, min(y
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c112 ZEND_ARG_INFO(0, min)
1788 /* {{{ proto GMP gmp_random_range(mixed min, mixed max)
1789 Gets a random number in the range min to max */
/PHP_TRUNK/ext/date/
H A Dphp_date.c83 ZEND_ARG_INFO(0, min)
92 ZEND_ARG_INFO(0, min)
1502 zend_long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; local
1508 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lllllll", &hou, &min, &sec, &mon, &day, &yea, &dst) == FAILURE) {
1543 now->i = min;
1591 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
1599 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
/PHP_TRUNK/win32/build/
H A Dconfutils.js1568 var min = new Array(l);
1595 min[j] = header[j].length;

Completed in 90 milliseconds

12