Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_from_file_agent.py31 if options.from_file is not None:
32 with open(options.from_file, 'rb') as f_in:
34 if convert_perfetto_trace(options.from_file):
35 options.from_file = T2T_OUTPUT
37 print ('Perfetto trace file: ' + options.from_file +
74 def is_perfetto(from_file): argument
76 if ord(from_file.read(1)) != 0x0a:
83 c = ord(from_file.read(1))
89 from_file.seek(field_size, os.SEEK_CUR)
91 if ord(from_file.read(1)) != 0x0a:
[all …]
Datrace_agent.py93 if config.from_file is not None:
419 app_name, compress_trace_data, from_file, argument
430 self.from_file = from_file
462 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/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.py86 if options.from_file is not None:
87 base = os.path.splitext(options.from_file)[0]
160 if options.target == 'android' and not options.from_file:
190 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.py570 self.set_edid(edid_lib.Edid.from_file(filename))
642 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/database/
Dmigrate.py34 def from_file(cls, filename): member in Migration
206 migrations = [Migration.from_file(filename)
/external/autotest/server/site_tests/display_EdidStress/
Ddisplay_EdidStress.py73 edid.Edid.from_file(filepath, skip_verify=True)):
/external/selinux/python/audit2allow/
Daudit2why198 ifs.from_file(fd)
213 perm_maps.from_file(fd)
Daudit2allow198 ifs.from_file(fd)
213 perm_maps.from_file(fd)
Dsepolgen-ifgen106 attrs.from_file(outfile)
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc125 int from_file = -1, to_file = -1;
128 if ((from_file = ::open(f.begin(), O_RDONLY)) < 0)
130 AutoFD from_fd(from_file);
/external/autotest/server/site_tests/audio_AudioNodeSwitch/
Daudio_AudioNodeSwitch.py120 hdmi_port.apply_edid(edid_lib.Edid.from_file(edid_path))
/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/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc266 const FileDescriptor* from_file, in MaybeCrossFileRef() argument
269 from_file != to_message->file()) { in MaybeCrossFileRef()
1076 const FileDescriptor* from_file, in JSExtensionsObjectName() argument
1082 return MaybeCrossFileRef(options, from_file, desc) + ".extensions"; in JSExtensionsObjectName()
/external/python/cpython3/Lib/test/
Dtest_zipfile.py2226 zi = zipfile.ZipInfo.from_file(__file__)
2232 zi = zipfile.ZipInfo.from_file(pathlib.Path(__file__))
2238 zi = zipfile.ZipInfo.from_file(os.fsencode(__file__), 'test')
2245 zi = zipfile.ZipInfo.from_file(f.fileno(), 'test')
2252 zi = zipfile.ZipInfo.from_file(dirpath, 'stdlib_tests')
/external/python/cpython3/Lib/
Dzipfile.py495 def from_file(cls, filename, arcname=None): member in ZipInfo
1710 zinfo = ZipInfo.from_file(filename, arcname)

12