/PHP-5.3/ext/gd/tests/ |
H A D | imagecopymerge_basic.phpt | 14 $src = imagecreate(100, 100); 19 imagecolorallocate($src, 255, 255, 255); 20 $colorTXT_src = imagecolorallocate($src, 0, 255, 255); 22 imagestring($src, 1, 5, 5, "A Simple Text", $colorTXT_src); 25 var_dump(imagecopymerge($des, $src, 20, 20, 0, 0, 50, 50, 75));
|
/PHP-5.3/main/ |
H A D | strlcpy.c | 66 PHPAPI size_t php_strlcpy(dst, src, siz) in php_strlcpy() argument 68 const char *src; 72 register const char *s = src; 91 return(s - src - 1); /* count does not include NUL */
|
H A D | strlcat.c | 67 PHPAPI size_t php_strlcat(dst, src, siz) in php_strlcat() argument 69 const char *src; 73 register const char *s = src; 94 return(dlen + (s - src)); /* count does not include NUL */
|
H A D | mergesort.c | 74 #define ICOPY_LIST(src, dst, last) \ argument 76 *(int*)dst = *(int*)src, src += ISIZE, dst += ISIZE; \ 77 while(src < last) 78 #define ICOPY_ELT(src, dst, i) \ argument 80 *(int*) dst = *(int*) src, src += ISIZE, dst += ISIZE; \ 83 #define CCOPY_LIST(src, dst, last) \ argument 85 *dst++ = *src++; \ 86 while (src < last) 87 #define CCOPY_ELT(src, dst, i) \ argument 89 *dst++ = *src++; \
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | bug38086.phpt | 10 $src = fopen($initial_file, 'r'); 11 stream_filter_append($src, "string.rot13", STREAM_FILTER_READ); 14 var_dump(stream_copy_to_stream($src, $dest)); 15 fclose($src); fclose($dest); 24 $src = fopen($initial_file, 'r'); 25 stream_filter_append($src, "string.rot13", STREAM_FILTER_READ); 28 var_dump(stream_copy_to_stream($src, $dest, 10000)); 29 fclose($src); fclose($dest);
|
/PHP-5.3/ext/intl/ |
H A D | intl_convert.c | 48 const char* src, int src_len, in intl_convert_utf8_to_utf16() argument 60 u_strFromUTF8( *target, *target_len, &dst_len, src, src_len, status ); in intl_convert_utf8_to_utf16() 82 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status ); in intl_convert_utf8_to_utf16() 112 const UChar* src, int src_len, in intl_convert_utf16_to_utf8() argument 120 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status ); in intl_convert_utf16_to_utf8() 134 u_strToUTF8( dst_buf, dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8()
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gd_io_ss.c | 35 gdSourcePtr src; member 41 gdIOCtx *gdNewSSCtx (gdSourcePtr src, gdSinkPtr snk); 50 gdIOCtx * gdNewSSCtx (gdSourcePtr src, gdSinkPtr snk) in gdNewSSCtx() argument 56 ctx->src = src; in gdNewSSCtx() 86 res = ((lctx->src->source) (lctx->src->context, buf, size)); in sourceGetbuf()
|
H A D | gd.h | 102 int gdAlphaBlend(int dest, int src); 462 void gdImagePaletteCopy(gdImagePtr dst, gdImagePtr src); 568 gdImagePtr gdImageRotate90(gdImagePtr src, int ignoretransparent); 569 gdImagePtr gdImageRotate180(gdImagePtr src, int ignoretransparent); 570 gdImagePtr gdImageRotate270(gdImagePtr src, int ignoretransparent); 648 int gdImageNegate(gdImagePtr src); 651 int gdImageGrayScale(gdImagePtr src); 654 int gdImageBrightness(gdImagePtr src, int brightness); 657 int gdImageContrast(gdImagePtr src, double contrast); 665 int gdImageEdgeDetectQuick(gdImagePtr src); [all …]
|
/PHP-5.3/ext/zip/lib/ |
H A D | zip_error.c | 52 _zip_error_copy(struct zip_error *dst, struct zip_error *src) in _zip_error_copy() argument 54 dst->zip_err = src->zip_err; in _zip_error_copy() 55 dst->sys_err = src->sys_err; in _zip_error_copy() 106 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) in _zip_error_set_from_source() argument 110 zip_source_error(src, &ze, &se); in _zip_error_set_from_source()
|
H A D | zip_source_pkware.c | 68 zip_source_pkware(struct zip *za, struct zip_source *src, in zip_source_pkware() argument 74 if (password == NULL || src == NULL || em != ZIP_EM_TRAD_PKWARE) { in zip_source_pkware() 98 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) { in zip_source_pkware() 141 decrypt_header(struct zip_source *src, struct trad_pkware *ctx) in decrypt_header() argument 148 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) { in decrypt_header() 149 zip_source_error(src, ctx->e, ctx->e+1); in decrypt_header() 161 if (zip_source_stat(src, &st) < 0) { in decrypt_header() 181 pkware_decrypt(struct zip_source *src, void *ud, void *data, in pkware_decrypt() argument 191 if (decrypt_header(src, ctx) < 0) in pkware_decrypt() 196 if ((n=zip_source_read(src, data, len)) < 0) in pkware_decrypt()
|
H A D | zip_source_crc.c | 55 zip_source_crc(struct zip *za, struct zip_source *src, int validate) in zip_source_crc() argument 59 if (src == NULL) { in zip_source_crc() 71 return zip_source_layered(za, src, crc_read, ctx); in zip_source_crc() 77 crc_read(struct zip_source *src, void *_ctx, void *data, in crc_read() argument 97 if ((n=zip_source_read(src, data, len)) < 0) in crc_read() 105 if (zip_source_stat(src, &st) < 0) in crc_read()
|
H A D | zip_source_deflate.c | 64 zip_source_deflate(struct zip *za, struct zip_source *src, in zip_source_deflate() argument 70 if (src == NULL || cm != ZIP_CM_DEFLATE) { in zip_source_deflate() 89 if ((s2=zip_source_layered(za, src, in zip_source_deflate() 103 compress_read(struct zip_source *src, struct deflate *ctx, in compress_read() argument 139 if ((n=zip_source_read(src, ctx->buffer, in compress_read() 141 zip_source_error(src, ctx->e, ctx->e+1); in compress_read() 178 decompress_read(struct zip_source *src, struct deflate *ctx, in decompress_read() argument 213 if ((n=zip_source_read(src, ctx->buffer, in decompress_read() 215 zip_source_error(src, ctx->e, ctx->e+1); in decompress_read() 278 return compress_read(src, ctx, data, len); in deflate_compress() [all …]
|
H A D | zip_source_layered.c | 43 zip_source_layered(struct zip *za, struct zip_source *src, in zip_source_layered() argument 54 zs->src = src; in zip_source_layered()
|
H A D | zip_close.c | 360 if (zip_source_stat(src, &st) < 0) { in add_data() 361 _zip_error_set_from_source(&za->error, src); in add_data() 394 s2 = src; in add_data() 403 while (s2 != src) { in add_data() 483 if (zip_source_open(src) < 0) { in copy_source() 503 zip_source_close(src); in copy_source() 551 if (src->ch_comment_len != -1) { in _zip_cdir_set_comment() 553 src->ch_comment_len, &src->error); in _zip_cdir_set_comment() 556 dest->comment_len = src->ch_comment_len; in _zip_cdir_set_comment() 558 if (src->cdir && src->cdir->comment) { in _zip_cdir_set_comment() [all …]
|
/PHP-5.3/ext/sqlite/ |
H A D | Makefile.frag | 1 $(srcdir)/libsqlite/src/parse.c: $(srcdir)/libsqlite/src/parse.y 2 @$(LEMON) $(srcdir)/libsqlite/src/parse.y
|
H A D | config.w32 | 7 copy_and_subst(configure_module_dirname + "\\libsqlite\\src\\sqlite.h.in", 8 configure_module_dirname + "\\libsqlite\\src\\sqlite.h", new Array( 13 FSO.CopyFile(configure_module_dirname + "\\libsqlite\\src\\sqlite_config.w32.h", 14 configure_module_dirname + "\\libsqlite\\src\\config.h"); 24 "/D PHP_SQLITE_EXPORTS /I " + configure_module_dirname + "/libsqlite/src" + 28 ADD_SOURCES(configure_module_dirname + "/libsqlite/src", "opcodes.c parse.c encode.c \
|
/PHP-5.3/sapi/apache/ |
H A D | config.m4 | 144 if test -f $PHP_APACHE/src/httpd.h; then 145 APACHE_INCLUDE=-I$PHP_APACHE/src 146 APACHE_TARGET=$PHP_APACHE/src 152 if test -f $PHP_APACHE/src/ap_config.h; then 159 elif test -f $PHP_APACHE/src/main/httpd.h; then 161 APACHE_INCLUDE="-I$PHP_APACHE/src/main -I$PHP_APACHE/src/os/unix -I$PHP_APACHE/src/ap" 162 APACHE_TARGET=$PHP_APACHE/src/modules/php5 185 APACHE_INCLUDE="-I$PHP_APACHE/src/include -I$PHP_APACHE/src/os/unix" 186 APACHE_TARGET=$PHP_APACHE/src/modules/php5 218 if test -f $PHP_APACHE/src/ap_compat.h; then [all …]
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | config.m4 | 146 if test -f $PHP_APACHE_HOOKS_STATIC/src/httpd.h; then 147 APACHE_INCLUDE=-I$PHP_APACHE_HOOKS_STATIC/src 148 APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src 154 if test -f $PHP_APACHE_HOOKS_STATIC/src/ap_config.h; then 161 elif test -f $PHP_APACHE_HOOKS_STATIC/src/main/httpd.h; then 163 …_INCLUDE="-I$PHP_APACHE_HOOKS_STATIC/src/main -I$PHP_APACHE_HOOKS_STATIC/src/os/unix -I$PHP_APACHE… 164 APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src/modules/php5 187 APACHE_INCLUDE="-I$PHP_APACHE_HOOKS_STATIC/src/include -I$PHP_APACHE_HOOKS_STATIC/src/os/unix" 188 APACHE_TARGET=$PHP_APACHE_HOOKS_STATIC/src/modules/php5 220 if test -f $PHP_APACHE_HOOKS_STATIC/src/ap_compat.h; then [all …]
|
/PHP-5.3/win32/ |
H A D | inet.c | 10 PHPAPI int inet_pton(int af, const char* src, void* dst) in inet_pton() argument 30 if (WSAStringToAddress ((LPTSTR) src, af, NULL, (LPSOCKADDR) &sa, &address_length) == 0) { in inet_pton() 46 PHPAPI const char* inet_ntop(int af, const void* src, char* dst, size_t size) in inet_ntop() argument 59 memcpy (&sin->sin_addr, src, sizeof (struct in_addr)); in inet_ntop() 65 memcpy (&sin6->sin6_addr, src, sizeof (struct in6_addr)); in inet_ntop()
|
H A D | php5dll.dsp | 975 SOURCE=..\ext\bcmath\libbcmath\src\add.c 980 # ADD CPP /I "..\ext\bcmath\libbcmath\src" 985 # ADD CPP /I "..\ext\bcmath\libbcmath\src" 990 # ADD CPP /I "..\ext\bcmath\libbcmath\src" 1041 SOURCE=..\ext\bcmath\libbcmath\src\div.c 1107 SOURCE=..\ext\bcmath\libbcmath\src\init.c 1173 SOURCE=..\ext\bcmath\libbcmath\src\neg.c 1371 SOURCE=..\ext\bcmath\libbcmath\src\rt.c 1393 SOURCE=..\ext\bcmath\libbcmath\src\sqrt.c 1437 SOURCE=..\ext\bcmath\libbcmath\src\sub.c [all …]
|
H A D | php5dllts.dsp | 1000 SOURCE=..\ext\bcmath\libbcmath\src\add.c 1005 # ADD CPP /I "..\ext\bcmath\libbcmath\src" 1010 # ADD CPP /I "..\ext\bcmath\libbcmath\src" 1015 # ADD CPP /I "..\ext\bcmath\libbcmath\src" 1087 SOURCE=..\ext\bcmath\libbcmath\src\div.c 1174 SOURCE=..\ext\bcmath\libbcmath\src\init.c 1261 SOURCE=..\ext\bcmath\libbcmath\src\neg.c 1522 SOURCE=..\ext\bcmath\libbcmath\src\rt.c 1551 SOURCE=..\ext\bcmath\libbcmath\src\sqrt.c 1609 SOURCE=..\ext\bcmath\libbcmath\src\sub.c [all …]
|
/PHP-5.3/ext/bcmath/libbcmath/ |
H A D | Makefile.am | 3 SUBDIRS= src doc 10 cp $(srcdir)/src/private.h $(distdir)/src
|
/PHP-5.3/ext/ereg/regex/ |
H A D | regexec.c | 40 #define FWD(dst, src, n) ((dst) |= ((unsigned)(src)&(here)) << (n)) argument 41 #define BACK(dst, src, n) ((dst) |= ((unsigned)(src)&(here)) >> (n)) argument 89 #define FWD(dst, src, n) ((dst)[here+(n)] |= (src)[here]) argument 90 #define BACK(dst, src, n) ((dst)[here-(n)] |= (src)[here]) argument
|
/PHP-5.3/ |
H A D | Makefile.global | 55 src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \ 57 src=$$i; \ 59 if test -f "$(top_srcdir)/$$src"; then \ 60 $(INSTALL_DATA) $(top_srcdir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \ 61 elif test -f "$(top_builddir)/$$src"; then \ 62 $(INSTALL_DATA) $(top_builddir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \ 64 (cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \ 65 …cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null |…
|
/PHP-5.3/ext/standard/ |
H A D | php_uuencode.h | 27 PHPAPI int php_uudecode(char *src, int src_len, char **dest); 28 PHPAPI int php_uuencode(char *src, int src_len, char **dest);
|