Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 186) sorted by last modified time

12345678

/php-src/ext/opcache/jit/ir/
H A Dir_x86.dasc5658 | test ch, ch
H A Dir.c80 char ch; local
83 ch = *s;
84 switch (ch) {
99 if (ch < 32) {
101 if (ch >= 0 && ch < 32) {
104 '0' + ((ch >> 6) % 8),
105 '0' + ((ch >> 3) % 8),
106 '0' + (ch % 8));
109 fputc(ch, f);
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Ddocument.c305 const lxb_char_t *ch = memchr(data, ']', sizeof(lxb_char_t) * len); in lxb_dom_document_create_cdata_section() local
307 while (ch != NULL) { in lxb_dom_document_create_cdata_section()
308 if ((end - ch) < 3) { in lxb_dom_document_create_cdata_section()
312 if(memcmp(ch, "]]>", 3) == 0) { in lxb_dom_document_create_cdata_section()
316 ch++; in lxb_dom_document_create_cdata_section()
317 ch = memchr(ch, ']', sizeof(lxb_char_t) * (end - ch)); in lxb_dom_document_create_cdata_section()
350 while (ch != NULL) { in lxb_dom_document_create_processing_instruction()
351 if ((end - ch) < 2) { in lxb_dom_document_create_processing_instruction()
355 if(memcmp(ch, "?>", 2) == 0) { in lxb_dom_document_create_processing_instruction()
359 ch++; in lxb_dom_document_create_processing_instruction()
[all …]
/php-src/
H A D.gitattributes20 *.[ch] diff=cpp
27 /Zend/zend_vm_opcodes.[ch] linguist-generated -diff
/php-src/ext/ftp/
H A Dftp.c2004 int ch, lastch; in ftp_genlist() local
2073 while ((ch = php_stream_getc(tmpstream)) != EOF) { in ftp_genlist()
2074 if (ch == '\n' && lastch == '\r') { in ftp_genlist()
2078 *text++ = ch; in ftp_genlist()
2080 lastch = ch; in ftp_genlist()
/php-src/ext/standard/
H A Dvar_unserializer.re337 unsigned char ch = 0;
342 ch = (ch << 4) + (**p -'0');
344 ch = (ch << 4) + (**p -'a'+10);
346 ch = (ch << 4) + (**p -'A'+10);
352 ZSTR_VAL(str)[i] = (char)ch;
H A Dbase64.c252 int ch; in php_base64_decode_impl() local
267 ch = *in++; in php_base64_decode_impl()
268 if (ch == base64_pad) { in php_base64_decode_impl()
273 ch = base64_reverse_table[ch]; in php_base64_decode_impl()
276 if (ch < 0) { in php_base64_decode_impl()
281 if (ch == -1) { in php_base64_decode_impl()
285 if (ch == -2 || padding) { in php_base64_decode_impl()
292 out[j] = ch << 2; in php_base64_decode_impl()
295 out[j++] |= ch >> 4; in php_base64_decode_impl()
299 out[j++] |= ch >>2; in php_base64_decode_impl()
[all …]
H A Dstring.c2721 const unsigned char ch = ZSTR_VAL(str)[0]; local
2722 unsigned char r = zend_toupper_ascii(ch);
2723 if (r == ch) {
3080 static zend_always_inline zend_long count_chars(const char *p, zend_long length, char ch) argument
3087 __m128i search = _mm_set1_epi8(ch);
3113 count += (*p == ch);
3118 while ((p = memchr(p, ch, endp-p))) {
6022 char *char_list = NULL, ch[256]; local
6054 php_charmask((const unsigned char *) char_list, char_list_len, ch);
6061 if ((*p == '\'' && (!char_list || !ch['\''])) || (*p == '-' && (!char_list || !ch['-']))) {
[all …]
H A Darray.c1802 uint32_t ch; local
1809 ch = (uint32_t)((unsigned char *)var_name)[0];
1811 if (UNEXPECTED(!ZEND_BIT_TEST(charset, ch))) {
1814 (ch < 65 /* A */ || /* Z */ ch > 90) &&
1815 (ch < 97 /* a */ || /* z */ ch > 122) &&
1816 (ch < 127 /* 0x7f */ || /* 0xff */ ch > 255)
1826 ch = (uint32_t)((unsigned char *)var_name)[i];
1831 (ch < 48 /* 0 */ || /* 9 */ ch > 57) &&
1832 (ch < 65 /* A */ || /* Z */ ch > 90) &&
1833 (ch < 97 /* a */ || /* z */ ch > 122) &&
[all …]
H A Dfile.c1788 while (ch < end) { in php_fputcsv()
1797 ch++; in php_fputcsv()
2242 ch = md->lc; in php_next_meta_token()
2246 switch (ch) { in php_next_meta_token()
2264 compliment = ch; in php_next_meta_token()
2266 …while (!php_stream_eof(md->stream) && (ch = php_stream_getc(md->stream)) && ch != compliment && ch in php_next_meta_token()
2274 if (ch == '<' || ch == '>') { in php_next_meta_token()
2277 md->lc = ch; in php_next_meta_token()
2299 if (isalnum(ch)) { in php_next_meta_token()
2311 if (!isalpha(ch) && ch != '-') { in php_next_meta_token()
[all …]
/php-src/ext/ffi/
H A Dffi.c4528 Z_PARAM_LONG(ch) in ZEND_METHOD()
5952 value = val->ch;
6358 length = len->ch;
7171 val->ch = val->ch OP op2->ch; \
7229 val->ch = val->ch OP op2->ch; \
7299 val->i64 = val->ch OP op2->ch; \
7596 val->ch = -val->ch;
7610 val->ch = ~val->ch;
7800 val->ch = '\b';
7824 val->ch = n;
[all …]
/php-src/ext/mysqlnd/
H A Dmysqlnd_charset.c1031 for (unsigned int ch = 0; ch < 255; ch++) { in mysqlnd_charsets_sanity_check() local
1032 if (mysqlnd_mbcharlen_dispatch(c->mb_charlen, ch) > 1) { in mysqlnd_charsets_sanity_check()
1033 ZEND_ASSERT(ch >= c->lowest_mb_byte); in mysqlnd_charsets_sanity_check()
/php-src/ext/mbstring/tests/
H A Dmb_ucfirst_lcfirst.phpt55 var_dump(mb_lcfirst("Xin chào"));
90 string(9) "xin chào"
/php-src/ext/curl/tests/
H A Dcurl_setopt_ssl.phpt84 check_error($ch);
85 curl_close($ch);
98 check_error($ch);
99 curl_close($ch);
112 check_error($ch);
113 curl_close($ch);
126 check_error($ch);
127 curl_close($ch);
143 curl_close($ch);
159 curl_close($ch);
[all …]
H A Dcurl_basic_023.phpt10 $ch = curl_init();
11 var_dump(0 === curl_getinfo($ch, CURLINFO_HTTP_VERSION));
16 curl_setopt($ch, CURLOPT_URL, $url);
17 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
18 curl_exec($ch);
19 var_dump(CURL_HTTP_VERSION_1_1 === curl_getinfo($ch, CURLINFO_HTTP_VERSION));
20 curl_close($ch);
H A Dcurl_file_upload_stream.phpt10 $ch = curl_init();
11 curl_setopt($ch, CURLOPT_SAFE_UPLOAD, 1);
12 curl_setopt($ch, CURLOPT_URL, "{$host}/get.inc?test=file");
13 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
17 var_dump(curl_setopt($ch, CURLOPT_POSTFIELDS, $params));
19 var_dump(curl_exec($ch));
20 curl_close($ch);
/php-src/build/
H A Dltmain.sh5030 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
/php-src/ext/gd/libgd/
H A Dgd.c18 #define ASC(ch) ch argument
20 #define ASC(ch) gd_toascii[(unsigned char)ch] argument
/php-src/sapi/litespeed/
H A Dlsapilib.c2217 if ((ch != *p )||(( *p == '_' )&&( ch != '-'))) in GetHeaderVar()
2396 char ch = *pKey++; in LSAPI_ForeachHeader_r() local
2397 if ( ch == '-' ) in LSAPI_ForeachHeader_r()
2511 if (( ch == '\n' )||( ch == '\r' )) in LSAPI_AppendRespHeader2_r()
2521 if (( ch == '\n' )||( ch == '\r' )) in LSAPI_AppendRespHeader2_r()
2560 char ch = *(pBuf + len - 1 ); in LSAPI_AppendRespHeader_r() local
2561 if (( ch == '\n' )||( ch == '\r' )) in LSAPI_AppendRespHeader_r()
3963 char ch; in LSAPI_Init_Env_Parameters() local
3999 ch = *(p + strlen(p) - 1); in LSAPI_Init_Env_Parameters()
4000 if ( ch == 'G' || ch == 'g' ) in LSAPI_Init_Env_Parameters()
[all …]
/php-src/ext/curl/
H A Dinterface.c174 curl_easy_setopt(ch->cp, CURLOPT_INFILE, (void *) ch); in _php_curl_verify_handlers()
188 curl_easy_setopt(ch->cp, CURLOPT_WRITEHEADER, (void *) ch); in _php_curl_verify_handlers()
202 curl_easy_setopt(ch->cp, CURLOPT_FILE, (void *) ch); in _php_curl_verify_handlers()
438 php_curl *ch; in curl_clone_obj() local
1104 php_curl *ch; in init_curl_handle_into_zval() local
1111 return ch; in init_curl_handle_into_zval()
1229 ch->cp = cp; in PHP_FUNCTION()
1253 curl_easy_setopt(ch->cp, option, (void *) ch); in _php_copy_callback()
2147 curl_easy_setopt(ch->cp, CURLOPT_PROGRESSDATA, ch); in _php_curl_setopt()
2199 curl_easy_setopt(ch->cp, CURLOPT_XFERINFODATA, ch); in _php_curl_setopt()
[all …]
H A Dcurl_private.h139 void init_curl_handle(php_curl *ch);
142 void _php_curl_verify_handlers(php_curl *ch, bool reporterror);
143 void _php_setup_easy_copy_handlers(php_curl *ch, php_curl *source);
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_match.c1121 uint32_t ch; in match() local
1125 if (ch == fc) in match()
1131 if (ch > 127) in match()
1132 ch = UCD_OTHERCASE(ch); in match()
1134 ch = (mb->fcc)[ch]; in match()
1143 uint32_t ch; in match() local
1145 ch = Fecode[1]; in match()
1148 if (ch == fc) in match()
1155 ch = UCD_OTHERCASE(ch); in match()
1157 ch = (mb->fcc)[ch]; in match()
[all …]
H A Dpcre2_printint.c755 PCRE2_UCHAR ch; in pcre2_printint() local
756 while ((ch = *ccode++) != XCL_END) in pcre2_printint()
760 switch(ch) in pcre2_printint()
801 if (ch == XCL_RANGE) in pcre2_printint()
H A Dpcre2_internal.h1870 #define GET_UCD(ch) ((ch > MAX_UTF_CODE_POINT)? \ argument
1873 #define GET_UCD(ch) REAL_GET_UCD(ch) argument
1884 #define UCD_CHARTYPE(ch) GET_UCD(ch)->chartype argument
1885 #define UCD_SCRIPT(ch) GET_UCD(ch)->script argument
1886 #define UCD_CATEGORY(ch) PRIV(ucp_gentype)[UCD_CHARTYPE(ch)] argument
1887 #define UCD_GRAPHBREAK(ch) GET_UCD(ch)->gbprop argument
1888 #define UCD_CASESET(ch) GET_UCD(ch)->caseset argument
1889 #define UCD_OTHERCASE(ch) ((uint32_t)((int)ch + (int)(GET_UCD(ch)->other_case))) argument
1890 #define UCD_SCRIPTX(ch) UCD_SCRIPTX_PROP(GET_UCD(ch)) argument
1891 #define UCD_BPROPS(ch) UCD_BPROPS_PROP(GET_UCD(ch)) argument
[all …]
/php-src/ext/soap/
H A Dphp_http.c1448 char ch, done, headerbuf[8192]; in get_http_body() local
1485 ch = php_stream_getc(stream); in get_http_body()
1486 if (ch == '\r') { in get_http_body()
1487 ch = php_stream_getc(stream); in get_http_body()
1489 if (ch != '\n') { in get_http_body()

Completed in 238 milliseconds

12345678