Home
last modified time | relevance | path

Searched refs:read_file (Results 1 – 25 of 65) sorted by relevance

123

/external/autotest/client/site_tests/power_Thermal/
Dpower_Thermal.py123 count += int(utils.read_file(
131 return int(utils.read_file(
138 return float(utils.read_file(
152 return float(utils.read_file(
204 current_gov = utils.read_file(gov_file).strip()
205 available_govs = utils.read_file(PER_CORE_FREQ_TEMPLATE % (
276 present = utils.read_file(os.path.join(CPU_INFO_ROOT, 'present'))
281 min_freq = int(utils.read_file(
283 max_freq = int(utils.read_file(
/external/libdrm/intel/
Dtest_decode.c53 read_file(const char *filename, void **ptr, size_t *size) in read_file() function
80 read_file(batch_filename, &batch_ptr, &batch_size); in dump_batch()
105 read_file(batch_filename, &batch_ptr, &batch_size); in compare_batch()
106 read_file(ref_filename, &ref_ptr, &ref_size); in compare_batch()
/external/autotest/client/site_tests/power_PSROccupancyTest/
Dpower_PSROccupancyTest.py33 return int(utils.read_file(enable_psr_file_path)) == 1
40 psr_status = utils.read_file(debugfs_file_path).splitlines()
51 return int(utils.read_file('/sys/module/drm/parameters/vblankoffdelay'))
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
DTest.pm17 sub read_file { subroutine
127 my $err = read_file('err.tmp');
133 my $out = read_file('out.tmp');
/external/llvm/test/Bindings/OCaml/
Dbitwriter.ml17 let read_file name = function
34 let temp_buf = read_file temp_name in
44 let file_buf = read_file Sys.argv.(1) in
/external/autotest/client/site_tests/logging_UserCrash/
Dlogging_UserCrash.py32 output = utils.read_file(self._CORE_PATTERN).rstrip()
50 output = utils.read_file(self._CORE_PATTERN).rstrip()
87 symbols = utils.read_file(sym_name)
315 lsb_release = utils.read_file('/etc/lsb-release')
540 old_core_pattern = utils.read_file(self._CORE_PATTERN)[:-1]
554 log_contents = utils.read_file(result['log'])
596 contents = utils.read_file(result['log'])
599 if not ('log=' + result['log']) in utils.read_file(result['meta']):
/external/autotest/client/site_tests/kernel_VbootContextEC/
Dkernel_VbootContextEC.py25 media = utils.read_file(self.dts_node_path).strip('\n\x00')
46 vc_got = utils.read_file(sysfs_entry).strip('\n\x00')
/external/autotest/client/cros/faft/utils/
Dshell_wrapper.py74 def read_file(self, path): member in LocalShell
162 def read_file(self, path): member in AdbShell
167 return self._host_shell.read_file(f.name)
Dos_interface.py139 def read_file(self, path): member in OSInterface
141 return self.shell.read_file(path)
253 removable = int(self.read_file('/sys/block/%s/removable' % base_dev))
372 data = self.read_file(tmp_file)
Dkernel_handler.py125 data = list(self.os_if.read_file(self.dump_file_name))
177 s.update(self.os_if.read_file(dev))
/external/iw/
Dvendor.c16 static int read_file(FILE *file, char *buf, size_t size) in read_file() function
78 count = read_file(file, buf, sizeof(buf)); in handle_vendor()
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util_unittest.py29 with open(self.read_only_path, 'w+') as read_file:
30 read_file.write('Read-only file')
44 with open(self.sub_read_only_path, 'w+') as read_file:
45 read_file.write('Read-only sub file')
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/
Dkernel_CrosECSysfsAccel.py39 content = utils.read_file(fullpath)
54 content = utils.read_file(namepath)
/external/autotest/client/site_tests/login_OwnershipRetaken/
Dlogin_OwnershipRetaken.py59 if (utils.read_file(constants.OWNER_KEY_FILE) != pubkey):
74 if (utils.read_file(constants.OWNER_KEY_FILE) == pubkey):
/external/autotest/client/site_tests/power_HotCPUSuspend/
Dpower_HotCPUSuspend.py27 proc_stat = utils.read_file('/proc/stat')
66 self.is_cpuquiet_enabled = utils.read_file(SYSFS_CPUQUIET_ENABLE)
/external/autotest/server/site_tests/kernel_BootMessagesServer/
Dkernel_BootMessagesServer.py79 return utils.read_file(filename)
100 return utils.read_file(filename)
/external/autotest/client/cros/
Downership.py278 return utils.read_file(os.path.join(dirname, constants.MOCK_OWNER_KEY))
321 return (utils.read_file(keyfile.name),
360 der = utils.read_file(outfile.name)
/external/autotest/client/common_lib/cros/network/
Dinterface.py152 read_file = (lambda path: self._run('cat "%s"' % path).stdout.rstrip()
168 vendor_id = read_file(os.path.join(device_path, 'vendor'))
169 product_id = read_file(os.path.join(device_path, 'device'))
/external/valgrind/coregrind/m_debuginfo/
Dreadpdb.c952 void* (*read_file)(const struct pdb_reader*, unsigned, unsigned *); member
1086 reader->read_file = pdb_ds_read_file; in pdb_ds_init()
1104 reader->read_file = pdb_jg_read_file; in pdb_jg_init()
1142 if (reader->read_file == pdb_jg_read_file) in pdb_get_file_size()
1832 if (pdb->read_file == pdb_jg_read_file) in get_stream_by_name()
1878 ret = pdb->read_file(pdb, stream_idx,0); in read_string_table()
1912 char* types_image = pdb->read_file( pdb, 2, 0 ); in pdb_dump()
1913 char* symbols_image = pdb->read_file( pdb, 3, 0 ); in pdb_dump()
1933 di->fpo = pdb->read_file( pdb, 5, &sz ); in pdb_dump()
2123 modimage = pdb->read_file( pdb, symbols.gsym_file, &len_modimage ); in pdb_dump()
[all …]
/external/chromium-trace/catapult/catapult_base/catapult_base/
Dlock_unittest.py27 def _ReadFileWithSharedLockBlockingThenWrite(read_file, write_file): argument
28 with open(read_file, 'r') as f:
/external/webp/src/dsp/
Dcpu-features.c73 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() function
234 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit()
/external/webrtc/webrtc/system_wrappers/source/android/
Dcpu-features.c73 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() function
234 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit()
/external/skia/tools/
Dskdiff_utils.h26 SkData* read_file(const char* file_path);
/external/autotest/client/site_tests/power_NoConsoleSuspend/
Dpower_NoConsoleSuspend.py19 self.old_console_suspend = utils.read_file(SYSFS_CONSOLE_SUSPEND)
/external/opencv3/3rdparty/libwebp/cpu-features/
Dcpu-features.c153 read_file(const char* pathname, char* buffer, size_t buffsize) in read_file() function
403 filelen = read_file(filename, file, sizeof file); in cpulist_read_from()
562 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()

123