/bionic/libc/bionic/ |
fdsan.cpp | 269 int android_fdsan_close_with_tag(int fd, uint64_t expected_tag) { 275 uint64_t tag = expected_tag; 277 const char* expected_type = android_fdsan_get_tag_type(expected_tag); 278 uint64_t expected_owner = android_fdsan_get_tag_value(expected_tag); 281 if (expected_tag && tag) { 286 } else if (expected_tag && !tag) { 291 } else if (!expected_tag && tag) { 296 } else if (!expected_tag && !tag) { 304 if (expected_tag && rc == -1 && errno == EBADF) { 318 void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) [all...] |
/external/openssh/ |
cipher-chachapoly.c | 57 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; local 74 poly1305_auth(expected_tag, src, aadlen + len, poly_key); 75 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { 99 explicit_bzero(expected_tag, sizeof(expected_tag));
|
/external/python/cpython3/Lib/test/test_importlib/ |
test_windows.py | 93 expected_tag = ".cp{0.major}{0.minor}-{1}.pyd".format(sys.version_info, 99 expected_tag = "_d" + expected_tag 101 self.assertIn(expected_tag, suffixes) 104 tagged_i = suffixes.index(expected_tag)
|
/bionic/libc/include/android/ |
fdsan.h | 136 * Logs and aborts if the fd's tag does not match expected_tag. 138 void android_fdsan_exchange_owner_tag(int fd, uint64_t expected_tag, uint64_t new_tag) __INTRODUCED_IN(29) __attribute__((__weak__));
|
/external/libusb/examples/ |
xusb.c | 371 static int get_mass_storage_status(libusb_device_handle *handle, uint8_t endpoint, uint32_t expected_tag) 394 if (csw.dCSWTag != expected_tag) { 396 expected_tag, csw.dCSWTag); 401 if (csw.dCSWTag != expected_tag) 422 uint32_t expected_tag; local 433 send_mass_storage_command(handle, endpoint_out, 0, cdb, LIBUSB_ENDPOINT_IN, REQUEST_SENSE_LENGTH, &expected_tag); 450 get_mass_storage_status(handle, endpoint_in, expected_tag); 458 uint32_t expected_tag; local 486 send_mass_storage_command(handle, endpoint_out, lun, cdb, LIBUSB_ENDPOINT_IN, INQUIRY_LENGTH, &expected_tag); 499 if (get_mass_storage_status(handle, endpoint_in, expected_tag) == -2) [all...] |
/external/harfbuzz_ng/test/api/ |
test-ot-tag.c | 483 hb_tag_t expected_tag = hb_tag_from_string (va_arg (expected_tags, const char *), -1); local 485 g_assert_cmphex (actual_tag, ==, expected_tag);
|
/external/boringssl/src/crypto/cipher_extra/ |
e_aesgcmsiv.c | 799 uint8_t expected_tag[EVP_AEAD_AES_GCM_SIV_TAG_LEN]; local 800 gcm_siv_polyval(expected_tag, out, in_len, ad, ad_len, keys.auth_key, nonce); 801 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); 803 if (CRYPTO_memcmp(expected_tag, in_tag, sizeof(expected_tag)) != 0) {
|
/external/autotest/client/cros/crash/ |
user_crash_test.py | 47 def initialize(self, expected_tag='user', expected_version=None, 51 @param expected_tag: Expected tag in crash_reporter log message. 59 self._expected_tag = expected_tag
|
/external/python/cpython3/Lib/test/ |
test_socket.py | [all...] |