Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/PHP-5.3/ext/standard/tests/strings/
H A Dbug22904.phpt14 $buf = 'g\g"\0g'."'";
20 g\g"\0g'
21 g\\g"\\0g''
22 g\g"\0g'
23 g\g"\0g'
24 g\\g\"\\0g\'
25 g\g"\0g'
/PHP-5.3/ext/ereg/regex/
H A Dregfree.c17 register struct re_guts *g; variable
22 g = preg->re_g;
23 if (g == NULL || g->magic != MAGIC2) /* oops again */
28 if (g->strip != NULL)
29 free((char *)g->strip);
30 if (g->sets != NULL)
31 free((char *)g->sets);
32 if (g->setbits != NULL)
34 if (g->must != NULL)
35 free(g->must);
[all …]
H A Ddebug.c32 if (g->iflags&USEBOL)
34 if (g->iflags&USEEOL)
36 if (g->iflags&BAD)
38 if (g->nsub > 0)
40 if (g->must != NULL)
41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
42 g->must);
43 if (g->backrefs)
45 if (g->nplus > 0)
48 s_print(g, d);
[all …]
H A Dregcomp.c129 p->g = g;
144 g->nbol = 0;
145 g->neol = 0;
150 g->categories = &g->catspace[0];
170 g->nplus = pluscount(p, g);
1029 if (p->g->sets != NULL && p->g->setbits != NULL)
1060 register cset *top = &p->g->sets[p->g->ncsets];
1086 register cset *top = &p->g->sets[p->g->ncsets];
1562 g->must = malloc((size_t)g->mlen + 1);
1572 assert(cp < g->must + g->mlen);
[all …]
H A Dengine.c33 struct re_guts *g; member
97 if (g->must != NULL) {
99 if (*dp == g->must[0] && stop - dp >= g->mlen &&
100 memcmp(dp, g->must, (size_t)g->mlen) == 0)
107 m->g = g;
661 i = m->g->nbol;
666 i += m->g->neol;
750 i = m->g->nbol;
755 i += m->g->neol;
828 s = g->strip[pc];
[all …]
H A Dregexec.c71 #define CLEAR(v) memset(v, 0, m->g->nstates)
75 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates)
76 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
78 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
82 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
120 register struct re_guts *g = preg->re_g; variable
127 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2)
129 assert(!(g->iflags&BAD));
130 if (g->iflags&BAD) /* backstop for no-debug case */
134 if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE))
[all …]
/PHP-5.3/Zend/tests/
H A Dbug29104.phpt7 function g()
9 echo "function g - begin\n";
16 echo "function g - end\n";
21 $a->g();
25 function g - begin
26 function g - end
/PHP-5.3/ext/mbstring/tests/
H A Dmb_split_variation1.phpt19 $string = 'a b c d e f g';
107 string(13) "a b c d e f g"
113 string(13) "a b c d e f g"
119 string(13) "a b c d e f g"
125 string(13) "a b c d e f g"
131 string(13) "a b c d e f g"
137 string(13) "a b c d e f g"
143 string(13) "a b c d e f g"
149 string(13) "a b c d e f g"
155 string(13) "a b c d e f g"
[all …]
/PHP-5.3/ext/gd/libgd/
H A Dgd_arc_f_buggy.c297 g = x2 - 1;
298 g = g * g * hs + 4 * ws - whs;
331 g = y2 - 1;
332 g = g * g * ws + 4 * hs - whs;
414 g = x2 - 1;
415 g = g * g * hs + 4 * ws - whs;
479 g = y2 - 1;
480 g = g * g * ws + 4 * hs - whs;
636 g = x2 - 1;
637 g = g * g * hs + 4 * ws - whs;
[all …]
H A Dgd_filter.c19 int r,g,b,a; in gdImageNegate() local
52 int r,g,b,a; in gdImageGrayScale() local
69 r = g = b = (int) (.299 * r + .587 * g + .114 * b); in gdImageGrayScale()
85 int r,g,b,a; in gdImageBrightness() local
109 g = g + brightness; in gdImageBrightness()
113 g = (g > 255)? 255 : ((g < 0)? 0:g); in gdImageBrightness()
130 int r,g,b,a; in gdImageContrast() local
166 gf = (double)g/255.0; in gdImageContrast()
202 int r,g,b,a; in gdImageColor() local
211 g = g + green; in gdImageColor()
[all …]
H A Dgd_rotate.c73 if (g>255) { in gdImageSkewX()
74 g = 255; in gdImageSkewX()
120 int i, iYPos=0, r, g, b, a; in gdImageSkewY() local
164 if (g>255) { in gdImageSkewY()
165 g = 255; in gdImageSkewY()
208 int c,r,g,b,a; in gdImageRotate90() local
233 g = gdImageGreen(src,c); in gdImageRotate90()
255 int c,r,g,b,a; in gdImageRotate180() local
280 g = gdImageGreen(src,c); in gdImageRotate180()
303 int c,r,g,b,a; in gdImageRotate270() local
[all …]
/PHP-5.3/tests/output/
H A Dob_start_basic_006.phpt24 static function g($string) {
28 return "C::g[call:$i; len:$len] - $string\n";
53 var_dump(ob_start(array("f", "C::g", "f", "C::g")));
71 var_dump(ob_start(array('f', 'C::g', array(array($c, "g"), array($c, "h")))));
91 f[call:5; len:150] - C::g[call:2; len:125] - f[call:4; len:103] - C::g[call:1; len:79] - bool(true)
95 [1] => C::g
97 [3] => C::g
127 f[call:8; len:175] - C::g[call:4; len:150] - C::g[call:3; len:125] - C::h[call:3; len:82; id:change…
131 [1] => C::g
132 [2] => C::g
/PHP-5.3/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt11 function g() {
12 echo "in g()\n";
18 ${f()} = g();
22 $a[f()] = g();
79 in g()
85 in g()
94 in g()
103 in g()
118 in g()
130 in g()
[all …]
H A DforeachLoopObjects.002.phpt42 protected $g = "Original g";
204 ["g":protected]=>
239 ["g":protected]=>
279 ["g":protected]=>
314 ["g":protected]=>
388 ["g":protected]=>
411 ["g":protected]=>
433 ["g":protected]=>
468 ["g":protected]=>
493 ["g":protected]=>
[all …]
/PHP-5.3/ext/gmp/tests/
H A D006.phpt14 var_dump($g = gmp_sub(10000, 10001));
15 var_dump(gmp_strval($g));
16 var_dump($g = gmp_sub(10000, -1));
17 var_dump(gmp_strval($g));
18 var_dump($g = gmp_sub(10000, new stdclass));
19 var_dump(gmp_strval($g));
20 var_dump($g = gmp_sub(new stdclass, 100));
21 var_dump(gmp_strval($g));
H A D005.phpt17 $g = gmp_init("9765456");
18 var_dump(gmp_strval($g));
19 var_dump(gmp_strval($g, -1));
20 var_dump(gmp_strval($g, 100000));
21 var_dump(gmp_strval($g, 10));
23 $g = gmp_init("-3373333");
24 var_dump(gmp_strval($g));
25 var_dump(gmp_strval($g, -1));
26 var_dump(gmp_strval($g, 100000));
27 var_dump(gmp_strval($g, 10));
/PHP-5.3/ext/gd/tests/
H A Dbug48732.phpt12 $g = imagecreate(100, 50);
13 $bgnd = imagecolorallocate($g, 255, 255, 255);
14 $black = imagecolorallocate($g, 0, 0, 0);
15 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
16 imagepng($g, "$cwd/bug48732.png");
H A Dbug43073.phpt16 $g = imagecreate(800, 800);
17 $bgnd = imagecolorallocate($g, 255, 255, 255);
18 $black = imagecolorallocate($g, 0, 0, 0);
24 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF');
31 imagepng($g, "$cwd/bug43073.png");
H A Dbug43073_1.phpt16 $g = imagecreate(800, 800);
17 $bgnd = imagecolorallocate($g, 255, 255, 255);
18 $black = imagecolorallocate($g, 0, 0, 0);
24 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF');
31 imagepng($g, "$cwd/bug43073.png");
/PHP-5.3/ext/standard/tests/general_functions/
H A Dset_magic_quotes_runtime_basic.phpt13 $g = get_magic_quotes_runtime();
14 echo "\n-- magic quotes runtime set in INI file: " . $g . "--\n";
18 $g = get_magic_quotes_runtime();
19 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
23 $g = get_magic_quotes_runtime();
24 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
28 $g = get_magic_quotes_runtime();
29 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
H A Dget_magic_quotes_runtime.phpt13 $g = get_magic_quotes_runtime();
14 echo "\n-- magic quotes runtime set in INI file: " . $g . " --\n";
18 $g = get_magic_quotes_runtime();
19 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
23 $g = get_magic_quotes_runtime();
24 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
28 $g = get_magic_quotes_runtime();
29 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
H A Dget_magic_quotes_gpc.phpt13 $g = get_magic_quotes_gpc();
14 echo "\n-- magic quotes gpc set in INI file: " . $g . " --\n";
18 $g = get_magic_quotes_gpc();
19 echo "\n-- magic quotes gpc after set: " . $g . " --\n";
23 $g = get_magic_quotes_gpc();
24 echo "\n-- magic quotes gpc after set: " . $g . " --\n";
/PHP-5.3/ext/bcmath/libbcmath/
H A Dconfigure650 s,\\,\\\\,g; s,\$,$$,g
1268 ccp = &g + (g ? g-g : 0);
1601 s%@SHELL@%$SHELL%g
1602 s%@CFLAGS@%$CFLAGS%g
1605 s%@FFLAGS@%$FFLAGS%g
1606 s%@DEFS@%$DEFS%g
1608 s%@LIBS@%$LIBS%g
1635 s%@CC@%$CC%g
1637 s%@CPP@%$CPP%g
1786 s/[\\&%]/\\&/g
[all …]
/PHP-5.3/ext/date/tests/
H A Dbug32086.phpt8 echo $g = strtotime("2004-11-01"), "\n";
10 echo $j = strtotime("+1 day", $g), "\n";
13 echo date("Y-m-d H:i:s T\n", $g);
19 echo $g = strtotime("2005-02-19"), "\n";
21 echo $j = strtotime("+1 day", $g), "\n";
24 echo date("Y-m-d H:i:s T\n", $g);
/PHP-5.3/ext/pcre/pcrelib/testdata/
H A Dtestinput4130 /[^a]+/8g
491 /\S\S/8g
494 /\S{2}/8g
497 /\W\W/8g
500 /\W{2}/8g
503 /\S/8g
506 /[\S]/8g
509 /\D/8g
512 /[\D]/8g
515 /\W/8g
[all …]

Completed in 46 milliseconds

12345678910>>...12