/PHP-5.5/main/ |
H A D | snprintf.c | 399 memcpy(buf, p, *len + 1); in php_conv_fp()
|
/PHP-5.5/main/streams/ |
H A D | filter.c | 95 memcpy(bucket->buf, buf, buflen); in php_stream_bucket_new() 128 memcpy(retval, bucket, sizeof(*retval)); in php_stream_bucket_make_writeable() 131 memcpy(retval->buf, bucket->buf, retval->buflen); in php_stream_bucket_make_writeable() 152 memcpy((*left)->buf, in->buf, length); in php_stream_bucket_split() 159 memcpy((*right)->buf, in->buf + length, (*right)->buflen); in php_stream_bucket_split() 269 memcpy(wildname, filtername, n+1); in php_stream_filter_create() 405 memcpy(stream->readbuf + stream->writepos, bucket->buf, bucket->buflen); in php_stream_filter_append_ex() 487 memcpy(stream->readbuf, stream->readbuf + stream->readpos, stream->writepos - stream->readpos); in _php_stream_filter_flush() 496 memcpy(stream->readbuf + stream->writepos, bucket->buf, bucket->buflen); in _php_stream_filter_flush()
|
H A D | memory.c | 76 memcpy(ms->data+ms->fpos, (char*)buf, count); in php_stream_memory_write() 100 memcpy(buf, ms->data+ms->fpos, count); in php_stream_memory_read() 729 memcpy(stream->mode, mode, vlen); in php_stream_url_wrap_rfc2397()
|
H A D | plain_wrapper.c | 578 memcpy(&ssb->sb, &data->sb, sizeof(ssb->sb)); in php_stdiop_stat() 1483 memcpy(pathbuf, path, path_length); in _php_stream_fopen_with_path() 1485 memcpy(pathbuf+path_length+1, exec_fname, exec_fname_length); in _php_stream_fopen_with_path()
|
H A D | streams.c | 639 memcpy(stream->readbuf + stream->writepos, bucket->buf, bucket->buflen); in _php_stream_fill_read_buffer() 720 memcpy(buf, stream->readbuf + stream->readpos, toread); in _php_stream_read() 747 memcpy(buf, stream->readbuf + stream->readpos, toread); in _php_stream_read() 949 memcpy(buf, readptr, cpysz); in _php_stream_get_line() 1931 memcpy(ssb, &BG(lssb), sizeof(php_stream_statbuf)); 1936 memcpy(ssb, &BG(ssb), sizeof(php_stream_statbuf)); 1953 memcpy(&BG(lssb), ssb, sizeof(php_stream_statbuf)); 1959 memcpy(&BG(ssb), ssb, sizeof(php_stream_statbuf));
|
H A D | transports.c | 427 memcpy(buf, stream->readbuf, recvd_len); in php_stream_xport_recvfrom()
|
H A D | userspace.c | 715 memcpy(buf, Z_STRVAL_P(retval), didread); in php_userstreamop_read()
|
H A D | xp_socket.c | 518 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen); in parse_unix_address() 730 memcpy(clisockdata, sock, sizeof(*clisockdata)); in php_tcp_sockop_accept()
|
/PHP-5.5/sapi/apache/ |
H A D | mod_php5.c | 727 memcpy(per_dir_entry->key, tmp.key, tmp.key_length); in copy_per_dir_entry() 731 memcpy(per_dir_entry->value, tmp.value, tmp.value_length); in copy_per_dir_entry() 819 memcpy(per_dir_entry.key, arg1, per_dir_entry.key_length); in php_apache_value_handler_ex() 823 memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length); in php_apache_value_handler_ex()
|
/PHP-5.5/sapi/apache2filter/ |
H A D | sapi_apache2.c | 166 memcpy(buf, ctx->post_data + ctx->post_idx, n); in php_apache_sapi_read_post() 391 memcpy(ctx->post_data + old_index, str, n); in php_input_filter()
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | mod_php5.c | 780 memcpy(per_dir_entry->key, tmp.key, tmp.key_length); in copy_per_dir_entry() 784 memcpy(per_dir_entry->value, tmp.value, tmp.value_length); in copy_per_dir_entry() 917 memcpy(per_dir_entry.key, arg1, per_dir_entry.key_length); in php_apache_value_handler_ex() 921 memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length); in php_apache_value_handler_ex()
|
/PHP-5.5/sapi/cgi/ |
H A D | cgi_main.c | 692 memcpy(php_self, script_name, script_name_len + 1); in sapi_cgi_register_variables() 693 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 736 memcpy(buf, message, len); in sapi_cgi_log_message() 737 memcpy(buf + len, "\n", sizeof("\n")); in sapi_cgi_log_message() 869 memcpy(path, SG(request_info).path_translated, path_len + 1); 1315 memcpy(path_translated, env_document_root, l); 1334 memcpy(path_translated, pt, ptlen); 1681 memcpy(s, h->header, len); 1860 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, "\"", 1); 1868 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, len); [all …]
|
H A D | fastcgi.c | 252 memcpy(ret, str, str_len); in fcgi_hash_strndup() 670 memcpy(sa.sa_unix.sun_path, path, path_len + 1); in fcgi_listen() 1024 memcpy(p, q->var, q->var_len); in fcgi_read_request() 1026 memcpy(p, Z_STRVAL_PP(value), zlen); in fcgi_read_request() 1369 memcpy(req->out_pos, str, rest); 1373 memcpy(req->out_pos, str, limit); 1394 memcpy(req->out_pos, str, len); 1401 memcpy(req->out_pos, str, limit); 1409 memcpy(req->out_pos, str + limit, len - limit); 1446 memcpy(req->out_pos, str + len - rest, rest);
|
/PHP-5.5/sapi/cli/ |
H A D | php_cli.c | 1290 memcpy(ini_entries + ini_entries_len, php_optarg, (val - php_optarg)); in WinMain() 1292 memcpy(ini_entries + ini_entries_len, "\"", 1); in WinMain() 1294 memcpy(ini_entries + ini_entries_len, val, len - (val - php_optarg)); in WinMain() 1296 memcpy(ini_entries + ini_entries_len, "\"\n\0", sizeof("\"\n\0")); in WinMain() 1300 memcpy(ini_entries + ini_entries_len, php_optarg, len); in WinMain() 1301 memcpy(ini_entries + ini_entries_len + len, "\n\0", sizeof("\n\0")); in WinMain() 1306 memcpy(ini_entries + ini_entries_len, php_optarg, len); in WinMain() 1307 memcpy(ini_entries + ini_entries_len + len, "=1\n\0", sizeof("=1\n\0")); in WinMain() 1347 memcpy(ini_entries, HARDCODED_INI, sizeof(HARDCODED_INI) - 2); in WinMain() 1350 memcpy(ini_entries, HARDCODED_INI, sizeof(HARDCODED_INI)); in WinMain()
|
H A D | php_cli_server.c | 522 memcpy(s, h->header, len); in add_response_header()
|
H A D | ps_title.c | 197 memcpy((char *)frozen_environ, (char *)new_environ, sizeof(char *) * (i + 1)); in save_ps_args()
|
/PHP-5.5/sapi/embed/ |
H A D | php_embed.c | 189 memcpy(php_embed_module.ini_entries, HARDCODED_INI, sizeof(HARDCODED_INI)); in php_embed_init()
|
/PHP-5.5/sapi/fpm/fpm/events/ |
H A D | poll.c | 140 memcpy(active_pollfds, pollfds, sizeof(struct pollfd) * npollfds); in fpm_event_poll_wait()
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fastcgi.c | 486 memcpy(tmp, p, eff_name_len); in fcgi_get_params() 651 memcpy(p, str_index, str_length); in fcgi_read_request() 653 memcpy(p, Z_STRVAL_PP(value), zlen); in fcgi_read_request() 1009 memcpy(req->out_pos, str, len); 1016 memcpy(req->out_pos, str, limit); 1024 memcpy(req->out_pos, str + limit, len - limit); 1061 memcpy(req->out_pos, str + len - rest, rest);
|
H A D | fpm_arrays.h | 72 memcpy(to_remove, last, a->sz); in fpm_array_item_remove()
|
H A D | fpm_env.c | 50 memcpy(var, name, name_len); in setenv() 54 memcpy(var + name_len + 1, value, value_len); in setenv()
|
H A D | fpm_log.c | 424 memcpy(format, start, l); in fpm_log_write()
|
H A D | fpm_main.c | 636 memcpy(php_self, script_name, script_name_len + 1); in sapi_cgi_register_variables() 639 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 674 memcpy(buf, message, len); in sapi_cgi_log_fastcgi() 675 memcpy(buf + len, "\n", sizeof("\n")); in sapi_cgi_log_fastcgi() 801 memcpy(path, SG(request_info).path_translated, path_len + 1); 1281 memcpy(path_translated, env_document_root, l); 1283 memcpy(path_translated + l, env_path_info, (path_translated_len - l)); 1300 memcpy(path_translated, pt, ptlen); 1648 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, "\"", 1); 1656 memcpy(cgi_sapi_module.ini_entries + ini_entries_len, php_optarg, len); [all …]
|
H A D | zlog.c | 116 memcpy(buf + buf_size - sizeof("..."), "...", sizeof("...") - 1); in zlog_ex() 178 memcpy(buf + buf_size - sizeof("..."), "...", sizeof("...") - 1); in zlog_ex()
|
/PHP-5.5/sapi/isapi/ |
H A D | php5isapi.c | 233 memcpy(*combined_headers_ptr, sapi_header->header, sapi_header->header_len); in concat_header() 336 memcpy(buffer, lpECB->lpbData+SG(read_post_bytes), read_from_buf); in sapi_isapi_read_post()
|