Searched defs:min (Results 1 - 20 of 20) sorted by relevance

/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:__anon124
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/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/zip/lib/
H A Dzip_open.c313 zip_uint64_t min, max, j; local
318 min = cd->entry[0].orig->offset;
321 min = max = 0;
324 if (cd->entry[i].orig->offset < min)
325 min = cd->entry[i].orig->offset;
326 if (min > (zip_uint64_t)cd->offset) {
361 return (max-min) < ZIP_INT64_MAX ? (zip_int64_t)(max-min) : ZIP_INT64_MAX;
/PHP_TRUNK/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h60 #ifndef min
61 #define min(a,b) ((a)<(b)?(a):(b)) macro
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c1859 #define SQLITE_CONFIG_HEAP 8 /* void*, int nByte, int min */
2456 ** ^If M is the size of the prior allocation, then min(N,M) bytes
10827 #define SQLITE_FUNC_MINMAX 0x1000 /* True for min() and max() aggregates */
11751 #define WHERE_ORDERBY_MIN 0x0001 /* ORDER BY processing for min() func */
11816 #define NC_MinMaxAgg 0x1000 /* min/max aggregates seen. See note above */
11876 #define SF_MinMaxAgg 0x1000 /* Aggregate containing min() or max() */
14835 ** min minimum allowed value of the integer
14847 int min; local
14855 min = va_arg(ap, int);
14867 if( val<min || va
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dparse_date.c193 { "min", TIMELIB_MINUTE, 1 },
24961 timelib_sll min; local
24964 min = timelib_get_nr_ex((char **) &ptr, 2, &length);
24965 if (min == TIMELIB_UNSET || length != 2) {
24968 s->time->i = min;
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/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.c969 /* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
971 PHP_FUNCTION(min)
982 /* mixed min ( array $values ) */
998 /* mixed min ( mixed $value1 , mixed $value2 [, mixed $value3... ] ) */
999 zval *min, result; local
1002 min = &args[0];
1005 is_smaller_function(&result, &args[i], min);
1007 min = &args[i];
1011 RETVAL_ZVAL_FAST(min);
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h51 #if defined(min)
52 #undef min macro
/PHP_TRUNK/ext/pcre/pcrelib/
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;
5769 /* Else insert an UPTO if the max is greater than the min, again
H A Dpcre_exec.c54 #undef min macro
592 #define min frame->Xmin macro
648 int min;
2745 min = rep_min[c]; /* Pick up values from tables; */
2753 min = GET2(ecode, 1);
2777 if (length < 0 && min == 0) continue;
2783 for (i = 1; i <= min; i++)
2795 /* If min = max, continue at the same level without recursion.
2798 if (min == max) continue;
2804 for (fi = min;; f
6258 #undef min macro
[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;
2611 static void read_char_range(compiler_common *common, pcre_uint32 min, pcre_uint32 max, BOOL update_str_ptr) argument
2614 between min an
4735 sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; local
6040 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_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;
1417 int min; local
1504 switch(min = find_minlength(re, code, code, re->options, 0))
1520 if (bits_set || min > 0 || (options & (
1570 if (min >
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.c83 ZEND_ARG_INFO(0, min)
92 ZEND_ARG_INFO(0, min)
1493 zend_long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0; local
1499 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|llllll", &hou, &min, &sec, &mon, &day, &yea) == FAILURE) {
1534 now->i = min;
1562 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
1570 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
/PHP_TRUNK/ext/gd/
H A Dgd.c4419 #define min(a, b) (a < b ? a : b) macro
4447 /* Find min & max values and compare them with current bounding box */
4448 str_bbox.llx = min(str_bbox.llx, min(x1, min(x2, min(x3, x4))));
4449 str_bbox.lly = min(str_bbox.lly, min(y1, min(y2, min(y
[all...]

Completed in 268 milliseconds