Searched refs:ptlen (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1324 int ptlen = strlen(pt) - strlen(env_script_name); local
1325 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1329 memcpy(path_translated, pt, ptlen);
1331 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1198 int ptlen = strlen(pt); local
1199 int slen = len - ptlen;
1205 path_info = script_path_translated + ptlen;
1286 int ptlen = strlen(pt) - strlen(env_script_name); local
1287 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1291 memcpy(path_translated, pt, ptlen);
1293 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);

Completed in 9 milliseconds