/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_procfs_integrationtest.cc | 59 std::string ReadFile(const std::string& name) { in ReadFile() function 61 PERFETTO_CHECK(base::ReadFile(GetFtracePath() + name, &result)); in ReadFile() 66 std::string output = ReadFile("trace"); in GetTraceOutput() 163 EXPECT_EQ(ReadFile("buffer_size_kb"), "16\n"); // (4096 * 4) / 1024 in TEST_F() 165 EXPECT_EQ(ReadFile("buffer_size_kb"), "20\n"); // (4096 * 5) / 1024 in TEST_F() 175 EXPECT_EQ(ReadFile("buffer_size_kb"), "16\n"); in TEST_F() 176 EXPECT_EQ(ReadFile("tracing_on"), "1\n"); in TEST_F() 177 EXPECT_EQ(ReadFile("events/enable"), "X\n"); in TEST_F() 181 EXPECT_EQ(ReadFile("buffer_size_kb"), "4\n"); in TEST_F() 182 EXPECT_EQ(ReadFile("tracing_on"), "0\n"); in TEST_F() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | cpu_temperature_test.py | 106 self.mock_device.ReadFile = mock.Mock(side_effect=self.cooling_down0) 108 self.mock_device.ReadFile.assert_called() 109 self.assertEquals(self.mock_device.ReadFile.call_count, 24) 115 self.mock_device.ReadFile = mock.Mock(side_effect=self.cooling_down1) 117 self.mock_device.ReadFile.assert_called() 118 self.assertEquals(self.mock_device.ReadFile.call_count, 16) 124 self.mock_device.ReadFile = mock.Mock(side_effect=self.constant_temp) 126 self.mock_device.ReadFile.assert_called() 127 self.assertEquals(self.mock_device.ReadFile.call_count, 24)
|
D | crash_handler_devicetest.py | 53 self.device.ReadFile(trigger_file.name, retries=0).strip()) 59 return trigger_text == self.device.ReadFile(
|
/external/google-breakpad/src/common/mac/ |
D | macho_reader_unittest.cc | 755 void ReadFile(MachOFile *file, in ReadFile() function 799 ReadFile(&file, false, CPU_TYPE_ANY, kCPUSubType); in TEST_F() 818 ReadFile(&file, false, kCPUType, kCPUSubType); in TEST_F() 828 ReadFile(&file, false, CPU_TYPE_ANY, 0); in TEST_F() 844 ReadFile(&file, false, CPU_TYPE_ANY, kCPUSubType); in TEST_F() 865 ReadFile(&file, false, CPU_TYPE_POWERPC, CPU_SUBTYPE_POWERPC_ALL); in TEST_F() 882 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType); in TEST_F() 905 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType); in TEST_F() 928 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType); in TEST_F() 951 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType); in TEST_F() [all …]
|
/external/perfetto/src/traced/probes/common/ |
D | cpu_freq_info.cc | 67 ReadFile(cpu_dir_path + "/cpu" + std::to_string(cpu_index) + in CpuFreqInfo() 71 ReadFile(cpu_dir_path + "/cpu" + std::to_string(cpu_index) + in CpuFreqInfo() 114 std::string CpuFreqInfo::ReadFile(std::string path) { in ReadFile() function in perfetto::CpuFreqInfo 116 if (!base::ReadFile(path, &contents)) in ReadFile()
|
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 53 std::string model_buffer = ReadFile(GetTestModelPath()); in GetTestModelWithDatetimeRegEx() 183 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 203 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 222 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 255 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 317 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 351 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 421 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 460 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() 503 const std::string test_model = ReadFile(GetTestModelPath()); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/api_def/java_api/ |
D | api_def_ReadFile.pbtxt | 2 graph_op_name: "ReadFile" 4 name: "io.ReadFile"
|
/external/libchrome/components/policy/core/common/ |
D | preg_parser_unittest.cc | 121 ASSERT_TRUE(preg_parser::ReadFile(test_file, base::ASCIIToUTF16(kRegistryKey), in TEST_F() 152 ASSERT_TRUE(preg_parser::ReadFile( in TEST_F() 159 ASSERT_TRUE(preg_parser::ReadFile(test_file, base::ASCIIToUTF16(kRegistryKey), in TEST_F() 170 ASSERT_TRUE(preg_parser::ReadFile(test_file, base::ASCIIToUTF16(kRegistryKey), in TEST_F() 183 ASSERT_FALSE(preg_parser::ReadFile( in TEST_F()
|
/external/perfetto/src/traced/probes/system_info/ |
D | system_info_data_source.cc | 63 std::string proc_cpu_info = ReadFile("/proc/cpuinfo"); in Start() 108 std::string SystemInfoDataSource::ReadFile(std::string path) { in ReadFile() function in perfetto::SystemInfoDataSource 110 if (!base::ReadFile(path, &contents)) in ReadFile()
|
D | system_info_data_source_unittest.cc | 118 MOCK_METHOD1(ReadFile, std::string(std::string)); 139 EXPECT_CALL(*data_source, ReadFile("/proc/cpuinfo")) in TEST_F()
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | file_utils.cc | 43 ssize_t ReadFile(const char* path, char* buf, size_t length) { in ReadFile() function 65 ssize_t rsize = ReadFile(path, buf, length); in ReadFileTrimmed() 82 return ReadFile(proc_path, buf, length); in ReadProcFile()
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | device_monitor.py | 103 mem_info = device.ReadFile('/proc/meminfo') 139 sensor_name = device.ReadFile(f).strip() 140 temp = float(device.ReadFile(f[:-4] + 'temp').strip()) # s/type^/temp 147 uptimes = device.ReadFile('/proc/uptime').split()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/ |
D | io.h | 37 void ReadFile(FILE* file, std::vector<T>* data) { in ReadFile() function 90 ReadFile(fp, data); in ReadBinaryFile() 112 ReadFile(fp, data); in ReadTextFile()
|
/external/perfetto/src/protozero/filtering/ |
D | message_filter_benchmark.cc | 27 perfetto::base::ReadFile(perfetto::base::GetTestDataPath(kTestTrace), in BM_ProtozeroMessageFilter() 33 perfetto::base::ReadFile(kFullTraceFilter, &filter); in BM_ProtozeroMessageFilter()
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_firmware.c | 110 (VbKeyBlockHeader *) ReadFile(keyblock_file, &key_block_size); in Vblock() 129 fv_data = ReadFile(fv_file, &fv_size); in Vblock() 202 blob = ReadFile(infile, &blob_size); in Verify() 209 fv_data = ReadFile(fv_file, &fv_size); in Verify()
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | win32.py | 97 ReadFile = _stdcall_libraries['kernel32'].ReadFile variable 98 ReadFile.restype = BOOL 99 ReadFile.argtypes = [HANDLE, LPVOID, DWORD, LPDWORD, LPOVERLAPPED]
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_windows_utils.py | 31 ov1.ReadFile(h1, 100) 105 ovout.ReadFile(p.stdout.handle, 100) 106 overr.ReadFile(p.stderr.handle, 100)
|
/external/protobuf/benchmarks/util/ |
D | gogo_data_scrubber.cc | 13 std::string ReadFile(const std::string& name) { in ReadFile() function 39 std::string dataset_payload = ReadFile(input_file); in main()
|
D | proto3_data_stripper.cc | 13 std::string ReadFile(const std::string& name) { in ReadFile() function 39 std::string dataset_payload = ReadFile(input_file); in main()
|
/external/vboot_reference/host/lib/ |
D | host_key.c | 115 buffer = ReadFile(filename, &filelen); in PrivateKeyRead() 177 key_data = ReadFile(filename, &key_size); in PublicKeyReadKeyb() 233 key = (VbPublicKey*)ReadFile(filename, &file_size); in PublicKeyRead()
|
/external/llvm-project/flang/lib/Parser/ |
D | source.cpp | 119 ReadFile(); in Open() 137 ReadFile(); in ReadStandardInput() 141 void SourceFile::ReadFile() { in ReadFile() function in Fortran::parser::SourceFile
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | android_cgroup_agent.py | 85 cgroups = self._device_utils.ReadFile('/proc/cgroups') 94 tasks = self._device_utils.ReadFile(tasks_file).split('\n')
|
/external/toolchain-utils/compiler_wrapper/ |
D | rusage_flag_test.go | 91 data, err := ioutil.ReadFile(logFileName) 129 data, err := ioutil.ReadFile(logFileName) 145 data, err = ioutil.ReadFile(logFileName)
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source.cc | 260 size_t rsize = ReadFile(&fd, cur_freq_path); in ReadDevfreqCurFreq() 267 size_t rsize = ReadFile(&meminfo_fd_, "/proc/meminfo"); in ReadMeminfo() 291 size_t rsize = ReadFile(&vmstat_fd_, "/proc/vmstat"); in ReadVmstat() 313 size_t rsize = ReadFile(&stat_fd_, "/proc/stat"); in ReadStat() 390 size_t SysStatsDataSource::ReadFile(base::ScopedFile* fd, const char* path) { in ReadFile() function in perfetto::SysStatsDataSource
|
/external/perfetto/src/trace_processor/ |
D | export_json_unittest.cc | 44 std::string ReadFile(FILE* input) { in ReadFile() function 113 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 145 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 190 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 222 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 249 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 318 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 369 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 410 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() 449 Json::Value result = ToJsonValue(ReadFile(output)); in TEST_F() [all …]
|