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

123

/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c204 if (!TG(seen_cl) && strncasecmp(h->header, CL_TOKEN, sizeof(CL_TOKEN)-1) == 0) {
206 } else if (!TG(seen_cn) && strncasecmp(h->header, CN_TOKEN, sizeof(CN_TOKEN)-1) == 0) {
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c133 && strncasecmp(h->header, "Content-length:", sizeof("Content-length:")-1) == 0) {
/PHP_TRUNK/Zend/
H A Dzend_config.w32.h55 #define strncasecmp(s1, s2, n) strnicmp(s1, s2, n) macro
H A Dzend_vm_gen.php467 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
469 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HANDLER")) == 0) {
471 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_HELPER_EX")) == 0) {
488 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
490 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HANDLER")) == 0) {
492 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_HELPER_EX")) == 0) {
509 if (strncasecmp($matches[0], "EXECUTE_DATA", strlen("EXECUTE_DATA")) == 0) {
511 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HANDLER", strlen("ZEND_VM_DISPATCH_TO_HANDLER")) == 0) {
513 } else if (strncasecmp($matches[0], "ZEND_VM_DISPATCH_TO_HELPER_EX", strlen("ZEND_VM_DISPATCH_TO_HELPER_EX")) == 0) {
/PHP_TRUNK/sapi/apache2filter/
H A Dapache_config.c64 if (!strncasecmp(value, "none", sizeof("none"))) {
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c125 if (strncasecmp("compress.zlib://", path, 16) == 0) {
127 } else if (strncasecmp("zlib:", path, 5) == 0) {
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c275 if (strncasecmp(str, "on", 2) == 0) {
277 } else if (strncasecmp(str, "no", 2) == 0) {
284 if (strncasecmp(str, "yes", 3) == 0) {
286 } else if (strncasecmp(str, "off", 3) == 0) {
293 if (strncasecmp(str, "true", 4) == 0) {
300 if (strncasecmp(str, "false", 5) == 0) {
747 if (Z_STRLEN_P(value) >=2 && (!strncasecmp("FC", Z_STRVAL_P(value), 2) || !strncasecmp("FD", Z_STRVAL_P(value), 2))) {
768 !strncasecmp("fe8", Z_STRVAL_P(value), 3) ||
769 !strncasecmp("fe
[all...]
/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/pdo_firebird/
H A Dfirebird_statement.c478 if ((var->aliasname_length && !strncasecmp(param->name->val, var->aliasname,
480 || (var->sqlname_length && !strncasecmp(param->name->val, var->sqlname,
/PHP_TRUNK/ext/soap/
H A Dphp_http.c129 strncasecmp(s, "host", sizeof("host")-1) != 0) &&
131 strncasecmp(s, "connection", sizeof("connection")-1) != 0) &&
133 strncasecmp(s, "user-agent", sizeof("user-agent")-1) != 0) &&
135 strncasecmp(s, "content-length", sizeof("content-length")-1) != 0) &&
137 strncasecmp(s, "content-type", sizeof("content-type")-1) != 0) &&
140 strncasecmp(s, "cookie", sizeof("cookie")-1) != 0) &&
143 strncasecmp(s, "authorization", sizeof("authorization")-1) != 0) &&
146 strncasecmp(s, "proxy-authorization", sizeof("proxy-authorization")-1) != 0)) {
1012 if (strncasecmp(connection, "close", sizeof("close")-1) == 0) {
1021 if (strncasecmp(connectio
[all...]
/PHP_TRUNK/ext/standard/
H A Dhttp_fopen_wrapper.c159 if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
732 if (!strncasecmp(http_header_line, "Location: ", 10)) {
743 } else if (!strncasecmp(http_header_line, "Content-Type: ", 14)) {
745 } else if (!strncasecmp(http_header_line, "Content-Length: ", 16)) {
748 } else if (!strncasecmp(http_header_line, "Transfer-Encoding: chunked", sizeof("Transfer-Encoding: chunked"))) {
798 if (strlen(location)<8 || (strncasecmp(location, "http://", sizeof("http://")-1) &&
799 strncasecmp(location, "https://", sizeof("https://")-1) &&
800 strncasecmp(location, "ftp://", sizeof("ftp://")-1) &&
801 strncasecmp(locatio
[all...]
H A Dphp_fopen_wrapper.c184 if (!strncasecmp(path, "php://", 6)) {
188 if (!strncasecmp(path, "temp", 4)) {
191 if (!strncasecmp(path, "/maxmemory:", 11)) {
286 } else if (!strncasecmp(path, "fd/", 3)) {
333 } else if (!strncasecmp(path, "filter/", 7)) {
357 if (!strncasecmp(p, "read=", 5)) {
359 } else if (!strncasecmp(p, "write=", 6)) {
H A Durl.c157 if (!strncasecmp("file", ret->scheme, sizeof("file"))) {
169 if (!strncasecmp("file", ret->scheme, sizeof("file"))) {
H A Dfilestat.c436 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
573 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
681 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
753 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
H A Dbrowscap.c166 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) ||
167 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) ||
168 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1))
172 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) ||
173 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "off", sizeof("off") - 1)) ||
174 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "none", sizeof("none") - 1)) ||
175 (Z_STRLEN_P(arg2) == 5 && !strncasecmp(Z_STRVAL_P(arg2), "false", sizeof("false") - 1))
H A Durl_scanner_ex.c225 if (strncasecmp(ctx->arg.s->val, ctx->lookup_data, ctx->arg.s->len) == 0)
282 if (!strncasecmp(ctx->tag.s->val, "form", sizeof("form") - 1)) {
292 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
300 if (!strncasecmp(ctx->tag.s->val, "fieldset", sizeof("fieldset") - 1)) {
H A Durl_scanner_ex.re161 if (strncasecmp(ctx->arg.s->val, ctx->lookup_data, ctx->arg.s->len) == 0)
218 if (!strncasecmp(ctx->tag.s->val, "form", sizeof("form") - 1)) {
228 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
236 if (!strncasecmp(ctx->tag.s->val, "fieldset", sizeof("fieldset") - 1)) {
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c134 if (strncasecmp("zip://", path, 6) == 0) {
278 if (strncasecmp("zip://", path, 6) == 0) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.h52 # undef strncasecmp macro
54 # define strncasecmp _strnicmp macro
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c428 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0
436 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0
472 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0
480 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:") - 1) == 0
1103 strncasecmp(env_script_filename, APACHE_PROXY_FCGI_PREFIX, sizeof(APACHE_PROXY_FCGI_PREFIX) - 1) == 0) {
/PHP_TRUNK/ext/date/lib/
H A Dtimelib.h53 #if defined(_MSC_VER) && !defined(strncasecmp)
54 #define strncasecmp strnicmp macro
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c53 if (strncasecmp(fname, "phar://", 7)) {
126 if (strncasecmp(fname, "phar://", 7)) {
252 if (strncasecmp(fname, "phar://", 7)) {
348 if (strncasecmp(fname, "phar://", 7)) {
623 if (strncasecmp(fname, "phar://", 7)) {
913 if (strncasecmp(fname, "phar://", 7)) {
980 if (strncasecmp(fname, "phar://", 7)) {
/PHP_TRUNK/main/
H A Dfopen_wrappers.c255 if (strncasecmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
270 if (strncasecmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
H A Dphp_ini.c287 if (!strncasecmp(Z_STRVAL_P(arg1), "PATH", sizeof("PATH") - 1)) {
298 } else if (!strncasecmp(Z_STRVAL_P(arg1), "HOST", sizeof("HOST") - 1)) {
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c64 if (!strncasecmp(value, "none", sizeof("none"))) {

Completed in 39 milliseconds

123