Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-5.4/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.c137 p->g = g;
152 g->nbol = 0;
153 g->neol = 0;
158 g->categories = &g->catspace[0];
178 g->nplus = pluscount(p, g);
1037 if (p->g->sets != NULL && p->g->setbits != NULL)
1068 register cset *top = &p->g->sets[p->g->ncsets];
1094 register cset *top = &p->g->sets[p->g->ncsets];
1574 g->must = malloc((size_t)g->mlen + 1);
1584 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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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";
/PHP-5.4/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.4/ext/standard/tests/strings/
H A Dchunk_split_variation9.phpt57 string(66) "This i s to t est ch unk_sp lit() with v arious endin g stri ng "
63 …$%^s to t@#$%^est ch@#$%^unk_sp@#$%^lit() @#$%^with v@#$%^arious@#$%^ endin@#$%^g stri@#$%^ng@#$%^"
65 string(66) "This i s to t est ch unk_sp lit() with v arious endin g stri ng "
75 g stri
87 g stri
99 g stri
103 string(66) "This i�s to t�est ch�unk_sp�lit() �with v�arious� endin�g stri�ng�"
107 …SG)s to t(MSG)est ch(MSG)unk_sp(MSG)lit() (MSG)with v(MSG)arious(MSG) endin(MSG)g stri(MSG)ng(MSG)"
109 …nding string(with v)ending string(arious)ending string( endin)ending string(g stri)ending string(n…
111 …) )numbers 1234(with v)numbers 1234(arious)numbers 1234( endin)numbers 1234(g stri)numbers 1234(ng…
[all …]
/PHP-5.4/ext/standard/tests/serialize/
H A Dserialization_objects_002.phpt30 var $a, $b, $c, $d, $e, $f, $g, $h;
39 $this->g = $GLOBALS['file_handle'];
135 ["g"]=>
154 ["g"]=>
173 ["g"]=>
192 ["g"]=>
211 ["g"]=>
265 ["g"]=>
270 …D":8:{s:1:"a";N;s:1:"b";N;s:1:"c";s:0:"";s:1:"d";s:1:"�";s:1:"e";N;s:1:"f";N;s:1:"g";N;s:1:"h";N;}"
284 ["g"]=>
[all …]
/PHP-5.4/ext/soap/tests/bugs/
H A Dbug38067.phpt10 global $g;
11 $g = $param->str;
12 return $g;
37 echo $g."\n";
H A Dbug38004.phpt10 global $g;
11 $g = $param->strA."\n".$param->strB."\n";
12 return $g;
36 print_r($g);
/PHP-5.4/ext/pcre/pcrelib/testdata/
H A Dtestinput4132 /[^a]+/8g
493 /\S\S/8g
496 /\S{2}/8g
499 /\W\W/8g
502 /\W{2}/8g
505 /\S/8g
508 /[\S]/8g
511 /\D/8g
514 /[\D]/8g
517 /\W/8g
[all …]

Completed in 45 milliseconds

12345678910>>...12