Home
last modified time | relevance | path

Searched refs:fdesc (Results 1 – 22 of 22) 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/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.c148 static struct func_desc fdesc; in get_func() local
152 fdesc.func_addr = (uint64_t)mem; in get_func()
153 fdesc.glob_pointer = 0; in get_func()
155 return &fdesc; in get_func()
/external/nanopb-c/generator/
Dnanopb_generator.py624 def parse_file(fdesc, file_options): argument
631 if fdesc.package:
632 base_name = Names(fdesc.package.split('.'))
636 for enum in fdesc.enum_type:
640 for names, message in iterate_messages(fdesc, base_name):
647 for names, extension in iterate_extensions(fdesc, base_name):
981 def process_file(filename, fdesc, options): argument
998 if not fdesc:
1000 fdesc = descriptor.FileDescriptorSet.FromString(data).file[0]
1019 file_options = get_nanopb_suboptions(fdesc, toplevel_options, Names([filename]))
[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/
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()
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()
/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 …]