ch 6 TSRM/tsrm_strtok_r.c static inline int in_character_class(char ch, const char *delim) ch 9 TSRM/tsrm_strtok_r.c if (*delim == ch) { ch 1410 Zend/zend_compile.c int ch = *Z_STRVAL(op2->u.constant); ch 1414 Zend/zend_compile.c ZVAL_LONG(&op2->u.constant, ch); ch 123 Zend/zend_ini_scanner.c #define EAT_TRAILING_WHITESPACE_EX(ch) \ ch 125 Zend/zend_ini_scanner.c (ch != 'X' && yytext[yyleng - 1] == ch) || \ ch 1919 Zend/zend_operators.c int ch; ch 1933 Zend/zend_operators.c ch = s[pos]; ch 1934 Zend/zend_operators.c if (ch >= 'a' && ch <= 'z') { ch 1935 Zend/zend_operators.c if (ch == 'z') { ch 1943 Zend/zend_operators.c } else if (ch >= 'A' && ch <= 'Z') { ch 1944 Zend/zend_operators.c if (ch == 'Z') { ch 1952 Zend/zend_operators.c } else if (ch >= '0' && ch <= '9') { ch 1953 Zend/zend_operators.c if (ch == '9') { ch 151 ext/curl/interface.c static void _php_curl_close_ex(php_curl *ch TSRMLS_DC); ch 168 ext/curl/interface.c static int php_curl_option_str(php_curl *ch, long option, const char *str, const int len, zend_bool make_copy TSRMLS_DC) ch 184 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, copystr); ch 185 ext/curl/interface.c zend_llist_add_element(&ch->to_free->str, ©str); ch 188 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, str); ch 192 ext/curl/interface.c SAVE_CURL_ERROR(ch, error) ch 197 ext/curl/interface.c static int php_curl_option_url(php_curl *ch, const char *url, const int len TSRMLS_DC) /* {{{ */ ch 202 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_PROTOCOLS, CURLPROTO_ALL & ~CURLPROTO_FILE); ch 220 ext/curl/interface.c return php_curl_option_str(ch, CURLOPT_URL, url, len, 0 TSRMLS_CC); ch 224 ext/curl/interface.c void _php_curl_verify_handlers(php_curl *ch, int reporterror TSRMLS_DC) /* {{{ */ ch 227 ext/curl/interface.c if (!ch || !ch->handlers) { ch 231 ext/curl/interface.c if (ch->handlers->std_err) { ch 232 ext/curl/interface.c stream = (php_stream *) zend_fetch_resource(&ch->handlers->std_err TSRMLS_CC, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream()); ch 237 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->std_err); ch 238 ext/curl/interface.c ch->handlers->std_err = NULL; ch 240 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_STDERR, stderr); ch 243 ext/curl/interface.c if (ch->handlers->read && ch->handlers->read->stream) { ch 244 ext/curl/interface.c stream = (php_stream *) zend_fetch_resource(&ch->handlers->read->stream TSRMLS_CC, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream()); ch 249 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->read->stream); ch 250 ext/curl/interface.c ch->handlers->read->fd = 0; ch 251 ext/curl/interface.c ch->handlers->read->fp = 0; ch 252 ext/curl/interface.c ch->handlers->read->stream = NULL; ch 254 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_INFILE, (void *) ch); ch 257 ext/curl/interface.c if (ch->handlers->write_header && ch->handlers->write_header->stream) { ch 258 ext/curl/interface.c stream = (php_stream *) zend_fetch_resource(&ch->handlers->write_header->stream TSRMLS_CC, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream()); ch 263 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write_header->stream); ch 264 ext/curl/interface.c ch->handlers->write_header->fp = 0; ch 265 ext/curl/interface.c ch->handlers->write_header->stream = NULL; ch 267 ext/curl/interface.c ch->handlers->write_header->method = PHP_CURL_IGNORE; ch 268 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_WRITEHEADER, (void *) ch); ch 271 ext/curl/interface.c if (ch->handlers->write && ch->handlers->write->stream) { ch 272 ext/curl/interface.c stream = (php_stream *) zend_fetch_resource(&ch->handlers->write->stream TSRMLS_CC, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream()); ch 277 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write->stream); ch 278 ext/curl/interface.c ch->handlers->write->fp = 0; ch 279 ext/curl/interface.c ch->handlers->write->stream = NULL; ch 281 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_STDOUT; ch 282 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_FILE, (void *) ch); ch 299 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 303 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 309 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 314 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 318 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 323 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 327 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 331 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 336 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 342 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 347 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 363 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 368 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 382 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 419 ext/curl/interface.c ZEND_ARG_INFO(0, ch) ch 1297 ext/curl/interface.c php_curl *ch = (php_curl *) ctx; ch 1298 ext/curl/interface.c php_curl_write *t = ch->handlers->write; ch 1300 ext/curl/interface.c TSRMLS_FETCH_FROM_CTX(ch->thread_ctx); ch 1327 ext/curl/interface.c ZVAL_RESOURCE(handle, ch->id); ch 1328 ext/curl/interface.c zend_list_addref(ch->id); ch 1345 ext/curl/interface.c ch->in_callback = 1; ch 1347 ext/curl/interface.c ch->in_callback = 0; ch 1352 ext/curl/interface.c _php_curl_verify_handlers(ch, 1 TSRMLS_CC); ch 1375 ext/curl/interface.c php_curl *ch = (php_curl *) ctx; ch 1376 ext/curl/interface.c php_curl_fnmatch *t = ch->handlers->fnmatch; ch 1387 ext/curl/interface.c TSRMLS_FETCH_FROM_CTX(ch->thread_ctx); ch 1393 ext/curl/interface.c ZVAL_RESOURCE(zhandle, ch->id); ch 1394 ext/curl/interface.c zend_list_addref(ch->id); ch 1412 ext/curl/interface.c ch->in_callback = 1; ch 1414 ext/curl/interface.c ch->in_callback = 0; ch 1418 ext/curl/interface.c _php_curl_verify_handlers(ch, 1 TSRMLS_CC); ch 1440 ext/curl/interface.c php_curl *ch = (php_curl *) clientp; ch 1441 ext/curl/interface.c php_curl_progress *t = ch->handlers->progress; ch 1460 ext/curl/interface.c TSRMLS_FETCH_FROM_CTX(ch->thread_ctx); ch 1468 ext/curl/interface.c ZVAL_RESOURCE(handle, ch->id); ch 1469 ext/curl/interface.c zend_list_addref(ch->id); ch 1491 ext/curl/interface.c ch->in_callback = 1; ch 1493 ext/curl/interface.c ch->in_callback = 0; ch 1497 ext/curl/interface.c _php_curl_verify_handlers(ch, 1 TSRMLS_CC); ch 1522 ext/curl/interface.c php_curl *ch = (php_curl *) ctx; ch 1523 ext/curl/interface.c php_curl_read *t = ch->handlers->read; ch 1540 ext/curl/interface.c TSRMLS_FETCH_FROM_CTX(ch->thread_ctx); ch 1546 ext/curl/interface.c ZVAL_RESOURCE(handle, ch->id); ch 1547 ext/curl/interface.c zend_list_addref(ch->id); ch 1566 ext/curl/interface.c ch->in_callback = 1; ch 1568 ext/curl/interface.c ch->in_callback = 0; ch 1575 ext/curl/interface.c _php_curl_verify_handlers(ch, 1 TSRMLS_CC); ch 1598 ext/curl/interface.c php_curl *ch = (php_curl *) ctx; ch 1599 ext/curl/interface.c php_curl_write *t = ch->handlers->write_header; ch 1601 ext/curl/interface.c TSRMLS_FETCH_FROM_CTX(ch->thread_ctx); ch 1607 ext/curl/interface.c if (ch->handlers->write->method == PHP_CURL_RETURN && length > 0) { ch 1608 ext/curl/interface.c smart_str_appendl(&ch->handlers->write->buf, data, (int) length); ch 1626 ext/curl/interface.c ZVAL_RESOURCE(handle, ch->id); ch 1627 ext/curl/interface.c zend_list_addref(ch->id); ch 1643 ext/curl/interface.c ch->in_callback = 1; ch 1645 ext/curl/interface.c ch->in_callback = 0; ch 1650 ext/curl/interface.c _php_curl_verify_handlers(ch, 1 TSRMLS_CC); ch 1675 ext/curl/interface.c php_curl *ch = (php_curl *) ctx; ch 1678 ext/curl/interface.c if (ch->header.str_len) { ch 1679 ext/curl/interface.c efree(ch->header.str); ch 1682 ext/curl/interface.c ch->header.str = estrndup(buf, buf_len); ch 1683 ext/curl/interface.c ch->header.str_len = buf_len; ch 1696 ext/curl/interface.c php_curl *ch = (php_curl *) ctx; ch 1697 ext/curl/interface.c zval *func = ch->handlers->passwd; ch 1702 ext/curl/interface.c TSRMLS_FETCH_FROM_CTX(ch->thread_ctx); ch 1708 ext/curl/interface.c ZVAL_RESOURCE(argv[0], ch->id); ch 1709 ext/curl/interface.c zend_list_addref(ch->id); ch 1805 ext/curl/interface.c static void alloc_curl_handle(php_curl **ch) ch 1807 ext/curl/interface.c *ch = emalloc(sizeof(php_curl)); ch 1808 ext/curl/interface.c (*ch)->to_free = ecalloc(1, sizeof(struct _php_curl_free)); ch 1809 ext/curl/interface.c (*ch)->handlers = ecalloc(1, sizeof(php_curl_handlers)); ch 1810 ext/curl/interface.c (*ch)->handlers->write = ecalloc(1, sizeof(php_curl_write)); ch 1811 ext/curl/interface.c (*ch)->handlers->write_header = ecalloc(1, sizeof(php_curl_write)); ch 1812 ext/curl/interface.c (*ch)->handlers->read = ecalloc(1, sizeof(php_curl_read)); ch 1813 ext/curl/interface.c (*ch)->handlers->progress = NULL; ch 1815 ext/curl/interface.c (*ch)->handlers->fnmatch = NULL; ch 1818 ext/curl/interface.c (*ch)->in_callback = 0; ch 1819 ext/curl/interface.c (*ch)->header.str_len = 0; ch 1821 ext/curl/interface.c memset(&(*ch)->err, 0, sizeof((*ch)->err)); ch 1822 ext/curl/interface.c (*ch)->handlers->write->stream = NULL; ch 1823 ext/curl/interface.c (*ch)->handlers->write_header->stream = NULL; ch 1824 ext/curl/interface.c (*ch)->handlers->read->stream = NULL; ch 1826 ext/curl/interface.c zend_llist_init(&(*ch)->to_free->str, sizeof(char *), (llist_dtor_func_t) curl_free_string, 0); ch 1827 ext/curl/interface.c zend_llist_init(&(*ch)->to_free->post, sizeof(struct HttpPost), (llist_dtor_func_t) curl_free_post, 0); ch 1828 ext/curl/interface.c (*ch)->safe_upload = 1; /* for now, for BC reason we allow unsafe API */ ch 1830 ext/curl/interface.c (*ch)->to_free->slist = emalloc(sizeof(HashTable)); ch 1831 ext/curl/interface.c zend_hash_init((*ch)->to_free->slist, 4, NULL, curl_free_slist, 0); ch 1915 ext/curl/interface.c static void _php_curl_set_default_options(php_curl *ch) ch 1919 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_NOPROGRESS, 1); ch 1920 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_VERBOSE, 0); ch 1921 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_ERRORBUFFER, ch->err.str); ch 1922 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_WRITEFUNCTION, curl_write); ch 1923 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_FILE, (void *) ch); ch 1924 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_READFUNCTION, curl_read); ch 1925 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_INFILE, (void *) ch); ch 1926 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_HEADERFUNCTION, curl_write_header); ch 1927 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_WRITEHEADER, (void *) ch); ch 1928 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_DNS_USE_GLOBAL_CACHE, 1); ch 1929 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_DNS_CACHE_TIMEOUT, 120); ch 1930 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_MAXREDIRS, 20); /* prevent infinite redirects */ ch 1937 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_CAINFO, cainfo); ch 1941 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_NOSIGNAL, 1); ch 1950 ext/curl/interface.c php_curl *ch; ch 1966 ext/curl/interface.c alloc_curl_handle(&ch); ch 1967 ext/curl/interface.c TSRMLS_SET_CTX(ch->thread_ctx); ch 1969 ext/curl/interface.c ch->cp = cp; ch 1971 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_STDOUT; ch 1972 ext/curl/interface.c ch->handlers->read->method = PHP_CURL_DIRECT; ch 1973 ext/curl/interface.c ch->handlers->write_header->method = PHP_CURL_IGNORE; ch 1976 ext/curl/interface.c ch->clone = clone; ch 1978 ext/curl/interface.c _php_curl_set_default_options(ch); ch 1981 ext/curl/interface.c if (php_curl_option_url(ch, url, url_len TSRMLS_CC) == FAILURE) { ch 1982 ext/curl/interface.c _php_curl_close_ex(ch TSRMLS_CC); ch 1987 ext/curl/interface.c ZEND_REGISTER_RESOURCE(return_value, ch, le_curl); ch 1988 ext/curl/interface.c ch->id = Z_LVAL_P(return_value); ch 1998 ext/curl/interface.c php_curl *ch, *dupch; ch 2004 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 2006 ext/curl/interface.c cp = curl_easy_duphandle(ch->cp); ch 2017 ext/curl/interface.c if (ch->handlers->write->stream) { ch 2018 ext/curl/interface.c Z_ADDREF_P(ch->handlers->write->stream); ch 2020 ext/curl/interface.c dupch->handlers->write->stream = ch->handlers->write->stream; ch 2021 ext/curl/interface.c dupch->handlers->write->method = ch->handlers->write->method; ch 2022 ext/curl/interface.c if (ch->handlers->read->stream) { ch 2023 ext/curl/interface.c Z_ADDREF_P(ch->handlers->read->stream); ch 2025 ext/curl/interface.c dupch->handlers->read->stream = ch->handlers->read->stream; ch 2026 ext/curl/interface.c dupch->handlers->read->method = ch->handlers->read->method; ch 2027 ext/curl/interface.c dupch->handlers->write_header->method = ch->handlers->write_header->method; ch 2028 ext/curl/interface.c if (ch->handlers->write_header->stream) { ch 2029 ext/curl/interface.c Z_ADDREF_P(ch->handlers->write_header->stream); ch 2031 ext/curl/interface.c dupch->handlers->write_header->stream = ch->handlers->write_header->stream; ch 2033 ext/curl/interface.c dupch->handlers->write->fp = ch->handlers->write->fp; ch 2034 ext/curl/interface.c dupch->handlers->write_header->fp = ch->handlers->write_header->fp; ch 2035 ext/curl/interface.c dupch->handlers->read->fp = ch->handlers->read->fp; ch 2036 ext/curl/interface.c dupch->handlers->read->fd = ch->handlers->read->fd; ch 2038 ext/curl/interface.c if (ch->handlers->passwd) { ch 2039 ext/curl/interface.c zval_add_ref(&ch->handlers->passwd); ch 2040 ext/curl/interface.c dupch->handlers->passwd = ch->handlers->passwd; ch 2041 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_PASSWDDATA, (void *) dupch); ch 2044 ext/curl/interface.c if (ch->handlers->write->func_name) { ch 2045 ext/curl/interface.c zval_add_ref(&ch->handlers->write->func_name); ch 2046 ext/curl/interface.c dupch->handlers->write->func_name = ch->handlers->write->func_name; ch 2048 ext/curl/interface.c if (ch->handlers->read->func_name) { ch 2049 ext/curl/interface.c zval_add_ref(&ch->handlers->read->func_name); ch 2050 ext/curl/interface.c dupch->handlers->read->func_name = ch->handlers->read->func_name; ch 2052 ext/curl/interface.c if (ch->handlers->write_header->func_name) { ch 2053 ext/curl/interface.c zval_add_ref(&ch->handlers->write_header->func_name); ch 2054 ext/curl/interface.c dupch->handlers->write_header->func_name = ch->handlers->write_header->func_name; ch 2062 ext/curl/interface.c if (ch->handlers->progress) { ch 2064 ext/curl/interface.c if (ch->handlers->progress->func_name) { ch 2065 ext/curl/interface.c zval_add_ref(&ch->handlers->progress->func_name); ch 2066 ext/curl/interface.c dupch->handlers->progress->func_name = ch->handlers->progress->func_name; ch 2068 ext/curl/interface.c dupch->handlers->progress->method = ch->handlers->progress->method; ch 2074 ext/curl/interface.c if (ch->handlers->fnmatch) { ch 2076 ext/curl/interface.c if (ch->handlers->fnmatch->func_name) { ch 2077 ext/curl/interface.c zval_add_ref(&ch->handlers->fnmatch->func_name); ch 2078 ext/curl/interface.c dupch->handlers->fnmatch->func_name = ch->handlers->fnmatch->func_name; ch 2080 ext/curl/interface.c dupch->handlers->fnmatch->method = ch->handlers->fnmatch->method; ch 2087 ext/curl/interface.c dupch->to_free = ch->to_free; ch 2090 ext/curl/interface.c Z_ADDREF_P(ch->clone); ch 2091 ext/curl/interface.c dupch->clone = ch->clone; ch 2098 ext/curl/interface.c static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue TSRMLS_DC) /* {{{ */ ch 2110 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, 2); ch 2267 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue)); ch 2271 ext/curl/interface.c ch->safe_upload = (Z_LVAL_PP(zvalue) != 0); ch 2333 ext/curl/interface.c return php_curl_option_str(ch, option, Z_STRVAL_PP(zvalue), Z_STRLEN_PP(zvalue), 0 TSRMLS_CC); ch 2353 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, NULL); ch 2356 ext/curl/interface.c return php_curl_option_str(ch, option, Z_STRVAL_PP(zvalue), Z_STRLEN_PP(zvalue), 0 TSRMLS_CC); ch 2364 ext/curl/interface.c return php_curl_option_str(ch, option, Z_STRVAL_PP(zvalue), Z_STRLEN_PP(zvalue), 1 TSRMLS_CC); ch 2369 ext/curl/interface.c return php_curl_option_url(ch, Z_STRVAL_PP(zvalue), Z_STRLEN_PP(zvalue) TSRMLS_CC); ch 2399 ext/curl/interface.c if (ch->handlers->write->stream) { ch 2400 ext/curl/interface.c Z_DELREF_P(ch->handlers->write->stream); ch 2401 ext/curl/interface.c ch->handlers->write->stream = NULL; ch 2403 ext/curl/interface.c ch->handlers->write->fp = NULL; ch 2404 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_STDOUT; ch 2406 ext/curl/interface.c if (ch->handlers->write->stream) { ch 2407 ext/curl/interface.c Z_DELREF_P(ch->handlers->write->stream); ch 2410 ext/curl/interface.c ch->handlers->write->fp = fp; ch 2411 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_FILE; ch 2412 ext/curl/interface.c ch->handlers->write->stream = *zvalue; ch 2420 ext/curl/interface.c if (ch->handlers->write_header->stream) { ch 2421 ext/curl/interface.c Z_DELREF_P(ch->handlers->write_header->stream); ch 2422 ext/curl/interface.c ch->handlers->write_header->stream = NULL; ch 2424 ext/curl/interface.c ch->handlers->write_header->fp = NULL; ch 2425 ext/curl/interface.c ch->handlers->write_header->method = PHP_CURL_IGNORE; ch 2427 ext/curl/interface.c if (ch->handlers->write_header->stream) { ch 2428 ext/curl/interface.c Z_DELREF_P(ch->handlers->write_header->stream); ch 2431 ext/curl/interface.c ch->handlers->write_header->fp = fp; ch 2432 ext/curl/interface.c ch->handlers->write_header->method = PHP_CURL_FILE; ch 2433 ext/curl/interface.c ch->handlers->write_header->stream = *zvalue; ch 2441 ext/curl/interface.c if (ch->handlers->read->stream) { ch 2442 ext/curl/interface.c Z_DELREF_P(ch->handlers->read->stream); ch 2443 ext/curl/interface.c ch->handlers->read->stream = NULL; ch 2445 ext/curl/interface.c ch->handlers->read->fp = NULL; ch 2446 ext/curl/interface.c ch->handlers->read->fd = 0; ch 2448 ext/curl/interface.c if (ch->handlers->read->stream) { ch 2449 ext/curl/interface.c Z_DELREF_P(ch->handlers->read->stream); ch 2452 ext/curl/interface.c ch->handlers->read->fp = fp; ch 2453 ext/curl/interface.c ch->handlers->read->fd = Z_LVAL_PP(zvalue); ch 2454 ext/curl/interface.c ch->handlers->read->stream = *zvalue; ch 2459 ext/curl/interface.c if (ch->handlers->std_err) { ch 2460 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->std_err); ch 2461 ext/curl/interface.c ch->handlers->std_err = NULL; ch 2464 ext/curl/interface.c if (ch->handlers->std_err) { ch 2465 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->std_err); ch 2468 ext/curl/interface.c ch->handlers->std_err = *zvalue; ch 2475 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, fp); ch 2550 ext/curl/interface.c if (Z_REFCOUNT_P(ch->clone) <= 1) { ch 2551 ext/curl/interface.c zend_hash_index_update(ch->to_free->slist, (ulong) option, &slist, sizeof(struct curl_slist *), NULL); ch 2553 ext/curl/interface.c zend_hash_next_index_insert(ch->to_free->slist, &slist, sizeof(struct curl_slist *), NULL); ch 2556 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, slist); ch 2575 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue)); ch 2579 ext/curl/interface.c if (ch->handlers->write_header->func_name) { ch 2580 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write_header->func_name); ch 2581 ext/curl/interface.c ch->handlers->write_header->fci_cache = empty_fcall_info_cache; ch 2584 ext/curl/interface.c ch->handlers->write_header->func_name = *zvalue; ch 2585 ext/curl/interface.c ch->handlers->write_header->method = PHP_CURL_USER; ch 2668 ext/curl/interface.c if (!ch->safe_upload && *postval == '@') { ch 2711 ext/curl/interface.c SAVE_CURL_ERROR(ch, error); ch 2716 ext/curl/interface.c if (Z_REFCOUNT_P(ch->clone) <= 1) { ch 2717 ext/curl/interface.c zend_llist_clean(&ch->to_free->post); ch 2719 ext/curl/interface.c zend_llist_add_element(&ch->to_free->post, &first); ch 2720 ext/curl/interface.c error = curl_easy_setopt(ch->cp, CURLOPT_HTTPPOST, first); ch 2726 ext/curl/interface.c error = curl_easy_setopt(ch->cp, CURLOPT_POSTFIELDSIZE, Z_STRLEN_PP(zvalue)); ch 2727 ext/curl/interface.c error = curl_easy_setopt(ch->cp, CURLOPT_COPYPOSTFIELDS, Z_STRVAL_PP(zvalue)); ch 2733 ext/curl/interface.c zend_llist_add_element(&ch->to_free->str, &post); ch 2735 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_POSTFIELDS, post); ch 2736 ext/curl/interface.c error = curl_easy_setopt(ch->cp, CURLOPT_POSTFIELDSIZE, Z_STRLEN_PP(zvalue)); ch 2742 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_PROGRESSFUNCTION, curl_progress); ch 2743 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_PROGRESSDATA, ch); ch 2744 ext/curl/interface.c if (ch->handlers->progress == NULL) { ch 2745 ext/curl/interface.c ch->handlers->progress = ecalloc(1, sizeof(php_curl_progress)); ch 2746 ext/curl/interface.c } else if (ch->handlers->progress->func_name) { ch 2747 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->progress->func_name); ch 2748 ext/curl/interface.c ch->handlers->progress->fci_cache = empty_fcall_info_cache; ch 2751 ext/curl/interface.c ch->handlers->progress->func_name = *zvalue; ch 2752 ext/curl/interface.c ch->handlers->progress->method = PHP_CURL_USER; ch 2756 ext/curl/interface.c if (ch->handlers->read->func_name) { ch 2757 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->read->func_name); ch 2758 ext/curl/interface.c ch->handlers->read->fci_cache = empty_fcall_info_cache; ch 2761 ext/curl/interface.c ch->handlers->read->func_name = *zvalue; ch 2762 ext/curl/interface.c ch->handlers->read->method = PHP_CURL_USER; ch 2768 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_RETURN; ch 2770 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_STDOUT; ch 2775 ext/curl/interface.c if (ch->handlers->write->func_name) { ch 2776 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write->func_name); ch 2777 ext/curl/interface.c ch->handlers->write->fci_cache = empty_fcall_info_cache; ch 2780 ext/curl/interface.c ch->handlers->write->func_name = *zvalue; ch 2781 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_USER; ch 2788 ext/curl/interface.c error = curl_easy_setopt(ch->cp, option, (curl_off_t)Z_LVAL_PP(zvalue)); ch 2795 ext/curl/interface.c error = curl_easy_setopt(ch->cp, CURLOPT_POSTREDIR, Z_LVAL_PP(zvalue) & CURL_REDIR_POST_ALL); ch 2801 ext/curl/interface.c if (ch->handlers->passwd) { ch 2802 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->passwd); ch 2805 ext/curl/interface.c ch->handlers->passwd = *zvalue; ch 2806 ext/curl/interface.c error = curl_easy_setopt(ch->cp, CURLOPT_PASSWDFUNCTION, curl_passwd); ch 2807 ext/curl/interface.c error = curl_easy_setopt(ch->cp, CURLOPT_PASSWDDATA, (void *) ch); ch 2839 ext/curl/interface.c return php_curl_option_str(ch, option, Z_STRVAL_PP(zvalue), Z_STRLEN_PP(zvalue), 0 TSRMLS_CC); ch 2845 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_DEBUGFUNCTION, curl_debug); ch 2846 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_DEBUGDATA, (void *)ch); ch 2847 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_VERBOSE, 1); ch 2849 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_DEBUGFUNCTION, NULL); ch 2850 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_DEBUGDATA, NULL); ch 2851 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_VERBOSE, 0); ch 2860 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_SHARE, sh->share); ch 2867 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_FNMATCH_FUNCTION, curl_fnmatch); ch 2868 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_FNMATCH_DATA, ch); ch 2869 ext/curl/interface.c if (ch->handlers->fnmatch == NULL) { ch 2870 ext/curl/interface.c ch->handlers->fnmatch = ecalloc(1, sizeof(php_curl_fnmatch)); ch 2871 ext/curl/interface.c } else if (ch->handlers->fnmatch->func_name) { ch 2872 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->fnmatch->func_name); ch 2873 ext/curl/interface.c ch->handlers->fnmatch->fci_cache = empty_fcall_info_cache; ch 2876 ext/curl/interface.c ch->handlers->fnmatch->func_name = *zvalue; ch 2877 ext/curl/interface.c ch->handlers->fnmatch->method = PHP_CURL_USER; ch 2883 ext/curl/interface.c SAVE_CURL_ERROR(ch, error); ch 2898 ext/curl/interface.c php_curl *ch; ch 2904 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 2911 ext/curl/interface.c if (_php_curl_setopt(ch, options, zvalue TSRMLS_CC) == SUCCESS) { ch 2924 ext/curl/interface.c php_curl *ch; ch 2934 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 2942 ext/curl/interface.c if (_php_curl_setopt(ch, (long) option, entry TSRMLS_CC) == FAILURE) { ch 2953 ext/curl/interface.c void _php_curl_cleanup_handle(php_curl *ch) ch 2955 ext/curl/interface.c if (ch->handlers->write->buf.len > 0) { ch 2956 ext/curl/interface.c smart_str_free(&ch->handlers->write->buf); ch 2958 ext/curl/interface.c if (ch->header.str_len) { ch 2959 ext/curl/interface.c efree(ch->header.str); ch 2960 ext/curl/interface.c ch->header.str_len = 0; ch 2963 ext/curl/interface.c memset(ch->err.str, 0, CURL_ERROR_SIZE + 1); ch 2964 ext/curl/interface.c ch->err.no = 0; ch 2974 ext/curl/interface.c php_curl *ch; ch 2980 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 2982 ext/curl/interface.c _php_curl_verify_handlers(ch, 1 TSRMLS_CC); ch 2984 ext/curl/interface.c _php_curl_cleanup_handle(ch); ch 2986 ext/curl/interface.c error = curl_easy_perform(ch->cp); ch 2987 ext/curl/interface.c SAVE_CURL_ERROR(ch, error); ch 2990 ext/curl/interface.c if (ch->handlers->write->buf.len > 0) { ch 2991 ext/curl/interface.c smart_str_free(&ch->handlers->write->buf); ch 2996 ext/curl/interface.c if (ch->handlers->std_err) { ch 2998 ext/curl/interface.c stream = (php_stream*)zend_fetch_resource(&ch->handlers->std_err TSRMLS_CC, -1, NULL, NULL, 2, php_file_le_stream(), php_file_le_pstream()); ch 3004 ext/curl/interface.c if (ch->handlers->write->method == PHP_CURL_RETURN && ch->handlers->write->buf.len > 0) { ch 3005 ext/curl/interface.c smart_str_0(&ch->handlers->write->buf); ch 3006 ext/curl/interface.c RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1); ch 3010 ext/curl/interface.c if (ch->handlers->write->method == PHP_CURL_FILE && ch->handlers->write->fp) { ch 3011 ext/curl/interface.c fflush(ch->handlers->write->fp); ch 3013 ext/curl/interface.c if (ch->handlers->write_header->method == PHP_CURL_FILE && ch->handlers->write_header->fp) { ch 3014 ext/curl/interface.c fflush(ch->handlers->write_header->fp); ch 3017 ext/curl/interface.c if (ch->handlers->write->method == PHP_CURL_RETURN) { ch 3030 ext/curl/interface.c php_curl *ch; ch 3037 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3050 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_EFFECTIVE_URL, &s_code) == CURLE_OK) { ch 3053 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_CONTENT_TYPE, &s_code) == CURLE_OK) { ch 3063 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_HTTP_CODE, &l_code) == CURLE_OK) { ch 3066 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_HEADER_SIZE, &l_code) == CURLE_OK) { ch 3069 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_REQUEST_SIZE, &l_code) == CURLE_OK) { ch 3072 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_FILETIME, &l_code) == CURLE_OK) { ch 3075 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_SSL_VERIFYRESULT, &l_code) == CURLE_OK) { ch 3078 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_REDIRECT_COUNT, &l_code) == CURLE_OK) { ch 3081 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_TOTAL_TIME, &d_code) == CURLE_OK) { ch 3084 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_NAMELOOKUP_TIME, &d_code) == CURLE_OK) { ch 3087 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_CONNECT_TIME, &d_code) == CURLE_OK) { ch 3090 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_PRETRANSFER_TIME, &d_code) == CURLE_OK) { ch 3093 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_SIZE_UPLOAD, &d_code) == CURLE_OK) { ch 3096 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_SIZE_DOWNLOAD, &d_code) == CURLE_OK) { ch 3099 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_SPEED_DOWNLOAD, &d_code) == CURLE_OK) { ch 3102 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_SPEED_UPLOAD, &d_code) == CURLE_OK) { ch 3105 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d_code) == CURLE_OK) { ch 3108 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_CONTENT_LENGTH_UPLOAD, &d_code) == CURLE_OK) { ch 3111 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_STARTTRANSFER_TIME, &d_code) == CURLE_OK) { ch 3114 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_REDIRECT_TIME, &d_code) == CURLE_OK) { ch 3118 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_REDIRECT_URL, &s_code) == CURLE_OK) { ch 3123 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_PRIMARY_IP, &s_code) == CURLE_OK) { ch 3128 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_CERTINFO, &ci) == CURLE_OK) { ch 3136 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_PRIMARY_PORT, &l_code) == CURLE_OK) { ch 3139 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_LOCAL_IP, &s_code) == CURLE_OK) { ch 3142 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_LOCAL_PORT, &l_code) == CURLE_OK) { ch 3146 ext/curl/interface.c if (ch->header.str_len > 0) { ch 3147 ext/curl/interface.c CAAS("request_header", ch->header.str); ch 3152 ext/curl/interface.c if (ch->header.str_len > 0) { ch 3153 ext/curl/interface.c RETURN_STRINGL(ch->header.str, ch->header.str_len, 1); ch 3163 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, CURLINFO_CERTINFO, &ci) == CURLE_OK) { ch 3178 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, option, &s_code) == CURLE_OK && s_code) { ch 3189 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, option, &code) == CURLE_OK) { ch 3200 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, option, &code) == CURLE_OK) { ch 3212 ext/curl/interface.c if (curl_easy_getinfo(ch->cp, option, &slist) == CURLE_OK) { ch 3238 ext/curl/interface.c php_curl *ch; ch 3244 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3246 ext/curl/interface.c ch->err.str[CURL_ERROR_SIZE] = 0; ch 3247 ext/curl/interface.c RETURN_STRING(ch->err.str, 1); ch 3256 ext/curl/interface.c php_curl *ch; ch 3262 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3264 ext/curl/interface.c RETURN_LONG(ch->err.no); ch 3273 ext/curl/interface.c php_curl *ch; ch 3279 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3281 ext/curl/interface.c if (ch->in_callback) { ch 3292 ext/curl/interface.c static void _php_curl_close_ex(php_curl *ch TSRMLS_DC) ch 3295 ext/curl/interface.c fprintf(stderr, "DTOR CALLED, ch = %x\n", ch); ch 3298 ext/curl/interface.c _php_curl_verify_handlers(ch, 0 TSRMLS_CC); ch 3311 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_HEADERFUNCTION, curl_write_nothing); ch 3312 ext/curl/interface.c curl_easy_setopt(ch->cp, CURLOPT_WRITEFUNCTION, curl_write_nothing); ch 3314 ext/curl/interface.c curl_easy_cleanup(ch->cp); ch 3317 ext/curl/interface.c if (Z_REFCOUNT_P(ch->clone) <= 1) { ch 3318 ext/curl/interface.c zend_llist_clean(&ch->to_free->str); ch 3319 ext/curl/interface.c zend_llist_clean(&ch->to_free->post); ch 3320 ext/curl/interface.c zend_hash_destroy(ch->to_free->slist); ch 3321 ext/curl/interface.c efree(ch->to_free->slist); ch 3322 ext/curl/interface.c efree(ch->to_free); ch 3323 ext/curl/interface.c FREE_ZVAL(ch->clone); ch 3325 ext/curl/interface.c Z_DELREF_P(ch->clone); ch 3328 ext/curl/interface.c if (ch->handlers->write->buf.len > 0) { ch 3329 ext/curl/interface.c smart_str_free(&ch->handlers->write->buf); ch 3331 ext/curl/interface.c if (ch->handlers->write->func_name) { ch 3332 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write->func_name); ch 3334 ext/curl/interface.c if (ch->handlers->read->func_name) { ch 3335 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->read->func_name); ch 3337 ext/curl/interface.c if (ch->handlers->write_header->func_name) { ch 3338 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write_header->func_name); ch 3341 ext/curl/interface.c if (ch->handlers->passwd) { ch 3342 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->passwd); ch 3345 ext/curl/interface.c if (ch->handlers->std_err) { ch 3346 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->std_err); ch 3348 ext/curl/interface.c if (ch->header.str_len > 0) { ch 3349 ext/curl/interface.c efree(ch->header.str); ch 3352 ext/curl/interface.c if (ch->handlers->write_header->stream) { ch 3353 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write_header->stream); ch 3355 ext/curl/interface.c if (ch->handlers->write->stream) { ch 3356 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->write->stream); ch 3358 ext/curl/interface.c if (ch->handlers->read->stream) { ch 3359 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->read->stream); ch 3362 ext/curl/interface.c efree(ch->handlers->write); ch 3363 ext/curl/interface.c efree(ch->handlers->write_header); ch 3364 ext/curl/interface.c efree(ch->handlers->read); ch 3366 ext/curl/interface.c if (ch->handlers->progress) { ch 3367 ext/curl/interface.c if (ch->handlers->progress->func_name) { ch 3368 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->progress->func_name); ch 3370 ext/curl/interface.c efree(ch->handlers->progress); ch 3374 ext/curl/interface.c if (ch->handlers->fnmatch) { ch 3375 ext/curl/interface.c if (ch->handlers->fnmatch->func_name) { ch 3376 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->fnmatch->func_name); ch 3378 ext/curl/interface.c efree(ch->handlers->fnmatch); ch 3382 ext/curl/interface.c efree(ch->handlers); ch 3383 ext/curl/interface.c efree(ch); ch 3391 ext/curl/interface.c php_curl *ch = (php_curl *) rsrc->ptr; ch 3392 ext/curl/interface.c _php_curl_close_ex(ch TSRMLS_CC); ch 3421 ext/curl/interface.c static void _php_curl_reset_handlers(php_curl *ch) ch 3423 ext/curl/interface.c if (ch->handlers->write->stream) { ch 3424 ext/curl/interface.c Z_DELREF_P(ch->handlers->write->stream); ch 3425 ext/curl/interface.c ch->handlers->write->stream = NULL; ch 3427 ext/curl/interface.c ch->handlers->write->fp = NULL; ch 3428 ext/curl/interface.c ch->handlers->write->method = PHP_CURL_STDOUT; ch 3430 ext/curl/interface.c if (ch->handlers->write_header->stream) { ch 3431 ext/curl/interface.c Z_DELREF_P(ch->handlers->write_header->stream); ch 3432 ext/curl/interface.c ch->handlers->write_header->stream = NULL; ch 3434 ext/curl/interface.c ch->handlers->write_header->fp = NULL; ch 3435 ext/curl/interface.c ch->handlers->write_header->method = PHP_CURL_IGNORE; ch 3437 ext/curl/interface.c if (ch->handlers->read->stream) { ch 3438 ext/curl/interface.c Z_DELREF_P(ch->handlers->read->stream); ch 3439 ext/curl/interface.c ch->handlers->read->stream = NULL; ch 3441 ext/curl/interface.c ch->handlers->read->fp = NULL; ch 3442 ext/curl/interface.c ch->handlers->read->fd = 0; ch 3443 ext/curl/interface.c ch->handlers->read->method = PHP_CURL_DIRECT; ch 3445 ext/curl/interface.c if (ch->handlers->std_err) { ch 3446 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->std_err); ch 3447 ext/curl/interface.c ch->handlers->std_err = NULL; ch 3450 ext/curl/interface.c if (ch->handlers->progress) { ch 3451 ext/curl/interface.c if (ch->handlers->progress->func_name) { ch 3452 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->progress->func_name); ch 3454 ext/curl/interface.c efree(ch->handlers->progress); ch 3455 ext/curl/interface.c ch->handlers->progress = NULL; ch 3459 ext/curl/interface.c if (ch->handlers->fnmatch) { ch 3460 ext/curl/interface.c if (ch->handlers->fnmatch->func_name) { ch 3461 ext/curl/interface.c zval_ptr_dtor(&ch->handlers->fnmatch->func_name); ch 3463 ext/curl/interface.c efree(ch->handlers->fnmatch); ch 3464 ext/curl/interface.c ch->handlers->fnmatch = NULL; ch 3476 ext/curl/interface.c php_curl *ch; ch 3482 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3484 ext/curl/interface.c if (ch->in_callback) { ch 3489 ext/curl/interface.c curl_easy_reset(ch->cp); ch 3490 ext/curl/interface.c _php_curl_reset_handlers(ch); ch 3491 ext/curl/interface.c _php_curl_set_default_options(ch); ch 3504 ext/curl/interface.c php_curl *ch; ch 3510 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3512 ext/curl/interface.c if ((res = curl_easy_escape(ch->cp, str, str_len))) { ch 3528 ext/curl/interface.c php_curl *ch; ch 3534 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3536 ext/curl/interface.c if ((out = curl_easy_unescape(ch->cp, str, str_len, &out_len))) { ch 3553 ext/curl/interface.c php_curl *ch; ch 3559 ext/curl/interface.c ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl); ch 3561 ext/curl/interface.c RETURN_LONG(curl_easy_pause(ch->cp, bitmask)); ch 78 ext/curl/multi.c php_curl *ch; ch 86 ext/curl/multi.c ZEND_FETCH_RESOURCE(ch, php_curl *, &z_ch, -1, le_curl_name, le_curl); ch 88 ext/curl/multi.c _php_curl_cleanup_handle(ch); ch 96 ext/curl/multi.c RETURN_LONG((long) curl_multi_add_handle(mh->multi, ch->cp)); ch 103 ext/curl/multi.c php_curl *ch; ch 110 ext/curl/multi.c ch = (php_curl *) zend_fetch_resource(&z_ch TSRMLS_CC, -1, le_curl_name, NULL, 1, le_curl); ch 111 ext/curl/multi.c if (!ch) { ch 135 ext/curl/multi.c php_curl *ch; ch 142 ext/curl/multi.c ZEND_FETCH_RESOURCE(ch, php_curl *, &z_ch, -1, le_curl_name, le_curl); ch 146 ext/curl/multi.c RETVAL_LONG((long) curl_multi_remove_handle(mh->multi, ch->cp)); ch 214 ext/curl/multi.c php_curl *ch; ch 220 ext/curl/multi.c ZEND_FETCH_RESOURCE(ch, php_curl *, &pz_ch, -1, le_curl_name, le_curl); ch 221 ext/curl/multi.c _php_curl_verify_handlers(ch, 1 TSRMLS_CC); ch 239 ext/curl/multi.c php_curl *ch; ch 245 ext/curl/multi.c ZEND_FETCH_RESOURCE(ch, php_curl *, &z_ch, -1, le_curl_name, le_curl); ch 247 ext/curl/multi.c if (ch->handlers->write->method == PHP_CURL_RETURN) { ch 248 ext/curl/multi.c if (ch->handlers->write->buf.len == 0) { ch 251 ext/curl/multi.c smart_str_0(&ch->handlers->write->buf); ch 252 ext/curl/multi.c RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1); ch 291 ext/curl/multi.c php_curl *ch; ch 297 ext/curl/multi.c ZEND_FETCH_RESOURCE(ch, php_curl *, &pz_ch, -1, le_curl_name, le_curl); ch 298 ext/curl/multi.c if (ch->cp == tmp_msg->easy_handle) { ch 344 ext/curl/multi.c php_curl *ch; ch 350 ext/curl/multi.c ch = (php_curl *) zend_fetch_resource(&pz_ch TSRMLS_CC, -1, le_curl_name, NULL, 1, le_curl); ch 351 ext/curl/multi.c _php_curl_verify_handlers(ch, 0 TSRMLS_CC); ch 201 ext/curl/php_curl.h void _php_curl_verify_handlers(php_curl *ch, int reporterror TSRMLS_DC); ch 232 ext/ereg/regex/debug.c regchar(ch) ch 233 ext/ereg/regex/debug.c int ch; ch 237 ext/ereg/regex/debug.c if (isprint(ch) || ch == ' ') ch 238 ext/ereg/regex/debug.c sprintf(buf, "%c", ch); ch 240 ext/ereg/regex/debug.c sprintf(buf, "\\%o", ch); ch 812 ext/ereg/regex/engine.c step(g, start, stop, bef, ch, aft) ch 817 ext/ereg/regex/engine.c int ch; /* character or NONCHAR code */ ch 835 ext/ereg/regex/engine.c assert(!NONCHAR(ch) || ch != (unsigned char)OPND(s)); ch 836 ext/ereg/regex/engine.c if (ch == (unsigned char)OPND(s)) ch 840 ext/ereg/regex/engine.c if (ch == BOL || ch == BOLEOL) ch 844 ext/ereg/regex/engine.c if (ch == EOL || ch == BOLEOL) ch 848 ext/ereg/regex/engine.c if (ch == BOW) ch 852 ext/ereg/regex/engine.c if (ch == EOW) ch 856 ext/ereg/regex/engine.c if (!NONCHAR(ch)) ch 861 ext/ereg/regex/engine.c if (!NONCHAR(ch) && CHIN(cs, ch)) ch 934 ext/ereg/regex/engine.c print(m, caption, st, ch, d) ch 938 ext/ereg/regex/engine.c int ch; ch 949 ext/ereg/regex/engine.c if (ch != '\0') ch 950 ext/ereg/regex/engine.c fprintf(d, " %s", pchar(ch)); ch 997 ext/ereg/regex/engine.c pchar(ch) ch 998 ext/ereg/regex/engine.c int ch; ch 1002 ext/ereg/regex/engine.c if (isprint(ch) || ch == ' ') ch 1003 ext/ereg/regex/engine.c sprintf(pbuf, "%c", ch); ch 1005 ext/ereg/regex/engine.c sprintf(pbuf, "\\%o", ch); ch 830 ext/ereg/regex/regcomp.c othercase(ch) ch 831 ext/ereg/regex/regcomp.c int ch; ch 833 ext/ereg/regex/regcomp.c assert(isalpha(ch)); ch 834 ext/ereg/regex/regcomp.c if (isupper(ch)) ch 835 ext/ereg/regex/regcomp.c return(tolower(ch)); ch 836 ext/ereg/regex/regcomp.c else if (islower(ch)) ch 837 ext/ereg/regex/regcomp.c return(toupper(ch)); ch 839 ext/ereg/regex/regcomp.c return(ch); ch 849 ext/ereg/regex/regcomp.c bothcases(p, ch) ch 851 ext/ereg/regex/regcomp.c int ch; ch 857 ext/ereg/regex/regcomp.c assert(othercase(ch) != ch); /* p_bracket() would recurse */ ch 860 ext/ereg/regex/regcomp.c bracket[0] = ch; ch 874 ext/ereg/regex/regcomp.c ordinary(p, ch) ch 876 ext/ereg/regex/regcomp.c register int ch; ch 880 ext/ereg/regex/regcomp.c if ((p->g->cflags®_ICASE) && isalpha(ch) && othercase(ch) != ch) ch 881 ext/ereg/regex/regcomp.c bothcases(p, ch); ch 883 ext/ereg/regex/regcomp.c EMIT(OCHAR, (unsigned char)ch); ch 884 ext/ereg/regex/regcomp.c if (cap[ch] == 0) ch 885 ext/ereg/regex/regcomp.c cap[ch] = p->g->ncategories++; ch 893 ext/ftp/ftp.c int ch; ch 929 ext/ftp/ftp.c while (!php_stream_eof(instream) && (ch = php_stream_getc(instream))!=EOF) { ch 939 ext/ftp/ftp.c if (ch == '\n' && type == FTPTYPE_ASCII) { ch 944 ext/ftp/ftp.c *ptr++ = ch; ch 1614 ext/ftp/ftp.c int ch, lastch; ch 1683 ext/ftp/ftp.c while ((ch = php_stream_getc(tmpstream)) != EOF) { ch 1684 ext/ftp/ftp.c if (ch == '\n' && lastch == '\r') { ch 1688 ext/ftp/ftp.c *text++ = ch; ch 1690 ext/ftp/ftp.c lastch = ch; ch 1885 ext/ftp/ftp.c int ch; ch 1894 ext/ftp/ftp.c while (!php_stream_eof(ftp->stream) && (ch = php_stream_getc(ftp->stream)) != EOF) { ch 1896 ext/ftp/ftp.c if (ch == '\n' && ftp->type == FTPTYPE_ASCII) { ch 1901 ext/ftp/ftp.c *ptr++ = ch; ch 3538 ext/gd/gd.c int ch = 0, col, x, y, size, i, l = 0; ch 3551 ext/gd/gd.c ch = (int)((unsigned char)*C); ch 3565 ext/gd/gd.c gdImageChar(im, font, x, y, ch, col); ch 3568 ext/gd/gd.c php_gdimagecharup(im, font, x, y, ch, col); ch 31 ext/gd/gd_ctx.c unsigned char ch = (unsigned char) c; ch 33 ext/gd/gd_ctx.c php_write(&ch, 1 TSRMLS_CC); ch 50 ext/gd/gd_ctx.c char ch = (char) c; ch 53 ext/gd/gd_ctx.c php_stream_write(stream, &ch, 1); ch 47 ext/gd/libgd/gd.c #define ASC(ch) ch ch 49 ext/gd/libgd/gd.c #define ASC(ch) gd_toascii[(unsigned char)ch] ch 193 ext/gd/libgd/gd_gd.c int ch; ch 194 ext/gd/libgd/gd_gd.c ch = gdGetC(in); ch 195 ext/gd/libgd/gd_gd.c if (ch == EOF) { ch 199 ext/gd/libgd/gd_gd.c im->pixels[y][x] = ch; ch 57 ext/gd/libgd/gd_gd2.c int ch; ch 66 ext/gd/libgd/gd_gd2.c ch = gdGetC(in); ch 67 ext/gd/libgd/gd_gd2.c if (ch == EOF) { ch 70 ext/gd/libgd/gd_gd2.c id[i] = ch; ch 333 ext/gd/libgd/gd_gd2.c int ch; ch 334 ext/gd/libgd/gd_gd2.c if (!gdGetByte(&ch, in)) { ch 335 ext/gd/libgd/gd_gd2.c ch = 0; ch 337 ext/gd/libgd/gd_gd2.c im->pixels[y][x] = ch; ch 420 ext/gd/libgd/gd_gd2.c unsigned int ch; ch 561 ext/gd/libgd/gd_gd2.c if (!gdGetInt((int *)&ch, in)) { ch 562 ext/gd/libgd/gd_gd2.c ch = 0; ch 565 ext/gd/libgd/gd_gd2.c ch = gdGetC(in); ch 566 ext/gd/libgd/gd_gd2.c if ((int)ch == EOF) { ch 567 ext/gd/libgd/gd_gd2.c ch = 0; ch 572 ext/gd/libgd/gd_gd2.c ch = chunkBuf[chunkPos++]; ch 573 ext/gd/libgd/gd_gd2.c ch = (ch << 8) + chunkBuf[chunkPos++]; ch 574 ext/gd/libgd/gd_gd2.c ch = (ch << 8) + chunkBuf[chunkPos++]; ch 575 ext/gd/libgd/gd_gd2.c ch = (ch << 8) + chunkBuf[chunkPos++]; ch 577 ext/gd/libgd/gd_gd2.c ch = chunkBuf[chunkPos++]; ch 584 ext/gd/libgd/gd_gd2.c im->tpixels[y - srcy][x - srcx] = ch; ch 586 ext/gd/libgd/gd_gd2.c im->pixels[y - srcy][x - srcx] = ch; ch 307 ext/gd/libgd/gdft.c int ch, total, trail; ch 313 ext/gd/libgd/gdft.c ch = byte & (0x3F >> trail); ch 320 ext/gd/libgd/gdft.c ch <<= 6; ch 321 ext/gd/libgd/gdft.c ch |= (*str & 0x3F); ch 324 ext/gd/libgd/gdft.c *chPtr = ch; ch 821 ext/gd/libgd/gdft.c int len, i = 0, ch; ch 964 ext/gd/libgd/gdft.c ch = *next; ch 967 ext/gd/libgd/gdft.c if (ch == '\r') { ch 977 ext/gd/libgd/gdft.c if (ch == '\n') { ch 1003 ext/gd/libgd/gdft.c len = gdTcl_UtfToUniChar (next, &ch); ch 1004 ext/gd/libgd/gdft.c ch |= 0xf000; ch 1014 ext/gd/libgd/gdft.c len = gdTcl_UtfToUniChar(next, &ch); ch 1027 ext/gd/libgd/gdft.c ch = (jiscode >> 8) & 0xFF; ch 1030 ext/gd/libgd/gdft.c if (ch & 1) { ch 1039 ext/gd/libgd/gdft.c ch = (ch - 0x21) / 2 + 0x81; ch 1040 ext/gd/libgd/gdft.c if (ch >= 0xA0) { ch 1041 ext/gd/libgd/gdft.c ch += 0x40; ch 1044 ext/gd/libgd/gdft.c ch = (ch << 8) + jiscode; ch 1046 ext/gd/libgd/gdft.c ch = c & 0xFF; /* don't extend sign */ ch 1057 ext/gd/libgd/gdft.c ch = (*next) & 0xFF; /* don't extend sign */ ch 1059 ext/gd/libgd/gdft.c if (ch >= 161 /* first code of JIS-8 pair */ ch 1062 ext/gd/libgd/gdft.c ch = (ch * 256) + ((*next) & 255); ch 1072 ext/gd/libgd/gdft.c glyph_index = FT_Get_Char_Index(face, ch); ch 1099 ext/gd/libgd/gdft.c if (ch == ' ') { /* special case for trailing space */ ch 46 ext/gd/libgd/xbm.c int ch; ch 108 ext/gd/libgd/xbm.c if ((ch=getc(fd)) == EOF) { ch 112 ext/gd/libgd/xbm.c if (ch == 'x') { ch 120 ext/gd/libgd/xbm.c if ((ch=getc(fd)) == EOF) { ch 123 ext/gd/libgd/xbm.c h[0] = ch; ch 124 ext/gd/libgd/xbm.c if ((ch=getc(fd)) == EOF) { ch 127 ext/gd/libgd/xbm.c h[1] = ch; ch 129 ext/gd/libgd/xbm.c if ((ch=getc(fd)) == EOF) { ch 132 ext/gd/libgd/xbm.c h[2] = ch; ch 133 ext/gd/libgd/xbm.c if ((ch=getc(fd)) == EOF) { ch 136 ext/gd/libgd/xbm.c h[3] = ch; ch 3844 ext/mbstring/mbstring.c #define APPEND_ONE_CHAR(ch) do { \ ch 3846 ext/mbstring/mbstring.c smart_str_appendc(&token, ch); \ ch 9672 ext/pcre/pcrelib/pcre_compile.c pcre_uchar ch = re->first_char; ch 9675 ext/pcre/pcrelib/pcre_compile.c if (PRINTABLE(ch)) printf("First char = %c%s\n", ch, caseless); ch 9676 ext/pcre/pcrelib/pcre_compile.c else printf("First char = \\x%02x%s\n", ch, caseless); ch 9681 ext/pcre/pcrelib/pcre_compile.c pcre_uchar ch = re->req_char; ch 9684 ext/pcre/pcrelib/pcre_compile.c if (PRINTABLE(ch)) printf("Req char = %c%s\n", ch, caseless); ch 9685 ext/pcre/pcrelib/pcre_compile.c else printf("Req char = \\x%02x%s\n", ch, caseless); ch 3670 ext/pcre/pcrelib/pcre_exec.c register pcre_uint32 ch, och; ch 3673 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(ch, ecode); ch 3678 ext/pcre/pcrelib/pcre_exec.c if (ch == c) RRETURN(MATCH_NOMATCH); ch 3683 ext/pcre/pcrelib/pcre_exec.c if (ch > 127) ch 3684 ext/pcre/pcrelib/pcre_exec.c och = UCD_OTHERCASE(ch); ch 3686 ext/pcre/pcrelib/pcre_exec.c if (ch > 127) ch 3687 ext/pcre/pcrelib/pcre_exec.c och = ch; ch 3690 ext/pcre/pcrelib/pcre_exec.c och = TABLE_GET(ch, md->fcc, ch); ch 3691 ext/pcre/pcrelib/pcre_exec.c if (ch == c || och == c) RRETURN(MATCH_NOMATCH); ch 3697 ext/pcre/pcrelib/pcre_exec.c register pcre_uint32 ch = ecode[1]; ch 3699 ext/pcre/pcrelib/pcre_exec.c if (ch == c || (op == OP_NOTI && TABLE_GET(ch, md->fcc, ch) == c)) ch 2787 ext/pcre/pcrelib/pcre_internal.h #define GET_UCD(ch) (PRIV(ucd_records) + \ ch 2788 ext/pcre/pcrelib/pcre_internal.h PRIV(ucd_stage2)[PRIV(ucd_stage1)[(int)(ch) / UCD_BLOCK_SIZE] * \ ch 2789 ext/pcre/pcrelib/pcre_internal.h UCD_BLOCK_SIZE + (int)(ch) % UCD_BLOCK_SIZE]) ch 2791 ext/pcre/pcrelib/pcre_internal.h #define UCD_CHARTYPE(ch) GET_UCD(ch)->chartype ch 2792 ext/pcre/pcrelib/pcre_internal.h #define UCD_SCRIPT(ch) GET_UCD(ch)->script ch 2793 ext/pcre/pcrelib/pcre_internal.h #define UCD_CATEGORY(ch) PRIV(ucp_gentype)[UCD_CHARTYPE(ch)] ch 2794 ext/pcre/pcrelib/pcre_internal.h #define UCD_GRAPHBREAK(ch) GET_UCD(ch)->gbprop ch 2795 ext/pcre/pcrelib/pcre_internal.h #define UCD_CASESET(ch) GET_UCD(ch)->caseset ch 2796 ext/pcre/pcrelib/pcre_internal.h #define UCD_OTHERCASE(ch) ((pcre_uint32)((int)ch + (int)(GET_UCD(ch)->other_case))) ch 2074 ext/phar/phar.c static inline int in_character_class(char ch, const char *delim) /* {{{ */ ch 2077 ext/phar/phar.c if (*delim == ch) { ch 1404 ext/soap/php_http.c char ch, done, headerbuf[8192]; ch 1434 ext/soap/php_http.c ch = php_stream_getc(stream); ch 1435 ext/soap/php_http.c if (ch == '\r') { ch 1436 ext/soap/php_http.c ch = php_stream_getc(stream); ch 1438 ext/soap/php_http.c if (ch != '\n') { ch 72 ext/soap/php_xml.c static void soap_ignorableWhitespace(void *ctx, const xmlChar *ch, int len) ch 21998 ext/sqlite3/libsqlite/sqlite3.c char ch; ch 22010 ext/sqlite3/libsqlite/sqlite3.c for(i=n=0; k!=0 && (ch=escarg[i])!=0; i++, k--){ ch 22011 ext/sqlite3/libsqlite/sqlite3.c if( ch==q ) n++; ch 22028 ext/sqlite3/libsqlite/sqlite3.c bufpt[j++] = ch = escarg[i]; ch 22029 ext/sqlite3/libsqlite/sqlite3.c if( ch==q ) bufpt[j++] = ch; ch 141696 ext/sqlite3/libsqlite/sqlite3.c #define isDelim(C) (((ch=C)&0x80)==0 && (ch<0x30 || !porterIdChar[ch-0x30])) ch 141714 ext/sqlite3/libsqlite/sqlite3.c int iStartOffset, ch; ch 142346 ext/sqlite3/libsqlite/sqlite3.c unsigned char ch = argv[1][i]; ch 142348 ext/sqlite3/libsqlite/sqlite3.c if( ch>=0x80 ){ ch 142352 ext/sqlite3/libsqlite/sqlite3.c t->delim[ch] = 1; ch 142463 ext/sqlite3/libsqlite/sqlite3.c unsigned char ch = p[iStartOffset+i]; ch 142464 ext/sqlite3/libsqlite/sqlite3.c c->pToken[i] = (char)((ch>='A' && ch<='Z') ? ch-'A'+'a' : ch); ch 1230 ext/standard/array.c int i, ch; ch 1237 ext/standard/array.c ch = (int)((unsigned char *)var_name)[0]; ch 1239 ext/standard/array.c (ch < 65 /* A */ || /* Z */ ch > 90) && ch 1240 ext/standard/array.c (ch < 97 /* a */ || /* z */ ch > 122) && ch 1241 ext/standard/array.c (ch < 127 /* 0x7f */ || /* 0xff */ ch > 255) ch 1249 ext/standard/array.c ch = (int)((unsigned char *)var_name)[i]; ch 1251 ext/standard/array.c (ch < 48 /* 0 */ || /* 9 */ ch > 57) && ch 1252 ext/standard/array.c (ch < 65 /* A */ || /* Z */ ch > 90) && ch 1253 ext/standard/array.c (ch < 97 /* a */ || /* z */ ch > 122) && ch 1254 ext/standard/array.c (ch < 127 /* 0x7f */ || /* 0xff */ ch > 255) ch 1644 ext/standard/array.c unsigned char ch = *low; ch 1650 ext/standard/array.c for (; ch >= *high; ch -= (unsigned int)lstep) { ch 1651 ext/standard/array.c add_next_index_stringl(return_value, (const char *)&ch, 1, 1); ch 1652 ext/standard/array.c if (((signed int)ch - lstep) < 0) { ch 1657 ext/standard/array.c unsigned char ch = *low; ch 1663 ext/standard/array.c for (; ch <= *high; ch += (unsigned int)lstep) { ch 1664 ext/standard/array.c add_next_index_stringl(return_value, (const char *)&ch, 1, 1); ch 1665 ext/standard/array.c if (((signed int)ch + lstep) > 255) { ch 146 ext/standard/base64.c int ch, i = 0, j = 0, k; ch 153 ext/standard/base64.c while ((ch = *current++) != '\0' && length-- > 0) { ch 154 ext/standard/base64.c if (ch == base64_pad) { ch 170 ext/standard/base64.c ch = base64_reverse_table[ch]; ch 171 ext/standard/base64.c if ((!strict && ch < 0) || ch == -1) { /* a space or some other separator character, we simply skip over */ ch 173 ext/standard/base64.c } else if (ch == -2) { ch 180 ext/standard/base64.c result[j] = ch << 2; ch 183 ext/standard/base64.c result[j++] |= ch >> 4; ch 184 ext/standard/base64.c result[j] = (ch & 0x0f) << 4; ch 187 ext/standard/base64.c result[j++] |= ch >>2; ch 188 ext/standard/base64.c result[j] = (ch & 0x03) << 6; ch 191 ext/standard/base64.c result[j++] |= ch; ch 199 ext/standard/base64.c if (ch == base64_pad) { ch 28 ext/standard/crc32.h #define CRC32(crc, ch) (crc = (crc >> 8) ^ crc32tab[(crc ^ (ch)) & 0xff]) ch 188 ext/standard/crypt_freesec.c ascii_to_bin(char ch) ch 190 ext/standard/crypt_freesec.c signed char sch = ch; ch 209 ext/standard/crypt_freesec.c ascii_is_unsafe(char ch) ch 211 ext/standard/crypt_freesec.c return !ch || ch == '\n' || ch == ':'; ch 1903 ext/standard/file.c char *ch = Z_STRVAL(field); ch 1904 ext/standard/file.c char *end = ch + Z_STRLEN(field); ch 1908 ext/standard/file.c while (ch < end) { ch 1909 ext/standard/file.c if (*ch == escape_char) { ch 1911 ext/standard/file.c } else if (!escaped && *ch == enclosure) { ch 1916 ext/standard/file.c smart_str_appendc(&csvline, *ch); ch 1917 ext/standard/file.c ch++; ch 2341 ext/standard/file.c int ch = 0, compliment; ch 2346 ext/standard/file.c while (md->ulc || (!php_stream_eof(md->stream) && (ch = php_stream_getc(md->stream)))) { ch 2352 ext/standard/file.c ch = md->lc; ch 2356 ext/standard/file.c switch (ch) { ch 2374 ext/standard/file.c compliment = ch; ch 2376 ext/standard/file.c while (!php_stream_eof(md->stream) && (ch = php_stream_getc(md->stream)) && ch != compliment && ch != '<' && ch != '>') { ch 2377 ext/standard/file.c buff[(md->token_len)++] = ch; ch 2384 ext/standard/file.c if (ch == '<' || ch == '>') { ch 2387 ext/standard/file.c md->lc = ch; ch 2409 ext/standard/file.c if (isalnum(ch)) { ch 2411 ext/standard/file.c buff[(md->token_len)++] = ch; ch 2412 ext/standard/file.c while (!php_stream_eof(md->stream) && (ch = php_stream_getc(md->stream)) && (isalnum(ch) || strchr(PHP_META_HTML401_CHARS, ch))) { ch 2413 ext/standard/file.c buff[(md->token_len)++] = ch; ch 2421 ext/standard/file.c if (!isalpha(ch) && ch != '-') { ch 2423 ext/standard/file.c md->lc = ch; ch 96 ext/standard/php_smart_str.h #define smart_str_appendc_ex(dest, ch, what) do { \ ch 100 ext/standard/php_smart_str.h ((unsigned char *) (dest)->c)[(dest)->len - 1] = (ch); \ ch 119 ext/standard/scanf.c static int CharInSet(CharSet *cset, int ch); ch 143 ext/standard/scanf.c char *ch, start; ch 149 ext/standard/scanf.c ch = format; ch 150 ext/standard/scanf.c if (*ch == '^') { ch 152 ext/standard/scanf.c ch = ++format; ch 159 ext/standard/scanf.c if (*ch == ']') { ch 160 ext/standard/scanf.c ch = end++; ch 163 ext/standard/scanf.c while (*ch != ']') { ch 164 ext/standard/scanf.c if (*ch == '-') { ch 167 ext/standard/scanf.c ch = end++; ch 181 ext/standard/scanf.c ch = format++; ch 182 ext/standard/scanf.c start = *ch; ch 183 ext/standard/scanf.c if (*ch == ']' || *ch == '-') { ch 184 ext/standard/scanf.c cset->chars[cset->nchars++] = *ch; ch 185 ext/standard/scanf.c ch = format++; ch 187 ext/standard/scanf.c while (*ch != ']') { ch 193 ext/standard/scanf.c start = *ch; ch 194 ext/standard/scanf.c } else if (*ch == '-') { ch 202 ext/standard/scanf.c cset->chars[cset->nchars++] = *ch; ch 204 ext/standard/scanf.c ch = format++; ch 209 ext/standard/scanf.c if (start < *ch) { ch 211 ext/standard/scanf.c cset->ranges[cset->nranges].end = *ch; ch 213 ext/standard/scanf.c cset->ranges[cset->nranges].start = *ch; ch 219 ext/standard/scanf.c cset->chars[cset->nchars++] = *ch; ch 221 ext/standard/scanf.c ch = format++; ch 244 ext/standard/scanf.c char ch = (char) c; ch 248 ext/standard/scanf.c if (cset->chars[i] == ch) { ch 255 ext/standard/scanf.c if ((cset->ranges[i].start <= ch) ch 256 ext/standard/scanf.c && (ch <= cset->ranges[i].end)) { ch 315 ext/standard/scanf.c char *end, *ch = NULL; ch 337 ext/standard/scanf.c ch = format++; ch 340 ext/standard/scanf.c if (*ch != '%') { ch 343 ext/standard/scanf.c ch = format++; ch 344 ext/standard/scanf.c if (*ch == '%') { ch 347 ext/standard/scanf.c if (*ch == '*') { ch 349 ext/standard/scanf.c ch = format++; ch 353 ext/standard/scanf.c if ( isdigit( (int)*ch ) ) { ch 364 ext/standard/scanf.c ch = format++; ch 405 ext/standard/scanf.c if (isdigit(UCHAR(*ch))) { ch 408 ext/standard/scanf.c ch = format++; ch 414 ext/standard/scanf.c if ((*ch == 'l') || (*ch == 'L') || (*ch == 'h')) { ch 415 ext/standard/scanf.c ch = format++; ch 425 ext/standard/scanf.c switch (*ch) { ch 458 ext/standard/scanf.c ch = format++; ch 459 ext/standard/scanf.c if (*ch == '^') { ch 463 ext/standard/scanf.c ch = format++; ch 465 ext/standard/scanf.c if (*ch == ']') { ch 469 ext/standard/scanf.c ch = format++; ch 471 ext/standard/scanf.c while (*ch != ']') { ch 475 ext/standard/scanf.c ch = format++; ch 483 ext/standard/scanf.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad scan conversion character \"%c\"", *ch); ch 594 ext/standard/scanf.c char *ch, sch; ch 667 ext/standard/scanf.c ch = format++; ch 673 ext/standard/scanf.c if ( isspace( (int)*ch ) ) { ch 685 ext/standard/scanf.c if (*ch != '%') { ch 693 ext/standard/scanf.c if (*ch != sch) { ch 699 ext/standard/scanf.c ch = format++; ch 700 ext/standard/scanf.c if (*ch == '%') { ch 708 ext/standard/scanf.c if (*ch == '*') { ch 710 ext/standard/scanf.c ch = format++; ch 711 ext/standard/scanf.c } else if ( isdigit(UCHAR(*ch))) { ch 715 ext/standard/scanf.c ch = format++; ch 723 ext/standard/scanf.c if ( isdigit(UCHAR(*ch))) { ch 725 ext/standard/scanf.c ch = format++; ch 733 ext/standard/scanf.c if ((*ch == 'l') || (*ch == 'L') || (*ch == 'h')) { ch 734 ext/standard/scanf.c ch = format++; ch 740 ext/standard/scanf.c switch (*ch) { ch 5421 ext/standard/string.c char *buf, *str, *char_list = NULL, *p, *e, *s, ch[256]; ch 5449 ext/standard/string.c php_charmask((unsigned char *)char_list, char_list_len, ch TSRMLS_CC); ch 5456 ext/standard/string.c if ((*p == '\'' && (!char_list || !ch['\''])) || (*p == '-' && (!char_list || !ch['-']))) { ch 5460 ext/standard/string.c if (*(e - 1) == '-' && (!char_list || !ch['-'])) { ch 5466 ext/standard/string.c while (p < e && (isalpha((unsigned char)*p) || (char_list && ch[(unsigned char)*p]) || *p == '\'' || *p == '-')) { ch 212 ext/standard/var_unserializer.c unsigned char ch = 0; ch 217 ext/standard/var_unserializer.c ch = (ch << 4) + (**p -'0'); ch 219 ext/standard/var_unserializer.c ch = (ch << 4) + (**p -'a'+10); ch 221 ext/standard/var_unserializer.c ch = (ch << 4) + (**p -'A'+10); ch 227 ext/standard/var_unserializer.c str[i] = (char)ch; ch 569 main/snprintf.c #define PAD( width, len, ch ) do \ ch 571 main/snprintf.c INS_CHAR( ch, sp, bep, cc ) ; \ ch 581 main/snprintf.c #define PREFIX( str, length, ch ) *--str = ch ; length++ ; has_prefix = YES ch 138 main/spprintf.c #define INS_CHAR_NR(xbuf, ch) do { \ ch 139 main/spprintf.c smart_str_appendc(xbuf, ch); \ ch 146 main/spprintf.c #define INS_CHAR(xbuf, ch) \ ch 147 main/spprintf.c INS_CHAR_NR(xbuf, ch) ch 153 main/spprintf.c #define PAD(xbuf, count, ch) do { \ ch 157 main/spprintf.c memset(xbuf->c + xbuf->len, ch, (count)); \ ch 329 sapi/cli/php_http_parser.c char c, ch; ch 373 sapi/cli/php_http_parser.c ch = *p; ch 391 sapi/cli/php_http_parser.c if (ch == CR || ch == LF) ch 398 sapi/cli/php_http_parser.c if (ch == 'H') ch 408 sapi/cli/php_http_parser.c if (ch == 'T') { ch 412 sapi/cli/php_http_parser.c if (ch != 'E') goto error; ch 427 sapi/cli/php_http_parser.c switch (ch) { ch 443 sapi/cli/php_http_parser.c STRICT_CHECK(ch != 'T'); ch 448 sapi/cli/php_http_parser.c STRICT_CHECK(ch != 'T'); ch 453 sapi/cli/php_http_parser.c STRICT_CHECK(ch != 'P'); ch 458 sapi/cli/php_http_parser.c STRICT_CHECK(ch != '/'); ch 463 sapi/cli/php_http_parser.c if (ch < '1' || ch > '9') goto error; ch 464 sapi/cli/php_http_parser.c parser->http_major = ch - '0'; ch 471 sapi/cli/php_http_parser.c if (ch == '.') { ch 476 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 479 sapi/cli/php_http_parser.c parser->http_major += ch - '0'; ch 487 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 488 sapi/cli/php_http_parser.c parser->http_minor = ch - '0'; ch 495 sapi/cli/php_http_parser.c if (ch == ' ') { ch 500 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 503 sapi/cli/php_http_parser.c parser->http_minor += ch - '0'; ch 511 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') { ch 512 sapi/cli/php_http_parser.c if (ch == ' ') { ch 517 sapi/cli/php_http_parser.c parser->status_code = ch - '0'; ch 524 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') { ch 525 sapi/cli/php_http_parser.c switch (ch) { ch 542 sapi/cli/php_http_parser.c parser->status_code += ch - '0'; ch 551 sapi/cli/php_http_parser.c if (ch == CR) { ch 556 sapi/cli/php_http_parser.c if (ch == LF) { ch 563 sapi/cli/php_http_parser.c STRICT_CHECK(ch != LF); ch 569 sapi/cli/php_http_parser.c if (ch == CR || ch == LF) ch 576 sapi/cli/php_http_parser.c if (ch < 'A' || 'Z' < ch) goto error; ch 581 sapi/cli/php_http_parser.c switch (ch) { ch 604 sapi/cli/php_http_parser.c if (ch == '\0') ch 608 sapi/cli/php_http_parser.c if (ch == ' ') { ch 613 sapi/cli/php_http_parser.c } else if (parser->method == PHP_HTTP_NOT_IMPLEMENTED || ch == matcher[index]) { ch 616 sapi/cli/php_http_parser.c if (index == 1 && ch == 'H') { ch 618 sapi/cli/php_http_parser.c } else if (index == 2 && ch == 'P') { ch 624 sapi/cli/php_http_parser.c if (index == 1 && ch == 'O') { ch 626 sapi/cli/php_http_parser.c } else if (index == 3 && ch == 'A') { ch 628 sapi/cli/php_http_parser.c } else if (index == 1 && ch == 'E') { ch 630 sapi/cli/php_http_parser.c } else if (index == 1 && ch == '-') { ch 632 sapi/cli/php_http_parser.c } else if (index == 2 && ch == 'A') { ch 637 sapi/cli/php_http_parser.c } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'R') { ch 639 sapi/cli/php_http_parser.c } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'U') { ch 641 sapi/cli/php_http_parser.c } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'A') { ch 643 sapi/cli/php_http_parser.c } else if (index == 2 && parser->method == PHP_HTTP_UNLOCK && ch == 'S') { ch 645 sapi/cli/php_http_parser.c } else if (index == 4 && parser->method == PHP_HTTP_PROPFIND && ch == 'P') { ch 656 sapi/cli/php_http_parser.c if (ch == ' ') break; ch 658 sapi/cli/php_http_parser.c if (ch == '/' || ch == '*') { ch 665 sapi/cli/php_http_parser.c c = LOWER(ch); ch 678 sapi/cli/php_http_parser.c c = LOWER(ch); ch 682 sapi/cli/php_http_parser.c if (ch == ':') { ch 685 sapi/cli/php_http_parser.c } else if (ch == '.') { ch 688 sapi/cli/php_http_parser.c } else if ('0' <= ch && ch <= '9') { ch 697 sapi/cli/php_http_parser.c STRICT_CHECK(ch != '/'); ch 702 sapi/cli/php_http_parser.c STRICT_CHECK(ch != '/'); ch 708 sapi/cli/php_http_parser.c c = LOWER(ch); ch 710 sapi/cli/php_http_parser.c if ((ch >= '0' && ch <= '9') || ch == '.' || ch == '-') break; ch 711 sapi/cli/php_http_parser.c switch (ch) { ch 735 sapi/cli/php_http_parser.c if (ch >= '0' && ch <= '9') break; ch 736 sapi/cli/php_http_parser.c switch (ch) { ch 757 sapi/cli/php_http_parser.c if (normal_url_char[(unsigned char)ch]) break; ch 759 sapi/cli/php_http_parser.c switch (ch) { ch 795 sapi/cli/php_http_parser.c if (normal_url_char[(unsigned char)ch]) { ch 801 sapi/cli/php_http_parser.c switch (ch) { ch 831 sapi/cli/php_http_parser.c if (normal_url_char[(unsigned char)ch]) break; ch 833 sapi/cli/php_http_parser.c switch (ch) { ch 868 sapi/cli/php_http_parser.c if (normal_url_char[(unsigned char)ch]) { ch 874 sapi/cli/php_http_parser.c switch (ch) { ch 905 sapi/cli/php_http_parser.c if (normal_url_char[(unsigned char)ch]) break; ch 907 sapi/cli/php_http_parser.c switch (ch) { ch 937 sapi/cli/php_http_parser.c switch (ch) { ch 949 sapi/cli/php_http_parser.c STRICT_CHECK(ch != 'T'); ch 954 sapi/cli/php_http_parser.c STRICT_CHECK(ch != 'T'); ch 959 sapi/cli/php_http_parser.c STRICT_CHECK(ch != 'P'); ch 964 sapi/cli/php_http_parser.c STRICT_CHECK(ch != '/'); ch 970 sapi/cli/php_http_parser.c if (ch < '1' || ch > '9') goto error; ch 971 sapi/cli/php_http_parser.c parser->http_major = ch - '0'; ch 978 sapi/cli/php_http_parser.c if (ch == '.') { ch 983 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 986 sapi/cli/php_http_parser.c parser->http_major += ch - '0'; ch 994 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 995 sapi/cli/php_http_parser.c parser->http_minor = ch - '0'; ch 1002 sapi/cli/php_http_parser.c if (ch == CR) { ch 1007 sapi/cli/php_http_parser.c if (ch == LF) { ch 1014 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 1017 sapi/cli/php_http_parser.c parser->http_minor += ch - '0'; ch 1026 sapi/cli/php_http_parser.c if (ch != LF) goto error; ch 1033 sapi/cli/php_http_parser.c if (ch == CR) { ch 1038 sapi/cli/php_http_parser.c if (ch == LF) { ch 1045 sapi/cli/php_http_parser.c c = TOKEN(ch); ch 1080 sapi/cli/php_http_parser.c c = TOKEN(ch); ch 1176 sapi/cli/php_http_parser.c if (ch != ' ') header_state = h_general; ch 1186 sapi/cli/php_http_parser.c if (ch == ':') { ch 1192 sapi/cli/php_http_parser.c if (ch == CR) { ch 1198 sapi/cli/php_http_parser.c if (ch == LF) { ch 1209 sapi/cli/php_http_parser.c if (ch == ' ') break; ch 1216 sapi/cli/php_http_parser.c c = LOWER(ch); ch 1218 sapi/cli/php_http_parser.c if (ch == CR) { ch 1225 sapi/cli/php_http_parser.c if (ch == LF) { ch 1247 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 1248 sapi/cli/php_http_parser.c parser->content_length = ch - '0'; ch 1272 sapi/cli/php_http_parser.c c = LOWER(ch); ch 1274 sapi/cli/php_http_parser.c if (ch == CR) { ch 1280 sapi/cli/php_http_parser.c if (ch == LF) { ch 1295 sapi/cli/php_http_parser.c if (ch == ' ') break; ch 1296 sapi/cli/php_http_parser.c if (ch < '0' || ch > '9') goto error; ch 1298 sapi/cli/php_http_parser.c parser->content_length += ch - '0'; ch 1336 sapi/cli/php_http_parser.c if (ch != ' ') header_state = h_general; ch 1350 sapi/cli/php_http_parser.c STRICT_CHECK(ch != LF); ch 1373 sapi/cli/php_http_parser.c STRICT_CHECK(ch != LF); ch 1469 sapi/cli/php_http_parser.c c = unhex[(unsigned char)ch]; ch 1480 sapi/cli/php_http_parser.c if (ch == CR) { ch 1485 sapi/cli/php_http_parser.c c = unhex[(unsigned char)ch]; ch 1488 sapi/cli/php_http_parser.c if (ch == ';' || ch == ' ') { ch 1504 sapi/cli/php_http_parser.c if (ch == CR) { ch 1514 sapi/cli/php_http_parser.c STRICT_CHECK(ch != LF); ch 1546 sapi/cli/php_http_parser.c STRICT_CHECK(ch != CR); ch 1552 sapi/cli/php_http_parser.c STRICT_CHECK(ch != LF); ch 517 sapi/litespeed/lsapi_main.c char ch; ch 530 sapi/litespeed/lsapi_main.c ch = *p; ch 538 sapi/litespeed/lsapi_main.c *p = ch; ch 1925 sapi/litespeed/lsapilib.c char ch = toupper( *pKey ); ch 1926 sapi/litespeed/lsapilib.c if ((ch != *p )||(( *p == '_' )&&( ch != '-'))) ch 2103 sapi/litespeed/lsapilib.c char ch = *pKey++; ch 2104 sapi/litespeed/lsapilib.c if ( ch == '-' ) ch 2107 sapi/litespeed/lsapilib.c *p++ = toupper( ch ); ch 2220 sapi/litespeed/lsapilib.c char ch = *(pHeaderName + nameLen - 1 ); ch 2221 sapi/litespeed/lsapilib.c if (( ch == '\n' )||( ch == '\r' )) ch 2230 sapi/litespeed/lsapilib.c char ch = *(pHeaderValue + valLen - 1 ); ch 2231 sapi/litespeed/lsapilib.c if (( ch == '\n' )||( ch == '\r' )) ch 2271 sapi/litespeed/lsapilib.c char ch = *(pBuf + len - 1 ); ch 2272 sapi/litespeed/lsapilib.c if (( ch == '\n' )||( ch == '\r' )) ch 889 win32/glob.c g_strchr(str, ch) ch 891 win32/glob.c int ch; ch 894 win32/glob.c if (*str == ch)