Home
last modified time | relevance | path

Searched refs:from_file (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_from_file_agent.py27 if options.from_file is not None:
28 with open(options.from_file, 'rb') as f_in:
30 if convert_perfetto_trace(options.from_file):
31 options.from_file = T2T_OUTPUT
33 print ('Perfetto trace file: ' + options.from_file +
53 def is_perfetto(from_file): argument
55 if ord(from_file.read(1)) != 0x0a:
62 c = ord(from_file.read(1))
68 from_file.seek(field_size, os.SEEK_CUR)
70 if ord(from_file.read(1)) != 0x0a:
[all …]
Datrace_agent.py93 if config.from_file is not None:
428 app_name, compress_trace_data, from_file, argument
439 self.from_file = from_file
471 options.from_file, options.device_serial_number,
Dandroid_process_data_agent.py33 if config.from_file is not None:
Datrace_process_dump.py115 can_enable = (options.target == 'android') and (not options.from_file)
/external/crosvm/sys_util/src/
Dfile_flags.rs19 pub fn from_file(file: &dyn AsRawFd) -> Result<FileFlags> { in from_file() method
44 assert_eq!(FileFlags::from_file(&read_pipe).unwrap(), FileFlags::Read); in pipe_pair()
45 assert_eq!(FileFlags::from_file(&write_pipe).unwrap(), FileFlags::Write); in pipe_pair()
51 assert_eq!(FileFlags::from_file(&evt).unwrap(), FileFlags::ReadWrite); in eventfd()
/external/python/cpython2/Demo/tix/samples/
DOptMenu.py29 from_file = Tix.OptionMenu(top, label="From File Format : ",
44 from_file.add_command(opt, label=options[opt])
50 from_file.pack(side=Tix.TOP, anchor=Tix.W, pady=3, padx=6)
/external/chromium-trace/catapult/systrace/systrace/
Drun_systrace.py85 if options.from_file is not None:
86 base = os.path.splitext(options.from_file)[0]
159 if options.target == 'android' and not options.from_file:
189 if options.from_file is not None:
/external/selinux/python/sepolgen/tests/
Dtest_objectmodel.py27 info.from_file(fd)
Dtest_interfaces.py270 i2.from_file(f)
/external/autotest/client/cros/chameleon/
Dedid.py83 def from_file(cls, filename, skip_verify=False): member in Edid
Dchameleon.py695 self.set_edid(edid_lib.Edid.from_file(filename),
769 return self.use_edid(edid_lib.Edid.from_file(filename),
/external/grpc-grpc/src/compiler/
Dnode_generator.cc86 grpc::string GetRelativePath(const grpc::string& from_file, in GetRelativePath() argument
88 return GetRootPath(from_file, to_file) + to_file; in GetRelativePath()
/external/selinux/python/sepolgen/src/sepolgen/
Dobjectmodel.py105 def from_file(self, fd): member in PermMappings
Dinterfaces.py213 def from_file(self, fd): member in AttributeSet
349 def from_file(self, fd): member in InterfaceSet
/external/autotest/server/site_tests/display_EdidStress/
Ddisplay_EdidStress.py73 edid.Edid.from_file(filepath, skip_verify=True)):
/external/autotest/database/
Dmigrate.py34 def from_file(cls, filename): member in Migration
206 migrations = [Migration.from_file(filename)
/external/selinux/python/audit2allow/
Dsepolgen-ifgen106 attrs.from_file(outfile)
Daudit2allow198 ifs.from_file(fd)
213 perm_maps.from_file(fd)
Daudit2why198 ifs.from_file(fd)
213 perm_maps.from_file(fd)
/external/autotest/server/site_tests/audio_AudioNodeSwitch/
Daudio_AudioNodeSwitch.py112 hdmi_port.apply_edid(edid_lib.Edid.from_file(edid_path))
/external/python/cpython3/Lib/xml/etree/
DElementTree.py1718 def canonicalize(xml_data=None, *, out=None, from_file=None, **options): argument
1731 if xml_data is None and from_file is None:
1742 elif from_file is not None:
1743 parse(from_file, parser=parser)
/external/autotest/server/site_tests/video_PlaybackQuality/
Dvideo_PlaybackQuality.py356 edid.Edid.from_file(edid_path, skip_verify=True)):
/external/iproute2/lib/
Dbpf.c216 static int bpf_parse_string(char *arg, bool from_file, __u16 *bpf_len, in bpf_parse_string() argument
222 if (from_file) { in bpf_parse_string()
288 bool from_file) in bpf_ops_parse() argument
297 if (bpf_parse_string(argv[0], from_file, &bpf_len, &bpf_string, in bpf_ops_parse()
/external/crosvm/devices/src/virtio/
Dwl.rs820 fn from_file(vm: VmRequester, mut fd: File) -> WlResult<WlVfd> { in from_file() method
845 let flags = match FileFlags::from_file(&fd) { in from_file()
1335 let vfd = WlVfd::from_file(self.vm.clone(), file)?; in recv()
/external/python/cpython3/Lib/test/
Dtest_zipfile.py2556 zi = zipfile.ZipInfo.from_file(__file__)
2562 zi = zipfile.ZipInfo.from_file(pathlib.Path(__file__))
2568 zi = zipfile.ZipInfo.from_file(os.fsencode(__file__), 'test')
2575 zi = zipfile.ZipInfo.from_file(f.fileno(), 'test')
2582 zi = zipfile.ZipInfo.from_file(dirpath, 'stdlib_tests')

12