Home
last modified time | relevance | path

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

1234

/PHP-7.2/ext/standard/tests/strings/
H A Dbug40754.phpt24 var_dump(strncmp("abcde", "abc", $v));
/PHP-7.2/ext/soap/
H A Dphp_schema.c817 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
818 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
844 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
845 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
996 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
1628 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_element()
1830 if (strncmp((char*)attr->children->content, "qualified", sizeof("qualified")) == 0) { in schema_attribute()
1846 if (strncmp((char*)attr->children->content, "prohibited", sizeof("prohibited")) == 0) { in schema_attribute()
1848 } else if (strncmp((char*)attr->children->content, "required", sizeof("required")) == 0) { in schema_attribute()
1850 } else if (strncmp((char*)attr->children->content, "optional", sizeof("optional")) == 0) { in schema_attribute()
[all …]
H A Dphp_sdl.c481 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in wsdl_soap_binding_header()
568 if (tmp && !strncmp((char*)tmp->children->content, "literal", sizeof("literal"))) { in wsdl_soap_binding_body()
786 if (!strncmp((char*)trav2->ns->href, WSDL_SOAP11_NAMESPACE, sizeof(WSDL_SOAP11_NAMESPACE))) { in load_wsdl()
790 …} else if (!strncmp((char*)trav2->ns->href, WSDL_SOAP12_NAMESPACE, sizeof(WSDL_SOAP12_NAMESPACE)))… in load_wsdl()
794 … } else if (!strncmp((char*)trav2->ns->href, RPC_SOAP12_NAMESPACE, sizeof(RPC_SOAP12_NAMESPACE))) { in load_wsdl()
798 …} else if (!strncmp((char*)trav2->ns->href, WSDL_HTTP11_NAMESPACE, sizeof(WSDL_HTTP11_NAMESPACE)))… in load_wsdl()
852 if (tmp && !strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
962 if (!strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
1080 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in load_wsdl()
1560 if (strncmp(in,"wsdl",4) != 0 || in[4] != WSDL_CACHE_VERSION || in[5] != '\0') { in get_sdl_from_cache()
[all …]
H A Dphp_http.c857 strncmp(phpurl->path?phpurl->path:"/",Z_STRVAL_P(tmp),Z_STRLEN_P(tmp)) == 0) && in make_http_soap_request()
940 if (!strncmp(http_version,"1.1", 3)) { in make_http_soap_request()
1255 if (strncmp(content_type, "text/xml", cmplen) == 0 || in make_http_soap_request()
1256 strncmp(content_type, "application/soap+xml", cmplen) == 0) { in make_http_soap_request()
1337 if (strncmp(s, "<?xml", 5)) { in make_http_soap_request()
/PHP-7.2/main/streams/
H A Dxp_socket.c889 if (strncmp(proto, "tcp", protolen) == 0) { in php_stream_generic_socket_factory()
891 } else if (strncmp(proto, "udp", protolen) == 0) { in php_stream_generic_socket_factory()
895 else if (strncmp(proto, "unix", protolen) == 0) { in php_stream_generic_socket_factory()
897 } else if (strncmp(proto, "udg", protolen) == 0) { in php_stream_generic_socket_factory()
H A Dglob_wrapper.c216 if (!strncmp(path, "glob://", sizeof("glob://")-1)) { in php_glob_stream_opener()
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_php.c280 if (str && !strncmp(ZSTR_VAL(str), key, ZSTR_LEN(str))) { in fpm_php_get_string_from_table()
/PHP-7.2/ext/pdo/
H A Dpdo.c245 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
H A Dpdo_dbh.c243 if (!strncmp(data_source, "uri:", sizeof("uri:")-1)) { in PHP_METHOD()
1024 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD()
1027 if(!strncmp(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD()
/PHP-7.2/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.2/ext/standard/
H A Dvar_unserializer.c1088 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1); in php_var_unserialize_internal()
1440 if (!strncmp((char*)start + 2, "NAN", 3)) { in php_var_unserialize_internal()
1442 } else if (!strncmp((char*)start + 2, "INF", 3)) { in php_var_unserialize_internal()
1444 } else if (!strncmp((char*)start + 2, "-INF", 4)) { in php_var_unserialize_internal()
H A Dcrypt_sha256.c367 if (strncmp(sha256_salt_prefix, salt, sizeof(sha256_salt_prefix) - 1) == 0) { in php_sha256_crypt_r()
372 if (strncmp(salt, sha256_rounds_prefix, sizeof(sha256_rounds_prefix) - 1) == 0) { in php_sha256_crypt_r()
H A Dvar_unserializer.re731 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1);
749 if (!strncmp((char*)start + 2, "NAN", 3)) {
751 } else if (!strncmp((char*)start + 2, "INF", 3)) {
753 } else if (!strncmp((char*)start + 2, "-INF", 4)) {
H A Dcrypt_sha512.c400 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
405 if (strncmp(salt, sha512_rounds_prefix, sizeof(sha512_rounds_prefix) - 1) == 0) { in php_sha512_crypt_r()
H A Dinfo.c717 …if (strncmp(winver, "Windows 8.1", 11) == 0 || strncmp(winver, "Windows Server 2012 R2", 22) == 0)… in php_get_uname()
/PHP-7.2/ext/openssl/
H A Dxp_ssl.c2650 if (strncmp(proto, "ssl", protolen) == 0) { in php_openssl_ssl_socket_factory()
2653 } else if (strncmp(proto, "sslv2", protolen) == 0) { in php_openssl_ssl_socket_factory()
2657 } else if (strncmp(proto, "sslv3", protolen) == 0) { in php_openssl_ssl_socket_factory()
2667 } else if (strncmp(proto, "tls", protolen) == 0) { in php_openssl_ssl_socket_factory()
2670 } else if (strncmp(proto, "tlsv1.0", protolen) == 0) { in php_openssl_ssl_socket_factory()
2673 } else if (strncmp(proto, "tlsv1.1", protolen) == 0) { in php_openssl_ssl_socket_factory()
2683 } else if (strncmp(proto, "tlsv1.2", protolen) == 0) { in php_openssl_ssl_socket_factory()
/PHP-7.2/ext/zip/
H A Dzip_stream.c222 if (strncmp(mode,"r", strlen("r")) != 0) { in php_stream_zip_open()
/PHP-7.2/main/
H A Dfopen_wrappers.c246 if (strncmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
261 if (strncmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
/PHP-7.2/sapi/apache2handler/
H A Dsapi_apache2.c156 if (sline && strlen(sline) > 12 && strncmp(sline, "HTTP/1.", 7) == 0 && sline[8] == ' ') { in php_apache_sapi_send_headers()
688 if (strncmp(r->handler, PHP_SOURCE_MAGIC_TYPE, sizeof(PHP_SOURCE_MAGIC_TYPE) - 1) == 0) { in php_handler()
/PHP-7.2/Zend/
H A Dzend_virtual_cwd.c1023 if (strncmp(substitutename, "\\??\\Volume{",11) == 0 in tsrm_realpath_r()
1024 || strncmp(substitutename, "\\\\?\\Volume{",11) == 0 in tsrm_realpath_r()
1025 || strncmp(substitutename, "\\??\\UNC\\", 8) == 0 in tsrm_realpath_r()
1031 if (strncmp(substitutename, "\\??\\", 4) == 0 in tsrm_realpath_r()
1032 || strncmp(substitutename, "\\\\?\\", 4) == 0) { in tsrm_realpath_r()
/PHP-7.2/ext/interbase/tests/
H A D007.phpt77 if(strncmp($row->V_CHAR[$i],$v_char[$i],strlen($v_char[$i])) != 0) {
/PHP-7.2/ext/fileinfo/libmagic/
H A Dder.c297 if (strncmp(buf, s, slen) != 0) in der_cmp()
/PHP-7.2/ext/opcache/
H A Dzend_shared_alloc.c174 if (strncmp(ZCG(accel_directives).memory_model, "cgi", sizeof("cgi")) == 0) { in zend_shared_alloc_startup()
/PHP-7.2/ext/readline/
H A Dreadline.c468 if (strncmp (Z_STRVAL_P(entry), text, strlen(text)) == 0) { in _readline_command_generator()
/PHP-7.2/ext/gd/libgd/
H A Dgdkanji.c208 else if (strncmp (lang, "ja", 2) == 0) in DetectKanjiCode()

Completed in 130 milliseconds

1234