Lines Matching refs:pt
1178 char *pt = estrndup(script_path_translated, script_path_translated_len); local
1182 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) {
1184 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
1200 int slen = len - strlen(pt);
1225 strcmp(orig_script_filename, pt) != 0) {
1229 script_path_translated = _sapi_cgibin_putenv("SCRIPT_FILENAME", pt TSRMLS_CC);
1231 TRANSLATE_SLASHES(pt);
1264 strstr(pt, env_script_name)
1267 int ptlen = strlen(pt) - strlen(env_script_name);
1272 memcpy(path_translated, pt, ptlen);
1309 if (pt) {
1310 efree(pt);