/PHP-5.3/ext/standard/ |
H A D | quot_print.c | 39 if (isdigit(c)) { in php_hex2int() 40 return c - '0'; in php_hex2int() 42 else if (c >= 'A' && c <= 'F') { in php_hex2int() 43 return c - 'A' + 10; in php_hex2int() 45 else if (c >= 'a' && c <= 'f') { in php_hex2int() 46 return c - 'a' + 10; in php_hex2int() 151 unsigned char c, *ret, *d; in php_quot_print_encode() local 164 if (iscntrl (c) || (c == 0x7f) || (c & 0x80) || (c == '=') || ((c == ' ') && (*str == '\015'))) { in php_quot_print_encode() 172 *d++ = hex[c >> 4]; in php_quot_print_encode() 173 *d++ = hex[c & 0xf]; in php_quot_print_encode() [all …]
|
H A D | metaphone.c | 88 #define ENCODE(c) (isalpha(c) ? _codes[((toupper(c)) - 'A')] : 0) argument 90 #define isvowel(c) (ENCODE(c) & 1) /* AEIOU */ argument 93 #define NOCHANGE(c) (ENCODE(c) & 2) /* FJMNR */ argument 96 #define AFFECTH(c) (ENCODE(c) & 4) /* CGPST */ argument 99 #define MAKESOFT(c) (ENCODE(c) & 8) /* EIY */ argument 102 #define NOGHTOF(c) (ENCODE(c) & 16) /* BDH */ argument 145 #define Phonize(c) { \ argument 150 (*phoned_word)[p_idx++] = c; \ 163 #define Isbreak(c) (!isalpha(c)) argument
|
/PHP-5.3/ext/spl/ |
H A D | config.m4 | 25 …pl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_exceptions.c spl…
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gd_pixelate.c | 17 int c = gdImageGetPixel(im, x, y); in gdImagePixelate() local 18 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate() 26 int a, r, g, b, c; in gdImagePixelate() local 30 a = r = g = b = c = total = 0; in gdImagePixelate() 37 c = gdImageGetPixel(im, x + cx, y + cy); in gdImagePixelate() 38 a += gdImageAlpha(im, c); in gdImagePixelate() 39 r += gdImageRed(im, c); in gdImagePixelate() 40 g += gdImageGreen(im, c); in gdImagePixelate() 41 b += gdImageBlue(im, c); in gdImagePixelate() 47 c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); in gdImagePixelate() [all …]
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | 008.phpt | 8 $c = array(-1,2,1,15,25,17); 12 echo '$c='.var_export($c,TRUE).";\n"; 15 var_dump(array_intersect($a,$b,$c)); 30 'c'=>'done', 60 $c = array( 69 echo '$c='.var_export($c,TRUE).";\n"; 133 $c=array ( 141 array_intersect($a,$b,$c); 215 'c' => 'done', 244 $c=array ( [all …]
|
/PHP-5.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_iso8859_1.c | 79 int mbfl_filt_conv_8859_1_wchar(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_8859_1_wchar() argument 81 return (*filter->output_function)(c, filter->data); in mbfl_filt_conv_8859_1_wchar() 87 int mbfl_filt_conv_wchar_8859_1(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_wchar_8859_1() argument 89 if (c >= 0 && c < 0x100) { in mbfl_filt_conv_wchar_8859_1() 90 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_8859_1() 93 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_8859_1() 97 return c; in mbfl_filt_conv_wchar_8859_1()
|
H A D | mbfilter_uuencode.c | 58 #define UUDEC(c) (char)(((c)-' ')&077) argument 72 if (filter->cache == 0 && c == 'b') in mbfl_filt_conv_uudec() 77 else if (c == '\n') in mbfl_filt_conv_uudec() 83 if (uuenc_begin_text[filter->cache++] != c) { in mbfl_filt_conv_uudec() 96 if (c == '\n') in mbfl_filt_conv_uudec() 101 n = UUDEC(c); in mbfl_filt_conv_uudec() 107 n = UUDEC(c); in mbfl_filt_conv_uudec() 113 n = UUDEC(c); in mbfl_filt_conv_uudec() 119 n = UUDEC(c); in mbfl_filt_conv_uudec() 126 int A, B, C, D = UUDEC(c); in mbfl_filt_conv_uudec() [all …]
|
H A D | mbfilter_qprint.c | 78 filter->cache = c; in mbfl_filt_conv_qprintenc() 83 filter->cache = c; in mbfl_filt_conv_qprintenc() 141 return c; in mbfl_filt_conv_qprintenc() 181 if (hex2code_map[c & 0xff] >= 0) { in mbfl_filt_conv_qprintdec() 182 filter->cache = c; in mbfl_filt_conv_qprintdec() 184 } else if (c == 0x0d) { /* soft line feed */ in mbfl_filt_conv_qprintdec() 195 m = hex2code_map[c & 0xff]; in mbfl_filt_conv_qprintdec() 199 n = c; in mbfl_filt_conv_qprintdec() 207 if (c != 0x0a) { /* LF */ in mbfl_filt_conv_qprintdec() 213 if (c == 0x3d) { /* '=' */ in mbfl_filt_conv_qprintdec() [all …]
|
H A D | mbfilter_7bit.c | 68 int mbfl_filt_conv_7bit_any(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_7bit_any() argument 70 return (*filter->output_function)(c, filter->data); in mbfl_filt_conv_7bit_any() 74 int mbfl_filt_conv_any_7bit(int c, mbfl_convert_filter *filter) in mbfl_filt_conv_any_7bit() argument 76 if (c >= 0 && c < 0x80) { in mbfl_filt_conv_any_7bit() 77 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_any_7bit() 79 return c; in mbfl_filt_conv_any_7bit()
|
/PHP-5.3/ext/spl/tests/ |
H A D | arrayObject_clone_basic2.phpt | 7 $c = new C; 8 $ao1 = new ArrayObject($c); 9 $c->p1 = 'new prop added to c before clone'; 13 $c->p2 = 'new prop added to c after clone'; 16 var_dump($c, $ao1, $ao2); 21 string(32) "new prop added to c before clone" 23 string(31) "new prop added to c after clone" 31 string(32) "new prop added to c before clone" 33 string(31) "new prop added to c after clone" 42 string(32) "new prop added to c before clone"
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | fopen_variation10-win32.phpt | 29 mkdir('c:\\'.$rootdir); 33 $paths = array('c:\\', 34 'c:', 35 'c', 40 'c:\\/', 82 rmdir('c:\\'.$rootdir); 90 --c:\-- 93 --c:-- 96 --c-- 120 --c:adir-- [all …]
|
H A D | fopen_variation11-win32.phpt | 28 mkdir('c:\\'.$rootdir); 32 $paths = array('c:\\', 33 'c:', 34 'c', 39 'c:\\/', 81 rmdir('c:\\'.$rootdir); 88 --c:\-- 91 --c:-- 94 --c-- 118 --c:adir-- [all …]
|
/PHP-5.3/tests/basic/ |
H A D | 024.phpt | 8 a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3 19 ["c"]=> 29 string(30) "a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3"
|
/PHP-5.3/ext/session/tests/ |
H A D | 008-php4.2.3.phpt | 31 session_register("c"); 32 var_dump($c); 33 unset($c); 34 $c = 3.14; 39 unset($c); 44 unset($c); 45 $c = 2.78; 49 unset($c); 54 var_dump($c); 68 ["c"]=> [all …]
|
/PHP-5.3/Zend/tests/ |
H A D | nowdoc_005.phpt | 9 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 14 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 22 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 23 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
|
H A D | nowdoc_006.phpt | 9 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
|
H A D | nowdoc_007.phpt | 9 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
|
H A D | add_001.phpt | 9 $c = $a + $b; 10 var_dump($c); 15 $c = $a + $b; 16 var_dump($c); 21 $c = $a + $b; 22 var_dump($c); 25 var_dump($c); 28 var_dump($c);
|
H A D | list_005.phpt | 8 list($a, $b, $c) = $a; 10 var_dump($a, $b, $c); 16 list($a, $b, $c) = $a; 18 var_dump($a, $b, $c); 24 list($a, $b, $c) = $a; 26 var_dump($a, $b, $c); 32 list($a, $b, $c) = $a; 34 var_dump($a, $b, $c);
|
/PHP-5.3/ext/hash/ |
H A D | hash_sha.c | 181 #define FF(a, b, c, d, e, w) { \ argument 186 #define GG(a, b, c, d, e, w) { \ argument 191 #define HH(a, b, c, d, e, w) { \ argument 196 #define II(a, b, c, d, e, w) { \ argument 230 FF(a, b, c, d, e, x[0]); /* 1 */ in SHA1Transform() 231 FF(e, a, b, c, d, x[1]); /* 2 */ in SHA1Transform() 319 state[2] += c; in SHA1Transform() 501 d = c; c = b; b = a; a = T1 + T2; in SHA256Transform() 506 state[2] += c; in SHA256Transform() 811 d = c; c = b; b = a; a = T1 + T2; in SHA512Transform() [all …]
|
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcre_study.c | 51 #define SET_BIT(c) start_bits[c/8] |= (1 << (c&7)) argument 567 c = UCD_OTHERCASE(c); in set_table_bit() 599 c = UCD_OTHERCASE(c); in set_table_bit() 643 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type]; in set_type_bits() 646 for (c = 128; c < 256; c++) in set_type_bits() 648 if ((cd->cbits[c/8] & (1 << (c&7))) != 0) in set_type_bits() 685 for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type]; in set_nottype_bits() 687 if (table_limit != 32) for (c = 24; c < 32; c++) start_bits[c] = 0xff; in set_nottype_bits() 1252 for (c = 0; c < 16; c++) start_bits[c] |= map[c]; in set_start_bits() 1253 for (c = 128; c < 256; c++) in set_start_bits() [all …]
|
/PHP-5.3/ext/date/tests/ |
H A D | bug27719.phpt | 10 $c = mktime(0, 0, 0, 4, 4, 2004, -1); 13 echo "$c ".date("m/d/y h:i:s\n",$c); 18 $c = mktime(0, 0, 0, 2, 4, 2004, -1); 21 echo "$c ".date("m/d/y h:i:s\n",$c); 26 $c = mktime(0, 0, 0, 4, 4, 2004, -1); 29 echo "$c ".date("m/d/y h:i:s\n",$c); 34 $c = mktime(3, 0, 0, 4, 4, 2004, -1); 37 echo "$c ".date("m/d/y h:i:s\n",$c); 42 $c = mktime(0, 0, 0, 6, 4, 2004, -1); 45 echo "$c ".date("m/d/y h:i:s\n",$c);
|
/PHP-5.3/ext/soap/ |
H A D | config.w32 | 8 …EXTENSION('soap', 'soap.c php_encoding.c php_http.c php_packet_soap.c php_schema.c php_sdl.c php_x…
|
/PHP-5.3/ext/oci8/tests/ |
H A D | bind_sqltchr_1.phpt | 23 oci8_test_sql_execute($c, $stmtarray); 25 function check_col($c, $colname, $id) 43 check_col($c, 'varchar2_t10', 241); 53 check_col($c, 'number_t', 242); 62 check_col($c, 'number_t', 243); 71 check_col($c, 'number_t', 244); 80 check_col($c, 'number_t', 245); 89 check_col($c, 'number_t', 246); 98 check_col($c, 'number_t', 247); 107 check_col($c, 'number_t92', 248); [all …]
|
/PHP-5.3/ext/standard/tests/serialize/ |
H A D | bug28325.phpt | 9 public $c; 11 class c { 16 $a->b->c = new c(); 17 $a->b->c->d = $a; 24 ["c"]=> 25 object(c)#%d (1) {
|