Home
last modified time | relevance | path

Searched refs:path_translated_len (Results 1 – 3 of 3) sorted by relevance

/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_main.c1219 int path_translated_len = 0; in init_request_info() local
1232 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0); in init_request_info()
1233 path_translated = (char *) emalloc(path_translated_len + 1); in init_request_info()
1236 memcpy(path_translated + l, env_path_info, (path_translated_len - l)); in init_request_info()
1238 path_translated[path_translated_len] = '\0'; in init_request_info()
1249 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); in init_request_info() local
1252 path_translated = (char *) emalloc(path_translated_len + 1); in init_request_info()
1255 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen); in init_request_info()
1257 path_translated[path_translated_len] = '\0'; in init_request_info()
/PHP-8.3/sapi/cgi/
H A Dcgi_main.c1321 size_t path_translated_len = 0; local
1334 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1335 path_translated = (char *) emalloc(path_translated_len + 1);
1338 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1340 path_translated[path_translated_len] = '\0';
1351 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1353 char *path_translated = (char *) emalloc(path_translated_len + 1);
1356 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1358 path_translated[path_translated_len] = '\0';
/PHP-8.3/sapi/cli/
H A Dphp_cli_server.c137 size_t path_translated_len; member
1400 req->path_translated_len = 0; in php_cli_server_request_ctor()
1525 request->path_translated_len = q - buf; in php_cli_server_request_translate_vpath()
1531 request->path_translated_len = q - buf; in php_cli_server_request_translate_vpath()
2132 if (strlen(client->request.path_translated) != client->request.path_translated_len) { in php_cli_server_dispatch_script()
2160 …ath_translated && strlen(client->request.path_translated) != client->request.path_translated_len) { in php_cli_server_begin_send_static()
2172 ('.' == client->request.path_translated[client->request.path_translated_len-1] || in php_cli_server_begin_send_static()
2173 ' ' == client->request.path_translated[client->request.path_translated_len-1])) { in php_cli_server_begin_send_static()

Completed in 47 milliseconds