/external/chromium_org/content/browser/fileapi/ |
D | upload_file_system_file_element_reader_unittest.cc | 56 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/ |
D | message_file_reader.cc | 53 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/ |
D | ffmpeg_unittest.cc | 117 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/ |
D | pipeline_integration_test.cc | 396 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/ |
D | certificate_manager_handler.h | 175 std::string file_data_; variable
|
D | certificate_manager_handler.cc | 756 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/ |
D | sender.cc | 183 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
|