Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 26 – 50 of 84) sorted by relevance

1234

/PHP-7.0/ext/date/lib/
H A Dtimelib.h69 #if defined(_MSC_VER) && !defined(strncasecmp)
70 #define strncasecmp strnicmp macro
/PHP-7.0/ext/pdo/tests/
H A Dbug_36798.phpt11 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))){
H A Dbug_38394.phpt8 if (!strncasecmp(getenv('PDOTEST_DSN'), 'sqlite2', strlen('sqlite2'))) die('skip not relevant for p…
H A Dbug_44861.phpt11 if (!strncasecmp(getenv('PDOTEST_DSN'), $driver, strlen($driver))) {
H A Dpdo_016.phpt8 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive…
H A Dpdo_016a.phpt9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive…
/PHP-7.0/Zend/
H A Dzend_vm_gen.php586 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
588 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HAN…
590 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_H…
607 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
609 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HAN…
611 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_H…
628 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
630 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HAN…
632 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_H…
/PHP-7.0/ext/curl/
H A Dconfig.m492 return strncasecmp(ptr, "OpenSSL", sizeof("OpenSSL")-1);
119 return strncasecmp(ptr, "GnuTLS", sizeof("GnuTLS")-1);
/PHP-7.0/ext/zip/
H A Dzip_stream.c141 if (strncasecmp("zip://", path, 6) == 0) { in php_zip_ops_stat()
286 if (strncasecmp("zip://", path, 6) == 0) { in php_stream_zip_opener()
/PHP-7.0/ext/mcrypt/
H A Dmcrypt_filter.c164 if (strncasecmp(filtername, "mdecrypt.", sizeof("mdecrypt.") - 1) == 0) { in php_mcrypt_filter_create()
167 } else if (strncasecmp(filtername, "mcrypt.", sizeof("mcrypt.") - 1) != 0) { in php_mcrypt_filter_create()
/PHP-7.0/sapi/cli/tests/
H A Dbug61977.phpt34 if (strncasecmp("Content-type:", $text, 13) == 0) {
/PHP-7.0/ext/standard/
H A Durl_scanner_ex.c143 && strncasecmp(Z_STRVAL_P(http_host), ZSTR_VAL(url->s)+2, host_len)) { in PHP_INI_END()
257 if (strncasecmp(ZSTR_VAL(ctx->arg.s), ctx->lookup_data, ZSTR_LEN(ctx->arg.s)) == 0) in tag_arg()
314 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "form", sizeof("form") - 1)) { in handle_form()
324 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) { in handle_form()
332 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "fieldset", sizeof("fieldset") - 1)) { in handle_form()
H A Durl_scanner_ex.re146 && strncasecmp(Z_STRVAL_P(http_host), ZSTR_VAL(url->s)+2, host_len)) {
192 if (strncasecmp(ZSTR_VAL(ctx->arg.s), ctx->lookup_data, ZSTR_LEN(ctx->arg.s)) == 0)
249 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "form", sizeof("form") - 1)) {
259 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
267 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "fieldset", sizeof("fieldset") - 1)) {
H A Dfilestat.c424 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in php_do_chgrp()
561 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in php_do_chown()
669 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in PHP_FUNCTION()
741 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in PHP_FUNCTION()
/PHP-7.0/main/streams/
H A Dplain_wrapper.c1077 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_url_stater()
1103 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_unlink()
1144 if (strncasecmp(url_from, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1148 if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1214 if (strncasecmp(dir, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_mkdir()
1297 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rmdir()
1343 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_metadata()
/PHP-7.0/ext/phar/
H A Dfunc_interceptors.c53 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
127 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
258 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
359 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
626 if (strncasecmp(fname, "phar://", 7)) { in phar_file_stat()
916 if (strncasecmp(fname, "phar://", 7)) { in PharFileFunction()
983 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_main.c387 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_cgi_send_headers()
395 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 in sapi_cgi_send_headers()
431 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 in sapi_cgi_send_headers()
439 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:") - 1) == 0 in sapi_cgi_send_headers()
1085strncasecmp(env_script_filename, APACHE_PROXY_FCGI_PREFIX, sizeof(APACHE_PROXY_FCGI_PREFIX) - 1) =…
1106strncasecmp(env_script_filename, APACHE_PROXY_BALANCER_PREFIX, sizeof(APACHE_PROXY_BALANCER_PREFIX…
/PHP-7.0/main/
H A DSAPI.c325 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) { in get_default_content_type()
603 && !strncasecmp(header->header, name, len)) { in sapi_remove_header()
759 && !strncasecmp(header_line, "HTTP/", 5)) { in sapi_header_op()
1023 if (!strncasecmp(name, "HTTP_PROXY", name_len)) { in sapi_getenv()
H A Dfopen_wrappers.c246 if (strncasecmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
261 if (strncasecmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
/PHP-7.0/sapi/apache2handler/
H A Dapache_config.c64 if (!strncasecmp(value, "none", sizeof("none"))) { in real_value_hnd()
/PHP-7.0/
H A Drun-tests.php178 if (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) . "/phpdbg.exe")) {
394 } elseif (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
1393 } else if (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) . "/php-cgi.exe")) {
1601 if (!strncasecmp('skip', ltrim($output), 4)) {
1622 if (!strncasecmp('info', ltrim($output), 4)) {
1628 if (!strncasecmp('warn', ltrim($output), 4)) {
/PHP-7.0/tests/strings/
H A D001.phpt199 $len = strncasecmp(PHP_OS, 'CYGWIN', 6) ? 19 : 29;
/PHP-7.0/ext/pdo_firebird/
H A Dfirebird_statement.c518 if ((var->aliasname_length && !strncasecmp(ZSTR_VAL(param->name), var->aliasname, in firebird_stmt_param_hook()
520 || (var->sqlname_length && !strncasecmp(ZSTR_VAL(param->name), var->sqlname, in firebird_stmt_param_hook()
/PHP-7.0/ext/date/
H A Dphp_date.c4594 if (what & PHP_DATE_TIMEZONE_GROUP_AFRICA && strncasecmp(id, "Africa/", 7) == 0) return 1; in check_id_allowed()
4595 if (what & PHP_DATE_TIMEZONE_GROUP_AMERICA && strncasecmp(id, "America/", 8) == 0) return 1; in check_id_allowed()
4596 if (what & PHP_DATE_TIMEZONE_GROUP_ANTARCTICA && strncasecmp(id, "Antarctica/", 11) == 0) return 1; in check_id_allowed()
4597 if (what & PHP_DATE_TIMEZONE_GROUP_ARCTIC && strncasecmp(id, "Arctic/", 7) == 0) return 1; in check_id_allowed()
4598 if (what & PHP_DATE_TIMEZONE_GROUP_ASIA && strncasecmp(id, "Asia/", 5) == 0) return 1; in check_id_allowed()
4599 if (what & PHP_DATE_TIMEZONE_GROUP_ATLANTIC && strncasecmp(id, "Atlantic/", 9) == 0) return 1; in check_id_allowed()
4600 if (what & PHP_DATE_TIMEZONE_GROUP_AUSTRALIA && strncasecmp(id, "Australia/", 10) == 0) return 1; in check_id_allowed()
4601 if (what & PHP_DATE_TIMEZONE_GROUP_EUROPE && strncasecmp(id, "Europe/", 7) == 0) return 1; in check_id_allowed()
4602 if (what & PHP_DATE_TIMEZONE_GROUP_INDIAN && strncasecmp(id, "Indian/", 7) == 0) return 1; in check_id_allowed()
4603 if (what & PHP_DATE_TIMEZONE_GROUP_PACIFIC && strncasecmp(id, "Pacific/", 8) == 0) return 1; in check_id_allowed()
[all …]
/PHP-7.0/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()
446 strncasecmp(h->header, "Status:", sizeof("Status:")-1) == 0 in sapi_cgi_send_headers()
454 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:")-1) == 0 in sapi_cgi_send_headers()

Completed in 108 milliseconds

1234