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

/PHP_5_3/sapi/cgi/
H A Dcgi_main.c1267 int ptlen = strlen(pt) - strlen(env_script_name); local
1268 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1272 memcpy(path_translated, pt, ptlen);
1274 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c1201 int ptlen = strlen(pt); local
1202 int slen = len - ptlen;
1208 path_info = script_path_translated + ptlen;
1278 int ptlen = strlen(pt) - strlen(env_script_name); local
1279 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1283 memcpy(path_translated, pt, ptlen);
1285 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);

Completed in 11 milliseconds