Home
last modified time | relevance | path

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

123

/PHP-8.2/ext/filter/
H A Dlogical_filters.c298 if (strncasecmp(str, "on", 2) == 0) { in php_filter_boolean()
300 } else if (strncasecmp(str, "no", 2) == 0) { in php_filter_boolean()
307 if (strncasecmp(str, "yes", 3) == 0) { in php_filter_boolean()
309 } else if (strncasecmp(str, "off", 3) == 0) { in php_filter_boolean()
316 if (strncasecmp(str, "true", 4) == 0) { in php_filter_boolean()
323 if (strncasecmp(str, "false", 5) == 0) { in php_filter_boolean()
/PHP-8.2/ext/pdo/tests/
H A Dpdo_033.phpt9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'odbc', strlen('odbc'))) die('skip odbc driver doesn\'t hav…
H A Dbug_38394.phpt9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'sqlite2', strlen('sqlite2'))) die('skip not relevant for p…
H A Dbug_44861.phpt12 if (!strncasecmp(getenv('PDOTEST_DSN'), $driver, strlen($driver))) {
H A Dbug_69356.phpt9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip query not supported');
H A Dpdo_016.phpt9 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive…
H A Dpdo_016a.phpt10 if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for oci drive…
/PHP-8.2/sapi/cli/tests/
H A Dbug61977.phpt32 if (strncasecmp("Content-type:", $text, 13) == 0) {
/PHP-8.2/ext/zip/
H A Dzip_stream.c141 if (strncasecmp("zip://", path, 6) == 0) { in php_zip_ops_stat()
303 if (strncasecmp("zip://", path, 6) == 0) { in php_stream_zip_opener()
/PHP-8.2/ext/phar/
H A Dfunc_interceptors.c51 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
130 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
261 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
362 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
608 if (strncasecmp(fname, "phar://", 7)) { in phar_file_stat()
860 if (strncasecmp(fname, "phar://", 7)) { in PharFileFunction()
927 if (strncasecmp(fname, "phar://", 7)) { in PHAR_FUNC()
/PHP-8.2/Zend/
H A Dzend_builtin_functions.stub.php32 function strncasecmp(string $string1, string $string2, int $length): int {} function
H A Dzend_builtin_functions_arginfo.h229 ZEND_FUNCTION(strncasecmp);
290 ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE(strncasecmp, arginfo_strncasecmp)
H A Dzend_vm_gen.php800 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
802 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HAN…
836 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
838 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HAN…
870 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
872 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HAN…
894 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
896 …} else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HAN…
/PHP-8.2/main/streams/
H A Dplain_wrapper.c1215 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_url_stater()
1242 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_unlink()
1283 if (strncasecmp(url_from, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1287 if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1367 if (strncasecmp(dir, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_mkdir()
1459 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rmdir()
1502 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_metadata()
/PHP-8.2/sapi/apache2handler/
H A Dphp_functions.c23 #ifdef strncasecmp
24 # undef strncasecmp
H A Dsapi_apache2.c25 #ifdef strncasecmp
26 # undef strncasecmp
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_main.c343 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_cgi_send_headers()
351 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 in sapi_cgi_send_headers()
388 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0 in sapi_cgi_send_headers()
396 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:") - 1) == 0 in sapi_cgi_send_headers()
1030strncasecmp(env_script_filename, APACHE_PROXY_FCGI_PREFIX, sizeof(APACHE_PROXY_FCGI_PREFIX) - 1) =… in init_request_info()
1051strncasecmp(env_script_filename, APACHE_PROXY_BALANCER_PREFIX, sizeof(APACHE_PROXY_BALANCER_PREFIX… in init_request_info()
/PHP-8.2/sapi/litespeed/
H A Dlsapi_main.c388 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0 in sapi_lsapi_send_headers_like_cgi()
396 strncasecmp(h->header, "Status:", sizeof("Status:")-1) == 0 in sapi_lsapi_send_headers_like_cgi()
431 strncasecmp(h->header, "Status:", sizeof("Status:")-1) == 0 in sapi_lsapi_send_headers_like_cgi()
438 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:")-1) == 0 in sapi_lsapi_send_headers_like_cgi()
808 if (( keyLen == 7 )&&( strncasecmp( pKey, "engine", 6 )== 0 )) in alter_ini()
/PHP-8.2/ext/standard/
H A Dfilestat.c370 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in php_do_chgrp()
508 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in php_do_chown()
603 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in PHP_FUNCTION()
670 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) { in PHP_FUNCTION()
/PHP-8.2/main/
H A DSAPI.c317 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) { in get_default_content_type()
604 && !strncasecmp(header->header, name, len)) { in sapi_remove_header()
758 && !strncasecmp(header_line, "HTTP/", 5)) { in sapi_header_op()
1025 if (!strncasecmp(name, "HTTP_PROXY", name_len)) { in sapi_getenv()
H A Dfopen_wrappers.c242 if (strncasecmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
257 if (strncasecmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
/PHP-8.2/tests/strings/
H A D001.phpt197 $len = strncasecmp(PHP_OS, 'CYGWIN', 6) ? 19 : 29;
/PHP-8.2/ext/pdo_firebird/
H A Dfirebird_statement.c579 if ((var->aliasname_length && !strncasecmp(ZSTR_VAL(param->name), var->aliasname, in firebird_stmt_param_hook()
581 || (var->sqlname_length && !strncasecmp(ZSTR_VAL(param->name), var->sqlname, in firebird_stmt_param_hook()
/PHP-8.2/ext/xmlwriter/
H A Dphp_xmlwriter.c122 if (strncasecmp(source, "file:///", 8) == 0) { in _xmlwriter_get_valid_file_path()
133 } else if (strncasecmp(source, "file://localhost/",17) == 0) { in _xmlwriter_get_valid_file_path()
/PHP-8.2/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()

Completed in 122 milliseconds

123