Home
last modified time | relevance | path

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

12

/PHP-8.4/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.c404 strlcpy(sa_un.sun_path, wp->config->listen_address, socket_length); in fpm_socket_af_unix_listening_socket()
/PHP-8.4/ext/pdo/
H A Dphp_pdo_error.h25 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
/PHP-8.4/ext/fileinfo/libmagic/
H A Dprint.c305 strlcpy(buf, "*Invalid datetime*", bsize); in file_fmtdatetime()
328 strlcpy(buf, "*Invalid date*", bsize); in file_fmtdate()
347 strlcpy(buf, "*Invalid time*", bsize); in file_fmttime()
361 bad: strlcpy(buf, "*Invalid number*", blen); in file_fmtnum()
H A Dder.c230 strlcpy(buf, der__tag[tag], len); in der_tag()
380 strlcpy(ms->ms_value.s, buf, sizeof(ms->ms_value.s)); in der_cmp()
H A Dfile.h619 #ifndef strlcpy
620 size_t strlcpy(char *, const char *, size_t);
H A Dcompress.c487 (void)strlcpy(buf, t, sizeof(buf)); in file_pipe2file()
489 (void)strlcpy(buf, t, sizeof(buf)); in file_pipe2file()
491 (void)strlcpy(buf, t, sizeof(buf)); in file_pipe2file()
496 (void)strlcpy(buf, "/tmp/file.XXXXXX", sizeof(buf)); in file_pipe2file()
/PHP-8.4/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()
H A Dmysqlnd_wireprotocol.c1336 strlcpy(info->sqlstate, sqlstate, sizeof(info->sqlstate)); in set_packet_error()
1337 strlcpy(info->error, error, sizeof(info->error)); in set_packet_error()
/PHP-8.4/ext/opcache/
H A Dshared_alloc_win32.c76 p += strlcpy(newname, name, MAXPATHLEN + 1); in create_name_with_username()
80 p += strlcpy(p, sapi_module.name, 21); in create_name_with_username()
/PHP-8.4/main/
H A Dphp.h158 #undef strlcpy
159 #define strlcpy php_strlcpy macro
H A Dsnprintf.c103 (void) strlcpy(s, p, siz); in __cvt()
H A Dfopen_wrappers.c157 strlcpy(local_open_basedir, basedir, sizeof(local_open_basedir));
/PHP-8.4/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.c785 strlcpy(location, http_header_value, sizeof(location)); in php_stream_url_wrap_http_ex()
886 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
894 strlcpy(new_path, location, sizeof(new_path)); in php_stream_url_wrap_http_ex()
968 strlcpy(stream->mode, mode, sizeof(stream->mode)); in php_stream_url_wrap_http_ex()
/PHP-8.4/sapi/cli/
H A Dps_title.c346 size_t title_len = strlcpy(ps_buffer, title, ps_buffer_size); in set_ps_title()
/PHP-8.4/Zend/
H A Dzend_string.c511 size_t strlcpy(char *__restrict dest, const char *__restrict src, size_t n) in strlcpy() function
/PHP-8.4/win32/
H A Dglob.c797 strlcpy(buf, ".", sizeof(buf)); in g_opendir()
/PHP-8.4/ext/pdo_firebird/
H A Dfirebird_statement.c898 strlcpy(S->name, Z_STRVAL_P(val), sizeof(S->name)); in pdo_firebird_stmt_set_attribute()
/PHP-8.4/win32/build/
H A Dconfig.w32288 php_scandir.c php_ini.c SAPI.c rfc1867.c php_content_types.c strlcpy.c \
/PHP-8.4/ext/fileinfo/
H A Dlibmagic.patch1536 +#ifndef strlcpy
1537 size_t strlcpy(char *, const char *, size_t);
1843 - (void)strlcpy(buf2, fn, sizeof buf2);
2121 - strlcpy(old, setlocale(LC_CTYPE, NULL), sizeof(old));
2153 - strlcpy(old, setlocale(LC_CTYPE, NULL), sizeof(old));
/PHP-8.4/
H A DREADME.REDIST.BINS12 12. main/strlcpy
436 12. main/strlcpy

Completed in 93 milliseconds

12