Home
last modified time | relevance | path

Searched refs:file_reader (Results 1 – 15 of 15) sorted by relevance

/external/ceres-solver/examples/
Dlibmv_bundle_adjuster.cc334 void ReadMatrix3x3(const EndianAwareFileReader &file_reader, in ReadMatrix3x3() argument
337 (*matrix)(i % 3, i / 3) = file_reader.Read<float>(); in ReadMatrix3x3()
342 void ReadVector3(const EndianAwareFileReader &file_reader, in ReadVector3() argument
345 (*vector)(i) = file_reader.Read<float>(); in ReadVector3()
372 EndianAwareFileReader file_reader; in ReadProblemFromFile() local
373 if (!file_reader.OpenFile(file_name)) { in ReadProblemFromFile()
378 unsigned char is_image_space_flag = file_reader.Read<unsigned char>(); in ReadProblemFromFile()
389 camera_intrinsics[i] = file_reader.Read<float>(); in ReadProblemFromFile()
393 int number_of_cameras = file_reader.Read<int>(); in ReadProblemFromFile()
397 camera.image = file_reader.Read<int>(); in ReadProblemFromFile()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
Dmain.py146 file_reader = TextFileReader(host.filesystem, style_processor)
149 file_reader.process_paths(paths)
153 patch_checker = PatchReader(file_reader)
157 file_count = file_reader.file_count
158 delete_only_file_count = file_reader.delete_only_file_count
Dpatchreader_unittest.py57 file_reader = self.MockTextFileReader()
58 self._file_reader = file_reader
59 self._patch_checker = PatchReader(file_reader)
/external/chromium_org/extensions/browser/
Dfile_reader_unittest.cc68 scoped_refptr<FileReader> file_reader( in RunBasicTest() local
70 file_reader->Start(); in RunBasicTest()
96 scoped_refptr<FileReader> file_reader( in TEST_F() local
98 file_reader->Start(); in TEST_F()
DBUILD.gn341 "file_reader.cc",
342 "file_reader.h",
/external/chromium_org/chrome/browser/chromeos/drive/
Ddrive_file_stream_reader.cc95 scoped_ptr<util::LocalFileReader> file_reader, int64 length) in LocalReaderProxy() argument
96 : file_reader_(file_reader.Pass()), in LocalReaderProxy()
427 scoped_ptr<util::LocalFileReader> file_reader( in InitializeAfterGetFileContentInitialized() local
429 util::LocalFileReader* file_reader_ptr = file_reader.get(); in InitializeAfterGetFileContentInitialized()
439 base::Passed(&file_reader))); in InitializeAfterGetFileContentInitialized()
446 scoped_ptr<util::LocalFileReader> file_reader, in InitializeAfterLocalFileOpen() argument
456 new internal::LocalReaderProxy(file_reader.Pass(), length)); in InitializeAfterLocalFileOpen()
Ddrive_file_stream_reader_unittest.cc68 scoped_ptr<util::LocalFileReader> file_reader( in TEST_F() local
71 file_reader->Open(file_path_, 0, callback.callback()); in TEST_F()
75 LocalReaderProxy proxy(file_reader.Pass(), file_content_.size()); in TEST_F()
89 scoped_ptr<util::LocalFileReader> file_reader( in TEST_F() local
92 file_reader->Open(file_path_, 0, callback.callback()); in TEST_F()
96 LocalReaderProxy proxy(file_reader.Pass(), expected_content.size()); in TEST_F()
Ddrive_file_stream_reader.h61 scoped_ptr<util::LocalFileReader> file_reader, int64 length);
198 scoped_ptr<util::LocalFileReader> file_reader,
/external/chromium_org/content/browser/loader/
Dupload_data_stream_builder_unittest.cc42 const net::UploadFileElementReader* file_reader = reader.AsFileReader(); in AreElementsEqual() local
43 return file_reader && in AreElementsEqual()
44 file_reader->path() == element.path() && in AreElementsEqual()
45 file_reader->range_offset() == element.offset() && in AreElementsEqual()
46 file_reader->range_length() == element.length() && in AreElementsEqual()
47 file_reader->expected_modification_time() == in AreElementsEqual()
/external/webrtc/test/testsupport/
Dframe_reader_unittest.cc67 FrameReaderImpl file_reader(kInputFilename, kFrameLength); in TEST_F() local
68 ASSERT_FALSE(file_reader.ReadFrame(buffer)); in TEST_F()
/external/chromium_org/third_party/webrtc/test/testsupport/
Dframe_reader_unittest.cc67 FrameReaderImpl file_reader(kInputFilename, kFrameLength); in TEST_F() local
68 ASSERT_FALSE(file_reader.ReadFrame(buffer)); in TEST_F()
/external/chromium_org/chrome/browser/sessions/
Dsession_backend.cc259 SessionFileReader file_reader(GetLastSessionPath()); in ReadLastSessionCommandsImpl() local
260 return file_reader.Read(type_, commands); in ReadLastSessionCommandsImpl()
300 SessionFileReader file_reader(GetCurrentSessionPath()); in ReadCurrentSessionCommandsImpl() local
301 return file_reader.Read(type_, commands); in ReadCurrentSessionCommandsImpl()
/external/chromium_org/extensions/browser/api/web_request/
Dupload_data_presenter.cc71 const net::UploadFileElementReader* file_reader = reader.AsFileReader(); in FeedNext() local
72 FeedNextFile(file_reader->path().AsUTF8Unsafe()); in FeedNext()
/external/chromium_org/extensions/browser/api/
Dexecute_code_function.cc217 scoped_refptr<FileReader> file_reader(new FileReader( in RunAsync() local
219 file_reader->Start(); in RunAsync()
/external/chromium_org/extensions/
Dextensions.gyp662 'browser/file_reader.cc',
663 'browser/file_reader.h',