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/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/pdo_firebird/
H A Dphp_pdo_firebird_int.h60 #ifndef min
61 #define min(a,b) ((a)<(b)?(a):(b)) macro
H A Dfirebird_statement.c479 min(ZSTR_LEN(param->name), var->aliasname_length)))
481 min(ZSTR_LEN(param->name), var->sqlname_length)))) {
/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/standard/
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 zend_long min; local
296 if (argc != 0 && zend_parse_parameters(argc, "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, "ll", &min, &max) == FAILURE) {
320 } else if (max < min) {
321 php_error_docref(NULL, E_WARNING, "max(" ZEND_LONG_FMT ") is smaller than min(" ZEND_LONG_FMT ")", max, min);
[all...]
H A Darray.c982 /* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
984 PHP_FUNCTION(min)
995 /* mixed min ( array $values ) */
1012 /* mixed min ( mixed $value1 , mixed $value2 [, mixed $value3... ] ) */
1013 zval *min, result; local
1016 min = &args[0];
1019 is_smaller_function(&result, &args[i], min);
1021 min = &args[i];
1025 ZVAL_DEREF(min);
1026 ZVAL_COPY(return_value, min);
[all...]
H A Drandom.c152 /* {{{ proto int random_int(int min, int max)
156 zend_long min; local
161 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &min, &max) == FAILURE) {
165 if (min >= max) {
170 umax = max - min;
197 RETURN_LONG((zend_long)((result % umax) + min));
H A Dbasic_functions.c1895 ZEND_ARG_INFO(0, min)
1900 ZEND_ARG_INFO(0, min)
1916 ZEND_ARG_INFO(0, min)
3285 PHP_FE(min, arginfo_min)
/PHP_TRUNK/ext/pcre/pcrelib/
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_exec.c54 #undef min macro
592 #define min frame->Xmin macro
648 int min;
2752 min = rep_min[c]; /* Pick up values from tables; */
2760 min = GET2(ecode, 1);
2784 if (length < 0 && min == 0) continue;
2790 for (i = 1; i <= min; i++)
2802 /* If min = max, continue at the same level without recursion.
2805 if (min == max) continue;
2811 for (fi = min;; f
6270 #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.c99 int d, min; local
470 min = 0;
477 min = 1;
484 min = GET2(cc, 1);
489 min = 1;
493 branchlength += min * d;
1453 int min; local
1540 switch(min = find_minlength(re, code, code, re->options, NULL))
1556 if (bits_set || min > 0 || (options & (
1606 if (min >
[all...]
H A Dpcre_compile.c1576 minp pointer to int for min
1588 int min = 0; local
1593 min = min * 10 + (int)(*p++ - CHAR_0);
1594 if (min > 65535)
1601 if (*p == CHAR_RIGHT_CURLY_BRACKET) max = min; else
1615 if (max < min)
1623 *minp = min;
5829 /* Else insert an UPTO if the max is greater than the min, again
/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:__anon14
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/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.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;
/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c418 zip_uint64_t min, max, j; local
424 min = cd->entry[0].orig->offset;
427 min = max = 0;
430 if (cd->entry[i].orig->offset < min)
431 min = cd->entry[i].orig->offset;
432 if (min > (zip_uint64_t)cd->offset) {
469 return (max-min) < ZIP_INT64_MAX ? (zip_int64_t)(max-min) : ZIP_INT64_MAX;
/PHP_TRUNK/win32/build/
H A Dconfutils.js1593 var min = new Array(l);
1620 min[j] = header[j].length;
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h51 #if defined(min)
52 #undef min macro
/PHP_TRUNK/ext/date/
H A Dphp_date.c83 ZEND_ARG_INFO(0, min)
92 ZEND_ARG_INFO(0, min)
1497 zend_long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0; local
1503 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|llllll", &hou, &min, &sec, &mon, &day, &yea) == FAILURE) {
1538 now->i = min;
1566 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
1574 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
/PHP_TRUNK/ext/gmp/
H A Dgmp.c116 ZEND_ARG_INFO(0, min)
1834 /* {{{ proto GMP gmp_random_range(mixed min, mixed max)
1835 Gets a random number in the range min to max */

Completed in 131 milliseconds

12