Home
last modified time | relevance | path

Searched refs:kImageData (Results 1 – 25 of 29) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/components/image_fetcher/core/
H A Dimage_fetcher_impl_unittest.cc34 constexpr char kImageData[] = "data"; variable
76 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
79 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
90 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
93 EXPECT_CALL(data_callback1, Run(kImageData, _)); in TEST_F()
102 EXPECT_CALL(data_callback2, Run(kImageData, _)); in TEST_F()
112 EXPECT_CALL(data_callback3, Run(kImageData, _)); in TEST_F()
154 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
156 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
168 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
[all …]
H A Dcached_image_fetcher_unittest.cc50 constexpr char kImageData[] = "data"; variable
98 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateCachedImageFetcher()
172 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
180 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
197 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
205 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
224 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
227 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F()
355 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
366 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
[all …]
H A Dreduced_mode_image_fetcher_unittest.cc48 constexpr char kImageData[] = "data"; variable
92 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateReducedModeImageFetcher()
121 EXPECT_CALL(data_callback, Run(kImageData, _)); in VerifyCacheHit()
168 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
176 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/image_fetcher/core/
H A Dimage_fetcher_impl_unittest.cc34 constexpr char kImageData[] = "data"; variable
76 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
79 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
90 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
93 EXPECT_CALL(data_callback1, Run(kImageData, _)); in TEST_F()
102 EXPECT_CALL(data_callback2, Run(kImageData, _)); in TEST_F()
112 EXPECT_CALL(data_callback3, Run(kImageData, _)); in TEST_F()
154 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
156 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
168 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
[all …]
H A Dcached_image_fetcher_unittest.cc50 constexpr char kImageData[] = "data"; variable
98 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateCachedImageFetcher()
171 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
178 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
195 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
202 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
221 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
223 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F()
351 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
362 EXPECT_CALL(data_callback, Run(kImageData, _)); in TEST_F()
[all …]
H A Dreduced_mode_image_fetcher_unittest.cc48 constexpr char kImageData[] = "data"; variable
92 image_cache_->SaveImage(ImageUrl().spec(), kImageData, in CreateReducedModeImageFetcher()
120 EXPECT_CALL(data_callback, Run(kImageData, _)); in VerifyCacheHit()
167 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
174 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/image_fetcher/core/cache/
H A Dimage_cache_unittest.cc39 constexpr char kImageData[] = "data"; variable
203 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F()
208 LoadImage(kImageUrl, kImageData); in TEST_F()
225 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F()
238 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F()
241 LoadImage(kImageUrl, kImageData); in TEST_F()
249 LoadImage(kImageUrl, kImageData); in TEST_F()
263 LoadImage(kImageUrl, kImageData); in TEST_F()
272 LoadImage(kImageUrl, kImageData); in TEST_F()
330 LoadImage(kImageUrl, kImageData); in TEST_F()
[all …]
H A Dimage_data_store_disk_unittest.cc26 constexpr char kImageData[] = "data"; variable
59 AssertDataPresent(key, kImageData, needs_transcoding); in AssertDataPresent()
74 data_store()->SaveImage(key, kImageData, needs_transcoding); in SaveData()
190 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxcodec/gif/
H A Dcfx_lzwdecompressor_unittest.cpp136 static constexpr uint8_t kImageData[] = {0x84, 0x8F, 0xA9, 0xCB, in TEST() local
138 uint32_t image_size = FX_ArraySize(kImageData); in TEST()
156 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
168 static constexpr uint8_t kImageData[] = { in TEST() local
171 uint32_t image_size = FX_ArraySize(kImageData); in TEST()
190 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
203 static constexpr uint8_t kImageData[] = { in TEST() local
207 uint32_t image_size = FX_ArraySize(kImageData); in TEST()
215 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/image_fetcher/core/cache/
H A Dimage_cache_unittest.cc38 constexpr char kImageData[] = "data"; variable
189 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F()
193 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
217 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F()
229 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F()
232 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
246 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
266 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
281 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
346 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
[all …]
H A Dimage_data_store_disk_unittest.cc26 constexpr char kImageData[] = "data"; variable
59 AssertDataPresent(key, kImageData, needs_transcoding); in AssertDataPresent()
74 data_store()->SaveImage(key, kImageData, needs_transcoding); in SaveData()
190 EXPECT_CALL(*this, DataCallback(false, kImageData)); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxcodec/gif/
H A Dcfx_lzwdecompressor_unittest.cpp139 static constexpr uint8_t kImageData[] = {0x84, 0x8F, 0xA9, 0xCB, in TEST() local
141 uint32_t image_size = pdfium::size(kImageData); in TEST()
159 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
171 static constexpr uint8_t kImageData[] = { in TEST() local
174 uint32_t image_size = pdfium::size(kImageData); in TEST()
193 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
206 static constexpr uint8_t kImageData[] = { in TEST() local
210 uint32_t image_size = pdfium::size(kImageData); in TEST()
218 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/offline_pages/
H A Dvisuals_decoder_impl_unittest.cc22 const char kImageData[] = "abc123"; variable
40 EXPECT_CALL(*image_decoder, DecodeImage(kImageData, _, _)) in TEST_F()
51 visuals_decoder->DecodeAndCropImage(kImageData, complete_callback.Get()); in TEST_F()
56 EXPECT_CALL(*image_decoder, DecodeImage(kImageData, _, _)) in TEST_F()
65 visuals_decoder->DecodeAndCropImage(kImageData, complete_callback.Get()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feed/core/
H A Dfeed_image_manager_unittest.cc37 const char kImageData[] = "pie image"; variable
102 decoder->SetExpectedData(kImageData); in SetUp()
170 image_database()->SaveImage(kImageURL, kImageData); in TEST_F()
189 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
202 EXPECT_CALL(*this, OnImageLoaded(kImageData)); in TEST_F()
226 test_url_loader_factory()->AddResponse(kImageURL, kImageData, in TEST_F()
252 image_database()->SaveImage(kImageURL, kImageData); in TEST_F()
255 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
314 image_database()->SaveImage(kImageURL, kImageData); in TEST_F()
332 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/ntp_snippets/remote/
H A Dcached_image_fetcher_unittest.cc39 const char kImageData[] = "data"; variable
162 database()->SaveImage(kSnippetID, kImageData); in TEST_P()
167 Fetch(kImageData, true); in TEST_P()
173 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_P()
174 Fetch(kImageData, true); in TEST_P()
179 Fetch(kImageData, true); in TEST_P()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/ntp_snippets/remote/
H A Dcached_image_fetcher_unittest.cc39 const char kImageData[] = "data"; variable
162 database()->SaveImage(kSnippetID, kImageData); in TEST_P()
167 Fetch(kImageData, true); in TEST_P()
173 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_P()
174 Fetch(kImageData, true); in TEST_P()
179 Fetch(kImageData, true); in TEST_P()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/web/
H A Dimage_fetch_tab_helper_unittest.mm29 const char kImageData[] = "abc";
61 status.decoded_body_length = strlen(kImageData);
63 kImageData, status);
72 return [base::SysUTF8ToNSString(kImageData)
84 // Inject fake |__gCrWeb.imageFetch.getImageData| that returns |kImageData|
92 kImageData]);
114 // Inject fake |__gCrWeb.imageFetch.getImageData| that returns |kImageData|
122 kImageData]);
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feedback/
H A Dfeedback_data_unittest.cc28 constexpr char kImageData[] = "Image Data"; variable
110 data_->set_image(kImageData); in TEST_F()
122 data_->set_image(kImageData); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/page_image_annotation/content/renderer/
H A Dcontent_page_annotator_driver_unittest.cc60 constexpr char kImageData[] = "image/png;base64,ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in TEST() local
67 page_url, base::StrCat({"data:", kImageData})), in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/page_image_annotation/content/renderer/
H A Dcontent_page_annotator_driver_unittest.cc60 constexpr char kImageData[] = "image/png;base64,ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in TEST() local
67 page_url, base::StrCat({"data:", kImageData})), in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feedback/
H A Dfeedback_data_unittest.cc28 constexpr char kImageData[] = "Image Data"; variable
99 data_->set_image(kImageData); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/dom_distiller/core/
H A Ddistiller_unittest.cc55 const char* kImageData[kTotalImages] = {"abcde", "12345", "VWXYZ"}; variable
212 EXPECT_EQ(kImageData[image_ids_for_page[img_num]], in VerifyArticleProtoMatchesMultipageData()
241 responses_[kImageURLs[0]] = std::string(kImageData[0]); in TestDistillerURLFetcher()
242 responses_[kImageURLs[1]] = std::string(kImageData[1]); in TestDistillerURLFetcher()
444 EXPECT_EQ(kImageData[0], first_page.image(0).data()); in TEST_F()
452 EXPECT_EQ(kImageData[1], first_page.image(1).data()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/dom_distiller/core/
H A Ddistiller_unittest.cc59 const char* kImageData[kTotalImages] = {"abcde", "12345", "VWXYZ"}; variable
214 EXPECT_EQ(kImageData[image_ids_for_page[img_num]], in VerifyArticleProtoMatchesMultipageData()
243 responses_[kImageURLs[0]] = string(kImageData[0]); in TestDistillerURLFetcher()
244 responses_[kImageURLs[1]] = string(kImageData[1]); in TestDistillerURLFetcher()
446 EXPECT_EQ(kImageData[0], first_page.image(0).data()); in TEST_F()
454 EXPECT_EQ(kImageData[1], first_page.image(1).data()); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/paint/
H A Dpaint_op_writer.cc251 Write(static_cast<uint8_t>(PaintOp::SerializedImageType::kImageData)); in Write()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/paint/
H A Dpaint_op_writer.cc251 Write(static_cast<uint8_t>(PaintOp::SerializedImageType::kImageData)); in Write()

12