Searched refs:src (Results 1 - 25 of 90) sorted by relevance

1234

/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=""
114 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
116 # if $src (and thus $dsttmp) contains '*'.
118 if [ -f $src -o -d $src ]
[all...]
/PHP_5_3/ext/zip/lib/
H A Dzip_error.c55 _zip_error_copy(struct zip_error *dst, struct zip_error *src)
57 dst->zip_err = src->zip_err;
58 dst->sys_err = src->sys_err;
114 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src)
118 zip_source_error(src, &ze, &se);
52 _zip_error_copy(struct zip_error *dst, struct zip_error *src) argument
106 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) argument
H A Dzip_fopen_index_encrypted.c55 struct zip_source *src, *s2;
110 if ((src=zip_source_buffer(za, NULL, 0, 0)) == NULL)
114 if ((src=_zip_source_file_or_p(za, NULL, za->zp, start, st.comp_size,
118 if ((s2=enc_impl(za, src, ZIP_EM_TRAD_PKWARE, 0,
120 zip_source_free(src);
124 src = s2;
127 if ((s2=comp_impl(za, src, za->cdir->entry[fileno].comp_method,
129 zip_source_free(src);
133 src = s2;
137 if ((s2=zip_source_crc(za, src,
53 struct zip_source *src, *s2; local
[all...]
H A Dzip_fread.c61 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) {
62 _zip_error_set_from_source(&zf->error, zf->src);
H A Dzip_source_close.c43 zip_source_close(struct zip_source *src)
45 if (!src->is_open)
48 if (src->src == NULL)
49 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_CLOSE);
51 (void)src->cb.l(src->src, src
41 zip_source_close(struct zip_source *src) argument
[all...]
H A Dzip_source_error.c43 zip_source_error(struct zip_source *src, int *ze, int *se)
47 if (src->src == NULL) {
50 switch (src->error_source) {
52 if (src->src == NULL) {
53 if (src->cb.f(src->ud, e, sizeof(e), ZIP_SOURCE_ERROR) < 0) {
68 zip_source_error(src->src, z
41 zip_source_error(struct zip_source *src, int *ze, int *se) argument
[all...]
H A Dzip_source_free.c45 zip_source_free(struct zip_source *src)
47 if (src == NULL)
50 if (src->is_open)
51 zip_source_close(src);
53 if (src->src == NULL)
54 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_FREE);
56 (void)src->cb.l(src
43 zip_source_free(struct zip_source *src) argument
[all...]
H A Dzip_source_function.c67 struct zip_source *src;
69 if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) {
74 src->src = NULL;
75 src->cb.f = NULL;
76 src->ud = NULL;
77 src->error_source = ZIP_LES_NONE;
78 src->is_open = 0;
80 return src;
64 struct zip_source *src; local
[all...]
H A Dzip_source_layered.c45 zip_source_layered(struct zip *za, struct zip_source *src,
56 zs->src = src;
43 zip_source_layered(struct zip *za, struct zip_source *src, zip_source_layered_callback cb, void *ud) argument
H A Dzip_source_open.c43 zip_source_open(struct zip_source *src)
47 if (src->is_open) {
48 src->error_source = ZIP_LES_INVAL;
52 if (src->src == NULL) {
53 if (src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_OPEN) < 0)
57 if (zip_source_open(src->src) < 0) {
58 src
41 zip_source_open(struct zip_source *src) argument
[all...]
H A Dzip_source_pop.c45 zip_source_pop(struct zip_source *src)
49 if (src == NULL)
52 lower = src->src;
55 zip_source_free(src);
57 if (src->is_open)
58 (void)src->cb.l(src, src->ud, NULL, 0, ZIP_SOURCE_CLOSE);
59 (void)src
43 zip_source_pop(struct zip_source *src) argument
[all...]
H A Dzip_source_read.c43 zip_source_read(struct zip_source *src, void *data, zip_uint64_t len)
47 if (!src->is_open || len > ZIP_INT64_MAX || (len > 0 && data == NULL)) {
48 src->error_source = ZIP_LES_INVAL;
52 if (src->src == NULL)
53 return src->cb.f(src->ud, data, len, ZIP_SOURCE_READ);
55 ret = src->cb.l(src->src, sr
[all...]
H A Dzip_source_stat.c43 zip_source_stat(struct zip_source *src, struct zip_stat *st)
48 src->error_source = ZIP_LES_INVAL;
52 if (src->src == NULL) {
53 if (src->cb.f(src->ud, st, sizeof(*st), ZIP_SOURCE_STAT) < 0)
58 if (zip_source_stat(src->src, st) < 0) {
59 src->error_source = ZIP_LES_LOWER;
63 ret = src
41 zip_source_stat(struct zip_source *src, struct zip_stat *st) argument
[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) /* {{{ */ argument
15 for (; d < end && *src; ++d, ++src) {
16 if (* (unsigned char *) src < ' ' || * (unsigned char *) src > '\x7f') {
19 *d = *src;
/PHP_5_3/win32/
H A Dinet.c10 PHPAPI int inet_pton(int af, const char* src, void* dst) argument
30 if (WSAStringToAddress ((LPTSTR) src, af, NULL, (LPSOCKADDR) &sa, &address_length) == 0) {
46 PHPAPI const char* inet_ntop(int af, const void* src, char* dst, size_t size) argument
59 memcpy (&sin->sin_addr, src, sizeof (struct in_addr));
65 memcpy (&sin6->sin6_addr, src, sizeof (struct in6_addr));
H A Dinet.h7 PHPAPI int inet_pton(int af, const char* src, void* dst);
8 PHPAPI const char* inet_ntop(int af, const void* src, char* dst, size_t size);
/PHP_5_3/ext/gd/libgd/
H A Dgd_filter.c13 #define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel)
15 /* invert src image */
16 int gdImageNegate(gdImagePtr src) argument
24 if (src==NULL) {
28 f = GET_PIXEL_FUNCTION(src);
30 for (y=0; y<src->sy; ++y) {
31 for (x=0; x<src->sx; ++x) {
32 pxl = f (src, x, y);
33 r = gdImageRed(src, px
49 gdImageGrayScale(gdImagePtr src) argument
82 gdImageBrightness(gdImagePtr src, int brightness) argument
127 gdImageContrast(gdImagePtr src, double contrast) argument
187 gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) argument
230 gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset) argument
291 gdImageSelectiveBlur( gdImagePtr src) argument
410 gdImageEdgeDetectQuick(gdImagePtr src) argument
[all...]
H A Dgd_io_ss.c35 gdSourcePtr src; member in struct:ssIOCtx
41 gdIOCtx *gdNewSSCtx (gdSourcePtr src, gdSinkPtr snk);
50 gdIOCtx * gdNewSSCtx (gdSourcePtr src, gdSinkPtr snk) argument
56 ctx->src = src;
86 res = ((lctx->src->source) (lctx->src->context, buf, size));
H A Dgd_rotate.c20 void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double dWeight, int clrBack, int ignoretransparent) argument
29 if (src->trueColor) {
34 clrBackR = gdImageRed(src, clrBack);
35 clrBackG = gdImageGreen(src, clrBack);
36 clrBackB = gdImageBlue(src, clrBack);
37 clrBackA = gdImageAlpha(src, clrBack);
50 for (i = 0; i < src->sx; i++) {
51 pxlSrc = f (src,i,uRow);
53 r = (int)(gdImageRed(src,pxlSrc) * dWeight);
54 g = (int)(gdImageGreen(src,pxlSr
117 gdImageSkewY(gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double dWeight, int clrBack, int ignoretransparent) argument
205 gdImageRotate90(gdImagePtr src, int ignoretransparent) argument
252 gdImageRotate180(gdImagePtr src, int ignoretransparent) argument
300 gdImageRotate270(gdImagePtr src, int ignoretransparent) argument
347 gdImageRotate45(gdImagePtr src, double dAngle, int clrBack, int ignoretransparent) argument
505 gdImageRotate(gdImagePtr src, double dAngle, int clrBack, int ignoretransparent) argument
[all...]
H A Dgd_compat.h17 * Negate the imag src, white becomes black,
21 int gdImageNegate(gdImagePtr src);
23 /* Convert the image src to a grayscale image */
24 int gdImageGrayScale(gdImagePtr src);
26 /* Set the brightness level <brightness> for the image src */
27 int gdImageBrightness(gdImagePtr src, int brightness);
29 /* Set the contrast level <contrast> for the image <src> */
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, floa
[all...]
/PHP_5_3/ext/intl/
H A Dintl_convert.c48 const char* src, int src_len,
60 u_strFromUTF8( *target, *target_len, &dst_len, src, src_len, status );
82 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status );
112 const UChar* src, int src_len,
120 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status );
134 u_strToUTF8( dst_buf, dst_len, NULL, src, src_len, status );
46 intl_convert_utf8_to_utf16( UChar** target, int* target_len, const char* src, int src_len, UErrorCode* status ) argument
110 intl_convert_utf16_to_utf8( char** target, int* target_len, const UChar* src, int src_len, UErrorCode* status ) argument
H A Dintl_convert.h25 const char* src, int src_len,
30 const UChar* src, int src_len,
/PHP_5_3/ext/standard/
H A Dphp_uuencode.h27 PHPAPI int php_uudecode(char *src, int src_len, char **dest);
28 PHPAPI int php_uuencode(char *src, int src_len, char **dest);
/PHP_5_3/main/
H A Dstrlcat.c62 * Appends src to string dst of size siz (unlike strncat, siz is the
65 * Returns strlen(src); if retval >= siz, truncation occurred.
67 PHPAPI size_t php_strlcat(dst, src, siz)
69 const char *src;
73 register const char *s = src;
94 return(dlen + (s - src)); /* count does not include NUL */
H A Dstrlcpy.c62 * Copy src to string dst of size siz. At most siz-1 characters
64 * Returns strlen(src); if retval >= siz, truncation occurred.
66 PHPAPI size_t php_strlcpy(dst, src, siz)
68 const char *src;
72 register const char *s = src;
83 /* Not enough room in dst, add NUL and traverse rest of src */
91 return(s - src - 1); /* count does not include NUL */

Completed in 51 milliseconds

1234