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

123

/PHP_5_3/TSRM/
H A Dtsrm_strtok_r.c6 static inline int in_character_class(char ch, const char *delim) argument
9 if (*delim == ch) {
/PHP_5_3/ext/ereg/regex/
H A Ddebug.c229 == static char *regchar(int ch);
232 regchar(ch)
233 int ch;
237 if (isprint(ch) || ch == ' ')
238 sprintf(buf, "%c", ch);
240 sprintf(buf, "\\%o", ch);
H A Ddebug.ih9 static char *regchar(int ch);
H A Dengine.c800 == register states bef, int ch, register states aft);
812 step(g, start, stop, bef, ch, aft)
817 int ch; /* character or NONCHAR code */
835 assert(!NONCHAR(ch) || ch != (unsigned char)OPND(s));
836 if (ch == (unsigned char)OPND(s))
840 if (ch == BOL || ch == BOLEOL)
844 if (ch == EOL || ch
[all...]
H A Dengine.ih12 static states step(register struct re_guts *g, sopno start, sopno stop, register states bef, int ch, register states aft);
23 static void print(struct match *m, unsigned char *caption, states st, int ch, FILE *d);
29 static unsigned char *pchar(int ch);
H A Dregcomp.c819 == static char othercase(int ch);
821 static unsigned char /* if no counterpart, return ch */
822 othercase(ch)
823 int ch;
825 assert(isalpha(ch));
826 if (isupper(ch))
827 return(tolower(ch));
828 else if (islower(ch))
829 return(toupper(ch));
831 return(ch);
[all...]
H A Dregcomp.ih19 static unsigned char othercase(int ch);
20 static void bothcases(register struct parse *p, int ch);
21 static void ordinary(register struct parse *p, register int ch);
/PHP_5_3/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_5_3/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.c306 int ch, total, trail; local
312 ch = byte & (0x3F >> trail);
319 ch <<= 6;
320 ch |= (*str & 0x3F);
323 *chPtr = ch;
785 int len, i = 0, ch; local
925 ch = *next;
928 if (ch == '\r') {
938 if (ch == '\n') {
964 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_5_3/ext/curl/
H A Dinterface.c150 static void _php_curl_close_ex(php_curl *ch TSRMLS_DC);
167 static int php_curl_option_url(php_curl *ch, const char *url, const int len) /* {{{ */ argument
178 error = curl_easy_setopt(ch->cp, CURLOPT_PROTOCOLS, CURLPROTO_ALL & ~CURLPROTO_FILE);
197 error = curl_easy_setopt(ch->cp, CURLOPT_URL, url);
200 error = curl_easy_setopt(ch->cp, CURLOPT_URL, copystr);
201 zend_llist_add_element(&ch->to_free->str, &copystr);
208 int _php_curl_verify_handlers(php_curl *ch, int reporterror TSRMLS_DC) /* {{{ */ argument
211 if (!ch || !ch->handlers) {
215 if (ch
987 php_curl *ch = (php_curl *) ctx; local
1063 php_curl *ch = (php_curl *) clientp; local
1140 php_curl *ch = (php_curl *) ctx; local
1215 php_curl *ch = (php_curl *) ctx; local
1291 php_curl *ch = (php_curl *) ctx; local
1312 php_curl *ch = (php_curl *) ctx; local
1421 alloc_curl_handle(php_curl **ch) argument
1527 php_curl *ch; local
1601 php_curl *ch, *dupch; local
1686 _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval *return_value TSRMLS_DC) argument
2232 php_curl *ch; local
2258 php_curl *ch; local
2287 _php_curl_cleanup_handle(php_curl *ch) argument
2308 php_curl *ch; local
2364 php_curl *ch; local
2551 php_curl *ch; local
2569 php_curl *ch; local
2586 php_curl *ch; local
2692 php_curl *ch = (php_curl *) rsrc->ptr; local
[all...]
H A Dmulti.c71 /* {{{ proto int curl_multi_add_handle(resource mh, resource ch)
78 php_curl *ch; local
86 ZEND_FETCH_RESOURCE(ch, php_curl *, &z_ch, -1, le_curl_name, le_curl);
88 _php_curl_cleanup_handle(ch);
89 ch->uses++;
97 RETURN_LONG((long) curl_multi_add_handle(mh->multi, ch->cp));
104 php_curl *ch; local
111 ch = (php_curl *) zend_fetch_resource(&z_ch TSRMLS_CC, -1, le_curl_name, NULL, 1, le_curl);
112 if (!ch) {
116 if (ch
140 php_curl *ch; local
219 php_curl *ch; local
244 php_curl *ch; local
291 php_curl *ch; local
344 php_curl *ch; local
[all...]
/PHP_5_3/ext/gd/
H A Dgd_ctx.c31 unsigned char ch = (unsigned char) c; local
33 php_write(&ch, 1 TSRMLS_CC);
/PHP_5_3/ext/standard/
H A Dbase64.c113 for(ch = 0; ch < 256; ch++) {
114 chp = strchr(base64_table, ch);
115 if(ch && chp) {
118 rt[ch] = idx;
120 rt[ch] = -1;
125 for(ch =0; ch < 256;) {
127 sprintf(sp, "\t% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,% 3d,\n", rt[ch
146 int ch, i = 0, j = 0, k; local
[all...]
H A Dcrc32.h28 #define CRC32(crc, ch) (crc = (crc >> 8) ^ crc32tab[(crc ^ (ch)) & 0xff])
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
594 char *ch, sch; local
[all...]
H A Dvar_unserializer.re160 unsigned char ch = 0;
165 ch = (ch << 4) + (**p -'0');
167 ch = (ch << 4) + (**p -'a'+10);
169 ch = (ch << 4) + (**p -'A'+10);
175 str[i] = (char)ch;
/PHP_5_3/main/
H A Dspprintf.c131 * NOTE: Evaluation of the ch argument should not have any side-effects
133 #define INS_CHAR_NR(xbuf, ch) do { \
134 smart_str_appendc(xbuf, ch); \
141 #define INS_CHAR(xbuf, ch) \
142 INS_CHAR_NR(xbuf, ch)
146 * the character ch.
148 #define PAD(xbuf, count, ch) do { \
152 memset(xbuf->c + xbuf->len, ch, (count)); \

Completed in 40 milliseconds

123