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

/PHP_5_5/sapi/cgi/
H A Dcgi_main.c1297 int path_translated_len = 0; local
1310 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1311 path_translated = (char *) emalloc(path_translated_len + 1);
1314 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1316 path_translated[path_translated_len] = '\0';
1327 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1330 path_translated = (char *) emalloc(path_translated_len + 1);
1333 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1335 path_translated[path_translated_len] = '\0';
/PHP_5_5/sapi/cli/
H A Dphp_cli_server.c130 size_t path_translated_len; member in struct:php_cli_server_request
1413 req->path_translated_len = 0;
1538 request->path_translated_len = q - buf;
1544 request->path_translated_len = q - buf;
2011 if (strlen(client->request.path_translated) != client->request.path_translated_len) {
2036 if (client->request.path_translated && strlen(client->request.path_translated) != client->request.path_translated_len) {
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_main.c1262 int path_translated_len = 0; local
1275 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1276 path_translated = (char *) emalloc(path_translated_len + 1);
1279 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1281 path_translated[path_translated_len] = '\0';
1292 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1295 path_translated = (char *) emalloc(path_translated_len + 1);
1298 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1300 path_translated[path_translated_len] = '\0';

Completed in 13 milliseconds