Home
last modified time | relevance | path

Searched refs:file_data_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/content/browser/fileapi/
Dupload_file_system_file_element_reader_unittest.cc56 file_data_.assign(kTestData, kTestData + arraysize(kTestData) - 1); in SetUp()
59 WriteFileSystemFile(kFilename, &file_data_[0], file_data_.size(), in SetUp()
72 EXPECT_EQ(file_data_.size(), reader_->GetContentLength()); in SetUp()
73 EXPECT_EQ(file_data_.size(), reader_->BytesRemaining()); in SetUp()
120 std::vector<char> file_data_; member in content::UploadFileSystemFileElementReaderTest
128 new net::IOBufferWithSize(file_data_.size()); in TEST_F()
134 EXPECT_TRUE(std::equal(file_data_.begin(), file_data_.end(), buf->data())); in TEST_F()
140 const size_t kHalfSize = file_data_.size() / 2; in TEST_F()
141 ASSERT_EQ(file_data_.size(), kHalfSize * 2); in TEST_F()
150 EXPECT_EQ(file_data_.size() - buf->size(), reader_->BytesRemaining()); in TEST_F()
[all …]
/external/chromium_org/tools/ipc_fuzzer/message_lib/
Dmessage_file_reader.cc53 base::StringPiece file_data_; member in ipc_fuzzer::__anon42ffb4330111::Reader
72 if (file_data_.size() < sizeof(T)) { in CutObject()
76 *object = reinterpret_cast<const T*>(file_data_.data()); in CutObject()
77 file_data_.remove_prefix(sizeof(T)); in CutObject()
103 file_data_.set(data, mapped_file_.length()); in MapFile()
109 const char* begin = file_data_.begin(); in ReadMessages()
110 const char* end = file_data_.end(); in ReadMessages()
127 file_data_.remove_prefix(msglen); in ReadMessages()
136 if (name_count > file_data_.size() / sizeof(NameTableEntry)) { in ReadStringTable()
142 string_table_ = file_data_.substr(string_table_offset); in ReadStringTable()
/external/chromium_org/media/ffmpeg/
Dffmpeg_unittest.cc117 CHECK(file_data_.Initialize(path)); in OpenFile()
119 file_data_.data(), file_data_.length(), false)); in OpenFile()
394 base::MemoryMappedFile file_data_; member in media::FFmpegTest
/external/chromium_org/media/filters/
Dpipeline_integration_test.cc396 file_data_ = ReadTestDataFile(filename); in MockMediaSource()
399 initial_append_size_ = file_data_->data_size(); in MockMediaSource()
402 DCHECK_LE(initial_append_size_, file_data_->data_size()); in MockMediaSource()
421 DCHECK_LT(new_position, file_data_->data_size()); in Seek()
429 DCHECK_LT(current_position_, file_data_->data_size()); in AppendData()
430 DCHECK_LE(current_position_ + size, file_data_->data_size()); in AppendData()
433 kSourceId, file_data_->data() + current_position_, size, in AppendData()
523 scoped_refptr<DecoderBuffer> file_data_; member in media::MockMediaSource
/external/chromium_org/chrome/browser/ui/webui/options/
Dcertificate_manager_handler.h175 std::string file_data_; variable
Dcertificate_manager_handler.cc756 file_data_ = *data; in ImportPersonalFileRead()
782 module_.get(), file_data_, password_, is_extractable); in ImportPersonalSlotUnlocked()
820 file_data_.clear(); in ImportExportCleanup()
/external/chromium_org/media/cast/test/
Dsender.cc183 if (!file_data_.Initialize(source_path)) { in SendProcess()
188 new InMemoryUrlProtocol(file_data_.data(), file_data_.length(), false)); in SendProcess()
713 base::MemoryMappedFile file_data_; member in media::cast::SendProcess