Searched refs:strncasecmp (Results 1 - 25 of 59) sorted by relevance

123

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c164 if (strncasecmp(filtername, "mdecrypt.", sizeof("mdecrypt.") - 1) == 0) {
167 } else if (strncasecmp(filtername, "mcrypt.", sizeof("mcrypt.") - 1) != 0) {
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c279 if (strncasecmp(str, "on", 2) == 0) {
281 } else if (strncasecmp(str, "no", 2) == 0) {
288 if (strncasecmp(str, "yes", 3) == 0) {
290 } else if (strncasecmp(str, "off", 3) == 0) {
297 if (strncasecmp(str, "true", 4) == 0) {
304 if (strncasecmp(str, "false", 5) == 0) {
812 if (Z_STRLEN_P(value) >=2 && (!strncasecmp("FC", Z_STRVAL_P(value), 2) || !strncasecmp("FD", Z_STRVAL_P(value), 2))) {
833 !strncasecmp("fe8", Z_STRVAL_P(value), 3) ||
834 !strncasecmp("fe
[all...]
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c64 if (!strncasecmp(value, "none", sizeof("none"))) {
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c127 if (strncasecmp("compress.zlib://", path, 16) == 0) {
129 } else if (strncasecmp("zlib:", path, 5) == 0) {
/PHP_TRUNK/ext/date/lib/
H A Dtimelib.h56 #if defined(_MSC_VER) && !defined(strncasecmp)
57 #define strncasecmp strnicmp macro
/PHP_TRUNK/ext/standard/
H A Dfilestat.c424 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
561 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
669 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
741 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
H A Dhttp_fopen_wrapper.c162 if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
760 if (!strncasecmp(http_header_line, "Location: ", 10)) {
771 } else if (!strncasecmp(http_header_line, "Content-Type: ", 14)) {
773 } else if (!strncasecmp(http_header_line, "Content-Length: ", 16)) {
776 } else if (!strncasecmp(http_header_line, "Transfer-Encoding: chunked", sizeof("Transfer-Encoding: chunked"))) {
826 if (strlen(location)<8 || (strncasecmp(location, "http://", sizeof("http://")-1) &&
827 strncasecmp(location, "https://", sizeof("https://")-1) &&
828 strncasecmp(location, "ftp://", sizeof("ftp://")-1) &&
829 strncasecmp(locatio
[all...]
H A Durl_scanner_ex.c225 if (strncasecmp(ZSTR_VAL(ctx->arg.s), ctx->lookup_data, ZSTR_LEN(ctx->arg.s)) == 0)
282 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "form", sizeof("form") - 1)) {
292 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
300 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "fieldset", sizeof("fieldset") - 1)) {
H A Durl_scanner_ex.re161 if (strncasecmp(ZSTR_VAL(ctx->arg.s), ctx->lookup_data, ZSTR_LEN(ctx->arg.s)) == 0)
218 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "form", sizeof("form") - 1)) {
228 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
236 if (!strncasecmp(ZSTR_VAL(ctx->tag.s), "fieldset", sizeof("fieldset") - 1)) {
H A Durl.c157 if (!strncasecmp("file", ret->scheme, sizeof("file"))) {
169 if (!strncasecmp("file", ret->scheme, sizeof("file"))) {
H A Dphp_fopen_wrapper.c187 if (!strncasecmp(path, "php://", 6)) {
191 if (!strncasecmp(path, "temp", 4)) {
194 if (!strncasecmp(path, "/maxmemory:", 11)) {
298 } else if (!strncasecmp(path, "fd/", 3)) {
345 } else if (!strncasecmp(path, "filter/", 7)) {
370 if (!strncasecmp(p, "read=", 5)) {
372 } else if (!strncasecmp(p, "write=", 6)) {
H A Dbrowscap.c161 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) ||
162 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) ||
163 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1))
167 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) ||
168 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "off", sizeof("off") - 1)) ||
169 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "none", sizeof("none") - 1)) ||
170 (Z_STRLEN_P(arg2) == 5 && !strncasecmp(Z_STRVAL_P(arg2), "false", sizeof("false") - 1))
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c387 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0
395 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0
431 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0
439 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:") - 1) == 0
1083 strncasecmp(env_script_filename, APACHE_PROXY_FCGI_PREFIX, sizeof(APACHE_PROXY_FCGI_PREFIX) - 1) == 0) {
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c53 if (strncasecmp(fname, "phar://", 7)) {
127 if (strncasecmp(fname, "phar://", 7)) {
258 if (strncasecmp(fname, "phar://", 7)) {
359 if (strncasecmp(fname, "phar://", 7)) {
626 if (strncasecmp(fname, "phar://", 7)) {
916 if (strncasecmp(fname, "phar://", 7)) {
983 if (strncasecmp(fname, "phar://", 7)) {
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c478 if ((var->aliasname_length && !strncasecmp(ZSTR_VAL(param->name), var->aliasname,
480 || (var->sqlname_length && !strncasecmp(ZSTR_VAL(param->name), var->sqlname,
/PHP_TRUNK/main/
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) {
H A Dphp_ini.c283 if (!strncasecmp(Z_STRVAL_P(arg1), "PATH", sizeof("PATH") - 1)) {
294 } else if (!strncasecmp(Z_STRVAL_P(arg1), "HOST", sizeof("HOST") - 1)) {
H A DSAPI.c331 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
612 && !strncasecmp(header->header, name, len)) {
768 && !strncasecmp(header_line, "HTTP/", 5)) {
/PHP_TRUNK/main/streams/
H A Dplain_wrapper.c1055 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) {
1081 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) {
1122 if (strncasecmp(url_from, "file://", sizeof("file://") - 1) == 0) {
1126 if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) {
1192 if (strncasecmp(dir, "file://", sizeof("file://") - 1) == 0) {
1275 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) {
1321 if (strncasecmp(url, "file://", sizeof("file://") - 1) == 0) {
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c142 if (strncasecmp("zip://", path, 6) == 0) {
287 if (strncasecmp("zip://", path, 6) == 0) {
/PHP_TRUNK/ext/soap/
H A Dphp_http.c133 strncasecmp(s, "host", sizeof("host")-1) != 0) &&
135 strncasecmp(s, "connection", sizeof("connection")-1) != 0) &&
137 strncasecmp(s, "user-agent", sizeof("user-agent")-1) != 0) &&
139 strncasecmp(s, "content-length", sizeof("content-length")-1) != 0) &&
141 strncasecmp(s, "content-type", sizeof("content-type")-1) != 0) &&
144 strncasecmp(s, "cookie", sizeof("cookie")-1) != 0) &&
147 strncasecmp(s, "authorization", sizeof("authorization")-1) != 0) &&
150 strncasecmp(s, "proxy-authorization", sizeof("proxy-authorization")-1) != 0)) {
1019 if (strncasecmp(connection, "close", sizeof("close")-1) == 0) {
1028 if (strncasecmp(connectio
[all...]
/PHP_TRUNK/
H A Drun-tests.php387 } elseif (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
1386 } else if (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) . "/php-cgi.exe")) {
1418 } else if (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) . "/phpdbg.exe")) {
1599 if (!strncasecmp('skip', ltrim($output), 4)) {
1620 if (!strncasecmp('info', ltrim($output), 4)) {
1626 if (!strncasecmp('warn', ltrim($output), 4)) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.h58 # undef strncasecmp macro
60 # define strncasecmp _strnicmp macro
/PHP_TRUNK/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_HANDLER")) == 0) {
590 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_HELPER_EX")) == 0) {
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_HANDLER")) == 0) {
611 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_HELPER_EX")) == 0) {
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_HANDLER")) == 0) {
632 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_HELPER_EX")) == 0) {
H A Dzend_config.w32.h54 #define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) macro

Completed in 63 milliseconds

123