• Home
  • Raw
  • Download

Lines Matching refs:end

90     uint8_t* end = begin + size;  in TEST_F()  local
91 EXPECT_EQ(end, std::search(begin, end, key_data, key_data + array_size(key_data))); in TEST_F()
121 uint8_t* end = begin + size; in TEST_F() local
122 auto nonce_ptr = std::search(begin, end, nonce, nonce + array_size(nonce)); in TEST_F()
123 ASSERT_NE(nonce_ptr, end); in TEST_F()
124 EXPECT_EQ(end, std::search(nonce_ptr + 1, end, nonce, nonce + array_size(nonce))); in TEST_F()
141 uint8_t* end = begin + size; in TEST_F() local
142 auto tag_ptr = std::search(begin, end, blob_->tag(), blob_->tag() + KeyBlob::TAG_LENGTH); in TEST_F()
143 ASSERT_NE(tag_ptr, end); in TEST_F()
144 EXPECT_EQ(end, std::search(tag_ptr + 1, end, blob_->tag(), blob_->tag() + KeyBlob::TAG_LENGTH)); in TEST_F()
161 uint8_t* end = begin + size; in TEST_F() local
163 std::search(begin, end, blob_->encrypted_key_material(), in TEST_F()
165 ASSERT_NE(ciphertext_ptr, end); in TEST_F()
166 EXPECT_EQ(end, std::search(ciphertext_ptr + 1, end, blob_->encrypted_key_material(), in TEST_F()
199 uint8_t* end = begin + size; in TEST_F() local
207 std::search(begin, end, enforced_data.get(), enforced_data.get() + enforced_size); in TEST_F()
208 ASSERT_NE(end, enforced_ptr); in TEST_F()
209 EXPECT_EQ(end, std::search(enforced_ptr + 1, end, enforced_data.get(), in TEST_F()
224 uint8_t* end = begin + size; in TEST_F() local
232 std::search(begin, end, unenforced_data.get(), unenforced_data.get() + unenforced_size); in TEST_F()
233 ASSERT_NE(end, unenforced_ptr); in TEST_F()
234 EXPECT_EQ(end, std::search(unenforced_ptr + 1, end, unenforced_data.get(), in TEST_F()
249 uint8_t* end = begin + size; in TEST_F() local
264 uint8_t* end = begin + size; in TEST_F() local
281 uint8_t* end = begin + size; in TEST_F() local