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

12

/PHP_TRUNK/ext/gd/libgd/
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);
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/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/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/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/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/mysqlnd/
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);
H A Dmysqlnd_alloc.c564 char * dest = (char *) FAKE_PTR(ret); local
566 *dest++ = *p++;
568 *dest = '\0';
/PHP_TRUNK/ext/standard/
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 Dstreamsfuncs.c442 /* {{{ proto long stream_copy_to_stream(resource source, resource dest [, long maxlen [, long pos]])
443 Reads up to maxlen bytes from source stream and writes them to dest stream. */
446 php_stream *src, *dest; local
457 php_stream_from_zval(dest, zdest);
464 ret = php_stream_copy_to_stream_ex(src, dest, maxlen, &len);
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/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/pdo/
H A Dpdo_stmt.c542 static inline void fetch_value(pdo_stmt_t *stmt, zval *dest, int colno, int *type_override) /* {{{ */ argument
562 ZVAL_COPY_VALUE(dest, (zval *)value);
564 ZVAL_NULL(dest);
567 if (Z_TYPE_P(dest) == IS_NULL) {
574 ZVAL_LONG(dest, *(zend_long*)value);
577 ZVAL_NULL(dest);
582 ZVAL_BOOL(dest, *(zend_bool*)value);
585 ZVAL_NULL(dest);
590 ZVAL_NULL(dest);
597 ZVAL_EMPTY_STRING(dest);
[all...]
H A Dpdo.c74 char *dest = emalloc(len + 1); local
75 zend_str_tolower_copy(dest, src, len);
76 return dest;
/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)));
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/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.c1084 ftp_rename(ftpbuf_t *ftp, const char *src, const char *dest) argument
1095 if (!ftp_putcmd(ftp, "RNTO", dest)) {
H A Dphp_ftp.c214 ZEND_ARG_INFO(0, dest)
1340 /* {{{ proto bool ftp_rename(resource stream, string src, string dest)
1346 char *src, *dest; local
1349 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &z_ftp, &src, &src_len, &dest, &dest_len) == FAILURE) {
1358 if (!ftp_rename(ftp, src, 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/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...]
/PHP_TRUNK/ext/bz2/
H A Dbz2.c507 zend_string *dest = NULL; /* Destination to place the compressed data into */ local
528 dest = zend_string_alloc(dest_len, 0);
539 error = BZ2_bzBuffToBuffCompress(dest->val, &dest_len, source, source_len, block_size, 0, work_factor);
541 zend_string_free(dest);
546 dest->len = dest_len;
547 dest->val[dest->len] = '\0';
548 RETURN_NEW_STR(dest);
557 char *source, *dest; local
584 bzs.next_out = dest
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c765 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) argument
767 __m128i *dqdest = (__m128i*)dest;

Completed in 49 milliseconds

12