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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1142 int ptlen = strlen(pt); local
1143 int slen = len - ptlen;
1149 path_info = script_path_translated + ptlen;
1230 int ptlen = strlen(pt) - strlen(env_script_name); local
1231 int path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1235 memcpy(path_translated, pt, ptlen);
1237 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1297 size_t ptlen = strlen(pt) - strlen(env_script_name); local
1298 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1302 memcpy(path_translated, pt, ptlen);
1304 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);

Completed in 9 milliseconds