/PHP-7.4/Zend/ |
H A D | zend_operators.h | 171 if (!memcmp(needle+1, p+1, needle_len-2)) { in zend_memnstr() 232 if (ne == p[needle_len-1] && !memcmp(needle + 1, p + 1, needle_len - 2)) { in zend_memnrstr()
|
H A D | zend_hash.c | 673 && !memcmp(ZSTR_VAL(p->key), str, len)) { in zend_hash_str_find_bucket() 1436 && !memcmp(ZSTR_VAL(p->key), str, len)) { in zend_hash_str_del_ind() 1480 && !memcmp(ZSTR_VAL(p->key), str, len)) { in zend_hash_str_del() 2569 result = memcmp(ZSTR_VAL(p1->key), ZSTR_VAL(p2->key), ZSTR_LEN(p1->key)); in zend_hash_compare_impl()
|
H A D | zend_operators.c | 2728 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp() 2744 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); in zend_binary_strncmp()
|
H A D | zend_execute_API.c | 1638 memcmp(ZSTR_VAL(*str), name, len) == 0) { in zend_set_local_var_str()
|
/PHP-7.4/ext/gd/ |
H A D | gd.c | 2302 if (!memcmp(data, php_sig_gd2, sizeof(php_sig_gd2))) { in _php_image_type() 2304 } else if (!memcmp(data, php_sig_jpg, sizeof(php_sig_jpg))) { in _php_image_type() 2306 } else if (!memcmp(data, php_sig_png, sizeof(php_sig_png))) { in _php_image_type() 2308 } else if (!memcmp(data, php_sig_gif, sizeof(php_sig_gif))) { in _php_image_type() 2310 } else if (!memcmp(data, php_sig_bmp, sizeof(php_sig_bmp))) { in _php_image_type() 2312 …} else if(!memcmp(data, php_sig_riff, sizeof(php_sig_riff)) && !memcmp(data + sizeof(php_sig_riff)… in _php_image_type()
|
/PHP-7.4/main/ |
H A D | output.c | 579 …if (name_len == ZSTR_LEN(handlers[i]->name) && !memcmp(ZSTR_VAL(handlers[i]->name), name, name_len… in php_output_handler_started() 594 if (handler_new_len != handler_set_len || memcmp(handler_new, handler_set, handler_set_len)) { in php_output_handler_conflict()
|
H A D | rfc1867.c | 597 if (memcmp(needle, ptr, needlen < len ? needlen : len) == 0 && (partial || len >= needlen)) { in php_ap_memstr()
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 177 return memcmp(filename, "file://", sizeof("file://") - 1) == 0 || in is_cacheable_stream_path() 178 memcmp(filename, "phar://", sizeof("phar://") - 1) == 0; in is_cacheable_stream_path() 552 if (!memcmp(ZSTR_VAL(s), str, size)) { in accel_find_interned_string_ex() 1365 …!memcmp(ZSTR_VAL(filename) + ZSTR_LEN(filename) - (sizeof(".phar")-1), ".phar", sizeof(".phar")-1)… in is_phar_file() 1579 memcmp(key, "phar://", sizeof("phar://") - 1) != 0 && in cache_script_in_shared_memory() 1581 memcmp(ZSTR_VAL(new_persistent_script->script.filename), key, key_length) != 0)) { in cache_script_in_shared_memory() 1898 memcmp(ZSTR_VAL(persistent_script->script.filename), "phar://", sizeof("phar://")-1)) { in check_persistent_script_access()
|
H A D | zend_file_cache.c | 1558 if (memcmp(info.magic, "OPCACHE", 8) != 0) { 1566 if (memcmp(info.system_id, accel_system_id, 32) != 0) {
|
H A D | zend_accelerator_module.c | 93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_match.c | 467 if (memcmp(p, eptr, CU2BYTES(length)) != 0) return -1; /* No match */ in match_ref() 1231 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match() 1234 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match() 1253 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) Feptr += Flength; in match() 1256 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match() 1273 memcmp(Feptr, Lcharptr, CU2BYTES(Flength)) == 0) in match() 1277 memcmp(Feptr, Foccu, CU2BYTES(Loclength)) == 0) in match()
|
H A D | pcre2_internal.h | 187 #define memcmp(s,c,n) _memcmp(s,c,n) macro
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | compress.c | 244 zm = memcmp(buf, compr[i].magic, compr[i].maglen) == 0; in file_zmagic()
|
/PHP-7.4/ext/standard/ |
H A D | url_scanner_ex.re | 898 if (!memcmp(end, PG(arg_separator).output, separator_len)) { 913 && !memcmp(start - separator_len, PG(arg_separator).output, separator_len)) {
|
H A D | string.c | 1590 memcmp(cend - sufflen, suffix, sufflen) == 0) { 3275 …} else if (needle_len > ZSTR_LEN(haystack) || memcmp(ZSTR_VAL(haystack), needle, ZSTR_LEN(haystack… 3374 if (memcmp(lc_haystack, ZSTR_VAL(lc_needle), ZSTR_LEN(lc_needle))) { 3450 } else if (needle_len > length || memcmp(haystack, needle, length)) { 5001 if (len == ZSTR_LEN(loc) && !memcmp(ZSTR_VAL(loc), retval, len)) { 5009 } else if (len == ZSTR_LEN(loc) && !memcmp(ZSTR_VAL(loc), retval, len)) {
|
/PHP-7.4/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 751 if (*filename && memcmp(filename, ":memory:", sizeof(":memory:"))) { in make_filename_safe()
|
/PHP-7.4/ext/soap/ |
H A D | php_sdl.c | 130 memcmp(ns, SOAP_1_1_ENC_NAMESPACE, sizeof(SOAP_1_1_ENC_NAMESPACE)-1) == 0) || in get_encoder() 132 memcmp(ns, SOAP_1_2_ENC_NAMESPACE, sizeof(SOAP_1_2_ENC_NAMESPACE)-1) == 0))) { in get_encoder() 278 if (l1 != l2 || memcmp(ctx->sdl->source, uri, l1) != 0) { in sdl_set_uri_credentials() 1431 memcmp(enc->details.ns, SOAP_1_1_ENC_NAMESPACE, sizeof(SOAP_1_1_ENC_NAMESPACE)-1) == 0) || in sdl_deserialize_encoder() 1433 memcmp(enc->details.ns, SOAP_1_2_ENC_NAMESPACE, sizeof(SOAP_1_2_ENC_NAMESPACE)-1) == 0))) { in sdl_deserialize_encoder()
|
/PHP-7.4/ext/session/ |
H A D | session.c | 479 && !memcmp(ZSTR_VAL(val), ZSTR_VAL(PS(session_vars)), ZSTR_LEN(val)) in php_session_save_current_state() 3210 if (name_len == progress->sname_len && memcmp(data->name, PS(session_name), name_len) == 0) { in php_session_rfc1867_callback() 3213 …} else if (name_len == strlen(PS(rfc1867_name)) && memcmp(data->name, PS(rfc1867_name), name_len +… in php_session_rfc1867_callback()
|
/PHP-7.4/sapi/cgi/ |
H A D | cgi_main.c | 1659 memcmp(var, "CONTENT_TYPE", sizeof("CONTENT_TYPE")-1) == 0) { 1662 memcmp(var, "CONTENT_LENGTH", sizeof("CONTENT_LENGTH")-1) == 0) {
|
/PHP-7.4/ext/sqlite3/ |
H A D | sqlite3.c | 121 memcmp(filename, ":memory:", sizeof(":memory:")-1) != 0)) { in PHP_METHOD() 2285 if (memcmp(arg3, ":memory:", sizeof(":memory:")) && *arg3) { in php_sqlite3_authorizer()
|
/PHP-7.4/ext/phar/ |
H A D | func_interceptors.c | 608 …if (PHAR_G(last_phar) && fname_len - 7 >= PHAR_G(last_phar_name_len) && !memcmp(fname + 7, PHAR_G(… in phar_file_stat()
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 4290 ZEND_METHOD(FFI, memcmp) /* {{{ */ in ZEND_METHOD() argument 4354 ret = memcmp(ptr1, ptr2, size); in ZEND_METHOD() 4561 ZEND_ME(FFI, memcmp, arginfo_func_memcmp, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 6432 if (memcmp(name, names[id].name, name_len) == 0) { 6515 if (memcmp(name, names[id].name, name_len) == 0) { 6607 if (name_len == sizeof("align")-1 && memcmp(name, "align", sizeof("align")-1) == 0) {
|
/PHP-7.4/ext/oci8/ |
H A D | oci8.c | 1884 (memcmp(ZSTR_VAL(tmp->hash_key), ZSTR_VAL(hashed_details.s), in php_oci_do_connect_ex() 2955 …memcmp(ZSTR_VAL(((php_oci_spool *)(spool_out_le->ptr))->spool_hash_key), ZSTR_VAL(spool_hashed_det… in php_oci_get_spool()
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapilib.c | 666 if ( memcmp( *pBegin, "\0\0\0\0", 4 ) != 0 ) in parseEnv() 1100 if ( memcmp( achMD5, pAuth + 16, 16 ) == 0 ) in lsapi_suexec_auth()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | dfa_pass.c | 402 …&& memcmp(ZSTR_VAL(call_info->callee_func->common.function_name), "in_array", sizeof("in_array")-1… in zend_dfa_optimize_calls()
|