Searched refs:image_path (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/ui/resources/resource_check/
H A Dresource_scale_factors.py101 image_path = self.input_api.os_path.join(self.paths[i][1], f)
102 if not os.path.exists(image_path):
107 scaled_dimensions = ImageSize(image_path)
110 self.input_api.os_path.join(repository_path, image_path)))
118 self.input_api.os_path.join(repository_path, image_path),
/external/oprofile/libutil++/
H A Dop_spu_bfd.cpp63 string const image_path = local
66 cverb << vbfd << "op_bfd ctor for " << image_path << endl;
70 fd = open(image_path.c_str(), O_RDONLY);
72 cverb << vbfd << "open failed for " << image_path << endl;
78 cverb << vbfd << "stat failed for " << image_path << endl;
84 ibfd.abfd = spu_open_bfd(image_path, fd, spu_offset);
87 cverb << vbfd << "fdopen_bfd failed for " << image_path << endl;
H A Dop_bfd.cpp119 string const image_path = local
122 cverb << vbfd << "op_bfd ctor for " << image_path << endl;
126 cverb << vbfd << "can't locate " << image_path << endl;
130 fd = open(image_path.c_str(), O_RDONLY);
132 cverb << vbfd << "open failed for " << image_path << endl;
138 cverb << vbfd << "stat failed for " << image_path << endl;
145 ibfd.abfd = fdopen_bfd(image_path, fd);
148 cverb << vbfd << "fdopen_bfd failed for " << image_path << endl;
/external/chromium_org/content/test/gpu/gpu_tests/
H A Dpixel.py130 image_path = os.path.join(img_dir, img_name)
132 self._DeleteOldReferenceImages(image_path, cur_revision)
134 image_path = image_path + '_' + str(cur_revision) + '.png'
137 ref_png = bitmap.Bitmap.FromPngFile(image_path)
146 self._WriteImage(image_path, screenshot)
H A Dcloud_storage_test_base.py71 def _WriteImage(self, image_path, png_image):
72 output_dir = os.path.dirname(image_path)
75 png_image.WritePngFile(image_path)
/external/chromium_org/content/test/
H A Dimage_decoder_test.cc164 const base::FilePath& image_path,
169 if (ShouldImageFail(image_path))
174 ReadFileToVector(image_path, &image_contents);
192 EXPECT_FALSE(decoder->isFailed()) << image_path.value();
199 if (ShouldImageFail(image_path)) {
203 EXPECT_FALSE(decoder->isFailed()) << image_path.value();
207 VerifyImage(*decoder, image_path, md5_sum_path, desired_frame_index);
163 TestWebKitImageDecoder( const base::FilePath& image_path, const base::FilePath& md5_sum_path, int desired_frame_index) const argument
H A Dimage_decoder_test.h52 // Tests if decoder decodes image at image_path with underlying frame at
55 void TestWebKitImageDecoder(const base::FilePath& image_path,
/external/oprofile/pp/
H A Dcommon_option.h27 extern std::vector<std::string> image_path;
H A Doparchive_options.cpp100 profile_spec::create(spec.common, image_path, root_path);
H A Dopgprof_options.cpp113 profile_spec::create(spec.common, options::image_path,
H A Dopreport_options.cpp253 profile_spec::create(spec, options::image_path,
298 if (!image_path.empty())
299 xml_utils::add_option(IMAGE_PATH, image_path);
H A Dopannotate_options.cpp125 profile_spec::create(spec.common, options::image_path,
/external/chromium_org/third_party/skia/tools/
H A Dfind_bad_images_in_skps.py125 image_path = os.path.join(temp_image_dir, image_name)
126 assert(os.path.isfile(image_path))
127 args = [self.test_image_decoder, image_path]
130 os.remove(image_path)
133 shutil.move(image_path, self.saved_image_dir)
137 os.remove(image_path)
/external/skia/tools/
H A Dfind_bad_images_in_skps.py125 image_path = os.path.join(temp_image_dir, image_name)
126 assert(os.path.isfile(image_path))
127 args = [self.test_image_decoder, image_path]
130 os.remove(image_path)
133 shutil.move(image_path, self.saved_image_dir)
137 os.remove(image_path)
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
H A Duser_image_manager_impl.cc161 const base::FilePath& image_path) {
176 base::WriteFile(image_path,
208 // Loads the image at |image_path| or one of the default images,
211 void LoadImage(base::FilePath image_path,
294 void UserImageManagerImpl::Job::LoadImage(base::FilePath image_path, argument
302 image_path_ = image_path;
312 // Load the user image from a file referenced by |image_path|. This happens
552 std::string image_path; local
553 image_properties->GetString(kImagePathNodeName, &image_path);
561 DCHECK(!image_path
160 SaveImage(const user_manager::UserImage& user_image, const base::FilePath& image_path) argument
592 std::string image_path; local
976 std::string image_path; local
[all...]
H A Duser_image_manager_browsertest.cc139 const base::FilePath& image_path) {
145 "path" , new base::StringValue(image_path.value()));
153 const base::FilePath& image_path) {
163 EXPECT_EQ(image_path.value(), actual_image_path);
176 // Verifies that old user image info matches |image_index| and |image_path|
180 const base::FilePath& image_path) {
182 username, image_index, image_path);
187 // Verifies that new user image info matches |image_index| and |image_path|
191 const base::FilePath& image_path) {
193 username, image_index, image_path);
137 SetOldUserImageInfo(const std::string& username, int image_index, const base::FilePath& image_path) argument
150 ExpectUserImageInfo(const base::DictionaryValue* images_pref, const std::string& username, int image_index, const base::FilePath& image_path) argument
178 ExpectOldUserImageInfo(const std::string& username, int image_index, const base::FilePath& image_path) argument
189 ExpectNewUserImageInfo(const std::string& username, int image_index, const base::FilePath& image_path) argument
201 base::FilePath image_path = GetUserImagePath(username, "png"); local
[all...]
/external/chromium_org/chrome/utility/image_writer/
H A Dimage_writer.h33 const base::FilePath& image_path,
H A Dimage_writer.cc24 const base::FilePath& image_path,
26 : image_path_(image_path),
23 ImageWriter(ImageWriterHandler* handler, const base::FilePath& image_path, const base::FilePath& device_path) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_info_cache.cc86 const base::FilePath& image_path,
91 base::FilePath dir = image_path.DirName();
97 if (base::WriteFile(image_path, reinterpret_cast<char*>(&(*data)[0]),
109 void ReadBitmap(const base::FilePath& image_path, argument
115 if (!base::PathExists(image_path))
119 if (!base::ReadFileToString(image_path, &image_data)) {
134 void DeleteBitmap(const base::FilePath& image_path) { argument
136 base::DeleteFile(image_path, false);
383 base::FilePath image_path = path.AppendASCII(file_name);
384 return LoadAvatarPictureFromPath(key, image_path);
85 SaveBitmap(scoped_ptr<ImageData> data, const base::FilePath& image_path, const base::Closure& callback) argument
647 base::FilePath image_path = path.AppendASCII(old_file_name); local
655 base::FilePath image_path = path.AppendASCII(new_file_name); local
863 SaveAvatarImageAtPath( const gfx::Image* image, const std::string& key, const base::FilePath& image_path, const base::FilePath& profile_path) argument
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dmock_drt.py246 image_path = root + '-actual.png'
247 if port._filesystem.exists(image_path):
248 actual_image = port._filesystem.read_binary_file(image_path)
249 with port._filesystem.open_binary_file_for_reading(image_path) as filehandle:
/external/oprofile/libpp/
H A Dprofile_spec.h42 std::vector<std::string> const & image_path,
H A Dprofile_spec.cpp303 vector<string> const & image_path,
332 vector<string>::const_iterator ip_it = image_path.begin();
333 for ( ; ip_it != image_path.end(); ++ip_it) {
342 spec.extra_found_images.populate(image_path, spec.get_archive_path(),
302 create(list<string> const & args, vector<string> const & image_path, string const & root_path) argument
/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dtheme_handler.cc203 base::FilePath image_path = extension->path().Append( local
205 if (!base::PathExists(image_path)) {
208 image_path.LossyDisplayName());
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dapp_indicator_icon.cc176 const base::FilePath& image_path) {
178 image_path.DirName().DirName().DirName().DirName().value() :
179 image_path.DirName().value();
175 GetIconThemePath(bool using_kde4, const base::FilePath& image_path) argument
/external/chromium_org/third_party/skia/tools/skpdiff/
H A Dskpdiff_server.py99 def download_gm_image(image_name, image_path, hash_val):
103 @param image_path Path to place the image.
118 download_file(image_url, image_path)
404 for image_path in rebaselines:
406 is_actual, expectation = self.image_map[image_path]

Completed in 757 milliseconds

12