Home
last modified time | relevance | path

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

/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c1191 int path_translated_len = 0; in init_request_info() local
1204 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0); in init_request_info()
1205 path_translated = (char *) emalloc(path_translated_len + 1); in init_request_info()
1208 memcpy(path_translated + l, env_path_info, (path_translated_len - l)); in init_request_info()
1210 path_translated[path_translated_len] = '\0'; in init_request_info()
1221 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); in init_request_info() local
1224 path_translated = (char *) emalloc(path_translated_len + 1); in init_request_info()
1227 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen); in init_request_info()
1229 path_translated[path_translated_len] = '\0'; in init_request_info()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c1336 size_t path_translated_len = 0; local
1349 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1350 path_translated = (char *) emalloc(path_translated_len + 1);
1353 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1355 path_translated[path_translated_len] = '\0';
1366 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1368 char *path_translated = (char *) emalloc(path_translated_len + 1);
1371 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1373 path_translated[path_translated_len] = '\0';
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c127 size_t path_translated_len; member
1397 req->path_translated_len = 0; in php_cli_server_request_ctor()
1518 request->path_translated_len = q - buf; in php_cli_server_request_translate_vpath()
1524 request->path_translated_len = q - buf; in php_cli_server_request_translate_vpath()
2095 if (strlen(client->request.path_translated) != client->request.path_translated_len) { in php_cli_server_dispatch_script()
2116 …ath_translated && strlen(client->request.path_translated) != client->request.path_translated_len) { in php_cli_server_begin_send_static()
2128 ('.' == client->request.path_translated[client->request.path_translated_len-1] || in php_cli_server_begin_send_static()
2129 ' ' == client->request.path_translated[client->request.path_translated_len-1])) { in php_cli_server_begin_send_static()

Completed in 29 milliseconds