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

/PHP_5_6/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 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 Darray.c940 /* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
942 PHP_FUNCTION(min)
953 /* mixed min ( array $values ) */
969 /* mixed min ( mixed $value1 , mixed $value2 [, mixed $value3... ] ) */
970 zval **min, result; local
973 min = args[0];
976 is_smaller_function(&result, *args[i], *min TSRMLS_CC);
978 min = args[i];
982 RETVAL_ZVAL_FAST(*min);
/PHP_5_6/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_5_6/ext/date/lib/
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;
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;
/PHP_5_6/ext/pcre/pcrelib/
H A Dpcre_exec.c56 #undef min macro
594 #define min frame->Xmin macro
650 int min;
2730 min = rep_min[c]; /* Pick up values from tables; */
2738 min = GET2(ecode, 1);
2762 if (length < 0 && min == 0) continue;
2768 for (i = 1; i <= min; i++)
2780 /* If min = max, continue at the same level without recursion.
2783 if (min == max) continue;
2789 for (fi = min;; f
6272 #undef min macro
[all...]
H A Dpcre_study.c100 int d, min; local
445 min = 0;
452 min = 1;
459 min = GET2(cc, 1);
464 min = 1;
468 branchlength += min * d;
1378 int min; local
1465 switch(min = find_minlength(re, code, code, re->options, 0))
1481 if (bits_set || min > 0 || (options & (
1531 if (min >
[all...]
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...]
/PHP_5_6/ext/oci8/
H A Dphp_oci8_int.h51 #if defined(min)
52 #undef min macro
/PHP_5_6/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_5_6/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_5_6/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_6/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h60 #ifndef min
61 #define min(a,b) ((a)<(b)?(a):(b)) macro
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c1846 #define SQLITE_CONFIG_HEAP 8 /* void*, int nByte, int min */
2445 ** ^If M is the size of the prior allocation, then min(N,M) bytes
11471 #define WHERE_ORDERBY_MIN 0x0001 /* ORDER BY processing for min() func */
14482 ** min minimum allowed value of the integer
14494 int min; local
14502 min = va_arg(ap, int);
14514 if( val<min || val>max || (nextC!=0 && nextC!=*zDate) ){
[all...]
/PHP_5_6/ext/date/
H A Dphp_date.c83 ZEND_ARG_INFO(0, min)
92 ZEND_ARG_INFO(0, min)
1504 long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; local
1510 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lllllll", &hou, &min, &sec, &mon, &day, &yea, &dst) == FAILURE) {
1545 now->i = min;
1593 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
1601 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
/PHP_5_6/ext/gd/
H A Dgd.c4292 #define min(a, b) (a < b ? a : b) macro
4320 /* Find min & max values and compare them with current bounding box */
4321 str_bbox.llx = min(str_bbox.llx, min(x1, min(x2, min(x3, x4))));
4322 str_bbox.lly = min(str_bbox.lly, min(y1, min(y2, min(y
[all...]

Completed in 214 milliseconds