/external/chromium_org/third_party/webrtc/video_engine/ |
vie_file_image.cc | 32 FILE* image_file = fopen(file_nameUTF8, "rb"); local 33 if (!image_file) { 36 if (fseek(image_file, 0, SEEK_END) != 0) { 37 fclose(image_file); 40 int buffer_size = ftell(image_file); 42 fclose(image_file); 46 if (fseek(image_file, 0, SEEK_SET) != 0) { 47 fclose(image_file); 52 image_buffer._size, image_file)) { 53 fclose(image_file); [all...] |
/external/qemu/android/filesystems/ |
partition_types.h | 38 AndroidPartitionType androidPartitionType_probeFile(const char* image_file); 40 // Create or reset the file at |image_file| to be an empty partition of type 45 const char* image_file);
|
partition_types.cpp | 55 AndroidPartitionType androidPartitionType_probeFile(const char* image_file) { 56 if (!path_exists(image_file)) { 59 if (android_pathIsExt4PartitionImage(image_file)) {
|
/art/compiler/ |
image_test.cc | 58 ScratchFile image_file(OS::CreateEmptyFile(image_filename.c_str())); 100 bool success_image = writer.Write(image_file.GetFilename(), requested_image_base, 111 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); 190 image_file.Unlink();
|
image_writer.cc | 161 std::unique_ptr<File> image_file(OS::CreateEmptyFile(image_filename.c_str())); 163 if (image_file.get() == NULL) { 167 if (fchmod(image_file->Fd(), 0644) != 0) { 169 image_file->Erase(); 175 if (!image_file->WriteFully(image_->Begin(), image_end_)) { 177 image_file->Erase(); 183 if (!image_file->Write(reinterpret_cast<char*>(image_bitmap_->Begin()), 187 image_file->Erase(); 191 if (image_file->FlushCloseOrErase() != 0) { [all...] |
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
imagediffdb.py | 109 for image_file, image_url in [ 112 if image_file and image_url: 114 _download_file(gs, image_file, image_url) 117 (image_url, image_file))
|
/system/extras/verity/ |
verify_boot_signature.c | 357 * @param image_file Name of the boot image file 359 static int verify(const char *image_file) 366 if (!image_file) { 370 if ((fd = open(image_file, O_RDONLY | O_LARGEFILE)) == -1) {
|
/external/chromium_org/chrome/installer/test/ |
alternate_version_generator.cc | 350 // Updates the version strings and numbers in all of |image_file|'s resources. 351 bool UpdateVersionIfMatch(const base::FilePath& image_file, 362 base::File file(image_file, flags); 368 LOG(WARNING) << "Failed to open \"" << image_file.value() << "\"." 371 file.Initialize(image_file, flags); 389 PLOG(DFATAL) << "Failed to open \"" << image_file.value() << "\"";
|
/external/chromium_org/tools/mac/ |
symbolicate_crash.py | 321 image_file = SYMBOL_IMAGE_MAP[image_name] 322 return os.path.join(base_path, image_file + '.dSYM', 'Contents', 324 os.path.splitext(image_file)[0]) # Chop off the extension.
|
/external/qemu/ |
vl-android.c | 1991 const char* image_file = NULL; local [all...] |
/art/runtime/gc/space/ |
image_space.cc | 239 std::unique_ptr<File> image_file(OS::OpenFileForReading(filename)); 240 if (image_file.get() == nullptr) { 243 const bool success = image_file->ReadFully(image_header, sizeof(ImageHeader)); [all...] |
/external/chromium_org/net/base/ |
file_stream_unittest.cc | 844 base::FilePath image_file = test_dir.Append(FILE_PATH_LITERAL("red.png")); local 848 base::FilePath path = base::InsertImageIntoMediaStore(image_file);
|
/external/chromium_org/base/files/ |
file_util_unittest.cc | 2517 FilePath image_file = data_dir.Append(FILE_PATH_LITERAL("red.png")); local [all...] |