Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 51 – 75 of 77) sorted by relevance

1234

/php-src/sapi/cgi/
H A Dcgi_main.c402 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_cgi_send_headers()
410 strncasecmp(h->header, "Status:", sizeof("Status:")-1) == 0 in sapi_cgi_send_headers()
447 strncasecmp(h->header, "Status:", sizeof("Status:")-1) == 0 in sapi_cgi_send_headers()
455 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:")-1) == 0 in sapi_cgi_send_headers()
/php-src/ext/bz2/
H A Dbz2.c189 if (strncasecmp("compress.bzip2://", path, 17) == 0) { in _php_stream_bz2open()
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c193 if (strncasecmp(source, "file:///",8) == 0) { in _xmlreader_get_valid_file_path()
200 } else if (strncasecmp(source, "file://localhost/",17) == 0) { in _xmlreader_get_valid_file_path()
/php-src/ext/standard/
H A Durl_scanner_ex.re430 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "form", ZSTR_LEN(ctx->tag.s))
465 && !strncasecmp(ZSTR_VAL(ctx->tag.s), "form", ZSTR_LEN(ctx->tag.s))) {
481 strncasecmp(ZSTR_VAL(ctx->arg.s), "action", ZSTR_LEN(ctx->arg.s)) == 0) {
H A Dfile.c484 if (strncasecmp(filename, "file://", sizeof("file://") - 1)) { in PHP_FUNCTION()
/php-src/ext/date/
H A Dphp_date.c5306 …if ((what & PHP_DATE_TIMEZONE_GROUP_AFRICA) && strncasecmp(id, "Africa/", 7) == 0) return… in check_id_allowed()
5307 …if ((what & PHP_DATE_TIMEZONE_GROUP_AMERICA) && strncasecmp(id, "America/", 8) == 0) return… in check_id_allowed()
5308 …if ((what & PHP_DATE_TIMEZONE_GROUP_ANTARCTICA) && strncasecmp(id, "Antarctica/", 11) == 0) return… in check_id_allowed()
5309 …if ((what & PHP_DATE_TIMEZONE_GROUP_ARCTIC) && strncasecmp(id, "Arctic/", 7) == 0) return… in check_id_allowed()
5310 …if ((what & PHP_DATE_TIMEZONE_GROUP_ASIA) && strncasecmp(id, "Asia/", 5) == 0) return… in check_id_allowed()
5311 …if ((what & PHP_DATE_TIMEZONE_GROUP_ATLANTIC) && strncasecmp(id, "Atlantic/", 9) == 0) return… in check_id_allowed()
5312 …if ((what & PHP_DATE_TIMEZONE_GROUP_AUSTRALIA) && strncasecmp(id, "Australia/", 10) == 0) return… in check_id_allowed()
5313 …if ((what & PHP_DATE_TIMEZONE_GROUP_EUROPE) && strncasecmp(id, "Europe/", 7) == 0) return… in check_id_allowed()
5314 …if ((what & PHP_DATE_TIMEZONE_GROUP_INDIAN) && strncasecmp(id, "Indian/", 7) == 0) return… in check_id_allowed()
5315 …if ((what & PHP_DATE_TIMEZONE_GROUP_PACIFIC) && strncasecmp(id, "Pacific/", 8) == 0) return… in check_id_allowed()
[all …]
/php-src/ext/dom/
H A Ddocument.c1288 if (strncasecmp(source, "file://",7) == 0 && ':' == source[8]) { in _dom_get_valid_file_path()
1293 if (strncasecmp(source, "file:///",8) == 0) { in _dom_get_valid_file_path()
1300 } else if (strncasecmp(source, "file://localhost/",17) == 0) { in _dom_get_valid_file_path()
/php-src/sapi/phpdbg/
H A Dphpdbg_utils.c269 if (strncasecmp(name, element->name, len) == SUCCESS) { in phpdbg_get_element()
H A Dphpdbg_cmd.c587 if (strncasecmp(command->name, name->str, name->len) == SUCCESS) { in phpdbg_stack_resolve()
H A Dphpdbg.c1100 if (!strncasecmp(path, "php://", 6)) { in phpdbg_stream_url_wrap_php()
1104 if (!strncasecmp(path, "stdin", 6) && PHPDBG_G(stdin_file)) { in phpdbg_stream_url_wrap_php()
/php-src/ext/pdo_sqlite/
H A Dsqlite_driver.c745 if (*filename && strncasecmp(filename, "file:", 5) == 0) { in make_filename_safe()
/php-src/Zend/
H A Dzend_string.h418 return ZSTR_LEN(str) >= prefix_length && !strncasecmp(ZSTR_VAL(str), prefix, prefix_length); in zend_string_starts_with_cstr_ci()
H A Dzend_builtin_functions.c363 ZEND_FUNCTION(strncasecmp) in ZEND_FUNCTION() argument
2123 if (strncasecmp(ZSTR_VAL(extension_name), "zend", sizeof("zend"))) { in ZEND_FUNCTION()
H A Dzend_language_scanner.l420 if (strncasecmp((char*)pos2, "_HALT_COMPILER", sizeof("_HALT_COMPILER")-1) == 0) { in zend_multibyte_detect_unicode()
2288 || (!strncasecmp((char*)YYCURSOR + 1, "php", 3) && /* <?php[ \t\r\n] */
/php-src/main/streams/
H A Dstreams.c2000 if (!protocol || !strncasecmp(protocol, "file", n)) {
2007 if (!strncasecmp(path, "file://localhost/", 17)) {
/php-src/ext/mysqli/
H A Dmysqli_nonapi.c141 if (strlen(SAFE_STR(hostname)) > 2 && !strncasecmp(hostname, "p:", 2)) {
/php-src/ext/phar/
H A Dstream.c66 if (strlen(filename) < 7 || strncasecmp(filename, "phar://", 7)) { in phar_parse_url()
H A Dphar.c2257 if (!strncasecmp(filename, "phar://", 7)) { in phar_split_fname()
/php-src/ext/libxml/
H A Dlibxml.c411 if (strncasecmp(resolved_path, "file:/", pre_len) == 0 in php_libxml_streams_IO_open_wrapper()
/php-src/ext/soap/
H A Dphp_encoding.c1001 if (strncasecmp((char*)data->children->content, "NaN", sizeof("NaN")-1) == 0) { in to_zval_double()
1003 } else if (strncasecmp((char*)data->children->content, "INF", sizeof("INF")-1) == 0) { in to_zval_double()
1005 } else if (strncasecmp((char*)data->children->content, "-INF", sizeof("-INF")-1) == 0) { in to_zval_double()
/php-src/ext/iconv/
H A Diconv.c311 if (SG(sapi_headers).mimetype && !strncasecmp(SG(sapi_headers).mimetype, "text/", 5)) { in php_iconv_output_handler()
/php-src/ext/mysqlnd/
H A Dmysqlnd_connection.c523 if (hostname.l == sizeof("localhost") - 1 && !strncasecmp(hostname.s, "localhost", hostname.l)) {
/php-src/ext/openssl/
H A Dxp_ssl.c435 if (prefix_len && strncasecmp(subjectname, certname, prefix_len) != 0) { in php_openssl_matches_wildcard_name()
/php-src/sapi/cli/
H A Dphp_cli_server.c370 if (strncasecmp(h->header, "Date:", strlen("Date:")) == 0) { in append_essential_headers()
/php-src/ext/ldap/
H A Dldap.c43 #undef strncasecmp

Completed in 152 milliseconds

1234