Searched refs:pt (Results 1 - 8 of 8) sorted by relevance

/PHP_5_4/ext/phar/
H A Dshortarc.php67 $pt = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], $basename) + strlen($basename)); variable
68 if (!$pt || $pt == '/') {
69 $pt = $web; variable
71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt);
74 $a = realpath(Extract_Phar::$temp . DIRECTORY_SEPARATOR . $pt);
77 echo "<html>\n <head>\n <title>File Not Found<title>\n </head>\n <body>\n <h1>404 - File ", $pt, " Not Found</h1>\n </body>\n</html>";
H A Dphar_object.c569 char *fname, *path_info, *mime_type = NULL, *entry, *pt; local
636 pt = estrndup(Z_STRVAL_PP(z_script_name), Z_STRLEN_PP(z_script_name));
642 if (!(pt = strstr(testit, basename))) {
661 pt = estrndup(testit, (pt - testit) + (fname_len - (basename - fname)));
667 if (!(pt = strstr(path_info, basename))) {
673 entry_len -= (pt - path_info) + (fname_len - (basename - fname));
674 entry = estrndup(pt + (fname_len - (basename - fname)), entry_len);
676 pt = estrndup(path_info, (pt
[all...]
/PHP_5_4/ext/gd/libgd/
H A Dgd_arc_f_buggy.c24 gdPoint pt[7];
111 pt[0] = gdArcClosest (width, height, s);
112 pt[0].x += cx;
113 pt[0].y += cy;
114 pt[1].x = cx + axis_pt[(i + 1) & 3].x;
115 pt[1].y = cy + axis_pt[(i + 1) & 3].y;
119 pt[2] = gdArcClosest (width, height, e);
120 pt[2].x += cx;
121 pt[2].y += cy;
124 gdImageFilledPolygon (im, pt,
[all...]
/PHP_5_4/ext/pcre/pcrelib/
H A Dpcre_compile.c1066 const pcre_uchar *pt = ptr + 2; local
1070 while (MAX_255(*pt) && (digitab[*pt] & ctype_xdigit) != 0)
1072 register pcre_uint32 cc = *pt++;
1098 while (MAX_255(*pt) && (digitab[*pt] & ctype_xdigit) != 0) pt++;
1102 if (*pt == CHAR_RIGHT_CURLY_BRACKET)
1105 ptr = pt;
/PHP_5_4/ext/standard/
H A Dfilters.c1551 const char *pt; local
1571 pt = inst->stub;
1575 err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt);
1591 pt = inst->stub;
1648 memmove(inst->stub, pt, tcnt);
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c1238 char *pt = estrndup(script_path_translated, script_path_translated_len); local
1242 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) {
1244 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
1260 int slen = len - strlen(pt);
1285 strcmp(orig_script_filename, pt) != 0) {
1289 script_path_translated = CGI_PUTENV("SCRIPT_FILENAME", pt);
1291 TRANSLATE_SLASHES(pt);
1324 strstr(pt, env_script_name)
1327 int ptlen = strlen(pt)
[all...]
/PHP_5_4/ext/iconv/
H A Diconv.c2534 char *pd, *pt; local
2554 pt = self->stub;
2558 if (iconv(self->cd, &pt, &tcnt, &pd, &ocnt) == (size_t)-1) {
2574 pt = self->stub;
2631 memmove(self->stub, pt, tcnt);
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c1180 char *pt = estrndup(script_path_translated, script_path_translated_len); local
1184 if (pt) {
1185 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) {
1187 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
1203 int ptlen = strlen(pt);
1238 strcmp(orig_script_filename, pt) != 0) {
1242 script_path_translated = _sapi_cgibin_putenv("SCRIPT_FILENAME", pt TSRMLS_CC);
1244 TRANSLATE_SLASHES(pt);
1277 strstr(pt, env_script_nam
[all...]

Completed in 34 milliseconds