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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1266 size_t path_translated_len = 0; local
1279 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1280 path_translated = (char *) emalloc(path_translated_len + 1);
1283 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1285 path_translated[path_translated_len] = '\0';
1296 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1299 path_translated = (char *) emalloc(path_translated_len + 1);
1302 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1304 path_translated[path_translated_len] = '\0';
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c131 size_t path_translated_len; member in struct:php_cli_server_request
1312 req->path_translated_len = 0;
1437 request->path_translated_len = q - buf;
1443 request->path_translated_len = q - buf;
1917 if (strlen(client->request.path_translated) != client->request.path_translated_len) {
1942 if (client->request.path_translated && strlen(client->request.path_translated) != client->request.path_translated_len) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1200 int path_translated_len = 0; local
1213 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1214 path_translated = (char *) emalloc(path_translated_len + 1);
1217 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1219 path_translated[path_translated_len] = '\0';
1230 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1233 path_translated = (char *) emalloc(path_translated_len + 1);
1236 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1238 path_translated[path_translated_len] = '\0';

Completed in 13 milliseconds