/php-src/Zend/ |
H A D | zend_ptr_stack.h | 24 int top, max; member 46 if (stack->top+count > stack->max) { \ in END_EXTERN_C() 49 stack->max += PTR_STACK_BLOCK_SIZE; \ in END_EXTERN_C() 50 } while (stack->top+count > stack->max); \ in END_EXTERN_C() 51 …stack->elements = (void **) safe_perealloc(stack->elements, sizeof(void *), (stack->max), 0, stack… in END_EXTERN_C()
|
H A D | zend_stack.c | 29 stack->max = 0; in zend_stack_init() 36 if (stack->top >= stack->max) { in zend_stack_push() 37 stack->max += STACK_BLOCK_SIZE; in zend_stack_push() 38 stack->elements = safe_erealloc(stack->elements, stack->size, stack->max, 0); in zend_stack_push() 158 stack->top = stack->max = 0; in zend_stack_clean()
|
H A D | zend_stack.h | 24 int size, top, max; member
|
/php-src/build/ |
H A D | libtool.m4 | 833 # the test eventually succeeds (with a max line length of 256k).
|
/php-src/ext/date/lib/ |
H A D | parse_date.re | 1993 /*!max:re2c */
|
H A D | parse_iso_intervals.re | 327 /*!max:re2c */
|
/php-src/ext/date/tests/ |
H A D | checkdate_basic1.phpt | 18 var_dump( checkdate(7, 2, 32767) ); // max year 25 var_dump( checkdate(7, 2, 32768) ); // >max year
|
H A D | format-negative-timestamp.phpt | 8 $max = getrandmax(); 9 $max_2 = $max / 2; 12 $new_tm = rand(1, $max);
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | bst.c | 209 lexbor_bst_entry_t *max = NULL; in lexbor_bst_search_close() local 219 max = scope; in lexbor_bst_search_close() 224 return max; in lexbor_bst_search_close() 252 lexbor_bst_entry_t *max = NULL; in lexbor_bst_remove_close() local 266 max = entry; in lexbor_bst_remove_close() 271 if (max != NULL) { in lexbor_bst_remove_close() 273 *found_size = max->size; in lexbor_bst_remove_close() 276 return lexbor_bst_remove_by_pointer(bst, max, scope); in lexbor_bst_remove_close()
|
/php-src/ext/dom/tests/ |
H A D | DOMXPath_quote.phpt | 38 $bytesUntilQuote = \max($bytesUntilSingleQuote, $bytesUntilDoubleQuote);
|
/php-src/ext/exif/ |
H A D | exif.c | 59 #ifndef max 60 # define max(a,b) ((a)>(b) ? (a) : (b)) macro 2800 value_ptr = safe_emalloc(max(byte_count, 4), 1, 0); in exif_ifd_make_value()
|
/php-src/ext/ffi/ |
H A D | ffi.c | 5942 if ((*min != 0 || *max != 0) 5950 if ((uint64_t)*max > 0x7FFFFFFFFFFFFFFFULL) { 5959 if ((uint64_t)*max > 0x7FFFFFFFFFFFFFFFULL) { 5983 *max = MAX(*max, value); 5985 && *min >= -0x7FLL-1 && *max <= 0x7FLL) { 5988 && *min >= -0x7FFFLL-1 && *max <= 0x7FFFLL) { 5990 } else if (*min >= -0x7FFFFFFFLL-1 && *max <= 0x7FFFFFFFLL) { 5997 *max = MAX((uint64_t)*max, (uint64_t)value); 5999 && (uint64_t)*max <= 0xFFULL) { 6002 && (uint64_t)*max <= 0xFFFFULL) { [all …]
|
H A D | ffi.g | 317 {int64_t min = 0, max = 0, last = -1;} 318 enumerator(enum_dcl, &min, &max, &last) 320 enumerator(enum_dcl, &min, &max, &last) 325 enumerator(zend_ffi_dcl *enum_dcl, int64_t *min, int64_t *max, int64_t *last): 333 {zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last);}
|
H A D | ffi_parser.c | 269 static int parse_enumerator(int sym, zend_ffi_dcl *enum_dcl, int64_t *min, int64_t *max, int64_t *l… 2514 int64_t min = 0, max = 0, last = -1; in parse_enumerator_list() local 2515 sym = parse_enumerator(sym, enum_dcl, &min, &max, &last); in parse_enumerator_list() 2549 sym = parse_enumerator(sym, enum_dcl, &min, &max, &last); in parse_enumerator_list() 2557 static int parse_enumerator(int sym, zend_ffi_dcl *enum_dcl, int64_t *min, int64_t *max, int64_t *l… in parse_enumerator() argument 2566 zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last); in parse_enumerator()
|
H A D | php_ffi.h | 219 …, const char *name, size_t name_len, zend_ffi_val *val, int64_t *min, int64_t *max, int64_t *last);
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 287 size_t incr = mset[i].max + ALLOC_INCR; 1468 #define MAXDESC 64 /* max len of text description/MIME type */
|
/php-src/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 101 uint32_t max; member 1232 if (mset[i].me == NULL || mset[i].count == mset[i].max) { in addentry() 1235 size_t incr = mset[i].max + ALLOC_INCR; in addentry() 1245 mset[i].max = CAST(uint32_t, incr); in addentry() 1246 assert(mset[i].max == incr); in addentry()
|
/php-src/ext/fileinfo/tests/ |
H A D | magic | 8519 >8 byte 2 \b, max compression 8520 >8 byte 4 \b, max speed 30626 !:mime model/x-autodesk-max 30628 !:ext max 30630 #!:ext max/chr 31753 >>>13 byte >1 \b, max fanout %d 31759 >>>10 byte >1 \b, max fanout %d 31765 >>>13 byte >1 \b, max fanout %d 31771 >>>10 byte >1 \b, max fanout %d 37919 # int32_t block_max; /* 24: 1000 == max. # of blocks */ [all …]
|
H A D | magic私はガラスを食べられます | 8519 >8 byte 2 \b, max compression 8520 >8 byte 4 \b, max speed 30626 !:mime model/x-autodesk-max 30628 !:ext max 30630 #!:ext max/chr 31753 >>>13 byte >1 \b, max fanout %d 31759 >>>10 byte >1 \b, max fanout %d 31765 >>>13 byte >1 \b, max fanout %d 31771 >>>10 byte >1 \b, max fanout %d 37919 # int32_t block_max; /* 24: 1000 == max. # of blocks */ [all …]
|
/php-src/ext/filter/tests/ |
H A D | 046.phpt | 7 $max = sprintf("%d", PHP_INT_MAX); 8 switch($max) { 32 test_validation($max, "max"); 38 max filtered: int(%d) 39 max is_long: bool(true) 40 max equal: bool(true)
|
H A D | bug77221.phpt | 36 list($min, $max) = $range; 39 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_GLOBAL_RANGE));
|
H A D | filter_ipv4_rfc6890.phpt | 23 list($min, $max) = $range; 26 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE)); 77 list($min, $max) = $range; 80 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE));
|
/php-src/ext/gd/libgd/ |
H A D | gd.c | 138 static int gdAlphaOverlayColor(int src, int dst, int max); 2973 static int gdAlphaOverlayColor (int src, int dst, int max ) in gdAlphaOverlayColor() argument 2985 if( dst > max ) { in gdAlphaOverlayColor() 2987 return dst + (src << 1) - (dst * src / max) - max; in gdAlphaOverlayColor() 2990 return dst * src / max; in gdAlphaOverlayColor()
|
H A D | gd_interpolation.c | 2410 gdPointF extent[4], min, max, point; in gdTransformAffineBoundingBox() local 2429 max=extent[0]; in gdTransformAffineBoundingBox() 2436 if (max.x < extent[i].x) in gdTransformAffineBoundingBox() 2437 max.x=extent[i].x; in gdTransformAffineBoundingBox() 2438 if (max.y < extent[i].y) in gdTransformAffineBoundingBox() 2439 max.y=extent[i].y; in gdTransformAffineBoundingBox() 2443 bbox->width = (int) floor(max.x - min.x) - 1; in gdTransformAffineBoundingBox() 2444 bbox->height = (int) floor(max.y - min.y); in gdTransformAffineBoundingBox()
|
/php-src/ext/gd/tests/ |
H A D | crafted_gd2.phpt | 2 Test max colors for a gd image.
|