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

/PHP_5_3/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.c568 char *fname, *basename, *path_info, *mime_type = NULL, *entry, *pt; local
633 pt = estrndup(Z_STRVAL_PP(z_script_name), Z_STRLEN_PP(z_script_name));
639 if (!(pt = strstr(testit, basename))) {
658 pt = estrndup(testit, (pt - testit) + (fname_len - (basename - fname)));
664 if (!(pt = strstr(path_info, basename))) {
670 entry_len -= (pt - path_info) + (fname_len - (basename - fname));
671 entry = estrndup(pt + (fname_len - (basename - fname)), entry_len);
673 pt = estrndup(path_info, (pt
[all...]
/PHP_5_3/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_3/ext/iconv/
H A Diconv.c2521 char *pd, *pt; local
2541 pt = self->stub;
2545 if (iconv(self->cd, &pt, &tcnt, &pd, &ocnt) == (size_t)-1) {
2561 pt = self->stub;
2618 memmove(self->stub, pt, tcnt);
/PHP_5_3/ext/standard/
H A Dfilters.c1512 const char *pt; local
1532 pt = inst->stub;
1536 err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt);
1552 pt = inst->stub;
1609 memmove(inst->stub, pt, tcnt);
/PHP_5_3/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_3/sapi/cgi/
H A Dcgi_main.c1178 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)
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c1178 char *pt = estrndup(script_path_translated, script_path_translated_len); local
1182 if (pt) {
1183 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) {
1185 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
1201 int ptlen = strlen(pt);
1236 strcmp(orig_script_filename, pt) != 0) {
1240 script_path_translated = _sapi_cgibin_putenv("SCRIPT_FILENAME", pt TSRMLS_CC);
1242 TRANSLATE_SLASHES(pt);
1275 strstr(pt, env_script_nam
[all...]

Completed in 75 milliseconds