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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1294 size_t ptlen = strlen(pt) - strlen(env_script_name); local
1295 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1299 memcpy(path_translated, pt, ptlen);
1301 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1149 int ptlen = strlen(pt); local
1150 int slen = len - ptlen;
1156 path_info = script_path_translated + ptlen;
1237 int ptlen = strlen(pt) - strlen(env_script_name); local
1238 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1242 memcpy(path_translated, pt, ptlen);
1244 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);

Completed in 9 milliseconds