Home
last modified time | relevance | path

Searched refs:fdesc (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c87 struct xa_format_descriptor fdesc; in xa_get_pipe_format() local
89 fdesc.xa_format = xa_format; in xa_get_pipe_format()
97 fdesc.format = PIPE_FORMAT_R8_UNORM; in xa_get_pipe_format()
99 fdesc.format = PIPE_FORMAT_L8_UNORM; in xa_get_pipe_format()
102 fdesc.format = PIPE_FORMAT_B8G8R8A8_UNORM; in xa_get_pipe_format()
105 fdesc.format = PIPE_FORMAT_B8G8R8X8_UNORM; in xa_get_pipe_format()
108 fdesc.format = PIPE_FORMAT_B5G6R5_UNORM; in xa_get_pipe_format()
111 fdesc.format = PIPE_FORMAT_B5G5R5A1_UNORM; in xa_get_pipe_format()
114 fdesc.format = PIPE_FORMAT_B4G4R4A4_UNORM; in xa_get_pipe_format()
117 fdesc.format = PIPE_FORMAT_R10G10B10A2_UNORM; in xa_get_pipe_format()
[all …]
Dxa_context.c238 src->fdesc.xa_format, in xa_copy_prepare()
239 dst->fdesc.xa_format); in xa_copy_prepare()
Dxa_priv.h70 struct xa_format_descriptor fdesc; member
/external/starlark-go/lib/proto/
Dproto.go202 var fdesc protoreflect.FieldDescriptor
206 fdesc, err = fieldDesc(msg.desc(), string(field))
215 fdesc = field.Desc
221 return starlark.Bool(msg.msg.Has(fdesc)), nil
337 src.msg.Range(func(fdesc protoreflect.FieldDescriptor, v protoreflect.Value) bool {
338 dest.msg.Set(fdesc, v)
364 fdesc, err := fieldDesc(msg.Descriptor(), name)
368 if err := setField(msg, fdesc, item[1]); err != nil {
377 func setField(msg protoreflect.Message, fdesc protoreflect.FieldDescriptor, value starlark.Value) e…
380 msg.Clear(fdesc)
[all …]
/external/ltp/testcases/kernel/syscalls/mlockall/
Dmlockall01.c82 char *fdesc; member
114 "return=%ld", TC[i].fdesc, in main()
118 TC[i].fdesc); in main()
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py995 def __init__(self, fdesc, file_options): argument
997 self.fdesc = fdesc
1011 if self.fdesc.package:
1012 base_name = Names(self.fdesc.package.split('.'))
1016 for enum in self.fdesc.enum_type:
1020 for names, message in iterate_messages(self.fdesc, base_name):
1031 for names, extension in iterate_extensions(self.fdesc, base_name):
1071 if self.fdesc.package:
1072 symbol = make_identifier(self.fdesc.package + '_' + headername)
1416 def parse_file(filename, fdesc, options): argument
[all …]
/external/scapy/scapy/
Dutils.py707 with PcapWriter(filename, *args, **kargs) as fdesc:
708 fdesc.write(pkt)
717 with PcapReader(filename) as fdesc:
718 return fdesc.read_all(count=count)
740 filename, fdesc, magic = cls.open(filename)
742 i.__init__(filename, fdesc, magic)
748 i.__init__(filename, fdesc, magic)
764 fdesc = gzip.open(filename,"rb")
765 magic = fdesc.read(4)
767 fdesc = open(filename, "rb")
[all …]
Ddata.py217 with open(filename, "rb") as fdesc:
218 for l in fdesc:
/external/nanopb-c/generator/
Dnanopb_generator.py1091 def __init__(self, fdesc, file_options): argument
1093 self.fdesc = fdesc
1107 if self.fdesc.package:
1108 base_name = Names(self.fdesc.package.split('.'))
1112 for enum in self.fdesc.enum_type:
1116 for names, message in iterate_messages(self.fdesc, base_name):
1127 for names, extension in iterate_extensions(self.fdesc, base_name):
1167 if self.fdesc.package:
1168 symbol = make_identifier(self.fdesc.package + '_' + headername)
1524 def parse_file(filename, fdesc, options): argument
[all …]
/external/ltp/testcases/kernel/syscalls/pwrite/
Dpwrite04.c241 void l_seek(int fdesc, off_t offset, int whence, off_t checkoff) in l_seek() argument
245 if ((offloc = lseek(fdesc, offset, whence)) != checkoff) { in l_seek()
248 offloc, fdesc, offset, whence, checkoff, errno); in l_seek()
Dpwrite01.c250 void l_seek(int fdesc, off_t offset, int whence, off_t checkoff) in l_seek() argument
254 if ((offloc = lseek(fdesc, offset, whence)) != checkoff) { in l_seek()
/external/scapy/scapy/modules/
Dnmap.py56 fdesc = open(conf.nmap_base
67 for line in fdesc:
88 fdesc.close()
/external/ltp/testcases/kernel/syscalls/writev/
Dwritev02.c230 void l_seek(int fdesc, off_t offset, int whence) in l_seek() argument
232 if (lseek(fdesc, offset, whence) == -1) in l_seek()
Dwritev05.c282 long l_seek(int fdesc, long offset, int whence) in l_seek() argument
284 if (lseek(fdesc, offset, whence) < 0) { in l_seek()
/external/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c280 long l_seek(int fdesc, long offset, int whence) in l_seek() argument
282 SAFE_LSEEK(cleanup, fdesc, offset, whence); in l_seek()
/external/ltp/testcases/kernel/syscalls/pread/
Dpread01.c285 void l_seek(int fdesc, off_t offset, int whence, off_t checkoff) in l_seek() argument
289 if ((offloc = lseek(fdesc, offset, whence)) != checkoff) { in l_seek()
/external/scapy/scapy/arch/
Dunix.py36 with os.popen('%s -l' % conf.prog.ifconfig) as fdesc:
37 ifaces = fdesc.readline().strip().split(' ')
Dlinux.py301 fdesc = open("/proc/net/if_inet6", "rb")
304 for line in fdesc:
/external/scapy/
DCONTRIBUTING.md76 `range()`, `for line in fdesc` instead of `for line in
77 fdesc.readlines()`; more generally prefer generators over lists).
/external/scapy/test/
Dregression.uts5461 fdesc, filename = tempfile.mkstemp()
5462 fdesc = os.fdopen(fdesc, "wb")
5463 wrpcap(fdesc, pktpcap)
5464 fdesc.close()
5470 fdesc = open(filename, "rb")
5471 assert list(pktpcap) == list(sniff(offline=fdesc))
5472 fdesc.close()
5482 fdesc = open(filename, "rb")
5483 pktpcap_tcp = sniff(offline=fdesc, filter="tcp")
5484 fdesc.close()
[all …]