Home
last modified time | relevance | path

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

12

/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_request.c125 strlcpy(proc->request_uri, request_uri, sizeof(proc->request_uri)); in fpm_request_info()
129 strlcpy(proc->request_method, request_method, sizeof(proc->request_method)); in fpm_request_info()
133 strlcpy(proc->query_string, query_string, sizeof(proc->query_string)); in fpm_request_info()
137 strlcpy(proc->auth_user, auth_user, sizeof(proc->auth_user)); in fpm_request_info()
145 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.c374 strlcpy(sa_un.sun_path, wp->config->listen_address, sizeof(sa_un.sun_path)); in fpm_socket_af_unix_listening_socket()
/PHP-7.4/ext/pdo/
H A Dphp_pdo_error.h27 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
/PHP-7.4/ext/pspell/
H A Dpspell.c297 strlcpy(data_dir, aspell_dir, sizeof(data_dir)); in PHP_FUNCTION()
299 strlcpy(dict_dir, aspell_dir, sizeof(dict_dir)); in PHP_FUNCTION()
394 strlcpy(data_dir, aspell_dir, sizeof(data_dir)); in PHP_FUNCTION()
396 strlcpy(dict_dir, aspell_dir, sizeof(dict_dir)); in PHP_FUNCTION()
713 strlcpy(data_dir, aspell_dir, sizeof(data_dir)); in PHP_FUNCTION()
715 strlcpy(dict_dir, aspell_dir, sizeof(dict_dir)); in PHP_FUNCTION()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_loaddata.c95 strlcpy(error_buf, info->error_msg, error_buf_len); in mysqlnd_local_infile_error()
100 strlcpy(error_buf, "Unknown error", error_buf_len); in mysqlnd_local_infile_error()
H A Dmysqlnd_auth.c352strlcpy(conn->error_info->sqlstate, auth_resp_packet.sqlstate, sizeof(conn->error_info->sqlstate)); in mysqlnd_auth_handshake()
1252 strlcpy(conn->error_info->sqlstate, result_packet.sqlstate, sizeof(conn->error_info->sqlstate)); in mysqlnd_caching_sha2_handle_server_response()
H A Dmysqlnd_connection.c125 strlcpy(info->sqlstate, sqlstate, sizeof(info->sqlstate)); in MYSQLND_METHOD()
126 strlcpy(info->error, error, sizeof(info->error)); in MYSQLND_METHOD()
129 strlcpy(error_for_the_list.sqlstate, sqlstate, sizeof(error_for_the_list.sqlstate)); in MYSQLND_METHOD()
H A Dmysqlnd_wireprotocol.c1365 strlcpy(info->sqlstate, sqlstate, sizeof(info->sqlstate)); in set_packet_error()
1366 strlcpy(info->error, error, sizeof(info->error)); in set_packet_error()
/PHP-7.4/ext/opcache/
H A Dshared_alloc_win32.c75 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-7.4/main/
H A Dphp.h168 #undef strlcpy
169 #define strlcpy php_strlcpy macro
H A Dfopen_wrappers.c154 strlcpy(local_open_basedir, basedir, sizeof(local_open_basedir));
H A Dsnprintf.c106 (void) strlcpy(s, p, siz); in __cvt()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dder.c213 strlcpy(buf, der__tag[tag], len); in der_tag()
335 strlcpy(ms->ms_value.s, buf, sizeof(ms->ms_value.s)); in der_cmp()
H A Dfile.h528 #ifndef strlcpy
529 size_t strlcpy(char *, const char *, size_t);
H A Dcompress.c425 (void)strlcpy(buf, "/tmp/file.XXXXXX", sizeof buf); in file_pipe2file()
566 strlcpy(RCAST(char *, *newch), z.msg ? z.msg : zError(rc), bytes_max); in uncompresszlib()
/PHP-7.4/ext/standard/
H A Dhttp_fopen_wrapper.c790 strlcpy(location, http_header_value, sizeof(location)); in php_stream_url_wrap_http_ex()
875 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
883 strlcpy(new_path, location, sizeof(new_path)); in php_stream_url_wrap_http_ex()
950 strlcpy(stream->mode, mode, sizeof(stream->mode)); in php_stream_url_wrap_http_ex()
H A Dphp_crypt_r.c374 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); in php_md5_crypt_r()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_wait.c357 …if (strlcpy(local.sun_path, PHPDBG_G(socket_path), sizeof(local.sun_path)) > sizeof(local.sun_path… in PHPDBG_COMMAND()
/PHP-7.4/win32/
H A Dglob.c838 strlcpy(buf, ".", sizeof(buf));
/PHP-7.4/win32/build/
H A Dconfig.w32251 php_scandir.c php_ini.c SAPI.c rfc1867.c php_content_types.c strlcpy.c \
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_statement.c807 strlcpy(S->name, Z_STRVAL_P(val), sizeof(S->name)); in firebird_stmt_set_attribute()
/PHP-7.4/ext/dba/
H A Ddba.c739 strlcpy(mode, Z_STRVAL(args[1]), sizeof(mode)); in php_dba_open()
/PHP-7.4/
H A DREADME.REDIST.BINS13 13. main/strlcpy
459 13. main/strlcpy
/PHP-7.4/ext/pcntl/
H A Dpcntl.c1021 strlcpy(*pair, ZSTR_VAL(key), ZSTR_LEN(key) + 1); in PHP_FUNCTION()

Completed in 185 milliseconds

12