/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/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/ppapi/tests/ |
test_file_mapping.cc | 92 std::string file_contents((page_size * (kNumPages - 1)) + 128, 'a'); 105 file_contents, 126 std::string mapped_data(static_cast<char*>(address), file_contents.size()); 128 ASSERT_EQ(file_contents, mapped_data); 131 const std::string file_contents2(file_contents.size(), 'x'); 138 std::string mapped_data2(static_cast<char*>(address), file_contents.size()); 156 memset(address, 'y', file_contents.size()); 159 std::string mapped_data3(file_contents.size(), 'y'); 162 instance_->pp_instance(), address, file_contents.size(), 186 instance_->pp_instance(), address, file_contents.size() [all...] |
/external/chromium_org/mojo/embedder/ |
platform_channel_pair_posix_unittest.cc | 199 const std::string file_contents("hello world"); 206 ASSERT_EQ(file_contents.size(), 207 fwrite(file_contents.data(), 1, file_contents.size(), fp.get())); 248 EXPECT_EQ(file_contents.size(), bytes_read); 249 EXPECT_EQ(file_contents, std::string(read_buf, bytes_read));
|
/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/third_party/WebKit/Source/bindings/scripts/ |
aggregate_generated_bindings.py | 188 file_contents = generate_content(component_dir, 190 write_content(file_contents, file_name)
|
/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/ui/base/clipboard/ |
clipboard_util_win.h | 51 std::string* file_contents);
|
/external/chromium_org/v8/tools/ |
check-name-clashes.py | 160 file_contents = f.read() 161 file_contents = js2c.ExpandInlineMacros(file_contents) 162 lines = file_contents.split("\n")
|
/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);
|
/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/ui/base/dragdrop/ |
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_aurax11.h | 89 const std::string& file_contents) OVERRIDE;
|
os_exchange_data_provider_win.h | 161 const std::string& file_contents); 173 std::string* file_contents) const;
|
/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/v8/build/ |
gyp_v8 | 57 file_contents = open(file_path).read() 59 file_data = eval(file_contents, {'__builtins__': None}, None)
|
/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/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/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/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
layout_test_finder.py | 72 file_contents = fs.read_text_file(filename).split('\n') 73 for line in file_contents:
|