Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 161) sorted by relevance

1234567

/PHP-5.3/ext/zip/lib/
H A Dzip_source_open.c41 zip_source_open(struct zip_source *src) in zip_source_open() argument
45 if (src->is_open) { in zip_source_open()
46 src->error_source = ZIP_LES_INVAL; in zip_source_open()
50 if (src->src == NULL) { in zip_source_open()
51 if (src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_OPEN) < 0) in zip_source_open()
55 if (zip_source_open(src->src) < 0) { in zip_source_open()
60 ret = src->cb.l(src->src, src->ud, NULL, 0, ZIP_SOURCE_OPEN); in zip_source_open()
63 (void)zip_source_close(src->src); in zip_source_open()
66 src->error_source = ZIP_LES_LOWER; in zip_source_open()
68 src->error_source = ZIP_LES_UPPER; in zip_source_open()
[all …]
H A Dzip_source_free.c43 zip_source_free(struct zip_source *src) in zip_source_free() argument
45 if (src == NULL) in zip_source_free()
48 if (src->is_open) in zip_source_free()
49 zip_source_close(src); in zip_source_free()
51 if (src->src == NULL) in zip_source_free()
52 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_FREE); in zip_source_free()
54 (void)src->cb.l(src->src, src->ud, NULL, 0, ZIP_SOURCE_FREE); in zip_source_free()
55 zip_source_free(src->src); in zip_source_free()
58 free(src); in zip_source_free()
H A Dzip_source_stat.c41 zip_source_stat(struct zip_source *src, struct zip_stat *st) in zip_source_stat() argument
46 src->error_source = ZIP_LES_INVAL; in zip_source_stat()
50 if (src->src == NULL) { in zip_source_stat()
51 if (src->cb.f(src->ud, st, sizeof(*st), ZIP_SOURCE_STAT) < 0) in zip_source_stat()
56 if (zip_source_stat(src->src, st) < 0) { in zip_source_stat()
57 src->error_source = ZIP_LES_LOWER; in zip_source_stat()
61 ret = src->cb.l(src->src, src->ud, st, sizeof(*st), ZIP_SOURCE_STAT); in zip_source_stat()
65 src->error_source = ZIP_LES_LOWER; in zip_source_stat()
67 src->error_source = ZIP_LES_UPPER; in zip_source_stat()
H A Dzip_source_close.c41 zip_source_close(struct zip_source *src) in zip_source_close() argument
43 if (!src->is_open) in zip_source_close()
46 if (src->src == NULL) in zip_source_close()
47 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_CLOSE); in zip_source_close()
49 (void)src->cb.l(src->src, src->ud, NULL, 0, ZIP_SOURCE_CLOSE); in zip_source_close()
50 zip_source_close(src->src); in zip_source_close()
53 src->is_open = 0; in zip_source_close()
H A Dzip_source_pop.c43 zip_source_pop(struct zip_source *src) in zip_source_pop() argument
47 if (src == NULL) in zip_source_pop()
50 lower = src->src; in zip_source_pop()
53 zip_source_free(src); in zip_source_pop()
55 if (src->is_open) in zip_source_pop()
56 (void)src->cb.l(src, src->ud, NULL, 0, ZIP_SOURCE_CLOSE); in zip_source_pop()
57 (void)src->cb.l(src, src->ud, NULL, 0, ZIP_SOURCE_FREE); in zip_source_pop()
59 free(src); in zip_source_pop()
H A Dzip_source_error.c41 zip_source_error(struct zip_source *src, int *ze, int *se) in zip_source_error() argument
45 if (src->src == NULL) { in zip_source_error()
48 switch (src->error_source) { in zip_source_error()
50 if (src->src == NULL) { in zip_source_error()
51 if (src->cb.f(src->ud, e, sizeof(e), ZIP_SOURCE_ERROR) < 0) { in zip_source_error()
66 zip_source_error(src->src, ze, se); in zip_source_error()
70 if (src->cb.l(src->src, src->ud, e, sizeof(e), in zip_source_error()
H A Dzip_source_read.c41 zip_source_read(struct zip_source *src, void *data, zip_uint64_t len) in zip_source_read() argument
45 if (!src->is_open || len > ZIP_INT64_MAX || (len > 0 && data == NULL)) { in zip_source_read()
46 src->error_source = ZIP_LES_INVAL; in zip_source_read()
50 if (src->src == NULL) in zip_source_read()
51 return src->cb.f(src->ud, data, len, ZIP_SOURCE_READ); in zip_source_read()
53 ret = src->cb.l(src->src, src->ud, data, len, ZIP_SOURCE_READ); in zip_source_read()
57 src->error_source = ZIP_LES_LOWER; in zip_source_read()
59 src->error_source = ZIP_LES_UPPER; in zip_source_read()
H A Dzip_source_function.c64 struct zip_source *src; in _zip_source_new() local
66 if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) { in _zip_source_new()
71 src->src = NULL; in _zip_source_new()
72 src->cb.f = NULL; in _zip_source_new()
73 src->ud = NULL; in _zip_source_new()
74 src->error_source = ZIP_LES_NONE; in _zip_source_new()
75 src->is_open = 0; in _zip_source_new()
77 return src; in _zip_source_new()
H A Dzip_fopen_index_encrypted.c53 struct zip_source *src, *s2; in zip_fopen_index_encrypted() local
118 zip_source_free(src); in zip_fopen_index_encrypted()
122 src = s2; in zip_fopen_index_encrypted()
127 zip_source_free(src); in zip_fopen_index_encrypted()
131 src = s2; in zip_fopen_index_encrypted()
136 zip_source_free(src); in zip_fopen_index_encrypted()
140 src = s2; in zip_fopen_index_encrypted()
144 if (zip_source_open(src) < 0) { in zip_fopen_index_encrypted()
146 zip_source_free(src); in zip_fopen_index_encrypted()
152 zf->src = src; in zip_fopen_index_encrypted()
[all …]
/PHP-5.3/ext/gd/libgd/
H A Dgd_rotate.c64 r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); in gdImageSkewX()
65 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewX()
66 b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); in gdImageSkewX()
67 a = gdImageAlpha(src,pxlSrc) - (gdImageAlpha(src,pxlLeft) - gdImageAlpha(src,pxlOldLeft)); in gdImageSkewX()
155 r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); in gdImageSkewY()
157 b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); in gdImageSkewY()
218 dst = gdImageCreateTrueColor(src->sy, src->sx); in gdImageRotate90()
265 dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotate180()
362 newx = (int)(src->sx + src->sy * fabs(dTan)); in gdImageRotate45()
384 gdImageCopy (dst1, src,0,0,0,0,src->sx,src->sy); in gdImageRotate45()
[all …]
H A Dgd_filter.c24 if (src==NULL) { in gdImageNegate()
32 pxl = f (src, x, y); in gdImageNegate()
58 if (src==NULL) { in gdImageGrayScale()
138 if (src==NULL) { in gdImageContrast()
194 if (src == NULL) { in gdImageColor()
239 if (src==NULL) { in gdImageConvolution()
244 srcback = gdImageCreateTrueColor (src->sx, src->sy); in gdImageConvolution()
253 gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); in gdImageConvolution()
305 if (src==NULL) { in gdImageSelectiveBlur()
310 srcback = gdImageCreateTrueColor (src->sx, src->sy); in gdImageSelectiveBlur()
[all …]
H A Dgd_compat.h21 int gdImageNegate(gdImagePtr src);
24 int gdImageGrayScale(gdImagePtr src);
27 int gdImageBrightness(gdImagePtr src, int brightness);
30 int gdImageContrast(gdImagePtr src, double contrast);
33 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
37 int gdImageConvolution(gdImagePtr src, float ft[3][3], float filter_div, float offset);
38 int gdImageEdgeDetectQuick(gdImagePtr src);
40 int gdImageSelectiveBlur( gdImagePtr src);
61 gdImagePtr gdImageRotate (gdImagePtr src, double dAngle, int clrBack, int ignoretransparent);
H A Dgd_jpeg.c532 my_src_ptr src = (my_src_ptr) cinfo->src; in init_source() local
538 src->start_of_file = TRUE; in init_source()
579 my_src_ptr src = (my_src_ptr) cinfo->src; in fill_input_buffer() local
588 int got = gdGetBuf(src->buffer + nbytes, INPUT_BUF_SIZE - nbytes, src->infile); in fill_input_buffer()
611 src->pub.next_input_byte = src->buffer; in fill_input_buffer()
633 my_src_ptr src = (my_src_ptr) cinfo->src; in skip_input_data() local
674 my_src_ptr src = (my_src_ptr) cinfo->src; in term_source()
687 my_src_ptr src; in jpeg_gdIOCtx_src() local
699 src = (my_src_ptr) cinfo->src; in jpeg_gdIOCtx_src()
704 src = (my_src_ptr) cinfo->src; in jpeg_gdIOCtx_src()
[all …]
/PHP-5.3/ext/bcmath/
H A Dconfig.m410src/add.c libbcmath/src/div.c libbcmath/src/init.c libbcmath/src/neg.c libbcmath/src/outofmem.c li…
11 libbcmath/src/compare.c libbcmath/src/divmod.c libbcmath/src/int2num.c libbcmath/src/num2long.c lib…
12 …cmath/src/sqrt.c libbcmath/src/zero.c libbcmath/src/debug.c libbcmath/src/doaddsub.c libbcmath/src
13 libbcmath/src/rmzero.c libbcmath/src/str2num.c,
14 $ext_shared,,-I@ext_srcdir@/libbcmath/src)
15 PHP_ADD_BUILD_DIR($ext_builddir/libbcmath/src)
/PHP-5.3/ext/sqlite/
H A Dconfig.m494 libsqlite/src/parse.c libsqlite/src/encode.c \
95 libsqlite/src/auth.c libsqlite/src/btree.c libsqlite/src/build.c \
96 libsqlite/src/delete.c libsqlite/src/expr.c libsqlite/src/func.c \
97 libsqlite/src/hash.c libsqlite/src/insert.c libsqlite/src/main.c \
98 libsqlite/src/os.c libsqlite/src/pager.c \
100 libsqlite/src/select.c libsqlite/src/table.c libsqlite/src/tokenize.c \
101 libsqlite/src/update.c libsqlite/src/util.c libsqlite/src/vdbe.c \
102 libsqlite/src/attach.c libsqlite/src/btree_rb.c libsqlite/src/pragma.c \
103 libsqlite/src/vacuum.c libsqlite/src/copy.c \
104 libsqlite/src/vdbeaux.c libsqlite/src/date.c \
[all …]
H A Dsqlite.dsp103 SOURCE=.\libsqlite\src\auth.c
127 SOURCE=.\libsqlite\src\copy.c
131 SOURCE=.\libsqlite\src\date.c
143 SOURCE=.\libsqlite\src\expr.c
175 SOURCE=.\libsqlite\src\os.c
179 SOURCE=.\libsqlite\src\os.h
224 InputDir=.\libsqlite\src
235 InputDir=.\libsqlite\src
253 InputDir=.\libsqlite\src
264 InputDir=.\libsqlite\src
[all …]
/PHP-5.3/ext/gd/tests/
H A Dbug38179.phpt9 $src = imagecreate(5,5);
10 $c0 = imagecolorallocate($src, 255,255,255);
11 $c1 = imagecolorallocatealpha($src, 255,0,0,70);
13 imagealphablending($src, 0);
14 imagefill($src, 0,0, $c1);
19 imagecopy($dst_tc, $src, 0,0, 0,0, imagesx($src), imagesy($src));
24 imagedestroy($src); imagedestroy($dst_tc);
/PHP-5.3/ext/standard/tests/file/
H A Dstream_copy_to_stream.phpt10 $src = fopen($initial_file, 'r');
15 fclose($src); fclose($dest);
22 $src = fopen($initial_file, 'r');
27 fclose($src); fclose($dest);
37 $src = fopen($initial_file, 'r');
42 fclose($src); fclose($dest);
53 $src = fopen($initial_file, 'r');
57 fclose($src); fclose($dest);
72 fclose($src); fclose($dest);
88 fclose($src); fclose($dest);
[all …]
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_str.h8 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ in str_purify_filename() argument
15 for (; d < end && *src; ++d, ++src) { in str_purify_filename()
16 if (* (unsigned char *) src < ' ' || * (unsigned char *) src > '\x7f') { in str_purify_filename()
19 *d = *src; in str_purify_filename()
/PHP-5.3/ext/standard/
H A Dphp_smart_str.h77 smart_str_appendl_ex((dest), (src), strlen(src), (what))
78 #define smart_str_appends(dest, src) \ argument
79 smart_str_appendl((dest), (src), strlen(src))
85 #define smart_str_appendl(dest, src, len) \ argument
86 smart_str_appendl_ex((dest), (src), (len), 0)
87 #define smart_str_append(dest, src) \ argument
88 smart_str_append_ex((dest), (src), 0)
183 ((smart_str *)(src))->len, (what));
189 (dest)->c = (char *) (src); \
192 #define smart_str_sets(dest, src) \ argument
[all …]
H A Duuencode.c68 PHPAPI int php_uuencode(char *src, int src_len, char **dest) /* {{{ */ in php_uuencode() argument
75 s = src; in php_uuencode()
76 e = src + src_len; in php_uuencode()
127 PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */ in php_uudecode() argument
133 s = src; in php_uudecode()
134 e = src + src_len; in php_uudecode()
195 char *src, *dst; in PHP_FUNCTION() local
198 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &src, &src_len) == FAILURE || src_len < … in PHP_FUNCTION()
202 dst_len = php_uuencode(src, src_len, &dst); in PHP_FUNCTION()
212 char *src, *dst; in PHP_FUNCTION() local
[all …]
/PHP-5.3/ext/bcmath/libbcmath/
H A Dinstall-sh41 src=""
82 *) if [ x"$src" = x ]
84 src=$1
95 if [ x"$src" = x ]
104 dst=$src
105 src=""
118 if [ -f $src -o -d $src ]
122 echo "install: $src does not exist"
139 dst="$dst"/`basename $src`
215 $doit $instcmd $src $dsttmp &&
/PHP-5.3/ext/session/tests/
H A D021.phpt10 url_rewriter.tags="a=href,area=href,frame=src,input=src,form=,fieldset="
28 ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=");
37 ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=fakeentry");
46 ini_set("url_rewriter.tags", "a=href,fieldset=,area=href,frame=src,input=src");
/PHP-5.3/ext/filter/tests/
H A D049.phpt18 foreach ($test as $src => $dst) {
19 $out = filter_var($src, FILTER_VALIDATE_FLOAT, array("flags"=>FILTER_FLAG_ALLOW_THOUSAND));
22 echo "$src -> false != $dst\n";
24 echo "$src -> $out != false\n";
26 echo "$src -> $out != $dst\n";
H A D050.phpt13 foreach ($test as $src => $dst) {
14 $out = filter_var($src, FILTER_VALIDATE_FLOAT);
17 echo "$src -> false != $dst\n";
19 echo "$src -> $out != false\n";
21 echo "$src -> $out != $dst\n";

Completed in 32 milliseconds

1234567