/PHP-7.4/Zend/tests/ |
H A D | 004.phpt | 2 strncmp() tests 6 var_dump(strncmp("", "")); 7 var_dump(strncmp("", "", 100)); 8 var_dump(strncmp("aef", "dfsgbdf", -1)); 9 var_dump(strncmp("fghjkl", "qwer", 0)); 10 var_dump(strncmp("qwerty", "qwerty123", 6)); 11 var_dump(strncmp("qwerty", "qwerty123", 7)); 16 Warning: strncmp() expects exactly 3 parameters, 2 given in %s on line %d
|
/PHP-7.4/Zend/ |
H A D | zend_builtin_functions.c | 37 static ZEND_FUNCTION(strncmp); 249 ZEND_FE(strncmp, arginfo_strncmp) 614 ZEND_FUNCTION(strncmp) in ZEND_FUNCTION() argument
|
H A D | zend_virtual_cwd.c | 802 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/curl/ |
H A D | interface.c | 161 …if (len > sizeof("file://") - 1 && '/' != url[sizeof("file://") - 1] && !strncmp("file://", url, s… in php_curl_option_url()
|
/PHP-7.4/ext/dba/ |
H A D | dba_db4.c | 50 && (!strncmp(msg, "fop_read_meta", sizeof("fop_read_meta")-1) in php_dba_db4_errcall_fcn() 51 || !strncmp(msg, "BDB0004 fop_read_meta", sizeof("BDB0004 fop_read_meta")-1))) { in php_dba_db4_errcall_fcn()
|
/PHP-7.4/ext/exif/ |
H A D | exif.c | 3182 && strncmp(maker_note->id_string, value_ptr, maker_note->id_string_len)) in exif_process_IFD_in_MAKERNOTE()
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 4575 if (strncmp(code_pos, "#define FFI_SCOPE", sizeof("#define FFI_SCOPE") - 1) == 0 in zend_ffi_parse_directives() 4622 } else if (strncmp(code_pos, "#define FFI_LIB", sizeof("#define FFI_LIB") - 1) == 0 in zend_ffi_parse_directives()
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 270 if (strncmp(l, p->name, p->len) == 0) { in get_type() 1577 if (strncmp(l, p->name, p->len) == 0 && in get_cond()
|
H A D | apptype.c | 132 if (strncmp((const char *)buf, "MZ", 2)) in file_os2_apptype()
|
H A D | der.c | 300 if (strncmp(buf, s, slen) != 0) in der_cmp()
|
H A D | is_tar.c | 126 if (strncmp(header->header.magic, GNUTMAGIC, in is_tar() 130 if (strncmp(header->header.magic, TMAGIC, in is_tar()
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_gif_in.c | 158 if (strncmp((char *)buf,"GIF",3) != 0) { in gdImageCreateFromGifCtx()
|
H A D | gd_jpeg.c | 454 …if ((marker->marker == (JPEG_APP0 + 14)) && (marker->data_length >= 12) && (!strncmp((const char *… in gdImageCreateFromJpegCtxEx()
|
H A D | gdkanji.c | 206 else if (strncmp (lang, "ja", 2) == 0) in DetectKanjiCode()
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.c | 780 if (strncmp(qlist->name, "STORAGE", 7) == 0) in mail_getquota() 5026 if (strncmp(str, "[ALERT] ", 8) == 0) { in mm_notify()
|
/PHP-7.4/ext/intl/locale/ |
H A D | locale_methods.c | 803 if( strncmp(key_name , LOC_PRIVATE_TAG , 7) == 0 ){ in add_prefix() 1502 …if(cur_arr[i*2] != NULL && strlen(cur_arr[i*2]) == saved_pos && strncmp(cur_loc_range, cur_arr[i*2… in lookup_loc_range()
|
/PHP-7.4/ext/json/ |
H A D | json_scanner.re | 177 int cmp = strncmp((char *) (s->token + negative), LONG_MIN_DIGITS, PHP_JSON_INT_MAX_LENGTH);
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 1447 && !strncmp(p, MARIA_DB_VERSION_HACK_PREFIX, sizeof(MARIA_DB_VERSION_HACK_PREFIX)-1))
|
/PHP-7.4/ext/oci8/ |
H A D | oci8_statement.c | 409 …} else if (((int) column->name_len == column_name_len) && (!strncmp(column->name, column_name, col… in php_oci_statement_get_column()
|
/PHP-7.4/ext/odbc/ |
H A D | php_odbc.c | 1543 if (!strncmp(state,"S1015",5)) { in PHP_FUNCTION()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_shared_alloc.c | 173 if (strncmp(ZCG(accel_directives).memory_model, "cgi", sizeof("cgi")) == 0) { in zend_shared_alloc_startup()
|
/PHP-7.4/ext/openssl/ |
H A D | xp_ssl.c | 2696 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/ext/pcre/pcre2lib/ |
H A D | pcre2_compile.c | 4553 PRIV(strncmp)(name, ng->name, (PCRE2_SIZE)namelen) == 0) in parse_regex() 5211 if (PRIV(strncmp)(name, slot+IMM2_SIZE, length) == 0 && in find_dupname_details() 5240 if (PRIV(strncmp)(name, slot+IMM2_SIZE, length) != 0 || in find_dupname_details() 6244 PRIV(strncmp)(name, ng->name, length) == 0) in compile_branch() 6664 PRIV(strncmp)(name, ng->name, length) == 0) in compile_branch() 9196 if (length == ng->length && PRIV(strncmp)(name, ng->name, length) == 0) in get_branchlength()
|
H A D | pcre2_internal.h | 186 #define strncmp(s1,s2,m) _strncmp(s1,s2,m) macro
|
H A D | pcre2_string_utils.c | 157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV() argument
|