Searched refs:data2 (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/scripts/ |
D | blockdiff.py | 56 data2 = file2.read(read_length) 57 if len(data1) != len(data2): 59 (len(data1), name1, len(data2), name2)) 61 if data1 != data2:
|
/system/unwinding/libunwindstack/ |
D | RegsX86_64.cpp | 144 uint8_t data2; in StepIfSignalHandler() local 145 if (!elf_memory->ReadFully(elf_offset + 8, &data2, sizeof(data2)) || data2 != 0x05) { in StepIfSignalHandler()
|
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
D | test_v2.cpp | 306 std::string data2 = "This is test data-3. Testing replace ops"; in TEST_P() local 307 data2.resize(options.block_size * 259, '\0'); in TEST_P() 308 ASSERT_TRUE(writer.AddRawBlocks(6000, data2.data(), data2.size())); in TEST_P() 348 data2.resize(options.block_size); in TEST_P() 349 std::string sink(data2.size(), '\0'); in TEST_P() 351 ASSERT_EQ(sink, data2); in TEST_P() 380 std::string data2 = "Testing odd blocks without batch writes"; in TEST_P() local 381 data2.resize(options.block_size * 111, '\0'); in TEST_P() 382 ASSERT_TRUE(writer.AddRawBlocks(3000, data2.data(), data2.size())); in TEST_P() 412 data2.resize(options.block_size); in TEST_P() [all …]
|
D | test_v3.cpp | 837 std::string data2 = "This is test data-3. Testing replace ops"; in TEST_P() local 838 data2.resize(options.block_size * 259, '\0'); in TEST_P() 839 ASSERT_TRUE(writer.AddRawBlocks(6000, data2.data(), data2.size())); in TEST_P() 901 data2.resize(options.block_size); in TEST_P() 902 std::string sink(data2.size(), '\0'); in TEST_P() 904 ASSERT_EQ(sink, data2); in TEST_P()
|
/system/keymint/tests/src/ |
D | lib.rs | 626 let data2 = rpc.derive_bytes_from_hbk(hkdf, context, 16).expect("failed to derive from HBK"); in test_retrieve_rpc_artifacts() localVariable 627 assert_eq!(data1, data2, "derive_bytes_from_hbk() method should be deterministic"); in test_retrieve_rpc_artifacts() 630 let data2 = rpc.compute_hmac_sha256(hmac, hkdf, context).expect("failed to perform HMAC"); in test_retrieve_rpc_artifacts() localVariable 631 assert_eq!(data1, data2, "compute_hmac_sha256() method should be deterministic"); in test_retrieve_rpc_artifacts()
|