Home
last modified time | relevance | path

Searched refs:strncmp (Results 26 – 50 of 96) sorted by relevance

1234

/PHP-7.4/ext/soap/
H A Dphp_schema.c816 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
817 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
843 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
844 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
995 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
1625 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1828 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1844 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1846 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1848 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
[all …]
H A Dphp_sdl.c484 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in wsdl_soap_binding_header()
571 if (tmp && !strncmp((char*)tmp->children->content, "literal", sizeof("literal"))) { in wsdl_soap_binding_body()
790 if (!strncmp((char*)trav2->ns->href, WSDL_SOAP11_NAMESPACE, sizeof(WSDL_SOAP11_NAMESPACE))) { in load_wsdl()
794 …} else if (!strncmp((char*)trav2->ns->href, WSDL_SOAP12_NAMESPACE, sizeof(WSDL_SOAP12_NAMESPACE)))… in load_wsdl()
798 … } else if (!strncmp((char*)trav2->ns->href, RPC_SOAP12_NAMESPACE, sizeof(RPC_SOAP12_NAMESPACE))) { in load_wsdl()
802 …} else if (!strncmp((char*)trav2->ns->href, WSDL_HTTP11_NAMESPACE, sizeof(WSDL_HTTP11_NAMESPACE)))… in load_wsdl()
856 if (tmp && !strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
966 if (!strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
1084 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in load_wsdl()
1570 if (strncmp(in,"wsdl",4) != 0 || in[4] != WSDL_CACHE_VERSION || in[5] != '\0') { in get_sdl_from_cache()
[all …]
H A Dphp_http.c851strncmp(phpurl->path?ZSTR_VAL(phpurl->path):"/",Z_STRVAL_P(tmp),Z_STRLEN_P(tmp)) == 0) && in make_http_soap_request()
933 if (!strncmp(http_version,"1.1", 3)) { in make_http_soap_request()
1251 if (strncmp(content_type, "text/xml", cmplen) == 0 || in make_http_soap_request()
1252 strncmp(content_type, "application/soap+xml", cmplen) == 0) { in make_http_soap_request()
1333 if (strncmp(s, "<?xml", 5)) { in make_http_soap_request()
/PHP-7.4/ext/standard/tests/network/
H A Dsetcookie.phpt49 if (strncmp(current($headers), 'Set-Cookie:', 11) !== 0)
/PHP-7.4/main/streams/
H A Dxp_socket.c899 if (strncmp(proto, "tcp", protolen) == 0) { in php_stream_generic_socket_factory()
901 } else if (strncmp(proto, "udp", protolen) == 0) { in php_stream_generic_socket_factory()
905 else if (strncmp(proto, "unix", protolen) == 0) { in php_stream_generic_socket_factory()
907 } else if (strncmp(proto, "udg", protolen) == 0) { in php_stream_generic_socket_factory()
H A Dglob_wrapper.c206 if (!strncmp(path, "glob://", sizeof("glob://")-1)) { in php_glob_stream_opener()
/PHP-7.4/main/
H A Dphp_variables.c119 …if (strncmp(var, "__Host-", sizeof("__Host-")-1) == 0 && strncmp(var_name, "__Host-", sizeof("__Ho… in php_register_variable_ex()
126 …if (strncmp(var, "__Secure-", sizeof("__Secure-")-1) == 0 && strncmp(var_name, "__Secure-", sizeof… in php_register_variable_ex()
H A Dfopen_wrappers.c253 if (strncmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
268 if (strncmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_php.c284 if (str && !strncmp(ZSTR_VAL(str), key, ZSTR_LEN(str))) { in fpm_php_get_string_from_table()
H A Dfpm_main.c673 if (strncmp(s1, s2, s_len) == 0) { in php_cgi_ini_activate_user_config()
999 strncmp(env_server_software, "Microsoft-IIS", sizeof("Microsoft-IIS") - 1) == 0 && in init_request_info()
1000 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0 in init_request_info()
/PHP-7.4/ext/pdo/
H A Dpdo.c229 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
H A Dpdo_dbh.c269 if (!strncmp(data_source, "uri:", sizeof("uri:")-1)) { in PHP_METHOD()
1039 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD()
1042 if(!strncmp(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD()
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c2696 if (strncmp(proto, "ssl", protolen) == 0) { in php_openssl_ssl_socket_factory()
2699 } else if (strncmp(proto, "sslv2", protolen) == 0) { in php_openssl_ssl_socket_factory()
2703 } else if (strncmp(proto, "sslv3", protolen) == 0) { in php_openssl_ssl_socket_factory()
2713 } else if (strncmp(proto, "tls", protolen) == 0) { in php_openssl_ssl_socket_factory()
2716 } else if (strncmp(proto, "tlsv1.0", protolen) == 0) { in php_openssl_ssl_socket_factory()
2719 } else if (strncmp(proto, "tlsv1.1", protolen) == 0) { in php_openssl_ssl_socket_factory()
2729 } else if (strncmp(proto, "tlsv1.2", protolen) == 0) { in php_openssl_ssl_socket_factory()
2739 } else if (strncmp(proto, "tlsv1.3", protolen) == 0) { in php_openssl_ssl_socket_factory()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_help.c199 if (!strncmp(c->name, key, len)) { in get_command()
253 if (!strncmp(cmd->name, param->str, param->len)) { in PHPDBG_COMMAND()
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.c802 if (strncmp(substitutename, "\\??\\Volume{",11) == 0 in tsrm_realpath_r()
803 || strncmp(substitutename, "\\\\?\\Volume{",11) == 0 in tsrm_realpath_r()
804 || strncmp(substitutename, "\\??\\UNC\\", 8) == 0 in tsrm_realpath_r()
810 if (strncmp(substitutename, "\\??\\", 4) == 0 in tsrm_realpath_r()
811 || strncmp(substitutename, "\\\\?\\", 4) == 0) { in tsrm_realpath_r()
/PHP-7.4/ext/zip/
H A Dzip_stream.c222 if (strncmp(mode,"r", strlen("r")) != 0) { in php_stream_zip_open()
/PHP-7.4/ext/standard/
H A Dcrypt_sha256.c351 if (strncmp(sha256_salt_prefix, salt, sizeof(sha256_salt_prefix) - 1) == 0) { in php_sha256_crypt_r()
356 if (strncmp(salt, sha256_rounds_prefix, sizeof(sha256_rounds_prefix) - 1) == 0) { in php_sha256_crypt_r()
H A Dcrypt_sha512.c384 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
389 if (strncmp(salt, sha512_rounds_prefix, sizeof(sha512_rounds_prefix) - 1) == 0) { in php_sha512_crypt_r()
H A Dvar_unserializer.re877 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1);
895 if (!strncmp((char*)start + 2, "NAN", 3)) {
897 } else if (!strncmp((char*)start + 2, "INF", 3)) {
899 } else if (!strncmp((char*)start + 2, "-INF", 4)) {
H A Dinfo.c690 …if (strncmp(winver, "Windows 8.1", 11) == 0 || strncmp(winver, "Windows Server 2012 R2", 22) == 0)… in php_get_uname()
/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c154 if (sline && strlen(sline) > 12 && strncmp(sline, "HTTP/1.", 7) == 0 && sline[8] == ' ') { in php_apache_sapi_send_headers()
691 if (strncmp(r->handler, PHP_SOURCE_MAGIC_TYPE, sizeof(PHP_SOURCE_MAGIC_TYPE) - 1) == 0) { in php_handler()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dder.c300 if (strncmp(buf, s, slen) != 0) in der_cmp()
/PHP-7.4/ext/gd/libgd/
H A Dgdkanji.c206 else if (strncmp (lang, "ja", 2) == 0) in DetectKanjiCode()
/PHP-7.4/ext/phar/
H A Dtar.c108 if (!strncmp(buf, "<?php", sizeof("<?php")-1)) { in phar_is_tar()
292 …| old) && strnlen(hdr->name, 100) == sizeof(".phar/signature.bin")-1 && !strncmp(hdr->name, ".phar… in phar_parse_tarfile()
539 …if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename,… in phar_parse_tarfile()
/PHP-7.4/ext/session/
H A Dmod_files.c316 if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) { in ps_files_cleanup_dir()

Completed in 115 milliseconds

1234