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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1178 int ptlen = strlen(pt); local
1179 int slen = len - ptlen;
1185 path_info = script_path_translated + ptlen;
1266 int ptlen = strlen(pt) - strlen(env_script_name); local
1267 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1271 memcpy(path_translated, pt, ptlen);
1273 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1306 size_t ptlen = strlen(pt) - strlen(env_script_name); local
1307 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1311 memcpy(path_translated, pt, ptlen);
1313 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);

Completed in 9 milliseconds