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

/PHP_TRUNK/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.c550 char *fname, *path_info, *mime_type = NULL, *entry, *pt; local
619 pt = estrndup(Z_STRVAL_P(z_script_name), Z_STRLEN_P(z_script_name));
625 if (!(pt = strstr(testit, basename))) {
644 pt = estrndup(testit, (pt - testit) + (fname_len - (basename - fname)));
650 if (!(pt = strstr(path_info, basename))) {
656 entry_len -= (pt - path_info) + (fname_len - (basename - fname));
657 entry = estrndup(pt + (fname_len - (basename - fname)), entry_len);
659 pt = estrndup(path_info, (pt
[all...]
/PHP_TRUNK/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...]
H A Dgd_interpolation.c2328 gdPointF pt, src_pt; local
2380 pt.y = y + 0.5;
2382 pt.x = x + 0.5;
2383 gdAffineApplyToPointF(&src_pt, &pt, inv);
2389 pt.y = y + 0.5 + bbox.y;
2396 pt.x = x + 0.5 + bbox.x;
2397 gdAffineApplyToPointF(&src_pt, &pt, inv);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1175 char *pt = estrndup(script_path_translated, script_path_translated_len); local
1179 if (pt) {
1180 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) {
1182 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
1198 int ptlen = strlen(pt);
1244 strcmp(orig_script_filename, pt) != 0) {
1248 script_path_translated = _sapi_cgibin_putenv("SCRIPT_FILENAME", pt TSRMLS_CC);
1250 TRANSLATE_SLASHES(pt);
1283 strstr(pt, env_script_nam
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1240 char *pt = estrndup(script_path_translated, script_path_translated_len); local
1244 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) {
1246 if (zend_stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
1262 int slen = len - strlen(pt);
1287 strcmp(orig_script_filename, pt) != 0) {
1291 script_path_translated = CGI_PUTENV("SCRIPT_FILENAME", pt);
1293 TRANSLATE_SLASHES(pt);
1326 strstr(pt, env_script_name)
1329 int ptlen = strlen(pt)
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilters.c1532 const char *pt; local
1552 pt = inst->stub;
1556 err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt);
1572 pt = inst->stub;
1629 memmove(inst->stub, pt, tcnt);
/PHP_TRUNK/ext/iconv/
H A Diconv.c2579 char *pd, *pt; local
2599 pt = self->stub;
2603 if (iconv(self->cd, &pt, &tcnt, &pd, &ocnt) == (size_t)-1) {
2619 pt = self->stub;
2676 memmove(self->stub, pt, tcnt);

Completed in 24 milliseconds