/PHP-7.0/ext/date/lib/ |
H A D | timelib.h | 69 #if defined(_MSC_VER) && !defined(strncasecmp) 70 #define strncasecmp strnicmp macro
|
/PHP-7.0/ext/pdo/tests/ |
H A D | bug_36798.phpt | 11 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))){
|
H A D | bug_38394.phpt | 8 if (!strncasecmp(getenv('PDOTEST_DSN'), 'sqlite2', strlen('sqlite2'))) die('skip not relevant for p…
|
H A D | bug_44861.phpt | 11 if (!strncasecmp(getenv('PDOTEST_DSN'), $driver, strlen($driver))) {
|
H A D | pdo_016.phpt | 8 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive…
|
H A D | pdo_016a.phpt | 9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive…
|
/PHP-7.0/Zend/ |
H A D | zend_vm_gen.php | 586 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 D | config.m4 | 92 return strncasecmp(ptr, "OpenSSL", sizeof("OpenSSL")-1); 119 return strncasecmp(ptr, "GnuTLS", sizeof("GnuTLS")-1);
|
/PHP-7.0/ext/zip/ |
H A D | zip_stream.c | 141 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 D | mcrypt_filter.c | 164 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 D | bug61977.phpt | 34 if (strncasecmp("Content-type:", $text, 13) == 0) {
|
/PHP-7.0/ext/standard/ |
H A D | url_scanner_ex.c | 143 && 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 D | url_scanner_ex.re | 146 && 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 D | filestat.c | 424 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 D | plain_wrapper.c | 1077 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 D | func_interceptors.c | 53 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 D | fpm_main.c | 387 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() 1085 …strncasecmp(env_script_filename, APACHE_PROXY_FCGI_PREFIX, sizeof(APACHE_PROXY_FCGI_PREFIX) - 1) =… 1106 …strncasecmp(env_script_filename, APACHE_PROXY_BALANCER_PREFIX, sizeof(APACHE_PROXY_BALANCER_PREFIX…
|
/PHP-7.0/main/ |
H A D | SAPI.c | 325 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 D | fopen_wrappers.c | 246 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 D | apache_config.c | 64 if (!strncasecmp(value, "none", sizeof("none"))) { in real_value_hnd()
|
/PHP-7.0/ |
H A D | run-tests.php | 178 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 D | 001.phpt | 199 $len = strncasecmp(PHP_OS, 'CYGWIN', 6) ? 19 : 29;
|
/PHP-7.0/ext/pdo_firebird/ |
H A D | firebird_statement.c | 518 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 D | php_date.c | 4594 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 D | cgi_main.c | 402 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()
|