Searched refs:dest (Results 1 - 25 of 66) sorted by relevance

123

/PHP_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c426 mbfl_convert_filter *dest)
429 src->filter_copy(src, dest);
433 *dest = *src;
424 mbfl_convert_filter_copy( mbfl_convert_filter *src, mbfl_convert_filter *dest) argument
H A Dmbfl_convert.h43 void (*filter_copy)(mbfl_convert_filter *src, mbfl_convert_filter *dest);
66 void (*filter_copy)(mbfl_convert_filter *src, mbfl_convert_filter *dest);
H A Dmbfl_memory_device.c276 mbfl_memory_device_devcat(mbfl_memory_device *dest, mbfl_memory_device *src) argument
281 if ((dest->pos + src->pos) >= dest->length) {
283 int newlen = dest->length + src->pos + MBFL_MEMORY_DEVICE_ALLOC_SIZE;
284 unsigned char *tmp = (unsigned char *)mbfl_realloc((void *)dest->buffer, newlen*sizeof(unsigned char));
288 dest->length = newlen;
289 dest->buffer = tmp;
293 w = &dest->buffer[dest->pos];
295 dest
[all...]
H A Dmbfl_memory_device.h64 MBFLAPI extern int mbfl_memory_device_devcat(mbfl_memory_device *dest, mbfl_memory_device *src);
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_jpeg.c754 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local
757 dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OUTPUT_BUF_SIZE * sizeof (unsigned char));
759 dest->pub.next_output_byte = dest->buffer;
760 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE;
789 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local
791 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest
813 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local
831 my_dest_ptr dest; local
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_misc.c98 PHP_COM_DOTNET_API int php_com_safearray_get_elem(VARIANT *array, VARIANT *dest, LONG dim1) argument
132 VariantInit(dest);
137 SafeArrayGetElement(V_ARRAY(array), indices, dest); local
139 V_VT(dest) = vt;
143 SafeArrayGetElement(V_ARRAY(array), indices, &dest->lVal);
/PHP_TRUNK/ext/standard/
H A Dfile.h79 PHPAPI int php_copy_file(const char *src, const char *dest);
80 PHPAPI int php_copy_file_ex(const char *src, const char *dest, int src_chk);
81 PHPAPI int php_copy_file_ctx(const char *src, const char *dest, int src_chk, php_stream_context *ctx);
H A Dphp_array.h106 PHPAPI int php_array_merge(HashTable *dest, HashTable *src);
107 PHPAPI int php_array_merge_recursive(HashTable *dest, HashTable *src);
108 PHPAPI int php_array_replace_recursive(HashTable *dest, HashTable *src);
H A Dphp_smart_string.h77 #define smart_string_appends_ex(dest, src, what) \
78 smart_string_appendl_ex((dest), (src), strlen(src), (what))
79 #define smart_string_appends(dest, src) \
80 smart_string_appendl((dest), (src), strlen(src))
82 #define smart_string_appendc(dest, c) \
83 smart_string_appendc_ex((dest), (c), 0)
86 #define smart_string_appendl(dest, src, len) \
87 smart_string_appendl_ex((dest), (src), (len), 0)
88 #define smart_string_append(dest, src) \
89 smart_string_append_ex((dest), (sr
[all...]
H A Durl_scanner_ex.re115 static inline void append_modified_url(smart_str *url, smart_str *dest, smart_str *url_app, const char *separator)
125 ":" { smart_str_append_smart_str(dest, url); return; }
134 smart_str_append_smart_str(dest, url);
139 smart_str_appendl(dest, url->s->val, bash - url->s->val);
141 smart_str_append_smart_str(dest, url);
143 smart_str_appends(dest, sep);
144 smart_str_append_smart_str(dest, url_app);
147 smart_str_appendl(dest, bash, q - bash);
H A Duuencode.c72 zend_string *dest; local
75 dest = zend_string_alloc((size_t)ceil(src_len * 1.38) + 46, 0);
76 p = dest->val;
125 dest = zend_string_truncate(dest, p - dest->val, 0);
126 return dest;
134 zend_string *dest; local
136 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0);
137 p = dest
218 zend_string *dest; local
[all...]
H A Durl.c580 char *dest = str; local
585 *dest = ' ';
590 *dest = (char) php_htoi(data + 1);
592 *dest = os_toebcdic[(char) php_htoi(data + 1)];
597 *dest = *data;
600 dest++;
602 *dest = '\0';
603 return dest - str;
687 char *dest = str; local
694 *dest
[all...]
/PHP_TRUNK/ext/phar/
H A Dutil.c646 int phar_copy_entry_fp(phar_entry_info *source, phar_entry_info *dest, char **error) /* {{{ */ argument
654 if (dest->link) {
655 efree(dest->link);
656 dest->link = NULL;
657 dest->tar_type = (dest->is_tar ? TAR_FILE : '\0');
660 dest->fp_type = PHAR_MOD;
661 dest->offset = 0;
662 dest->is_modified = 1;
663 dest
[all...]
/PHP_TRUNK/ext/ftp/
H A Dftp.h186 int ftp_rename(ftpbuf_t *ftp, const char *src, const char *dest);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c136 PHPDBG_API void phpdbg_copy_param(const phpdbg_param_t* src, phpdbg_param_t* dest) /* {{{ */ argument
138 switch ((dest->type = src->type)) {
144 dest->str = estrndup(src->str, src->len);
145 dest->len = src->len;
149 dest->str = estrndup(src->str, src->len);
150 dest->len = src->len;
154 dest->addr = src->addr;
158 dest->num = src->num;
162 dest->method.class = estrdup(src->method.class);
163 dest
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo.c74 char *dest = emalloc(len + 1); local
75 zend_str_tolower_copy(dest, src, len);
76 return dest;
H A Dpdo_stmt.c544 static inline void fetch_value(pdo_stmt_t *stmt, zval *dest, int colno, int *type_override) /* {{{ */ argument
564 ZVAL_COPY_VALUE(dest, (zval *)value);
566 ZVAL_NULL(dest);
569 if (Z_TYPE_P(dest) == IS_NULL) {
576 ZVAL_LONG(dest, *(zend_long*)value);
579 ZVAL_NULL(dest);
584 ZVAL_BOOL(dest, *(zend_bool*)value);
587 ZVAL_NULL(dest);
592 ZVAL_NULL(dest);
599 ZVAL_EMPTY_STRING(dest);
[all...]
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c28 UConverter *src, *dest; member in struct:_php_converter_object
440 php_converter_do_set_encoding(objval->dest, INTERNAL_FUNCTION_PARAM_PASSTHRU);
481 php_converter_do_get_encoding(objval, objval->dest, INTERNAL_FUNCTION_PARAM_PASSTHRU);
521 php_converter_do_get_type(objval, objval->dest, INTERNAL_FUNCTION_PARAM_PASSTHRU);
548 /* {{{ proto void UConverter::__construct([string dest = 'utf-8',[string src = 'utf-8']]) */
558 char *dest = src; local
563 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|s!s!", &dest, &dest_len, &src, &src_len) == FAILURE) {
568 php_converter_set_encoding(objval, &(objval->dest), dest, dest_len);
604 if (objval->dest) {
662 char *dest; local
755 char *str, *dest; local
792 char *str, *src, *dest; local
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2.c510 zend_string *dest = NULL; /* Destination to place the compressed data into */ local
531 dest = zend_string_alloc(dest_len, 0);
542 error = BZ2_bzBuffToBuffCompress(dest->val, &dest_len, source, source_len, block_size, 0, work_factor);
544 zend_string_free(dest);
549 dest->len = dest_len;
550 dest->val[dest->len] = '\0';
551 RETURN_NEW_STR(dest);
560 char *source, *dest; local
587 bzs.next_out = dest
[all...]
/PHP_TRUNK/main/
H A Dphp_streams.h444 /* copy up to maxlen bytes from src to dest. If maxlen is PHP_STREAM_COPY_ALL,
450 PHPAPI size_t _php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen STREAMS_DC);
451 #define php_stream_copy_to_stream(src, dest, maxlen) _php_stream_copy_to_stream((src), (dest), (maxlen) STREAMS_CC)
452 PHPAPI int _php_stream_copy_to_stream_ex(php_stream *src, php_stream *dest, size_t maxlen, size_t *len STREAMS_DC);
453 #define php_stream_copy_to_stream_ex(src, dest, maxlen, len) _php_stream_copy_to_stream_ex((src), (dest), (maxlen), (len) STREAMS_CC)
/PHP_TRUNK/Zend/
H A Dzend_smart_str.h25 #define smart_str_appends_ex(dest, src, what) \
26 smart_str_appendl_ex((dest), (src), strlen(src), (what))
27 #define smart_str_appends(dest, src) \
28 smart_str_appendl((dest), (src), strlen(src))
29 #define smart_str_appendc(dest, c) \
30 smart_str_appendc_ex((dest), (c), 0)
31 #define smart_str_appendl(dest, src, len) \
32 smart_str_appendl_ex((dest), (src), (len), 0)
33 #define smart_str_append(dest, src) \
34 smart_str_append_ex((dest), (sr
82 smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent) argument
88 smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, zend_bool persistent) argument
94 smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bool persistent) argument
98 smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, zend_bool persistent) argument
104 smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool persistent) argument
110 smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, zend_bool persistent) argument
116 smart_str_setl(smart_str *dest, const char *src, size_t len) argument
[all...]
H A Dzend_API.h794 #define Z_PARAM_ARRAY_EX(dest, check_null, separate) \
796 if (UNEXPECTED(!zend_parse_arg_array(_arg, &dest, check_null, 0))) { \
802 #define Z_PARAM_ARRAY(dest) \
803 Z_PARAM_ARRAY_EX(dest, 0, 0)
806 #define Z_PARAM_ARRAY_OR_OBJECT_EX(dest, check_null, separate) \
808 if (UNEXPECTED(!zend_parse_arg_array(_arg, &dest, check_null, 1))) { \
814 #define Z_PARAM_ARRAY_OR_OBJECT(dest, check_null, separate) \
815 Z_PARAM_ARRAY_OR_OBJECT_EX(dest, 0, 0)
818 #define Z_PARAM_BOOL_EX(dest, is_null, check_null, separate) \
820 if (UNEXPECTED(!zend_parse_arg_bool(_arg, &dest,
1069 zend_parse_arg_bool(zval *arg, zend_bool *dest, zend_bool *is_null, int check_null) argument
1087 zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) argument
1105 zend_parse_arg_double(zval *arg, double *dest, zend_bool *is_null, int check_null) argument
1121 zend_parse_arg_str(zval *arg, zend_string **dest, int check_null) argument
1133 zend_parse_arg_string(zval *arg, char **dest, size_t *dest_len, int check_null) argument
1150 zend_parse_arg_path_str(zval *arg, zend_string **dest, int check_null) argument
1159 zend_parse_arg_path(zval *arg, char **dest, size_t *dest_len, int check_null) argument
1176 zend_parse_arg_array(zval *arg, zval **dest, int check_null, int or_object) argument
1189 zend_parse_arg_array_ht(zval *arg, HashTable **dest, int check_null, int or_object) argument
1203 zend_parse_arg_object(zval *arg, zval **dest, zend_class_entry *ce, int check_null) argument
1216 zend_parse_arg_resource(zval *arg, zval **dest, int check_null) argument
1240 zend_parse_arg_zval(zval *arg, zval **dest, int check_null) argument
1248 zend_parse_arg_zval_deref(zval *arg, zval **dest, int check_null) argument
[all...]
H A Dzend_API.c291 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_weak(zval *arg, zend_bool *dest) /* {{{ */ argument
294 *dest = zend_is_true(arg);
302 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_slow(zval *arg, zend_bool *dest) /* {{{ */ argument
307 return zend_parse_arg_bool_weak(arg, dest);
311 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_weak(zval *arg, zend_long *dest) /* {{{ */ argument
320 *dest = zend_dval_to_lval(Z_DVAL_P(arg));
326 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) {
334 *dest = zend_dval_to_lval(d);
341 *dest = 0;
343 *dest
351 zend_parse_arg_long_slow(zval *arg, zend_long *dest) argument
360 zend_parse_arg_long_cap_weak(zval *arg, zend_long *dest) argument
400 zend_parse_arg_long_cap_slow(zval *arg, zend_long *dest) argument
409 zend_parse_arg_double_weak(zval *arg, double *dest) argument
435 zend_parse_arg_double_slow(zval *arg, double *dest) argument
447 zend_parse_arg_str_weak(zval *arg, zend_string **dest) argument
494 zend_parse_arg_str_slow(zval *arg, zend_string **dest) argument
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitConfigInternal.h214 #define SLJIT_MEMMOVE(dest, src, len) memmove(dest, src, len)
218 #define SLJIT_ZEROMEM(dest, len) memset(dest, 0, len)
/PHP_TRUNK/win32/build/
H A Dmkdist.php141 function copy_text_file($source, $dest)
145 $fp = fopen($dest, "w");
193 $dest = fopen($destfilename, 'wb'); variable
194 $x = stream_copy_to_stream($fp, $dest, $hdr['size']);
195 fclose($dest);
243 foreach ($text_files as $src => $dest) {
244 copy_text_file($src, $dist_dir . '/' . $dest);
253 foreach ($general_files as $src => $dest) {
254 copy($src, $dist_dir . '/' . $dest);
331 $dest variable
[all...]

Completed in 31 milliseconds

123