Home
last modified time | relevance | path

Searched refs:log_path (Results 1 – 25 of 41) sorted by relevance

12

/external/libchrome/base/test/
Dperf_test_suite.cc25 FilePath log_path = in Initialize() local
27 if (log_path.empty()) { in Initialize()
28 PathService::Get(FILE_EXE, &log_path); in Initialize()
32 log_path = tmp_dir.Append(log_path.BaseName()); in Initialize()
34 log_path = log_path.ReplaceExtension(FILE_PATH_LITERAL("log")); in Initialize()
35 log_path = log_path.InsertBeforeExtension(FILE_PATH_LITERAL("_perf")); in Initialize()
37 ASSERT_TRUE(InitPerfLog(log_path)); in Initialize()
Dperf_log.h15 bool InitPerfLog(const FilePath& log_path);
/external/autotest/server/
Dcrashcollect.py80 def collect_log_file(host, log_path, dest_path, use_tmp=False, clean=False, argument
105 logging.info('Collecting %s...', log_path)
108 'file %s.', host.hostname, log_path)
111 file_stats = _get_file_stats(host, log_path)
120 log_path, file_stats.size,
123 _collect_log_file_with_tmpdir(host, log_path, dest_path)
125 _collect_log_file_with_summary(host, log_path, dest_path)
128 log_path, e)
131 path_to_delete = os.path.join(pipes.quote(log_path), '*')
133 path_to_delete = pipes.quote(log_path)
[all …]
Dsite_gtest_runner.py66 log_path = os.path.join(
69 if not os.path.exists(log_path):
70 logging.error('gtest log file "%s" is missing.', log_path)
76 with open(log_path, 'r') as log_file:
/external/mesa3d/.gitlab-ci/tracie/
Ddump_trace_images.py39 def run_logged_command(cmd, env, log_path): argument
43 log_path.parent.mkdir(parents=True, exist_ok=True)
44 with log_path.open(mode='wb') as log:
79 log_path = Path(outputdir) / (trace_path.name + ".log")
80 run_logged_command(cmd, None, log_path)
87 log_path = Path(outputdir) / (trace_path.name + ".log")
88 run_logged_command(cmd, None, log_path)
102 log_path = outputdir_path / (trace_path.name + ".log")
107 run_logged_command(cmd, env, log_path)
111 with log_path.open(mode='w') as log:
[all …]
/external/autotest/server/site_tests/telemetry_Crosperf/
Dtelemetry_Crosperf.py122 def run_in_background_with_log(self, cmd, dut, log_path): argument
165 '', dut, log_path, self.resultsdir, ignore_status=True)
176 log_path = '/tmp/%s' % log_name
194 'done;') % log_path
196 return self.run_in_background_with_log(cpu_stats_cmd, dut, log_path)
203 log_path = '/tmp/%s' % log_name
209 ' | grep -E "^[ 0-9]|^$" > %s;') % (interval_in_sec, log_path)
211 return self.run_in_background_with_log(top_cmd, dut, log_path)
218 log_path = '/tmp/%s' % log_name
222 '1> %s') % log_path
[all …]
/external/v4l2_codec2/tests/c2_e2e_test/jni/
De2e_test_jni.cpp52 const char* log_path = env->GetStringUTFChars(tmp_file_path, nullptr); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest() local
53 if (freopen(log_path, "a+", stdout) == NULL) { in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
54 env->ReleaseStringUTFChars(tmp_file_path, log_path); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
55 ALOGE("Failed to redirect stream to file: %s: %s\n", log_path, strerror(errno)); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
58 ALOGI("Saving gtest output to %s\n", log_path); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
59 env->ReleaseStringUTFChars(tmp_file_path, log_path); in Java_org_chromium_c2_test_E2eTestActivity_c2VideoTest()
/external/autotest/tko/
Dretrieve_logs.cgi154 def get_full_url(info, log_path): argument
160 path = log_path
169 log_path = _get_requested_path() variable
170 info = find_repository_host(log_path)
171 site_retrieve_logs(log_path)
172 print _PAGE % get_full_url(info, log_path)
/external/oss-fuzz/infra/base-images/base-sanitizer-libs-builder/
Dmsan_build.py330 log_path=None, argument
334 self.log_path = log_path
349 if self.debug and self.log_path:
350 self.env['WRAPPER_DEBUG_LOG_PATH'] = self.log_path
452 log_path=args.log_path,
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_flags_test.cc139 cf.log_path = "path/one"; in TEST()
145 EXPECT_STREQ("path/two", cf.log_path); in TEST()
/external/autotest/site_utils/
Drpc_logserver.py108 log_path = config.get_config_value('SERVER', 'rpc_log_path')
113 log_path,
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_flags_test.cpp189 cf.log_path = "path/one"; in TEST()
195 EXPECT_STREQ("path/two", cf.log_path); in TEST()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_rtl.cpp181 if (__memprof_profile_filename[0] != 0 && !common_flags()->log_path) in MemprofInitInternal()
184 __sanitizer_set_report_path(common_flags()->log_path); in MemprofInitInternal()
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_init.cpp41 __sanitizer_set_report_path(common_flags()->log_path); in CommonStandaloneInit()
/external/compiler-rt/lib/esan/
Desan_flags.cpp55 __sanitizer_set_report_path(common_flags()->log_path); in initializeFlags()
/external/compiler-rt/lib/ubsan/
Dubsan_init.cc41 __sanitizer_set_report_path(common_flags()->log_path); in CommonStandaloneInit()
/external/compiler-rt/test/asan/TestCases/Posix/
Dlog_path_fork_test.cc.disabled4 // RUN: %env_asan_opts=log_path='"%t.log"':verbosity=1 not %run %t 2> %t.out
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dlog_path_fork_test.cc.disabled4 // RUN: %env_asan_opts=log_path='"%t.log"':verbosity=1 not %run %t 2> %t.out
/external/autotest/server/site_tests/audiovideo_AVSync/
Daudiovideo_AVSync.py89 log_path = os.path.join(self.resultsdir, 'result.json')
102 with open(log_path, 'w') as f:
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan.cpp86 __sanitizer_set_report_path(common_flags()->log_path); in InitializeFlags()
/external/jsoncpp/devtools/
Dbatchbuild.py89 def _execute_build_subprocess(self, cmd, env, log_path): argument
94 with open(log_path, 'wb') as flog:
/external/autotest/client/cros/multimedia/
Dbluetooth_facade_native.py118 def __init__(self, log_path): argument
125 if not os.path.isfile(log_path):
126 msg = 'Requested log file {} does not exist'.format(log_path)
129 self.log_path = log_path
137 self.initial_log_size = os.path.getsize(self.log_path)
148 now_size = os.path.getsize(self.log_path)
150 if not os.path.isfile(self.log_path):
151 msg = 'File {} disappeared unexpectedly'.format(self.log_path)
162 with open(self.log_path, 'r') as mf:
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.inc51 const char *, log_path, "stderr",
52 "Write logs to \"log_path.pid\". The special values are \"stdout\" and "
57 "append executable name to logs (as in \"log_path.exe_name.pid\").")
/external/llvm-project/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp358 const char *log_path = getenv("FileDescriptorLogFile"); in get_logging_fd() local
359 if (log_path) in get_logging_fd()
360 g_log_fd = ::creat(log_path, 0660); in get_logging_fd()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.inc55 const char *, log_path, nullptr,
56 "Write logs to \"log_path.pid\". The special values are \"stdout\" and "
61 "append executable name to logs (as in \"log_path.exe_name.pid\").")

12