Searched refs:log_file (Results 1 - 25 of 84) sorted by relevance

1234

/external/chromium_org/tools/gyp/test/target/
H A Dgyptest-target.py29 log_file = "obj\\hello1\\hello1.log" variable
30 test.built_file_must_exist(log_file)
31 test.built_file_must_not_contain(log_file, "MSB8012")
33 log_file = "obj\\hello2\\hello2.log" variable
34 test.built_file_must_exist(log_file)
35 test.built_file_must_not_contain(log_file, "MSB8012")
/external/chromium_org/tools/site_compare/commands/
H A Dscrape.py46 if log_file: log_file.write(result)
53 if command["--logfile"]: log_file = open(command["--logfile"], "w")
54 else: log_file = None
59 if log_file: log_file.close()
H A Dmeasure.py45 log_file.write(result)
47 log_file = open(command["--logfile"], "w")
52 log_file.close()
H A Dtimeload.py119 log_file = open(command["--logfile"], "w")
121 log_file.write("URL")
123 log_file.write(",%s" % browsers[b])
125 if browser_versions[b]: log_file.write(" %s" % browser_versions[b])
126 log_file.write("\n")
142 log_file.write(url)
144 log_file.write(",%r" % results[url][b])
/external/lldb/examples/python/
H A Ddelta.py30 global log_file
31 if log_file:
32 result.PutCString ('error: logging is already in progress with file "%s"', log_file)
36 log_file = tempfile.mktemp()
38 log_file = args[0]
40 if log_file:
41 debugger.HandleCommand('log enable --threadsafe --timestamp --file "%s" gdb-remote packets' % log_file);
42 result.PutCString ("GDB packet logging enable with log file '%s'\nUse the 'stop_gdb_log' command to stop logging and show packet statistics." % log_file)
63 for log_file in args:
64 parse_log_file (log_file, option
[all...]
H A Ddisasm-stress-test.py56 def ResetLogFile(log_file):
57 if log_file != sys.stdout:
58 log_file.seek(0)
60 def PrintByteArray(log_file, byte_array):
62 print >>log_file, hex(byte) + " ",
63 print >>log_file
66 def __init__(self, byte_width, log_file, start=0, skip=1):
68 self.m_log_file = log_file
97 def __init__(self, byte_width, log_file):
99 self.m_log_file = log_file
118 log_file = None variable
[all...]
/external/chromium_org/chrome/test/logging/win/
H A Dlog_file_printer.h20 // Reads |log_file|, emitting messages to |out|. Although it is safe to call
23 void PrintLogFile(const base::FilePath& log_file, std::ostream* out);
H A Dfile_logger.h60 // Starts capturing logs from all providers into |log_file|. The common file
64 bool StartLogging(const base::FilePath& log_file);
H A Dlog_file_reader.cc68 static void ReadFile(const base::FilePath& log_file,
98 void Read(const base::FilePath& log_file);
227 void LogFileReader::Read(const base::FilePath& log_file) { argument
231 hr = consumer.OpenFileSession(log_file.value().c_str());
233 LOG(ERROR) << "Failed to open session for log file " << log_file.value()
242 void LogFileReader::ReadFile(const base::FilePath& log_file, argument
246 LogFileReader(delegate).Read(log_file);
257 void ReadLogFile(const base::FilePath& log_file, LogFileDelegate* delegate) { argument
259 LogFileReader::ReadFile(log_file, delegate);
/external/chromium_org/base/test/
H A Dperf_log.cc14 bool InitPerfLog(const FilePath& log_file) { argument
21 perf_log_file = OpenFile(log_file, "w");
/external/chromium_org/v8/tools/
H A Dlinux-tick-processor4 log_file="v8.log"
8 log_file=${arg}
26 d8_exec=`grep -m 1 -o '".*/d8"' $log_file | sed 's/"//g'`
36 cat $log_file | $d8_exec $tools_path/splaytree.js $tools_path/codemap.js \
H A Dplot-timer-events4 log_file="v8.log"
8 log_file=${arg}
30 d8_exec=`grep -m 1 -o '".*/d8"' $log_file | sed 's/"//g'`
79 cat $log_file |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Doutputtee.py53 log_file = self._open_log_file(path)
54 self._files_for_output.append(log_file)
56 return log_file
58 def remove_log(self, log_file):
59 self._files_for_output.remove(log_file)
61 log_file.close()
/external/lldb/test/logging/
H A DTestLogging.py30 log_file = os.path.join (os.getcwd(), "lldb-commands-log-%s-%s-%s.txt" % (type,
34 if (os.path.exists (log_file)):
35 os.remove (log_file)
40 self.runCmd ("log enable -t -f '%s' lldb commands" % (log_file))
69 self.assertTrue (os.path.isfile (log_file))
73 f = open (log_file)
77 os.remove (log_file)
/external/chromium_org/chrome/installer/util/
H A Dlogging_installer.cc33 TruncateResult TruncateLogFileIfNeeded(const base::FilePath& log_file) { argument
37 if (base::GetFileSize(log_file, &log_size) &&
44 base::File old_log_file(log_file, file_flags);
48 base::FilePath tmp_log(log_file.value() + FILE_PATH_LITERAL(".tmp"));
50 if (base::Move(log_file, tmp_log)) {
57 (bytes_read == base::WriteFile(log_file, &old_log_data[0],
59 base::PathExists(log_file))) {
63 } else if (base::DeleteFile(log_file, false)) {
91 settings.log_file = log_file_path.value().c_str();
H A Dlogging_installer.h36 // Cuts off the _beginning_ of the file at |log_file| down to
44 TruncateResult TruncateLogFileIfNeeded(const base::FilePath& log_file);
/external/chromium_org/sandbox/win/sandbox_poc/
H A Dsandbox.cc20 base::string16 * log_file) {
23 DCHECK(log_file);
24 if (!dll_name || !entry_point || !log_file)
42 *log_file = arg_list[3];
129 base::string16 log_file; local
133 &log_file)) {
139 HANDLE pipe = ::CreateFile(log_file.c_str(),
17 ParseCommandLine(wchar_t * command_line, std::string * dll_name, std::string * entry_point, base::string16 * log_file) argument
/external/chromium_org/build/android/pylib/utils/
H A Dreport_results.py23 with open(full_file_name, 'w') as log_file:
24 print >> log_file, '\n%s results for %s build %s:' % (
30 with open(full_file_name, 'a') as log_file:
32 print >> log_file, '%s%s' % (shortened_suite_name.ljust(30),
/external/chromium_org/chromecast/shell/app/
H A Dcast_main_delegate.cc34 base::FilePath log_file; local
35 PathService::Get(FILE_CAST_ANDROID_LOG, &log_file);
37 settings.log_file = log_file.value().c_str();
/external/chromium_org/chrome/tools/crash_service/
H A Dmain.cc49 base::FilePath log_file = operating_dir.Append(kStandardLogFile); local
55 settings.log_file = log_file.value().c_str();
/external/chromium_org/sandbox/win/tools/finder/
H A Dmain.cc31 ATL::CString log_file; local
100 log_file = argv[i];
130 if (log_file.GetLength()) {
131 errno_t err = _wfopen_s(&file_output, log_file, L"w");
133 wprintf(L"\nAbord, Cannot open file \"%ls\"", log_file.GetBuffer());
/external/chromium_org/base/
H A Dlogging.cc104 FileHandle log_file = NULL; member in namespace:logging::__anon2311
168 PathString log_file = module_name; local
170 log_file.rfind('\\', log_file.size());
172 log_file.erase(last_backslash + 1);
173 log_file += L"debug.log";
174 return log_file;
298 if (log_file)
309 log_file = CreateFile(log_file_name->c_str(), GENERIC_WRITE,
312 if (log_file
[all...]
/external/lldb/tools/lldb-platform/
H A Dlldb-platform.cpp145 FILE *log_file = fopen(optarg, "w"); local
146 if (log_file)
148 setlinebuf(log_file);
149 log_stream_sp.reset (new StreamFile (log_file, true));
/external/pcre/dist/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
100 do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
107 "$@" >$log_file 2>&1
/external/lldb/source/Commands/
H A DCommandObjectLog.cpp122 log_file (),
141 case 'f': log_file.SetFile(option_arg, true); break;
161 log_file.Clear();
177 FileSpec log_file; member in class:CommandObjectLogEnable::CommandOptions
194 char log_file[PATH_MAX]; local
195 if (m_options.log_file)
196 m_options.log_file.GetPath(log_file, sizeof(log_file));
198 log_file[
[all...]

Completed in 611 milliseconds

1234