Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 25 of 37) sorted by relevance

12

/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_request.c127 strlcpy(proc->request_uri, request_uri, sizeof(proc->request_uri)); in fpm_request_info()
131 strlcpy(proc->request_method, request_method, sizeof(proc->request_method)); in fpm_request_info()
135 strlcpy(proc->query_string, query_string, sizeof(proc->query_string)); in fpm_request_info()
139 strlcpy(proc->auth_user, auth_user, sizeof(proc->auth_user)); in fpm_request_info()
147 strlcpy(proc->script_filename, script_filename, sizeof(proc->script_filename)); in fpm_request_info()
H A Dfpm_scoreboard.c66 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main()
H A Dfpm_sockets.c383 strlcpy(sa_un.sun_path, wp->config->listen_address, sizeof(sa_un.sun_path)); in fpm_socket_af_unix_listening_socket()
/PHP-8.1/ext/pdo/
H A Dphp_pdo_error.h25 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
/PHP-8.1/ext/pspell/
H A Dpspell.c215 strlcpy(data_dir, aspell_dir, sizeof(data_dir)); in PHP_FUNCTION()
217 strlcpy(dict_dir, aspell_dir, sizeof(dict_dir)); in PHP_FUNCTION()
308 strlcpy(data_dir, aspell_dir, sizeof(data_dir)); in PHP_FUNCTION()
310 strlcpy(dict_dir, aspell_dir, sizeof(dict_dir)); in PHP_FUNCTION()
600 strlcpy(data_dir, aspell_dir, sizeof(data_dir)); in PHP_FUNCTION()
602 strlcpy(dict_dir, aspell_dir, sizeof(dict_dir)); in PHP_FUNCTION()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_loaddata.c93 strlcpy(error_buf, info->error_msg, error_buf_len); in mysqlnd_local_infile_error()
98 strlcpy(error_buf, "Unknown error", error_buf_len); in mysqlnd_local_infile_error()
H A Dmysqlnd_auth.c345strlcpy(conn->error_info->sqlstate, auth_resp_packet.sqlstate, sizeof(conn->error_info->sqlstate)); in mysqlnd_auth_handshake()
1253 strlcpy(conn->error_info->sqlstate, result_packet.sqlstate, sizeof(conn->error_info->sqlstate)); in mysqlnd_caching_sha2_handle_server_response()
H A Dmysqlnd_connection.c123 strlcpy(info->sqlstate, sqlstate, sizeof(info->sqlstate)); in MYSQLND_METHOD()
124 strlcpy(info->error, error, sizeof(info->error)); in MYSQLND_METHOD()
127 strlcpy(error_for_the_list.sqlstate, sqlstate, sizeof(error_for_the_list.sqlstate)); in MYSQLND_METHOD()
/PHP-8.1/ext/opcache/
H A Dshared_alloc_win32.c76 p += strlcpy(newname, name, MAXPATHLEN + 1); in create_name_with_username()
81 p += strlcpy(p, sapi_module.name, 21); in create_name_with_username()
/PHP-8.1/main/
H A Dphp.h158 #undef strlcpy
159 #define strlcpy php_strlcpy macro
H A Dsnprintf.c101 (void) strlcpy(s, p, siz); in __cvt()
H A Dfopen_wrappers.c145 strlcpy(local_open_basedir, basedir, sizeof(local_open_basedir));
/PHP-8.1/ext/standard/
H A Dphp_crypt_r.c159 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); in php_md5_crypt_r()
H A Dhttp_fopen_wrapper.c790 strlcpy(location, http_header_value, sizeof(location)); in php_stream_url_wrap_http_ex()
880 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
888 strlcpy(new_path, location, sizeof(new_path)); in php_stream_url_wrap_http_ex()
962 strlcpy(stream->mode, mode, sizeof(stream->mode)); in php_stream_url_wrap_http_ex()
/PHP-8.1/ext/fileinfo/libmagic/
H A Dder.c230 strlcpy(buf, der__tag[tag], len); in der_tag()
369 strlcpy(ms->ms_value.s, buf, sizeof(ms->ms_value.s)); in der_cmp()
H A Dfile.h566 #ifndef strlcpy
567 size_t strlcpy(char *, const char *, size_t);
H A Dprint.c274 strlcpy(buf, "*Invalid time*", bsize); in file_fmttime()
H A Dcompress.c455 (void)strlcpy(buf, "/tmp/file.XXXXXX", sizeof buf); in file_pipe2file()
597 strlcpy(RCAST(char *, *newch), z.msg ? z.msg : zError(rc), bytes_max); in uncompresszlib()
H A Dfuncs.c66 strlcpy(buf, str, width); in file_copystr()
/PHP-8.1/win32/
H A Dglob.c838 strlcpy(buf, ".", sizeof(buf));
/PHP-8.1/ext/pdo_firebird/
H A Dfirebird_statement.c802 strlcpy(S->name, Z_STRVAL_P(val), sizeof(S->name)); in firebird_stmt_set_attribute()
/PHP-8.1/win32/build/
H A Dconfig.w32264 php_scandir.c php_ini.c SAPI.c rfc1867.c php_content_types.c strlcpy.c \
/PHP-8.1/ext/dba/
H A Ddba.c630 strlcpy(mode, Z_STRVAL(args[1]), sizeof(mode)); in php_dba_open()
/PHP-8.1/
H A DREADME.REDIST.BINS12 12. main/strlcpy
434 12. main/strlcpy
/PHP-8.1/ext/pcntl/
H A Dpcntl.c899 strlcpy(*pair, ZSTR_VAL(key), ZSTR_LEN(key) + 1); in PHP_FUNCTION()

Completed in 72 milliseconds

12