/php-src/ext/bcmath/libbcmath/src/ |
H A D | convert.c | 43 _mm_storeu_si128((__m128i *) dest, bytes); in bc_copy_and_shift_numbers() 46 dest += sizeof(__m128i); in bc_copy_and_shift_numbers() 59 memcpy(dest, &bytes, sizeof(bytes)); in bc_copy_and_shift_numbers() 62 dest += sizeof(size_t); in bc_copy_and_shift_numbers() 66 *dest = *source + shift; in bc_copy_and_shift_numbers() 67 dest++; in bc_copy_and_shift_numbers() 71 return dest; in bc_copy_and_shift_numbers() 74 char *bc_copy_ch_val(char *restrict dest, const char *source, const char *source_end) in bc_copy_ch_val() argument 76 return bc_copy_and_shift_numbers(dest, source, source_end, '0', false); in bc_copy_ch_val() 79 char *bc_copy_bcd_val(char *restrict dest, const char *source, const char *source_end) in bc_copy_bcd_val() argument [all …]
|
H A D | convert.h | 20 char *bc_copy_ch_val(char *restrict dest, const char *source, const char *source_end); 21 char *bc_copy_bcd_val(char *restrict dest, const char *source, const char *source_end);
|
/php-src/ext/dom/ |
H A D | php_dom.c | 228 dom_doc_propsptr dest; in dom_copy_document_ref() local 233 dest = dom_get_doc_props(dest_doc); in dom_copy_document_ref() 235 dest->formatoutput = source->formatoutput; in dom_copy_document_ref() 236 dest->validateonparse = source->validateonparse; in dom_copy_document_ref() 237 dest->resolveexternals = source->resolveexternals; in dom_copy_document_ref() 238 dest->preservewhitespace = source->preservewhitespace; in dom_copy_document_ref() 239 dest->substituteentities = source->substituteentities; in dom_copy_document_ref() 240 dest->stricterror = source->stricterror; in dom_copy_document_ref() 241 dest->recover = source->recover; in dom_copy_document_ref() 243 ALLOC_HASHTABLE(dest->classmap); in dom_copy_document_ref() [all …]
|
/php-src/Zend/ |
H A D | zend_compile.c | 5506 zend_label *dest; in zend_resolve_goto_label() local 5513 (dest = zend_hash_find_ptr(CG(context).labels, Z_STR_P(label))) == NULL in zend_resolve_goto_label() 5525 for (; current != dest->brk_cont; current = CG(context).brk_cont_array[current].parent) { in zend_resolve_goto_label() 5543 && (dest->opline_num > elem->finally_end || dest->opline_num < elem->try_op) in zend_resolve_goto_label() 5553 opline->op1.opline_num = dest->opline_num; in zend_resolve_goto_label() 5585 zend_label dest; in zend_compile_label() local 5592 dest.brk_cont = CG(context).current_brk_cont; in zend_compile_label() 5593 dest.opline_num = get_next_op_number(); in zend_compile_label() 5595 if (!zend_hash_add_mem(CG(context).labels, label, &dest, sizeof(zend_label))) { in zend_compile_label()
|
H A D | zend_API.h | 2192 *dest = 1; in zend_parse_arg_bool_ex() 2194 *dest = 0; in zend_parse_arg_bool_ex() 2197 *dest = 0; in zend_parse_arg_bool_ex() 2222 *dest = 0; in zend_parse_arg_long_ex() 2247 *dest = 0.0; in zend_parse_arg_double() 2257 *dest = arg; in zend_parse_arg_number() 2269 *dest = arg; in zend_parse_arg_number_or_str() 2319 (*dest && UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(*dest), ZSTR_LEN(*dest))))) { in zend_parse_arg_path_str() 2345 *dest = arg; in zend_parse_arg_iterable() 2361 *dest = arg; in zend_parse_arg_array() [all …]
|
H A D | zend_API.c | 570 *dest = lval; in zend_parse_arg_long_weak() 598 *dest = lval; in zend_parse_arg_long_weak() 610 *dest = 0; in zend_parse_arg_long_weak() 612 *dest = 1; in zend_parse_arg_long_weak() 647 *dest = (double)(l); in zend_parse_arg_double_weak() 659 *dest = 0.0; in zend_parse_arg_double_weak() 661 *dest = 1.0; in zend_parse_arg_double_weak() 709 *dest = arg; in zend_parse_arg_number_slow() 733 *dest = arg; in zend_parse_arg_number_or_str_slow() 740 *dest = arg; in zend_parse_arg_number_or_str_slow() [all …]
|
/php-src/ext/openssl/ |
H A D | openssl.c | 922 static int php_openssl_spki_cleanup(const char *src, char *dest) in php_openssl_spki_cleanup() argument 928 *dest++ = *src; in php_openssl_spki_cleanup() 934 *dest = 0; in php_openssl_spki_cleanup()
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | str.c | 247 lexbor_str_copy(lexbor_str_t *dest, const lexbor_str_t *target, in lexbor_str_copy() argument 254 if (dest->data == NULL) { in lexbor_str_copy() 255 lexbor_str_init(dest, mraw, target->length); in lexbor_str_copy() 257 if (dest->data == NULL) { in lexbor_str_copy() 262 return lexbor_str_append(dest, mraw, target->data, target->length); in lexbor_str_copy()
|
H A D | str.h | 102 lexbor_str_copy(lexbor_str_t *dest, const lexbor_str_t *target,
|
/php-src/ext/ftp/ |
H A D | ftp.c | 1238 ftp_rename(ftpbuf_t *ftp, const char *src, const size_t src_len, const char *dest, const size_t des… in ftp_rename() argument 1249 if (!ftp_putcmd(ftp, "RNTO", sizeof("RNTO")-1, dest, dest_len)) { in ftp_rename()
|
H A D | php_ftp.c | 1133 char *src, *dest; in PHP_FUNCTION() local 1136 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oss", &z_ftp, php_ftp_ce, &src, &src_len, &dest, &dest… in PHP_FUNCTION() 1142 if (!ftp_rename(ftp, src, src_len, dest, dest_len)) { in PHP_FUNCTION()
|
/php-src/main/ |
H A D | php_variables.c | 754 static void php_autoglobal_merge(HashTable *dest, HashTable *src) in php_autoglobal_merge() argument 759 int globals_check = (dest == (&EG(symbol_table))); in php_autoglobal_merge() 763 || (string_key && (dest_entry = zend_hash_find(dest, string_key)) == NULL) in php_autoglobal_merge() 764 || (string_key == NULL && (dest_entry = zend_hash_index_find(dest, num_key)) == NULL) in php_autoglobal_merge() 769 zend_hash_update(dest, string_key, src_entry); in php_autoglobal_merge() 774 zend_hash_index_update(dest, num_key, src_entry); in php_autoglobal_merge()
|
/php-src/ext/phar/ |
H A D | util.c | 658 if (dest->link) { in phar_copy_entry_fp() 659 efree(dest->link); in phar_copy_entry_fp() 660 dest->link = NULL; in phar_copy_entry_fp() 661 dest->tar_type = (dest->is_tar ? TAR_FILE : '\0'); in phar_copy_entry_fp() 664 dest->fp_type = PHAR_MOD; in phar_copy_entry_fp() 665 dest->offset = 0; in phar_copy_entry_fp() 666 dest->is_modified = 1; in phar_copy_entry_fp() 667 dest->fp = php_stream_fopen_tmpfile(); in phar_copy_entry_fp() 668 if (dest->fp == NULL) { in phar_copy_entry_fp() 680 php_stream_close(dest->fp); in phar_copy_entry_fp() [all …]
|
H A D | phar.c | 664 void phar_metadata_tracker_copy(phar_metadata_tracker *dest, const phar_metadata_tracker *source, i… in phar_metadata_tracker_copy() argument 666 ZEND_ASSERT(dest != source); in phar_metadata_tracker_copy() 667 phar_metadata_tracker_free(dest, persistent); in phar_metadata_tracker_copy() 671 ZVAL_COPY(&dest->val, &source->val); in phar_metadata_tracker_copy() 674 dest->str = zend_string_copy(source->str); in phar_metadata_tracker_copy()
|
/php-src/ext/standard/ |
H A D | url_scanner_ex.re | 194 smart_str_append_smart_str(dest, url); 234 smart_str_appendc(dest, '/'); 235 smart_str_appendc(dest, '?'); 243 smart_str_appends(dest, "://"); 245 smart_str_appends(dest, "//"); 251 smart_str_appendc(dest, ':'); 253 smart_str_appendc(dest, '@'); 259 smart_str_appendc(dest, ':'); 265 smart_str_appendc(dest, '?'); 268 smart_str_appends(dest, separator); [all …]
|
H A D | string.c | 2196 zend_string *dest; local 2206 dest = zend_string_safe_alloc(chunks, endlen, srclen, 0); 2208 for (p = src, q = ZSTR_VAL(dest); p < (src + srclen - chunklen + 1); ) { 2220 ZEND_ASSERT(q - ZSTR_VAL(dest) == ZSTR_LEN(dest)); 2222 return dest;
|
H A D | array.c | 4101 zend_hash_extend(dest, zend_hash_num_elements(dest) + zend_hash_num_elements(src), 1); 4102 ZEND_HASH_FILL_PACKED(dest) { 4205 HashTable *dest; local 4225 dest = Z_ARRVAL_P(arg); 4230 ZVAL_ARR(return_value, dest); 4245 GC_ADDREF(dest); 4256 HashTable *src, *dest; local 4316 dest = src; 4318 ZVAL_ARR(return_value, dest); 4324 ZEND_HASH_FILL_PACKED(dest) { [all …]
|
/php-src/main/streams/ |
H A D | streams.c | 1604 PHPAPI zend_result _php_stream_copy_to_stream_ex(php_stream *src, php_stream *dest, size_t maxlen, … in _php_stream_copy_to_stream_ex() argument 1622 php_stream_is(dest, PHP_STREAM_IS_STDIO) && in _php_stream_copy_to_stream_ex() 1630 php_stream_cast(dest, PHP_STREAM_AS_FD, (void*)&dest_fd, 0) == SUCCESS && in _php_stream_copy_to_stream_ex() 1632 php_stream_parse_fopen_modes(dest->mode, &dest_open_flags) == SUCCESS && in _php_stream_copy_to_stream_ex() 1649 dest->position += nbytes; in _php_stream_copy_to_stream_ex() 1729 didwrite = php_stream_write(dest, p, mapped); in _php_stream_copy_to_stream_ex() 1780 ssize_t didwrite = php_stream_write(dest, writeptr, towrite); in _php_stream_copy_to_stream_ex() 1803 PHPAPI size_t _php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen STREAMS_D… in _php_stream_copy_to_stream() argument 1806 zend_result ret = _php_stream_copy_to_stream_ex(src, dest, maxlen, &len STREAMS_REL_CC); in _php_stream_copy_to_stream()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 724 void fpm_conf_apply_kv_array_to_kv_array(struct key_value_s *src, void *dest) { in fpm_conf_apply_kv_array_to_kv_array() argument 731 fpm_conf_set_array(&k, &v, &dest, 0); in fpm_conf_apply_kv_array_to_kv_array()
|
/php-src/ext/session/ |
H A D | session.c | 2998 static bool early_find_sid_in(zval *dest, int where, php_session_rfc1867_progress *progress) /* {{{… in early_find_sid_in() argument 3008 zval_ptr_dtor(dest); in early_find_sid_in() 3009 ZVAL_COPY_DEREF(dest, ppid); in early_find_sid_in()
|
/php-src/ext/random/ |
H A D | random.c | 356 PHPAPI bool php_random_hex2bin_le(zend_string *hexstr, void *dest) argument 360 unsigned char *ptr = (unsigned char *) dest;
|
H A D | php_random.h | 178 PHPAPI bool php_random_hex2bin_le(zend_string *hexstr, void *dest);
|
/php-src/build/ |
H A D | ltmain.sh | 5853 dest= 5862 if test -n "$dest"; then 5863 files="$files $dest" 5864 dest=$arg 5888 dest=$arg 5917 if test -z "$dest"; then 5927 dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` 5930 test -d "$dest" && isdir=yes 5932 destdir="$dest" 5936 test "X$destdir" = "X$dest" && destdir=. [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_structs.h | 128 #define COPY_CLIENT_ERROR(dest, source) SET_CLIENT_ERROR((dest), (source).error_no, (source).sq… argument 1079 void (*read)(struct st_mysqlnd_read_buffer *, size_t count, zend_uchar * dest);
|
/php-src/ext/pdo/ |
H A D | pdo_stmt.c | 491 ZVAL_NULL(dest); in fetch_value() 497 ZVAL_NULL(dest); in fetch_value() 501 ZVAL_NULL(dest); in fetch_value() 504 if (Z_TYPE_P(dest) == IS_STRING && Z_STRLEN_P(dest) == 0 in fetch_value() 506 zval_ptr_dtor_str(dest); in fetch_value() 507 ZVAL_NULL(dest); in fetch_value() 519 convert_to_long(dest); in fetch_value() 522 convert_to_boolean(dest); in fetch_value() 539 ZVAL_STR(dest, str); in fetch_value() 546 convert_to_null(dest); in fetch_value() [all …]
|