Home
last modified time | relevance | path

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

/external/libunwind/tests/
DGtest-dyn1.c61 struct fdesc struct
66 # define get_fdesc(fdesc,func) (fdesc = *(struct fdesc *) &(func)) argument
67 # define get_funcp(fdesc) ((template_t) &(fdesc)) argument
68 # define get_gp(fdesc) ((fdesc).gp) argument
70 struct fdesc struct
76 # define get_fdesc(fdesc,func) ({long tmp = (long) &(func); \ argument
77 (fdesc).code = (long) &(func) & ~0x1; \
78 (fdesc).is_thumb = tmp & 0x1;})
81 # define get_funcp(fdesc) ((template_t) ((fdesc).code | (fdesc).is_thumb)) argument
82 # define get_gp(fdesc) (0) argument
[all …]
Dia64-test-dyn1.c16 # define GET_ENTRY(fdesc) (((uintptr_t *) (fdesc))[0]) argument
17 # define GET_GP(fdesc) (((uintptr_t *) (fdesc))[0]) argument
20 # define GET_ENTRY(fdesc) ((uintptr_t ) (fdesc)) argument
21 # define GET_GP(fdesc) (0) argument
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c88 struct xa_format_descriptor fdesc; in xa_get_pipe_format() local
90 fdesc.xa_format = xa_format; in xa_get_pipe_format()
94 fdesc.format = PIPE_FORMAT_B8G8R8A8_UNORM; in xa_get_pipe_format()
97 fdesc.format = PIPE_FORMAT_B8G8R8X8_UNORM; in xa_get_pipe_format()
100 fdesc.format = PIPE_FORMAT_B5G6R5_UNORM; in xa_get_pipe_format()
103 fdesc.format = PIPE_FORMAT_B5G5R5A1_UNORM; in xa_get_pipe_format()
110 fdesc.format = PIPE_FORMAT_R8_UNORM; in xa_get_pipe_format()
112 fdesc.format = PIPE_FORMAT_L8_UNORM; in xa_get_pipe_format()
115 fdesc.format = PIPE_FORMAT_Z24X8_UNORM; in xa_get_pipe_format()
118 fdesc.format = PIPE_FORMAT_Z16_UNORM; in xa_get_pipe_format()
[all …]
Dxa_context.c237 src->fdesc.xa_format, in xa_copy_prepare()
238 dst->fdesc.xa_format); in xa_copy_prepare()
Dxa_priv.h70 struct xa_format_descriptor fdesc; member
/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c331 struct unw_debug_frame_list *w, *fdesc = 0; in locate_debug_info() local
377 fdesc = malloc (sizeof (struct unw_debug_frame_list)); in locate_debug_info()
379 fdesc->start = start; in locate_debug_info()
380 fdesc->end = end; in locate_debug_info()
381 fdesc->debug_frame = buf; in locate_debug_info()
382 fdesc->debug_frame_size = bufsize; in locate_debug_info()
383 fdesc->segbase_bias = segbase_bias; in locate_debug_info()
384 fdesc->index = NULL; in locate_debug_info()
385 fdesc->next = as->debug_frames; in locate_debug_info()
387 as->debug_frames = fdesc; in locate_debug_info()
[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/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/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/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect04.c146 static struct func_desc fdesc; in get_func() local
150 fdesc.func_addr = (uint64_t)mem; in get_func()
151 fdesc.glob_pointer = 0; in get_func()
153 return &fdesc; in get_func()
/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 …]