Home
last modified time | relevance | path

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

1234

/PHP-5.5/ext/standard/tests/strings/
H A Dbug40754.phpt24 var_dump(strncmp("abcde", "abc", $v));
/PHP-5.5/main/
H A Dgetopt.c115 …} else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg… in php_getopt()
H A Dfopen_wrappers.c257 if (strncmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
272 if (strncmp(resolved_basedir, resolved_name, resolved_name_len) == 0) {
/PHP-5.5/ext/soap/
H A Dphp_schema.c815 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_int()
816 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) in schema_restriction_var_int()
842 if (!strncmp((char*)fixed->children->content, "true", sizeof("true")) || in schema_restriction_var_char()
843 !strncmp((char*)fixed->children->content, "1", sizeof("1"))) { in schema_restriction_var_char()
994 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) { in schema_min_max()
1626 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.c485 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in wsdl_soap_binding_header()
572 if (tmp && !strncmp((char*)tmp->children->content, "literal", sizeof("literal"))) { in wsdl_soap_binding_body()
794 if (!strncmp((char*)trav2->ns->href, WSDL_SOAP11_NAMESPACE, sizeof(WSDL_SOAP11_NAMESPACE))) { in load_wsdl()
798 …} else if (!strncmp((char*)trav2->ns->href, WSDL_SOAP12_NAMESPACE, sizeof(WSDL_SOAP12_NAMESPACE)))… in load_wsdl()
802 … } else if (!strncmp((char*)trav2->ns->href, RPC_SOAP12_NAMESPACE, sizeof(RPC_SOAP12_NAMESPACE))) { in load_wsdl()
806 …} else if (!strncmp((char*)trav2->ns->href, WSDL_HTTP11_NAMESPACE, sizeof(WSDL_HTTP11_NAMESPACE)))… in load_wsdl()
860 if (tmp && !strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
970 if (!strncmp((char*)tmp->children->content, "rpc", sizeof("rpc"))) { in load_wsdl()
1088 if (tmp && !strncmp((char*)tmp->children->content, "encoded", sizeof("encoded"))) { in load_wsdl()
1564 if (strncmp(in,"wsdl",4) != 0 || in[4] != WSDL_CACHE_VERSION || in[5] != '\0') { in get_sdl_from_cache()
[all …]
H A Dphp_http.c836 strncmp(phpurl->path?phpurl->path:"/",Z_STRVAL_PP(tmp),Z_STRLEN_PP(tmp)) == 0) && in make_http_soap_request()
915 if (!strncmp(http_version,"1.1", 3)) { in make_http_soap_request()
1227 if (strncmp(content_type, "text/xml", cmplen) == 0 || in make_http_soap_request()
1228 strncmp(content_type, "application/soap+xml", cmplen) == 0) { in make_http_soap_request()
1312 if (strncmp(s, "<?xml", 5)) { in make_http_soap_request()
/PHP-5.5/main/streams/
H A Dxp_socket.c789 if (strncmp(proto, "tcp", protolen) == 0) { in php_stream_generic_socket_factory()
791 } else if (strncmp(proto, "udp", protolen) == 0) { in php_stream_generic_socket_factory()
795 else if (strncmp(proto, "unix", protolen) == 0) { in php_stream_generic_socket_factory()
797 } else if (strncmp(proto, "udg", protolen) == 0) { in php_stream_generic_socket_factory()
H A Dglob_wrapper.c220 if (!strncmp(path, "glob://", sizeof("glob://")-1)) { in php_glob_stream_opener()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_php.c286 if (!strncmp(string_key, key, string_len)) { in fpm_php_get_string_from_table()
/PHP-5.5/ext/standard/
H A Dvar_unserializer.c1116 if (!strncmp(start + 2, "NAN", 3)) { in php_var_unserialize()
1118 } else if (!strncmp(start + 2, "INF", 3)) { in php_var_unserialize()
1120 } else if (!strncmp(start + 2, "-INF", 4)) { in php_var_unserialize()
1165 int cmp = strncmp(YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1); in php_var_unserialize()
H A Dvar_unserializer.re564 int cmp = strncmp(YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1);
584 if (!strncmp(start + 2, "NAN", 3)) {
586 } else if (!strncmp(start + 2, "INF", 3)) {
588 } else if (!strncmp(start + 2, "-INF", 4)) {
H A Dcrypt_sha256.c373 if (strncmp(sha256_salt_prefix, salt, sizeof(sha256_salt_prefix) - 1) == 0) { in php_sha256_crypt_r()
378 if (strncmp(salt, sha256_rounds_prefix, sizeof(sha256_rounds_prefix) - 1) == 0) { in php_sha256_crypt_r()
H A Dcrypt_sha512.c406 if (strncmp(sha512_salt_prefix, salt, sizeof(sha512_salt_prefix) - 1) == 0) { in php_sha512_crypt_r()
411 if (strncmp(salt, sha512_rounds_prefix, sizeof(sha512_rounds_prefix) - 1) == 0) { in php_sha512_crypt_r()
/PHP-5.5/ext/openssl/
H A Dxp_ssl.c1077 if (strncmp(proto, "ssl", protolen) == 0) { in php_openssl_ssl_socket_factory()
1080 } else if (strncmp(proto, "sslv2", protolen) == 0) { in php_openssl_ssl_socket_factory()
1088 } else if (strncmp(proto, "sslv3", protolen) == 0) { in php_openssl_ssl_socket_factory()
1091 } else if (strncmp(proto, "tls", protolen) == 0) { in php_openssl_ssl_socket_factory()
/PHP-5.5/ext/pdo/
H A Dpdo.c270 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
/PHP-5.5/ext/zip/
H A Dzip_stream.c197 if (strncmp(mode,"r", strlen("r")) != 0) { in php_stream_zip_open()
/PHP-5.5/sapi/apache2handler/
H A Dsapi_apache2.c163 if (sline && strlen(sline) > 12 && strncmp(sline, "HTTP/1.", 7) == 0 && sline[8] == ' ') { in php_apache_sapi_send_headers()
654 if (strncmp(r->handler, PHP_SOURCE_MAGIC_TYPE, sizeof(PHP_SOURCE_MAGIC_TYPE) - 1) == 0) { in php_handler()
/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.c970 if (strncmp(substitutename, "\\??\\Volume{",11) == 0 in tsrm_realpath_r()
971 || strncmp(substitutename, "\\\\?\\Volume{",11) == 0 in tsrm_realpath_r()
972 || strncmp(substitutename, "\\??\\UNC\\", 8) == 0 in tsrm_realpath_r()
978 if (strncmp(substitutename, "\\??\\", 4) == 0 in tsrm_realpath_r()
979 || strncmp(substitutename, "\\\\?\\", 4) == 0) { in tsrm_realpath_r()
/PHP-5.5/ext/ereg/regex/
H A Dregcomp.c597 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) {
602 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) {
744 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
817 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
/PHP-5.5/ext/interbase/tests/
H A D007.phpt77 if(strncmp($row->V_CHAR[$i],$v_char[$i],strlen($v_char[$i])) != 0) {
/PHP-5.5/sapi/apache2filter/
H A Dsapi_apache2.c668 if (r->content_type && !strncmp(r->content_type, "application/x-httpd-php", content_type_len-1)) { in php_insert_filter()
669 …if (r->content_type[content_type_len] == '\0' || !strncmp(r->content_type+content_type_len, "-sour… in php_insert_filter()
/PHP-5.5/ext/session/
H A Dmod_files.c213 if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) { in ps_files_cleanup_dir()
/PHP-5.5/ext/opcache/
H A Dzend_shared_alloc.c173 if (strncmp(ZCG(accel_directives).memory_model, "cgi", sizeof("cgi")) == 0) { in zend_shared_alloc_startup()
/PHP-5.5/ext/gd/libgd/
H A Dgdkanji.c209 else if (strncmp (lang, "ja", 2) == 0) in DetectKanjiCode()
/PHP-5.5/ext/phar/
H A Dtar.c108 if (!strncmp(buf, "<?php", sizeof("<?php")-1)) { in phar_is_tar()
275 …| old) && strnlen(hdr->name, 100) == sizeof(".phar/signature.bin")-1 && !strncmp(hdr->name, ".phar… in phar_parse_tarfile()
520 …if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename,… in phar_parse_tarfile()

Completed in 168 milliseconds

1234