Searched refs:ch (Results 1 - 25 of 46) sorted by relevance

12

/PHP_TRUNK/scripts/dev/generate-phpt/tests/
H A DgtIfClassHasMethodTest.php12 $ch = new gtIfClassHasMethod(); variable
13 $this->assertTrue($ch->check($clo));
20 $ch = new gtIfClassHasMethod(); variable
21 $this->assertFalse($ch->check($clo));
28 $ch = new gtIfClassHasMethod(); variable
29 $this->assertTrue($ch->check($clo));
36 $ch = new gtIfClassHasMethod(); variable
37 $this->assertEquals($ch->getMessage(), gtText::get('methodNotSpecified'));
H A DgtIsSpecifiedFunctionOrMethodTest.php12 $ch = new gtIsSpecifiedFunctionOrMethod(); variable
13 $this->assertTrue($ch->check($clo));
20 $ch = new gtIsSpecifiedFunctionOrMethod(); variable
21 $this->assertTrue($ch->check($clo));
28 $ch = new gtIsSpecifiedFunctionOrMethod(); variable
29 $this->assertFalse($ch->check($clo));
37 $ch = new gtIsSpecifiedFunctionOrMethod(); variable
38 $this->assertEquals($ch->getMessage(), gtText::get('functionOrMethodNotSpecified'));
H A DgtIsSpecifiedTestTypeTest.php12 $ch = new gtIsSpecifiedTestType(); variable
13 $this->assertTrue($ch->check($clo));
20 $ch = new gtIsSpecifiedTestType(); variable
21 $this->assertFalse($ch->check($clo));
28 $ch = new gtIsSpecifiedtestType(); variable
29 $this->assertEquals($ch->getMessage(), gtText::get('testTypeNotSpecified'));
H A DgtIsValidClassTest.php12 $ch = new gtIsValidClass(); variable
13 $this->assertTrue($ch->check($clo));
20 $ch = new gtIsValidClass(); variable
21 $this->assertFalse($ch->check($clo));
28 $ch = new gtIsValidClass(); variable
29 $this->assertTrue($ch->check($clo));
36 $ch = new gtIsvalidClass(); variable
37 $this->assertEquals($ch->getMessage(), gtText::get('unknownClass'));
H A DgtIsValidFunctionTest.php12 $ch = new gtIsValidFunction(); variable
13 $this->assertTrue($ch->check($clo));
20 $ch = new gtIsValidFunction(); variable
21 $this->assertFalse($ch->check($clo));
28 $ch = new gtIsValidFunction(); variable
29 $this->assertTrue($ch->check($clo));
36 $ch = new gtIsvalidFunction(); variable
37 $this->assertEquals($ch->getMessage(), gtText::get('unknownFunction'));
H A DgtIsValidMethodTest.php12 $ch = new gtIsValidMethod(); variable
13 $this->assertTrue($ch->check($clo));
20 $ch = new gtIsValidMethod(); variable
21 $this->assertFalse($ch->check($clo));
28 $ch = new gtIsValidMethod(); variable
29 $this->assertTrue($ch->check($clo));
36 $ch = new gtIsvalidMethod(); variable
37 $this->assertEquals($ch->getMessage(), gtText::get('unknownMethod'));
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_gd.c193 int ch; local
194 ch = gdGetC(in);
195 if (ch == EOF) {
199 im->pixels[y][x] = ch;
H A Dgd_gd2.c57 int ch; local
66 ch = gdGetC(in);
67 if (ch == EOF) {
70 id[i] = ch;
333 int ch; local
334 if (!gdGetByte(&ch, in)) {
335 ch = 0;
337 im->pixels[y][x] = ch;
420 unsigned int ch; local
561 if (!gdGetInt((int *)&ch, i
[all...]
H A Dgdft.c307 int ch, total, trail; local
313 ch = byte & (0x3F >> trail);
320 ch <<= 6;
321 ch |= (*str & 0x3F);
324 *chPtr = ch;
820 int len, i = 0, ch; local
963 ch = *next;
966 if (ch == '\r') {
976 if (ch == '\n') {
1002 len = gdTcl_UtfToUniChar (next, &ch);
[all...]
H A Dxbm.c46 int ch; local
108 if ((ch=getc(fd)) == EOF) {
112 if (ch == 'x') {
120 if ((ch=getc(fd)) == EOF) {
123 h[0] = ch;
124 if ((ch=getc(fd)) == EOF) {
127 h[1] = ch;
129 if ((ch=getc(fd)) == EOF) {
132 h[2] = ch;
133 if ((ch
[all...]
/PHP_TRUNK/TSRM/
H A Dtsrm_strtok_r.c6 static inline int in_character_class(char ch, const char *delim) argument
9 if (*delim == ch) {
/PHP_TRUNK/ext/standard/
H A Dcrc32.h28 #define CRC32(crc, ch) (crc = (crc >> 8) ^ crc32tab[(crc ^ (ch)) & 0xff])
H A Dphp_smart_string.h95 #define smart_string_appendc_ex(dest, ch, what) do { \
99 ((unsigned char *) (dest)->c)[(dest)->len - 1] = (ch); \
H A Dscanf.c119 static int CharInSet(CharSet *cset, int ch);
143 char *ch, start; local
149 ch = format;
150 if (*ch == '^') {
152 ch = ++format;
159 if (*ch == ']') {
160 ch = end++;
163 while (*ch != ']') {
164 if (*ch == '-') {
167 ch
244 char ch = (char) c; local
315 char *end, *ch = NULL; local
593 char *ch, sch; local
[all...]
H A Dbase64.c106 for(ch = 0; ch < 256; ch++) {
107 chp = strchr(base64_table, ch);
108 if(ch && chp) {
111 rt[ch] = idx;
113 rt[ch] = -1;
118 for(ch =0; ch < 256;) {
120 sprintf(sp, "\t% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,\n", rt[ch
139 int ch, i = 0, j = 0, k; local
[all...]
H A Dcrypt_freesec.c188 ascii_to_bin(char ch) argument
190 signed char sch = ch;
209 ascii_is_unsafe(char ch) argument
211 return !ch || ch == '\n' || ch == ':';
H A Dvar_unserializer.re222 unsigned char ch = 0;
227 ch = (ch << 4) + (**p -'0');
229 ch = (ch << 4) + (**p -'a'+10);
231 ch = (ch << 4) + (**p -'A'+10);
237 ZSTR_VAL(str)[i] = (char)ch;
/PHP_TRUNK/Zend/
H A Dzend_smart_str.h82 static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent) { argument
84 ZSTR_VAL(dest->s)[new_len - 1] = ch;
H A Dzend_ini_scanner.l125 #define EAT_TRAILING_WHITESPACE_EX(ch) \
127 (ch != 'X' && yytext[yyleng - 1] == ch) || \
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.c329 char ch; local
374 ch = *p;
392 if (ch == CR || ch == LF)
399 if (ch == 'H')
409 if (ch == 'T') {
413 if (ch != 'E') goto error;
428 switch (ch) {
444 STRICT_CHECK(ch != 'T');
449 STRICT_CHECK(ch !
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd_ctx.c31 unsigned char ch = (unsigned char) c; local
32 php_write(&ch, 1);
48 char ch = (char) c; local
50 php_stream_write(stream, &ch, 1);
/PHP_TRUNK/main/
H A Dspprintf.c124 #define INS_CHAR(xbuf, ch, is_char) do { \
126 smart_string_appendc((smart_string *)(xbuf), (ch)); \
128 smart_str_appendc((smart_str *)(xbuf), (ch)); \
140 #define PAD_CHAR(xbuf, ch, count, is_char) do { \
144 memset(((smart_string *)(xbuf))->c + ((smart_string *)(xbuf))->len, (ch), (count)); \
148 memset(ZSTR_VAL(((smart_str *)(xbuf))->s) + ZSTR_LEN(((smart_str *)(xbuf))->s), (ch), (count)); \
/PHP_TRUNK/ext/curl/
H A Dmulti.c71 /* {{{ proto int curl_multi_add_handle(resource mh, resource ch)
78 php_curl *ch; local
89 if ((ch = (php_curl *)zend_fetch_resource(Z_RES_P(z_ch), le_curl_name, le_curl)) == NULL) {
93 _php_curl_cleanup_handle(ch);
100 RETURN_LONG((zend_long)curl_multi_add_handle(mh->multi, ch->cp));
107 php_curl *ch; local
115 if ((ch = (php_curl *)zend_fetch_resource(Z_RES_P(z_ch), le_curl_name, le_curl)) == NULL) {
132 /* {{{ proto int curl_multi_remove_handle(resource mh, resource ch)
139 php_curl *ch; local
149 if ((ch
224 php_curl *ch; local
252 php_curl *ch; local
308 php_curl *ch; local
365 php_curl *ch; local
[all...]
H A Dphp_curl.h201 void _php_curl_verify_handlers(php_curl *ch, int reporterror);
H A Dinterface.c151 static void _php_curl_close_ex(php_curl *ch);
169 static int php_curl_option_str(php_curl *ch, zend_long option, const char *str, const int len, zend_bool make_copy) argument
185 error = curl_easy_setopt(ch->cp, option, copystr);
186 zend_llist_add_element(&ch->to_free->str, &copystr);
189 error = curl_easy_setopt(ch->cp, option, str);
193 SAVE_CURL_ERROR(ch, error)
198 static int php_curl_option_url(php_curl *ch, const char *url, const int len) /* {{{ */ argument
203 curl_easy_setopt(ch->cp, CURLOPT_PROTOCOLS, CURLPROTO_ALL & ~CURLPROTO_FILE);
221 return php_curl_option_str(ch, CURLOPT_URL, url, len, 0);
225 void _php_curl_verify_handlers(php_curl *ch, in argument
1306 php_curl *ch = (php_curl *) ctx; local
1372 php_curl *ch = (php_curl *) ctx; local
1421 php_curl *ch = (php_curl *)clientp; local
1481 php_curl *ch = (php_curl *)ctx; local
1549 php_curl *ch = (php_curl *) ctx; local
1613 php_curl *ch = (php_curl *)ctx; local
1633 php_curl *ch = (php_curl *) ctx; local
1738 php_curl *ch = ecalloc(1, sizeof(php_curl)); local
1841 _php_curl_set_default_options(php_curl *ch) argument
1876 php_curl *ch; local
1919 php_curl *ch, *dupch; local
2015 _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) argument
2771 php_curl *ch; local
2799 php_curl *ch; local
2828 _php_curl_cleanup_handle(php_curl *ch) argument
2847 php_curl *ch; local
2903 php_curl *ch; local
3115 php_curl *ch; local
3135 php_curl *ch; local
3154 php_curl *ch; local
3177 _php_curl_close_ex(php_curl *ch) argument
3252 php_curl *ch = (php_curl *) rsrc->ptr; local
3282 _php_curl_reset_handlers(php_curl *ch) argument
3333 php_curl *ch; local
3363 php_curl *ch; local
3390 php_curl *ch; local
3417 php_curl *ch; local
[all...]

Completed in 52 milliseconds

12