Home
last modified time | relevance | path

Searched refs:memcpy (Results 251 – 275 of 286) sorted by path

1...<<1112

/PHP-5.5/main/
H A Dsnprintf.c399 memcpy(buf, p, *len + 1); in php_conv_fp()
/PHP-5.5/main/streams/
H A Dfilter.c95 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 Dmemory.c76 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 Dplain_wrapper.c578 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 Dstreams.c639 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 Dtransports.c427 memcpy(buf, stream->readbuf, recvd_len); in php_stream_xport_recvfrom()
H A Duserspace.c715 memcpy(buf, Z_STRVAL_P(retval), didread); in php_userstreamop_read()
H A Dxp_socket.c518 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 Dmod_php5.c727 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 Dsapi_apache2.c166 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 Dmod_php5.c780 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 Dcgi_main.c692 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 Dfastcgi.c252 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 Dphp_cli.c1290 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 Dphp_cli_server.c522 memcpy(s, h->header, len); in add_response_header()
H A Dps_title.c197 memcpy((char *)frozen_environ, (char *)new_environ, sizeof(char *) * (i + 1)); in save_ps_args()
/PHP-5.5/sapi/embed/
H A Dphp_embed.c189 memcpy(php_embed_module.ini_entries, HARDCODED_INI, sizeof(HARDCODED_INI)); in php_embed_init()
/PHP-5.5/sapi/fpm/fpm/events/
H A Dpoll.c140 memcpy(active_pollfds, pollfds, sizeof(struct pollfd) * npollfds); in fpm_event_poll_wait()
/PHP-5.5/sapi/fpm/fpm/
H A Dfastcgi.c486 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 Dfpm_arrays.h72 memcpy(to_remove, last, a->sz); in fpm_array_item_remove()
H A Dfpm_env.c50 memcpy(var, name, name_len); in setenv()
54 memcpy(var + name_len + 1, value, value_len); in setenv()
H A Dfpm_log.c424 memcpy(format, start, l); in fpm_log_write()
H A Dfpm_main.c636 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 Dzlog.c116 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 Dphp5isapi.c233 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()

Completed in 136 milliseconds

1...<<1112