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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1265 size_t path_translated_len = 0; local
1278 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1279 path_translated = (char *) emalloc(path_translated_len + 1);
1282 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1284 path_translated[path_translated_len] = '\0';
1295 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1298 path_translated = (char *) emalloc(path_translated_len + 1);
1301 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1303 path_translated[path_translated_len] = '\0';
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c132 size_t path_translated_len; member in struct:php_cli_server_request
1311 req->path_translated_len = 0;
1436 request->path_translated_len = q - buf;
1442 request->path_translated_len = q - buf;
1916 if (strlen(client->request.path_translated) != client->request.path_translated_len) {
1941 if (client->request.path_translated && strlen(client->request.path_translated) != client->request.path_translated_len) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1208 int path_translated_len = 0; local
1221 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1222 path_translated = (char *) emalloc(path_translated_len + 1);
1225 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1227 path_translated[path_translated_len] = '\0';
1238 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0); local
1241 path_translated = (char *) emalloc(path_translated_len + 1);
1244 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1246 path_translated[path_translated_len] = '\0';

Completed in 13 milliseconds