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

123

/PHP_5_3/ext/zip/
H A Dzip_stream.c119 if (strncasecmp("zip://", path, 6) == 0) {
264 if (strncasecmp("zip://", path, 6) == 0) {
/PHP_5_3/
H A Drun-tests.php351 if (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
1319 } else if (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) . "/php-cgi.exe")) {
1497 if (!strncasecmp('skip', ltrim($output), 4)) {
1518 if (!strncasecmp('info', ltrim($output), 4)) {
1524 if (!strncasecmp('warn', ltrim($output), 4)) {
/PHP_5_3/ext/curl/
H A Dstreams.c116 if (!strncasecmp(data, "Location: ", 10)) {
118 } else if (!strncasecmp(data, "Content-Type: ", 14)) {
120 } else if (!strncasecmp(data, "Context-Length: ", 16)) {
323 if (context && !strncasecmp(filename, "http", sizeof("http")-1)) {
421 } else if (context && !strncasecmp(filename, "ftps", sizeof("ftps")-1)) {
/PHP_5_3/ext/date/lib/
H A Dtimelib.h53 #if defined(_MSC_VER) && !defined(strncasecmp)
54 #define strncasecmp strnicmp macro
/PHP_5_3/ext/filter/
H A Dlogical_filters.c254 if (strncasecmp(str, "on", 2) == 0) {
256 } else if (strncasecmp(str, "no", 2) == 0) {
263 if (strncasecmp(str, "yes", 3) == 0) {
265 } else if (strncasecmp(str, "off", 3) == 0) {
272 if (strncasecmp(str, "true", 4) == 0) {
279 if (strncasecmp(str, "false", 5) == 0) {
734 if (Z_STRLEN_P(value) >=2 && (!strncasecmp("FC", Z_STRVAL_P(value), 2) || !strncasecmp("FD", Z_STRVAL_P(value), 2))) {
755 !strncasecmp("fe8", Z_STRVAL_P(value), 3) ||
756 !strncasecmp("fe
[all...]
/PHP_5_3/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_5_3/ext/soap/
H A Dphp_http.c131 strncasecmp(s, "host", sizeof("host")-1) != 0) &&
133 strncasecmp(s, "connection", sizeof("connection")-1) != 0) &&
135 strncasecmp(s, "user-agent", sizeof("user-agent")-1) != 0) &&
137 strncasecmp(s, "content-length", sizeof("content-length")-1) != 0) &&
139 strncasecmp(s, "content-type", sizeof("content-type")-1) != 0) &&
142 strncasecmp(s, "cookie", sizeof("cookie")-1) != 0) &&
145 strncasecmp(s, "authorization", sizeof("authorization")-1) != 0) &&
148 strncasecmp(s, "proxy-authorization", sizeof("proxy-authorization")-1) != 0)) {
956 if (strncasecmp(connection, "close", sizeof("close")-1) == 0) {
965 if (strncasecmp(connectio
[all...]
/PHP_5_3/ext/standard/
H A Dhttp_fopen_wrapper.c129 if (strncasecmp(resource->scheme, "http", sizeof("http")) && strncasecmp(resource->scheme, "https", sizeof("https"))) {
736 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"))) {
802 if (strlen(location)<8 || (strncasecmp(location, "http://", sizeof("http://")-1) &&
803 strncasecmp(location, "https://", sizeof("https://")-1) &&
804 strncasecmp(location, "ftp://", sizeof("ftp://")-1) &&
805 strncasecmp(locatio
[all...]
H A Dphp_fopen_wrapper.c169 if (!strncasecmp(path, "php://", 6)) {
173 if (!strncasecmp(path, "temp", 4)) {
176 if (!strncasecmp(path, "/maxmemory:", 11)) {
260 } else if (!strncasecmp(path, "fd/", 3)) {
307 } else if (!strncasecmp(path, "filter/", 7)) {
331 if (!strncasecmp(p, "read=", 5)) {
333 } 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 Durl_scanner_ex.c219 if (strncasecmp(ctx->arg.c, ctx->lookup_data, ctx->arg.len) == 0)
276 if (!strncasecmp(ctx->tag.c, "form", sizeof("form") - 1)) {
286 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
294 if (!strncasecmp(ctx->tag.c, "fieldset", sizeof("fieldset") - 1)) {
H A Durl_scanner_ex.re156 if (strncasecmp(ctx->arg.c, ctx->lookup_data, ctx->arg.len) == 0)
213 if (!strncasecmp(ctx->tag.c, "form", sizeof("form") - 1)) {
223 if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
231 if (!strncasecmp(ctx->tag.c, "fieldset", sizeof("fieldset") - 1)) {
H A Dbrowscap.c172 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) ||
173 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) ||
174 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1))
179 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) ||
180 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "off", sizeof("off") - 1)) ||
181 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "none", sizeof("none") - 1)) ||
182 (Z_STRLEN_P(arg2) == 5 && !strncasecmp(Z_STRVAL_P(arg2), "false", sizeof("false") - 1))
/PHP_5_3/ext/zlib/
H A Dzlib_fopen_wrapper.c123 if (strncasecmp("compress.zlib://", path, 16) == 0) {
125 } else if (strncasecmp("zlib:", path, 5) == 0) {
/PHP_5_3/main/
H A DSAPI.c237 if (strncasecmp(mimetype, "text/", 5) == 0 && *charset) {
517 && !strncasecmp(header->header, name, len)) {
656 && !strncasecmp(header_line, "HTTP/", 5)) {
H A Dfopen_wrappers.c256 if (strncasecmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
271 if (strncasecmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
368 if (strncasecmp(ptr, resolved_name, strlen(ptr)) == 0)
/PHP_5_3/sapi/apache/
H A Dphp_apache.c275 if (env[i].key && (!PG(safe_mode) || (PG(safe_mode) && strncasecmp(env[i].key, "authorization", 13)))) {
406 !strncasecmp(tenv[i].key, "authorization", 13))) {
/PHP_5_3/sapi/apache2filter/
H A Dapache_config.c64 if (!strncasecmp(value, "none", sizeof("none"))) {
/PHP_5_3/sapi/apache2handler/
H A Dapache_config.c64 if (!strncasecmp(value, "none", sizeof("none"))) {
/PHP_5_3/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_5_3/sapi/tux/
H A Dphp_tux.c134 && strncasecmp(h->header, "Content-length:", sizeof("Content-length:")-1) == 0) {
/PHP_5_3/Zend/
H A Dzend_config.w32.h55 #define strncasecmp(s1, s2, n) strnicmp(s1, s2, n) macro
/PHP_5_3/ext/phar/
H A Dfunc_interceptors.c53 if (strncasecmp(fname, "phar://", 7)) {
127 if (strncasecmp(fname, "phar://", 7)) {
258 if (strncasecmp(fname, "phar://", 7)) {
354 if (strncasecmp(fname, "phar://", 7)) {
629 if (strncasecmp(fname, "phar://", 7)) {
919 if (strncasecmp(fname, "phar://", 7)) {
986 if (strncasecmp(fname, "phar://", 7)) {
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c421 strncasecmp(SG(sapi_headers).http_status_line, "HTTP/", 5) == 0
429 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0
465 strncasecmp(h->header, "Status:", sizeof("Status:") - 1) == 0
473 strncasecmp(h->header, "Content-Type:", sizeof("Content-Type:") - 1) == 0
1114 strncasecmp(env_script_filename, APACHE_PROXY_FCGI_PREFIX, sizeof(APACHE_PROXY_FCGI_PREFIX) - 1) == 0) {
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_statement.c481 if ((var->aliasname_length && !strncasecmp(param->name, var->aliasname,
483 || (var->sqlname_length && !strncasecmp(param->name, var->sqlname,

Completed in 43 milliseconds

123