HomeSort by relevance Sort by last modified time
    Searched full:file_contents (Results 26 - 50 of 85) sorted by null

12 3 4

  /external/chromium_org/ui/base/dragdrop/
os_exchange_data.h 64 FILE_CONTENTS = 1 << 4,
122 const std::string& file_contents) = 0;
126 std::string* file_contents) const = 0;
216 const std::string& file_contents);
218 std::string* file_contents) const;
os_exchange_data_win_unittest.cc 289 std::string file_contents = "[InternetShortcut]\r\nURL="; local
290 file_contents += url_spec;
291 file_contents += "\r\n";
292 EXPECT_EQ(file_contents, output);
299 std::string file_contents("data\0with\0nulls", 15);
300 data.SetFileContents(base::FilePath(L"filename.txt"), file_contents);
307 EXPECT_EQ(file_contents, read_contents);
os_exchange_data_provider_win.h 161 const std::string& file_contents);
173 std::string* file_contents) const;
  /external/chromium_org/components/storage_monitor/
image_capture_device_manager_unittest.mm 383 char file_contents[5];
384 ASSERT_EQ(4, base::ReadFile(temp_file, file_contents,
387 std::string(file_contents, strlen(kTestFileContents)));
417 char file_contents[5];
418 ASSERT_EQ(4, base::ReadFile(temp_file, file_contents,
421 std::string(file_contents, strlen(kTestFileContents)));
  /external/chromium_org/net/disk_cache/simple/
simple_index_file_unittest.cc 275 disk_cache::FakeIndexData file_contents; local
276 file_contents.initial_magic_number = disk_cache::kSimpleInitialMagicNumber;
277 file_contents.version = 5;
278 int bytes_written = file.Write(0, reinterpret_cast<char*>(&file_contents),
279 sizeof(file_contents));
280 ASSERT_EQ((int)sizeof(file_contents), bytes_written);
  /external/chromium_org/tools/generate_stubs/
generate_stubs_unittest.py 79 file_contents = '\n'.join([x[0] for x in SIMPLE_SIGNATURES])
80 infile = StringIO.StringIO(file_contents)
93 file_contents = '\n'.join([x[0] for x in TRICKY_SIGNATURES])
94 infile = StringIO.StringIO(file_contents)
124 file_contents = '\n'.join(my_sigs)
125 infile = StringIO.StringIO(file_contents)
  /external/chromium_org/content/browser/web_contents/
web_drag_source_mac.mm 89 file.WriteAtCurrentPos(drop_data.file_contents.data(),
90 drop_data.file_contents.length());
191 [pboard setData:[NSData dataWithBytes:dropData_->file_contents.data()
192 length:dropData_->file_contents.length()]
360 if (!dropData_->file_contents.empty() ||
419 if (!dropData_->file_contents.empty())
431 // (The only time that Blink fills in the DropData::file_contents is with
433 bool hasImageData = !dropData_->file_contents.empty() &&
  /external/skia/gm/
gm_json.py 164 def LoadFromString(file_contents):
171 json_dict = json.loads(file_contents)
179 file_contents = open(file_path, 'r').read()
180 return LoadFromString(file_contents)
  /external/chromium_org/build/android/pylib/
flag_changer.py 106 file_contents = self._device.ReadFile(
108 assert len(file_contents) == 1 and file_contents[0] == cmd_line, (
  /external/chromium_org/chrome/browser/ui/webui/
profiler_ui.cc 85 std::string file_contents; variable
86 if (!base::ReadFileToString(file_path, &file_contents))
90 response->data() = file_contents;
  /external/chromium_org/content/browser/devtools/
devtools_http_handler_unittest.cc 162 std::string file_contents; local
163 EXPECT_TRUE(base::ReadFileToString(active_port_file, &file_contents));
165 EXPECT_TRUE(base::StringToInt(file_contents, &port));
  /external/chromium_org/tools/grit/grit/node/
structure.py 170 file_contents = self._Substitute(text).encode('utf-8')
172 file_contents = self.gatherer.GetData('', 'utf-8')
173 outfile.write(file_contents)
314 file_contents = util.FixLineEnd(text, self.GetLineEnd())
319 file_contents = self._Substitute(file_contents)
324 output_stream.write(file_contents)
  /external/chromium_org/net/proxy/
proxy_resolver_perftest.cc 165 std::string file_contents; local
166 bool ok = base::ReadFileToString(path, &file_contents);
174 net::ProxyResolverScriptData::FromUTF8(file_contents),
  /external/chromium_org/chrome/browser/extensions/
extension_action_icon_factory_unittest.cc 69 std::string file_contents; local
70 base::ReadFileToString(path, &file_contents);
72 reinterpret_cast<const unsigned char*>(file_contents.data());
75 gfx::PNGCodec::Decode(data, file_contents.length(), &bitmap);
  /external/chromium_org/chrome/browser/ui/cocoa/extensions/
extension_installed_bubble_controller_unittest.mm 70 std::string file_contents;
71 base::ReadFileToString(path, &file_contents);
73 reinterpret_cast<const unsigned char*>(file_contents.data());
76 gfx::PNGCodec::Decode(data, file_contents.length(), &bitmap);
  /external/chromium_org/chrome/utility/extensions/
unpacker.cc 50 std::string file_contents; local
52 !base::ReadFileToString(path, &file_contents)) {
58 reinterpret_cast<const unsigned char*>(file_contents.data());
61 file_contents.length());
  /external/chromium_org/content/browser/tracing/
trace_uploader.h 54 void DoUpload(const std::string& file_contents,
trace_uploader.cc 86 const std::string& file_contents,
101 if (!Compress(file_contents, kMaxUploadBytes, compressed_contents.get(),
  /external/chromium_org/content/public/common/
drop_data.h 72 std::string file_contents; member in struct:content::DropData
  /external/chromium_org/content/renderer/
drop_data_builder.cc 52 result.file_contents.assign(item.binaryData.data(),
  /external/chromium_org/extensions/browser/
image_loader.cc 80 std::string file_contents; local
82 if (path.empty() || !base::ReadFileToString(path, &file_contents)) {
87 reinterpret_cast<const unsigned char*>(file_contents.data());
94 gfx::PNGCodec::Decode(data, file_contents.length(), bitmap);
  /external/chromium_org/net/test/embedded_test_server/
embedded_test_server.cc 62 std::string file_contents; local
63 if (!base::ReadFileToString(file_path, &file_contents))
75 new CustomHttpResponse(headers_contents, file_contents));
81 http_response->set_content(file_contents);
  /external/chromium_org/tools/gyp/test/lib/
TestCommon.py 240 file_contents = self.read(file, mode)
241 contains = (string.find(file_contents, required) != -1)
247 print file_contents
326 file_contents = self.read(file, mode)
328 self.fail_test(not self.match(file_contents, expect))
333 self.diff(expect, file_contents, 'contents ')
339 file_contents = self.read(file, mode)
340 contains = (string.find(file_contents, banned) != -1)
346 print file_contents
  /external/chromium_org/ui/base/clipboard/
clipboard_util_win.h 51 std::string* file_contents);
  /external/lldb/source/Interpreter/
PythonDataObjects.cpp 57 std::vector<char> file_contents (length,'\0');
58 const size_t length_read = ::fread (file_contents.data(), 1, file_contents.size(), file);
60 strm.Write (file_contents.data(), length_read);

Completed in 3496 milliseconds

12 3 4