/external/libbrillo/brillo/ |
file_utils_unittest.cc | 31 void WriteFile(const std::string& contents) { 33 base::WriteFile(file_path_, contents.c_str(), contents.length())); 84 WriteFile("abcd"); 105 WriteFile("abcd"); 111 WriteFile("abcd");
|
osrelease_reader_unittest.cc | 45 base::WriteFile(osreleased_.Append("TEST_KEY"), hello.data(), hello.size()); 46 base::WriteFile(osreleased_.Append("GREETINGS"), ola.data(), ola.size()); 47 base::WriteFile(osrelease_, osreleasecontent.data(), osreleasecontent.size()); 79 base::WriteFile(osreleased_.Append("HELLO"), hello.data(), hello.size()); 80 base::WriteFile(
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestCompositeGrammars.java | 54 writeFile(tmpdir, "S.g", slave); 74 writeFile(tmpdir, "S.g", slave); 94 writeFile(tmpdir, "S.g", slave); 114 writeFile(tmpdir, "S.g", slave); 131 writeFile(tmpdir, "S.g", slave); 135 writeFile(tmpdir, "T.g", slave2); 153 writeFile(tmpdir, "S.g", slave); 159 writeFile(tmpdir, "T.g", slave2); 193 writeFile(tmpdir, "S.g", slave); 199 writeFile(tmpdir, "T.g", slave2) [all...] |
/external/libchrome/base/files/ |
file_path_watcher_unittest.cc | 187 bool WriteFile(const FilePath& file, const std::string& content) { 188 int write_size = ::base::WriteFile(file, content.c_str(), content.length()); 233 ASSERT_TRUE(WriteFile(test_file(), "content")); 240 ASSERT_TRUE(WriteFile(test_file(), "content")); 247 ASSERT_TRUE(WriteFile(test_file(), "new content")); 255 ASSERT_TRUE(WriteFile(source_file, "content")); 268 ASSERT_TRUE(WriteFile(test_file(), "content")); 312 ASSERT_TRUE(WriteFile(test_file(), "content")); 327 ASSERT_TRUE(WriteFile(test_file(), "content")); 339 ASSERT_TRUE(WriteFile(test_file(), "content")) [all...] |
/art/test/056-const-string-jumbo/ |
build | 29 writeFile("Zorch1", 0, 16383); 30 writeFile("Zorch2", 16384, 32767); 32 function writeFile(name, start, end) {
|
/dalvik/dx/tests/095-dex-const-string-jumbo/ |
run | 26 writeFile("Zorch1", 0, 16383); 27 writeFile("Zorch2", 16384, 32767); 29 function writeFile(name, start, end) {
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t052import.py | 174 # writeFile(tmpdir, "S.g", slave); 368 # writeFile(tmpdir, "S.g", slave); 374 # writeFile(tmpdir, "T.g", slave2); 384 # writeFile(tmpdir, "M.g", master); 416 # writeFile(tmpdir, "S.g", slave); 422 # writeFile(tmpdir, "M.g", master); 443 # writeFile(tmpdir, "S.g", slave); 449 # writeFile(tmpdir, "T.g", slave2); 456 # writeFile(tmpdir, "M.g", master); 496 # writeFile(tmpdir, "S.g", slave) [all...] |
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
ftrace_agent.py | 15 def writeFile(path, data): 167 self._fio.writeFile(FT_BUFFER_SIZE, 169 self._fio.writeFile(FT_CLOCK, 'global') 170 self._fio.writeFile(FT_TRACER, 'nop') 171 self._fio.writeFile(FT_OVERWRITE, "0") 175 # self._fio.writeFile(FT_PRINT_TGID, '1') 183 self._fio.writeFile(FT_TRACE, '') 184 self._fio.writeFile(FT_TRACE_ON, '1') 195 self._fio.writeFile(FT_TRACE_ON, '0') 210 self._fio.writeFile(FT_BUFFER_SIZE, "1" [all...] |
/external/chromium-trace/catapult/devil/devil/android/perf/ |
cache_control.py | 15 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
|
/external/conscrypt/src/test/java/org/conscrypt/ct/ |
CTLogStoreImplTest.java | 91 File testFile = writeFile(LOGS_SERIALIZED[0]); 129 writeFile(log0File, LOGS_SERIALIZED[0]); 130 writeFile(log1File, LOGS_SERIALIZED[1]); 131 writeFile(log3File, ""); 145 writeFile(log1File, ""); 146 writeFile(log4File, LOGS_SERIALIZED[4]); 159 private File writeFile(String contents) throws IOException { 162 writeFile(file, contents); 166 private static void writeFile(File file, String contents) throws FileNotFoundException {
|
/external/valgrind/VEX/orig_amd64/ |
SortedToOrig.hs | 10 writeFile "test2.orig" x4
|
/system/core/crash_reporter/ |
crash_collector_test.cc | 135 base::WriteFile(test_dir_.path().Append(StringPrintf("file%d.core", i)), 142 base::WriteFile(test_dir_.path().Append(StringPrintf("file%d.meta", i)), 149 base::WriteFile(test_dir_.path().Append(StringPrintf("overage%d.meta", i)), 158 base::WriteFile(test_dir_.path().Append(StringPrintf("file.%d.core", i)), 162 base::WriteFile(test_dir_.path().Append("file.last.core"), "", 0); 169 base::WriteFile(test_dir_.path().Append(StringPrintf("a.%d", i)), "", 0); 174 base::WriteFile(test_dir_.path().Append(StringPrintf(".file%d", i)), "", 0); 177 base::WriteFile(test_dir_.path().Append("normal.meta"), "", 0); 187 ASSERT_TRUE(base::WriteFile(payload_file, kPayload, strlen(kPayload))); 202 ASSERT_TRUE(base::WriteFile(payload_file, kPayload, strlen(kPayload))) [all...] |
/prebuilts/go/darwin-x86/src/cmd/dist/ |
buildgo.go | 33 writefile(out, file, writeSkipSame) 38 writefile(out, file, writeSkipSame)
|
/prebuilts/go/darwin-x86/src/runtime/ |
wincallback.go | 38 err := ioutil.WriteFile("zcallback_windows.s", buf.Bytes(), 0666) 54 err := ioutil.WriteFile("zcallback_windows.go", buf.Bytes(), 0666)
|
/prebuilts/go/linux-x86/src/cmd/dist/ |
buildgo.go | 33 writefile(out, file, writeSkipSame) 38 writefile(out, file, writeSkipSame)
|
/prebuilts/go/linux-x86/src/runtime/ |
wincallback.go | 38 err := ioutil.WriteFile("zcallback_windows.s", buf.Bytes(), 0666) 54 err := ioutil.WriteFile("zcallback_windows.go", buf.Bytes(), 0666)
|
/external/google-breakpad/src/common/linux/ |
elf_core_dump_unittest.cc | 49 using google_breakpad::WriteFile; 72 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header) - 1)); 82 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 88 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 94 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 100 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 106 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 112 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 118 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 124 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))) [all...] |
/external/testng/src/main/java/org/testng/ |
Converter.java | 74 writeFile(newFile, Yaml.toYaml(suite).toString()); 78 writeFile(newFile, suite.toXml()); 92 private void writeFile(File newFile, String content) throws IOException {
|
/external/opencv3/modules/features2d/misc/java/test/ |
FASTFeatureDetectorTest.java | 85 writeFile(filename, "%YAML:1.0\nthreshold: 130\nnonmaxSuppression: 1\n"); 92 writeFile(filename, "%YAML:1.0\nthreshold: 150\nnonmaxSuppression: 1\n"); 105 writeFile(filename, 113 writeFile(filename,
|
/external/webrtc/webrtc/tools/rtcbot/ |
test.js | 141 writeFile.bind(this)(); 143 fs.mkdir("test/reports/", 0777, writeFile.bind(this)); 147 function writeFile () { 148 fs.writeFile("test/reports/" + this.outputFileName_ + "_" +
|