Home
last modified time | relevance | path

Searched refs:strncmp (Results 76 – 100 of 100) sorted by relevance

1234

/php-src/ext/phar/
H A Dzip.c484 …if (entry.filename_len == sizeof(".phar/signature.bin")-1 && !strncmp(entry.filename, ".phar/signa… in phar_parse_zipfile()
627 …if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename,… in phar_parse_zipfile()
H A Dutil.c1011 if (fname && (fname_len != fd_ptr->fname_len || strncmp(fname, fd_ptr->fname, fname_len))) { in phar_get_archive()
1304 if (ZSTR_LEN(str_key) >= path_len || strncmp(ZSTR_VAL(str_key), path, ZSTR_LEN(str_key))) { in phar_get_entry_info_dir()
H A Dphar.c509 && !strncmp(fname, phar->fname, fname_len)) || !alias) in phar_open_parsed_phar()
1055 if (alias && alias_len && (alias_len != tmp_len || strncmp(alias, buffer, tmp_len))) in phar_parse_pharfile()
/php-src/ext/pdo_firebird/
H A Dfirebird_driver.c406 if (strncmp(start, "?", 1)) { in php_firebird_preprocess()
/php-src/main/
H A DSAPI.c374 if (*charset && strncmp(*mimetype, "text/", 5) == 0 && strstr(*mimetype, "charset=") == NULL) { in sapi_apply_default_charset()
H A Dfastcgi.c681 if (!*host || !strncmp(host, "*", sizeof("*")-1)) { in fcgi_listen()
H A Dmain.c1061 if (strncmp(docref, "http://", 7)) { in php_verror()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_compile.c4873 PRIV(strncmp)(name, ng->name, (PCRE2_SIZE)namelen) == 0) in parse_regex()
5564 if (PRIV(strncmp)(name, slot+IMM2_SIZE, length) == 0 && in find_dupname_details()
5593 if (PRIV(strncmp)(name, slot+IMM2_SIZE, length) != 0 || in find_dupname_details()
6619 PRIV(strncmp)(name, ng->name, length) == 0) in compile_branch()
7041 PRIV(strncmp)(name, ng->name, length) == 0) in compile_branch()
9636 if (length == ng->length && PRIV(strncmp)(name, ng->name, length) == 0) in get_branchlength()
H A Dpcre2_internal.h204 #define strncmp(s1,s2,m) _strncmp(s1,s2,m) macro
/php-src/sapi/litespeed/
H A Dlsapi_main.c1038 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path()
/php-src/ext/dom/
H A Dhtml_document.c1103 if (strncmp((const char *) converted, "file:/", sizeof("file:/") - 1) != 0) { in PHP_METHOD()
H A Dphp_dom.c1714 if (strncmp((const char *) qname, prefix, prefix_len) != 0) { in dom_match_qualified_name_according_to_spec()
2599 if (strncmp((char *) path, "file:/", sizeof("file:/") - 1) == 0) { in php_dom_libxml_fix_file_path()
/php-src/ext/fileinfo/libmagic/
H A Dapprentice.c322 if (strncmp(l, p->name, p->len) == 0) { in get_type()
1764 if (strncmp(l, p->name, p->len) == 0 && in get_cond()
/php-src/Zend/
H A Dzend_builtin_functions.c328 ZEND_FUNCTION(strncmp) in ZEND_FUNCTION() argument
/php-src/main/streams/
H A Dstreams.c1974 if ((*p == ':') && (n > 1) && (!strncmp("//", p+1, 2) || (n == 4 && !memcmp("data:", path, 5)))) {
/php-src/ext/pdo/
H A Dpdo_stmt.c1548 if (strncmp(stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) { in PHP_METHOD()
/php-src/ext/mbstring/
H A Dmbstring.c273 if (strncmp(encoding_name, "pass", encoding_name_len) == 0) { in php_mb_get_encoding_or_pass()
729 if (new_value_length == 4 && strncmp(new_value, "pass", 4) == 0) { in _php_mb_ini_mbstring_http_input_set()
/php-src/sapi/cli/
H A Dphp_cli_server.c2180 if (strncmp(mime_type, "text/", 5) == 0) { in php_cli_server_begin_send_static()
/php-src/ext/session/
H A Dsession.c1288 && !strncmp(header->header, session_cookie, session_cookie_len)) { in php_session_remove_cookie()
/php-src/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c370 if (!strncmp((char *) p, MARIADB_RPL_VERSION_HACK, sizeof(MARIADB_RPL_VERSION_HACK) - 1)) { in php_mysqlnd_greet_read()
/php-src/ext/odbc/
H A Dphp_odbc.c1220 if (!strncmp(state,"S1015",5)) { in PHP_FUNCTION()
/php-src/ext/exif/
H A Dexif.c3171 && strncmp(maker_note->id_string, value_ptr, maker_note->id_string_len)) in exif_process_IFD_in_MAKERNOTE()
/php-src/ext/ffi/
H A Dffi.c4959 if (strncmp(code_pos, "#define FFI_SCOPE", sizeof("#define FFI_SCOPE") - 1) == 0 in zend_ffi_parse_directives()
5006 } else if (strncmp(code_pos, "#define FFI_LIB", sizeof("#define FFI_LIB") - 1) == 0 in zend_ffi_parse_directives()
/php-src/ext/soap/
H A Dphp_encoding.c1921 (!strncmp(attr->namens, XML_NAMESPACE, sizeof(XML_NAMESPACE)) || in to_xml_object()
/php-src/ext/standard/
H A Dstring.c785 && !strncmp(ZSTR_VAL(text) + current, breakchar, breakchar_len)) { in PHP_FUNCTION()

Completed in 271 milliseconds

1234