Searched defs:in (Results 1 - 25 of 48) sorted by relevance

12

/PHP_5_5/ext/zip/lib/
H A Dzip_source_pkware.c8 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_5/ext/gd/libgd/
H A Dgd2copypal.c7 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 Dgd2time.c8 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 Dgd2topng.c6 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 Dgd_gd.c22 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 Dgd_ss.c29 gdIOCtx *in = gdNewSSCtx(inSource, NULL); local
32 im = gdImageCreateFromPngCtx(in);
34 in->gd_free(in);
H A Dgd_wbmp.c3 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 Dgddemo.c10 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 Dgdparttopng.c6 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 Dgdtest.c23 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 Dgdtopng.c5 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 Dpngtogd.c6 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 Dpngtogd2.c7 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 Dtestac.c20 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 Dwbmp.c5 ** 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 Dwebpng.c1 /* 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...]
H A Dgd_png.c7 /* 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 Dgd_webp.c30 gdIOCtx *in = gdNewFileCtx(inFile); local
31 im = gdImageCreateFromWebpCtx(in);
32 in->gd_free(in);
162 /* This routine is based in part on code from Dale Lutz (Safe Software Inc.)
163 * and in part on demo code from Chapter 15 of "PNG: The Definitive Guide"
H A Dgd_jpeg.c5 * 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 */
137 * QUALITY. If QUALITY is in the range 0-100, increasing values
284 gdIOCtx *in = gdNewFileCtx(inFile); local
285 im = gdImageCreateFromJpegCtxEx(in, ignore_warning);
286 in->gd_free (in);
299 gdIOCtx *in local
[all...]
/PHP_5_5/ext/standard/
H A Dexec.c8 | 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_5/main/streams/
H A Dfilter.c8 | 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...]
/PHP_5_5/Zend/
H A Dzend_language_scanner.h8 | that is bundled with this package in the file LICENSE, and is |
36 zend_file_handle *in; member in struct:_zend_lex_state
/PHP_5_5/ext/date/lib/
H A Dparse_iso_intervals.c10 | that is bundled with this package in the file LICENSE, and is |
1012 Scanner in; local
1016 memset(&in, 0, sizeof(in));
1017 in.errors = malloc(sizeof(struct timelib_error_container));
1018 in.errors->warning_count = 0;
1019 in.errors->warning_messages = NULL;
1020 in.errors->error_count = 0;
1021 in.errors->error_messages = NULL;
1032 add_error(&in, "Empt
[all...]
/PHP_5_5/ext/dba/libcdb/
H A Duint32.c8 | 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_5/ext/hash/
H A Dphp_hash.h8 | that is bundled with this package in the file LICENSE, and is |
136 static inline void php_hash_bin2hex(char *out, const unsigned char *in, int in_len) argument
142 out[i * 2] = hexits[in[i] >> 4];
143 out[(i * 2) + 1] = hexits[in[i] & 0x0F];

Completed in 76 milliseconds

12