Searched defs:dest (Results 1 - 25 of 42) sorted by relevance

12

/PHP_TRUNK/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp5022x.c49 static void mbfl_filt_conv_wchar_cp50220_copy(mbfl_convert_filter *src, mbfl_convert_filter *dest);
595 mbfl_filt_conv_wchar_cp50220_copy(mbfl_convert_filter *src, mbfl_convert_filter *dest) argument
599 *dest = *src;
605 dest->opaque = ctx;
606 dest->data = &ctx->last;
/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_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...]
/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...]
H A Dgdkanji.c559 any2eucjp (unsigned char *dest, unsigned char *src, unsigned int dest_max) argument
578 ustrcpy (dest, src);
581 ustrcpy (dest, tmp_dest);
/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);
352 function copy_dir($source, $dest)
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeSPARC_common.c561 sljit_ins dest; local
612 dest = ((flags & MEM_MASK) <= GPR_REG ? D(reg) : DA(reg));
615 return push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | dest | S1(arg2) | IMM(0), delay_slot);
617 return push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | dest | S1(base) | S2(arg2), delay_slot);
618 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | dest | S1(base) | S2(arg2), delay_slot));
/PHP_TRUNK/Zend/
H A Dzend_smart_str.h33 #define smart_str_appends_ex(dest, src, what) \
34 smart_str_appendl_ex((dest), (src), strlen(src), (what))
35 #define smart_str_appends(dest, src) \
36 smart_str_appendl((dest), (src), strlen(src))
37 #define smart_str_appendc(dest, c) \
38 smart_str_appendc_ex((dest), (c), 0)
39 #define smart_str_appendl(dest, src, len) \
40 smart_str_appendl_ex((dest), (src), (len), 0)
41 #define smart_str_append(dest, src) \
42 smart_str_append_ex((dest), (sr
85 smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent) argument
91 smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, zend_bool persistent) argument
97 smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bool persistent) argument
101 smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, zend_bool persistent) argument
107 smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool persistent) argument
113 smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, zend_bool persistent) argument
119 smart_str_setl(smart_str *dest, const char *src, size_t len) argument
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2.c515 zend_string *dest = NULL; /* Destination to place the compressed data into */ local
536 dest = zend_string_alloc(dest_len, 0);
547 error = BZ2_bzBuffToBuffCompress(dest->val, &dest_len, source, source_len, block_size, 0, work_factor);
549 zend_string_free(dest);
554 dest->len = dest_len;
555 dest->val[dest->len] = '\0';
556 RETURN_STR(dest);
565 char *source, *dest; local
592 bzs.next_out = dest
[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);
H A Dcom_saproxy.c65 static inline void clone_indices(php_com_saproxy *dest, php_com_saproxy *src, int ndims) argument
70 ZVAL_DUP(&dest->indices[i], &src->indices[i]);
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c186 dom_doc_propsptr source, dest; local
191 dest = dom_get_doc_props(dest_doc);
193 dest->formatoutput = source->formatoutput;
194 dest->validateonparse = source->validateonparse;
195 dest->resolveexternals = source->resolveexternals;
196 dest->preservewhitespace = source->preservewhitespace;
197 dest->substituteentities = source->substituteentities;
198 dest->stricterror = source->stricterror;
199 dest->recover = source->recover;
201 ALLOC_HASHTABLE(dest
[all...]
/PHP_TRUNK/ext/ftp/
H A Dftp.c1051 ftp_rename(ftpbuf_t *ftp, const char *src, const char *dest) argument
1062 if (!ftp_putcmd(ftp, "RNTO", dest)) {
H A Dphp_ftp.c214 ZEND_ARG_INFO(0, dest)
1274 /* {{{ proto bool ftp_rename(resource stream, string src, string dest)
1280 char *src, *dest; local
1283 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &z_ftp, &src, &src_len, &dest, &dest_len) == FAILURE) {
1290 if (!ftp_rename(ftp, src, dest)) {
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c27 UConverter *src, *dest; member in struct:_php_converter_object
439 php_converter_do_set_encoding(objval->dest, INTERNAL_FUNCTION_PARAM_PASSTHRU);
480 php_converter_do_get_encoding(objval, objval->dest, INTERNAL_FUNCTION_PARAM_PASSTHRU);
520 php_converter_do_get_type(objval, objval->dest, INTERNAL_FUNCTION_PARAM_PASSTHRU);
547 /* {{{ proto void UConverter::__construct([string dest = 'utf-8',[string src = 'utf-8']]) */
557 char *dest = src; local
563 &dest, &dest_len, &src, &src_len) == FAILURE) {
570 php_converter_set_encoding(objval, &(objval->dest), dest, dest_len);
606 if (objval->dest) {
664 char *dest; local
757 char *str, *dest; local
794 char *str, *src, *dest; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.c564 char * dest = (char *) FAKE_PTR(ret); local
566 *dest++ = *p++;
568 *dest = '\0';
H A Dmysqlnd_net.c481 php_mysqlnd_read_buffer_read(MYSQLND_READ_BUFFER * buffer, size_t count, zend_uchar * dest) argument
484 memcpy(dest, buffer->data + buffer->offset, count);
/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;
/PHP_TRUNK/ext/phar/
H A Dutil.c647 int phar_copy_entry_fp(phar_entry_info *source, phar_entry_info *dest, char **error) /* {{{ */ argument
655 if (dest->link) {
656 efree(dest->link);
657 dest->link = NULL;
658 dest->tar_type = (dest->is_tar ? TAR_FILE : '\0');
661 dest->fp_type = PHAR_MOD;
662 dest->offset = 0;
663 dest->is_modified = 1;
664 dest
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c443 /* {{{ proto long stream_copy_to_stream(resource source, resource dest [, long maxlen [, long pos]])
444 Reads up to maxlen bytes from source stream and writes them to dest stream. */
447 php_stream *src, *dest; local
458 php_stream_from_zval(dest, zdest);
465 ret = php_stream_copy_to_stream_ex(src, dest, maxlen, &len);
H A Durl.c577 char *dest = str; local
582 *dest = ' ';
587 *dest = (char) php_htoi(data + 1);
589 *dest = os_toebcdic[(char) php_htoi(data + 1)];
594 *dest = *data;
597 dest++;
599 *dest = '\0';
600 return dest - str;
684 char *dest = str; local
691 *dest
[all...]
H A Durl_scanner_ex.c112 static inline void append_modified_url(smart_str *url, smart_str *dest, smart_str *url_app, const char *separator) argument
169 { smart_str_append_smart_str(dest, url); return; }
198 smart_str_append_smart_str(dest, url);
203 smart_str_appendl(dest, url->s->val, bash - url->s->val);
205 smart_str_append_smart_str(dest, url);
207 smart_str_appends(dest, sep);
208 smart_str_append_smart_str(dest, url_app);
211 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_realloc(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...]
/PHP_TRUNK/main/
H A Dphp_variables.c622 static void php_autoglobal_merge(HashTable *dest, HashTable *src) argument
627 int globals_check = (dest == (&EG(symbol_table).ht));
631 || (string_key && (dest_entry = zend_hash_find(dest, string_key)) == NULL)
632 || (string_key == NULL && (dest_entry = zend_hash_index_find(dest, num_key)) == NULL)
640 zend_hash_update(dest, string_key, src_entry);
645 zend_hash_index_update(dest, num_key, src_entry);
/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...]

Completed in 37 milliseconds

12