Searched defs:ch (Results 1 - 25 of 34) sorted by relevance

12

/PHP_5_4/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_4/ext/standard/
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 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 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.c199 unsigned char ch = 0; local
204 ch = (ch << 4) + (**p -'0');
206 ch = (ch << 4) + (**p -'a'+10);
208 ch = (ch << 4) + (**p -'A'+10);
214 str[i] = (char)ch;
/PHP_5_4/sapi/cli/
H A Dphp_http_parser.c328 char c, ch; local
372 ch = *p;
390 if (ch == CR || ch == LF)
397 if (ch == 'H')
407 if (ch == 'T') {
411 if (ch != 'E') goto error;
426 switch (ch) {
442 STRICT_CHECK(ch != 'T');
447 STRICT_CHECK(ch !
[all...]
/PHP_5_4/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_4/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 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...]
H A Dgdft.c306 int ch, total, trail; local
312 ch = byte & (0x3F >> trail);
319 ch <<= 6;
320 ch |= (*str & 0x3F);
323 *chPtr = ch;
787 int len, i = 0, ch; local
927 ch = *next;
930 if (ch == '\r') {
940 if (ch == '\n') {
966 len = gdTcl_UtfToUniChar (next, &ch);
[all...]
/PHP_5_4/ext/phar/
H A Dphar.c2097 static inline int in_character_class(char ch, const char *delim) /* {{{ */ argument
2100 if (*delim == ch) {
/PHP_5_4/ext/soap/
H A Dphp_http.c1331 char ch, done, headerbuf[8192]; local
1361 ch = php_stream_getc(stream);
1362 if (ch == '\r') {
1363 ch = php_stream_getc(stream);
1365 if (ch != '\n') {
H A Dphp_xml.c72 static void soap_ignorableWhitespace(void *ctx, const xmlChar *ch, int len) argument
/PHP_5_4/Zend/
H A Dzend_operators.c1718 int ch; local
1734 ch = s[pos];
1735 if (ch >= 'a' && ch <= 'z') {
1736 if (ch == 'z') {
1744 } else if (ch >= 'A' && ch <= 'Z') {
1745 if (ch == 'Z') {
1753 } else if (ch >= '0' && ch <
[all...]
/PHP_5_4/ext/ftp/
H A Dftp.c893 int ch; local
929 while (!php_stream_eof(instream) && (ch = php_stream_getc(instream))!=EOF) {
939 if (ch == '\n' && type == FTPTYPE_ASCII) {
944 *ptr++ = ch;
1617 int ch, lastch; local
1688 while ((ch = php_stream_getc(tmpstream)) != EOF) {
1689 if (ch == '\n' && lastch == '\r') {
1693 *text++ = ch;
1695 lastch = ch;
1890 int ch; local
[all...]
/PHP_5_4/ext/curl/
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
293 php_curl *ch; local
346 php_curl *ch; local
[all...]
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 TSRMLS_DC) /* {{{ */ argument
182 error = curl_easy_setopt(ch->cp, CURLOPT_PROTOCOLS, CURLPROTO_ALL & ~CURLPROTO_FILE);
201 error = curl_easy_setopt(ch->cp, CURLOPT_URL, url);
204 error = curl_easy_setopt(ch->cp, CURLOPT_URL, copystr);
205 zend_llist_add_element(&ch->to_free->str, &copystr);
212 int _php_curl_verify_handlers(php_curl *ch, int reporterror TSRMLS_DC) /* {{{ */ argument
215 if (!ch || !ch->handlers) {
219 if (ch
999 php_curl *ch = (php_curl *) ctx; local
1075 php_curl *ch = (php_curl *) clientp; local
1150 php_curl *ch = (php_curl *) ctx; local
1225 php_curl *ch = (php_curl *) ctx; local
1301 php_curl *ch = (php_curl *) ctx; local
1322 php_curl *ch = (php_curl *) ctx; local
1431 alloc_curl_handle(php_curl **ch) argument
1539 php_curl *ch; local
1611 php_curl *ch, *dupch; local
1697 _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval *return_value TSRMLS_DC) argument
2257 php_curl *ch; local
2283 php_curl *ch; local
2312 _php_curl_cleanup_handle(php_curl *ch) argument
2333 php_curl *ch; local
2389 php_curl *ch; local
2605 php_curl *ch; local
2623 php_curl *ch; local
2640 php_curl *ch; local
2747 php_curl *ch = (php_curl *) rsrc->ptr; local
[all...]
/PHP_5_4/ext/gd/
H A Dgd_ctx.c31 unsigned char ch = (unsigned char) c; local
33 php_write(&ch, 1 TSRMLS_CC);
50 char ch = (char) c; local
53 php_stream_write(stream, &ch, 1);
/PHP_5_4/sapi/litespeed/
H A Dlsapi_main.c494 char ch; local
507 ch = *p;
515 *p = ch;

Completed in 76 milliseconds

12