/PHP-5.6/ext/ereg/regex/ |
H A D | regfree.c | 17 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 D | debug.c | 32 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 D | regcomp.c | 137 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 D | engine.c | 33 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 D | regexec.c | 71 #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®_LARGE)) [all …]
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | mb_split_variation1.phpt | 19 $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.6/Zend/tests/ |
H A D | bug29104.phpt | 7 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.6/ext/gd/libgd/ |
H A D | gd_arc_f_buggy.c | 297 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 D | gd_filter.c | 19 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 D | gd_rotate.c | 73 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.6/tests/lang/ |
H A D | engine_assignExecutionOrder_001.phpt | 11 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 D | foreachLoopObjects.002.phpt | 42 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.6/ext/gmp/tests/ |
H A D | gmp_sub.phpt | 14 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 D | gmp_strval.phpt | 17 $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.6/ext/gd/tests/ |
H A D | bug43073.phpt | 31 $g = imagecreate(800, 800); 32 $bgnd = imagecolorallocate($g, 255, 255, 255); 33 $black = imagecolorallocate($g, 0, 0, 0); 34 $red = imagecolorallocate($g, 255, 0, 0); 40 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF'); 41 imagepolygon($g, $bbox, 4, $red); 55 imagepng($g, "$cwd/bug43073.png");
|
H A D | bug48732.phpt | 12 $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 D | bug53504.phpt | 13 $g = imagecreate(800, 800); 14 $bgnd = imagecolorallocate($g, 255, 255, 255); 15 $black = imagecolorallocate($g, 0, 0, 0); 16 $red = imagecolorallocate($g, 255, 0, 0); 17 $blue = imagecolorallocate($g, 0, 0, 255); 33 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60… 65 $bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'], 75 imagepolygon($g, $bboxDrawn, 4, $red); 79 imageline($g, $test['x'], $test['y'], 84 imagepng($g, "$cwd/bug53504.png");
|
/PHP-5.6/ext/bcmath/libbcmath/ |
H A D | configure | 650 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.6/ext/standard/tests/general_functions/ |
H A D | set_magic_quotes_runtime_basic.phpt | 13 $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.6/ext/date/tests/ |
H A D | bug32086.phpt | 8 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.6/ext/openssl/tests/ |
H A D | bug55259.phpt | 12 $dh_details = array( 'p' => $phex, 'g' => '2' ); 13 $dh = openssl_pkey_new(array( 'dh'=> array( 'p' => $phex, 'g' => '2' ))); 15 $dh = openssl_pkey_new(array( 'dh'=> array( 'p' => hex2bin($phex), 'g' => '2' ))); 18 var_dump($details['dh']['g']);
|
H A D | bug72336.phpt | 15 $g = '00b320300a0bc55b8f0ec6edc218e2185250f38fbb8291db8a89227f6e41' . 21 var_dump(openssl_pkey_new(array('dsa' => array('p' => $p, 'q' => $q, 'g' => $g))));
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | chunk_split_variation9.phpt | 57 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 is to test chunk_split() with various ending string" 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.6/ext/soap/tests/bugs/ |
H A D | bug38067.phpt | 10 global $g; 11 $g = $param->str; 12 return $g; 37 echo $g."\n";
|
/PHP-5.6/ext/standard/tests/serialize/ |
H A D | serialization_objects_002.phpt | 30 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 …]
|