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

12

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dencode.c13 ** a null-terminated string (suitable for use in SQLite) and back again.
15 ** data in an SQLite database. The code in this file is not used by any other
40 ** If that were all the encoder did, it would work, but in certain cases
43 ** the 0x01 0x03 escape sequence resulting in a 200-character output.
48 ** byte in the sequence. The addition is modulo 256. (That is to say, if
51 ** the number of characters in the string that need to be escaped. For
52 ** example, in the case above where the string was composed of 100 0x27
57 ** we have to record the offset used as the first byte in the sequence so
81 ** the offset in ste
123 sqlite_encode_binary(const unsigned char *in, int n, unsigned char *out) argument
175 sqlite_decode_binary(const unsigned char *in, unsigned char *out) argument
201 unsigned char in[30000]; local
[all...]
/PHP_5_3/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_3/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_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 */
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 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_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...]
/PHP_5_3/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_3/ext/hash/
H A Dhash_salsa.c8 | that is bundled with this package in the file LICENSE, and is |
29 The 64-byte input x to Salsa10 is viewed in little-endian form as 16 integers
30 x0, x1, x2, ..., x15 in {0,1,...,2^32-1}. These 16 integers are fed through
41 respectively modulo 2^32, producing, in little-endian form, the 64-byte output
46 static void Salsa10(php_hash_uint32 x[16], php_hash_uint32 in[16]) argument
69 x[i] += in[i];
76 The 64-byte input x to Salsa20 is viewed in little-endian form as 16 words
77 x0, x1, x2, ..., x15 in {0,1,...,2^32-1}. These 16 words are fed through 320
80 modulo 2^32, producing, in little-endian form, the 64-byte output Salsa20(x).
93 static void Salsa20(php_hash_uint32 x[16], php_hash_uint32 in[1 argument
[all...]
H A Dphp_hash.h8 | that is bundled with this package in the file LICENSE, and is |
134 static inline void php_hash_bin2hex(char *out, const unsigned char *in, int in_len) argument
140 out[i * 2] = hexits[in[i] >> 4];
141 out[(i * 2) + 1] = hexits[in[i] & 0x0F];
/PHP_5_3/ext/standard/
H A Dexec.c8 | that is bundled with this package in the file LICENSE, and is |
79 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No '..' components allowed in path");
454 Quote and escape an argument for use in a shell command */
476 FILE *in; local
488 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot execute using backquotes in Safe Mode");
493 if ((in=VCWD_POPEN(command, "rt"))==NULL) {
495 if ((in=VCWD_POPEN(command, "r"))==NULL) {
501 stream = php_stream_fopen_from_pipe(in, "rb");
/PHP_5_3/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_3/Zend/
H A Dzend_language_scanner.h8 | that is bundled with this package in the file LICENSE, and is |
35 zend_file_handle *in; member in struct:_zend_lex_state

Completed in 89 milliseconds

12