| /PHP_5_4/ext/zip/lib/ |
| H A D | zip_source_pkware.c | 8 Redistribution and use in source and binary forms, with or without 13 2. Redistributions in binary form must reproduce the above copyright 14 notice, this list of conditions and the following disclaimer in 113 decrypt(struct trad_pkware *ctx, zip_uint8_t *out, const zip_uint8_t *in, 121 b = in[i]; 109 decrypt(struct trad_pkware *ctx, zip_uint8_t *out, const zip_uint8_t *in, zip_uint64_t len, int update_only) argument
|
| /PHP_5_4/ext/gd/libgd/ |
| H A D | gd2copypal.c | 7 your convenience in creating images on the fly from a 16 FILE *in, *out; local 22 in = fopen (argv[1], "rb"); 23 if (!in) 28 pal = gdImageCreateFromGd2 (in); 29 fclose (in); 32 fprintf (stderr, "Palette is not in GD2 format!\n"); 36 in = fopen (argv[2], "rb"); 37 if (!in) 42 im = gdImageCreateFromGd2 (in); [all...] |
| H A D | gd2time.c | 8 your convenience in creating images on the fly from a 16 FILE *in; local 39 in = fopen (argv[1], "rb"); 40 if (!in) 46 im = gdImageCreateFromGd2Part (in, x, y, w, h); 47 fclose (in);
|
| H A D | gd2topng.c | 6 your convenience in creating images on the fly from a 14 FILE *in, *out; local 20 in = fopen (argv[1], "rb"); 21 if (!in) 26 im = gdImageCreateFromGd2 (in); 27 fclose (in); 30 fprintf (stderr, "Input is not in GD2 format!\n");
|
| H A D | gd_gd.c | 22 int _gdGetColors (gdIOCtx * in, gdImagePtr im, int gd2xFlag) argument 27 if (!gdGetByte(&trueColorFlag, in)) { 31 * Beginning in 2.0.12 truecolor is indicated by the initial 2-byte 39 if (!gdGetWord(&im->colorsTotal, in)) { 47 if (!gdGetInt(&im->transparent, in)) { 51 if (!gdGetByte(&im->colorsTotal, in)) { 54 if (!gdGetWord(&im->transparent, in)) { 69 if (!gdGetByte(&im->red[i], in)) { 72 if (!gdGetByte(&im->green[i], in)) { 75 if (!gdGetByte(&im->blue[i], in)) { 97 _gdCreateFromFile(gdIOCtx * in, int *sx, int *sy) argument 145 gdIOCtx *in; local 158 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); local 165 gdImageCreateFromGdCtx(gdIOCtxPtr in) argument [all...] |
| H A D | gd_jpeg.c | 5 * This software is based in part on the work of the Independent JPEG 10 * supported at all on read in gd 2.0, and is not supported on write 31 /* TBB: move this up so include files are not brought in */ 32 /* JCE: arrange HAVE_LIBJPEG so that it can be set in gd.h */ 133 * QUALITY. If QUALITY is in the range 0-100, increasing values 275 gdIOCtx *in = gdNewFileCtx(inFile); local 276 im = gdImageCreateFromJpegCtx(in, ignore_warning); 277 in->gd_free (in); 285 gdIOCtx *in local [all...] |
| H A D | gd_png.c | 7 /* JCE: Arrange HAVE_LIBPNG so that it can be set in gd.h */ 20 The routines in this file, gdImagePng*() and gdImageCreateFromPng*(), 21 are drop-in replacements for gdImageGif*() and gdImageCreateFromGif*(), 22 except that these functions are noisier in the case of errors (comment 96 gdIOCtx *in = gdNewFileCtx(inFile); local 97 im = gdImageCreateFromPngCtx(in); 98 in->gd_free(in); 106 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); local 107 im = gdImageCreateFromPngCtx(in); [all...] |
| H A D | gd_ss.c | 29 gdIOCtx *in = gdNewSSCtx(inSource, NULL); local 32 im = gdImageCreateFromPngCtx(in); 34 in->gd_free(in);
|
| H A D | gd_wbmp.c | 3 Specification of the WBMP format can be found in the file: 29 ** that the above copyright notice appear in all copies and that both that 30 ** copyright notice and this permission notice appear in supporting 40 ** that the above copyright notice appear in all copies and that both that 41 ** copyright notice and this permission notice appear in supporting 79 int gd_getin (void *in) argument 81 return (gdGetC((gdIOCtx *) in)); 149 /* fill in image (in a wbmp 1 = white/ 0 = black) */ 172 gdIOCtx *in local 182 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); local [all...] |
| H A D | gd_webp.c | 30 gdIOCtx *in = gdNewFileCtx(inFile); local 31 im = gdImageCreateFromWebpCtx(in); 32 in->gd_free(in); 151 /* This routine is based in part on code from Dale Lutz (Safe Software Inc.) 152 * and in part on demo code from Chapter 15 of "PNG: The Definitive Guide"
|
| H A D | gddemo.c | 10 FILE *in; local 38 in = fopen ("demoin.png", "rb"); 39 if (!in) 48 im_in = gdImageCreateFromPng (in); 49 fclose (in); 106 /* Make output image interlaced (progressive, in the case of JPEG) */
|
| H A D | gdparttopng.c | 6 your convenience in creating images on the fly from a 14 FILE *in, *out; local 22 in = fopen (argv[1], "rb"); 23 if (!in) 36 im = gdImageCreateFromGd2Part (in, x, y, w, h); 37 fclose (in); 40 fprintf (stderr, "Input is not in GD2 format!\n");
|
| H A D | gdtest.c | 23 FILE *in, *out; local 38 in = fopen (argv[1], "rb"); 39 if (!in) 44 im = gdImageCreateFromPng (in); 46 rewind (in); 47 ref = gdImageCreateFromPng (in); 49 fclose (in); 64 in = fopen (of, "rb"); 65 if (!in) 70 im2 = gdImageCreateFromPng (in); [all...] |
| H A D | gdtopng.c | 5 your convenience in creating images on the fly from a 13 FILE *in, *out; local 19 in = fopen (argv[1], "rb"); 20 if (!in) 25 im = gdImageCreateFromGd (in); 26 fclose (in); 29 fprintf (stderr, "Input is not in GD format!\n");
|
| H A D | pngtogd.c | 6 your convenience in creating images on the fly from a 14 FILE *in, *out; local 20 in = fopen (argv[1], "rb"); 21 if (!in) 26 im = gdImageCreateFromPng (in); 27 fclose (in); 30 fprintf (stderr, "Input is not in PNG format!\n");
|
| H A D | pngtogd2.c | 7 your convenience in creating images on the fly from a 15 FILE *in, *out; local 25 in = fopen (argv[1], "rb"); 26 if (!in) 31 im = gdImageCreateFromPng (in); 32 fclose (in); 35 fprintf (stderr, "Input is not in PNG format!\n");
|
| H A D | testac.c | 20 FILE *in; local 35 information. We will use it in two ways: preserving it 40 in = fopen (argv[1], "rb"); 41 if (!in) 48 im_in = gdImageCreateFromPng (in); 49 fclose (in); 86 with the background, resulting in an opaque image. 87 Without this call, pixels in the foreground color are 89 resulting in an output image which is potentially 98 /* Copy the source image. Alpha blending should result in [all...] |
| H A D | wbmp.c | 5 ** This implements the WBMP format as specified in WAPSpec 1.1 and 1.2. 6 ** It does not support ExtHeaders as defined in the spec. The spec states 32 ** 'getin' can be getc, with in = NULL 38 getmbi (int (*getin) (void *in), void *in) argument 44 i = getin (in); 57 ** Put a multibyte intgerer in some kind of output stream 90 skipheader (int (*getin) (void *in), void *in) argument 96 i = getin (in); 151 readwbmp(int (*getin) (void *in), void *in, Wbmp ** return_wbmp) argument 342 getin(void *in) argument [all...] |
| H A D | webpng.c | 1 /* Bring in the gd library functions */ 4 /* Bring in standard I/O and string manipulation functions */ 22 FILE *in; local 37 least one more (the image), more in practice. */ 48 in = stdin; 52 in = fopen (argv[argc - 1], "rb"); 54 if (!in) 61 im = gdImageCreateFromPng (in); 62 fclose (in); 70 /* Consider each argument in tur [all...] |
| /PHP_5_4/Zend/ |
| H A D | zend_language_scanner.h | 8 | that is bundled with this package in the file LICENSE, and is | 35 zend_file_handle *in; member in struct:_zend_lex_state
|
| H A D | zend_vm_gen.php | 9 | that is bundled with this package in the file LICENSE, and is | 30 | that is bundled with this package in the file LICENSE, and is | 264 $list = array(); // list of opcode handlers and helpers in original order 279 // Resets #line directives in resulting executor 554 // For each opcode in opcode number order 639 // For each opcode in opcode number order 714 // for each handlers in helpers in original order 742 // for each handlers in helpers in origina 1051 $in = @file($def); variable [all...] |
| /PHP_5_4/ext/dba/libcdb/ |
| H A D | uint32.c | 8 | that is bundled with this package in the file LICENSE, and is | 32 void uint32_pack(char *out, uint32 in) argument 34 out[0] = in&0xff; in>>=8; 35 out[1] = in&0xff; in>>=8; 36 out[2] = in&0xff; in>>=8; 37 out[3] = in&0xff; 42 void uint32_unpack(const char *in, uint3 argument [all...] |
| /PHP_5_4/ext/hash/ |
| H A D | php_hash.h | 8 | that is bundled with this package in the file LICENSE, and is | 135 static inline void php_hash_bin2hex(char *out, const unsigned char *in, int in_len) argument 141 out[i * 2] = hexits[in[i] >> 4]; 142 out[(i * 2) + 1] = hexits[in[i] & 0x0F];
|
| /PHP_5_4/ext/standard/ |
| H A D | exec.c | 8 | that is bundled with this package in the file LICENSE, and is | 416 Quote and escape an argument for use in a shell command */ 438 FILE *in; local 450 if ((in=VCWD_POPEN(command, "rt"))==NULL) { 452 if ((in=VCWD_POPEN(command, "r"))==NULL) { 458 stream = php_stream_fopen_from_pipe(in, "rb");
|
| /PHP_5_4/main/streams/ |
| H A D | filter.c | 8 | that is bundled with this package in the file LICENSE, and is | 87 /* all data in a persistent bucket must also be persistent */ 141 PHPAPI int php_stream_bucket_split(php_stream_bucket *in, php_stream_bucket **left, php_stream_bucket **right, size_t length TSRMLS_DC) argument 143 *left = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent); 144 *right = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent); 150 (*left)->buf = pemalloc(length, in->is_persistent); 152 memcpy((*left)->buf, in->buf, length); 155 (*left)->is_persistent = in->is_persistent; 157 (*right)->buflen = in->buflen - length; 158 (*right)->buf = pemalloc((*right)->buflen, in [all...] |