/external/elfutils/libdwfl/ |
H A D | dwfl_addrmodule.c | 34 Dwfl_Module *mod; local 35 (void) INTUSE(dwfl_addrsegment) (dwfl, address, &mod); 36 return mod;
|
H A D | dwfl_module_eh_cfi.c | 33 dwfl_module_eh_cfi (Dwfl_Module *mod, Dwarf_Addr *bias) argument 35 if (mod == NULL) 38 if (mod->eh_cfi != NULL) 40 *bias = dwfl_adjusted_address (mod, 0); 41 return mod->eh_cfi; 44 __libdwfl_getelf (mod); 45 if (mod->elferr != DWFL_E_NOERROR) 47 __libdwfl_seterrno (mod->elferr); 51 *bias = dwfl_adjusted_address (mod, 0); 52 return __libdwfl_set_cfi (mod, [all...] |
H A D | dwfl_module_getelf.c | 32 dwfl_module_getelf (Dwfl_Module *mod, GElf_Addr *loadbase) argument 34 if (mod == NULL) 37 __libdwfl_getelf (mod); 38 if (mod->elferr == DWFL_E_NOERROR) 40 if (mod->e_type == ET_REL && ! mod->main.relocated) 45 mod->main.relocated = true; 46 if (likely (__libdwfl_module_getebl (mod) == DWFL_E_NOERROR)) 48 (void) __libdwfl_relocate (mod, mod [all...] |
H A D | dwfl_module_addrname.c | 32 dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr addr) argument 36 return INTUSE(dwfl_module_addrinfo) (mod, addr, &off, &sym,
|
H A D | dwfl_module_addrdie.c | 32 dwfl_module_addrdie (Dwfl_Module *mod, Dwarf_Addr addr, Dwarf_Addr *bias) argument 34 if (INTUSE(dwfl_module_getdwarf) (mod, bias) == NULL) 38 Dwfl_Error error = __libdwfl_addrcu (mod, addr, &cu);
|
H A D | dwfl_module_dwarf_cfi.c | 34 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) argument 38 Dwfl_Error error = __libdwfl_module_getebl (mod); 40 cfi->ebl = mod->ebl; 43 if (slot == &mod->eh_cfi) 54 dwfl_module_dwarf_cfi (Dwfl_Module *mod, Dwarf_Addr *bias) argument 56 if (mod == NULL) 59 if (mod->dwarf_cfi != NULL) 61 *bias = dwfl_adjusted_dwarf_addr (mod, 0); 62 return mod->dwarf_cfi; 65 return __libdwfl_set_cfi (mod, [all...] |
H A D | dwfl_module_nextcu.c | 32 dwfl_module_nextcu (Dwfl_Module *mod, Dwarf_Die *lastcu, Dwarf_Addr *bias) argument 34 if (INTUSE(dwfl_module_getdwarf) (mod, bias) == NULL) 38 Dwfl_Error error = __libdwfl_nextcu (mod, (struct dwfl_cu *) lastcu, &cu);
|
H A D | dwfl_module_report_build_id.c | 33 dwfl_module_report_build_id (Dwfl_Module *mod, argument 37 if (mod == NULL) 40 if (mod->main.elf != NULL) 45 if ((size_t) mod->build_id_len == len 46 && (mod->build_id_vaddr == vaddr || vaddr == 0) 47 && !memcmp (bits, mod->build_id_bits, len)) 54 if (vaddr != 0 && (vaddr < mod->low_addr || vaddr + len > mod->high_addr)) 72 free (mod->build_id_bits); 74 mod [all...] |
H A D | dwfl_module_return_value_location.c | 33 dwfl_module_return_value_location (Dwfl_Module *mod, Dwarf_Die *functypedie, argument 36 if (mod == NULL) 39 if (mod->ebl == NULL) 41 Dwfl_Error error = __libdwfl_module_getebl (mod); 49 int nops = ebl_return_value_location (mod->ebl, functypedie, locops);
|
H A D | dwfl_nextcu.c | 38 Dwfl_Module *mod; local 42 mod = dwfl->modulelist; 46 mod = cu->mod; 51 error = __libdwfl_nextcu (mod, cu, &cu); 57 *bias = dwfl_adjusted_dwarf_addr (mod, 0); 63 mod = mod->next; 66 if (mod == NULL) 69 if (mod [all...] |
H A D | dwfl_validate_address.c | 34 Dwfl_Module *mod = INTUSE(dwfl_addrmodule) (dwfl, address); local 35 if (mod == NULL) 39 int idx = INTUSE(dwfl_module_relocate_address) (mod, &relative); 47 if (relative >= mod->low_addr && relative <= mod->high_addr) 49 offset_idx = INTUSE(dwfl_module_relocate_address) (mod, &relative);
|
H A D | dwfl_module_info.c | 32 dwfl_module_info (Dwfl_Module *mod, void ***userdata, argument 37 if (mod == NULL) 41 *userdata = &mod->userdata; 43 *start = mod->low_addr; 45 *end = mod->high_addr; 48 *dwbias = (mod->debug.elf == NULL ? (Dwarf_Addr) -1 49 : dwfl_adjusted_dwarf_addr (mod, 0)); 51 *symbias = (mod->symfile == NULL ? (Dwarf_Addr) -1 52 : dwfl_adjusted_st_value (mod, mod [all...] |
H A D | dwfl_build_id_find_debuginfo.c | 34 dwfl_build_id_find_debuginfo (Dwfl_Module *mod, argument 48 if (mod->dw != NULL) 52 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, 56 fd = __libdwfl_open_by_build_id (mod, true, debuginfo_file_name, 64 Dwfl_Error error = __libdw_open_file (&fd, &mod->alt_elf, 71 ssize_t alt_len = INTUSE(dwelf_elf_gnu_build_id) (mod->alt_elf, 79 elf_end (mod->alt_elf); 80 mod->alt_elf = NULL; 97 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0) 98 fd = __libdwfl_open_mod_by_build_id (mod, tru [all...] |
H A D | dwfl_getdwarf.c | 40 module_callback (Dwfl_Module *mod, void **userdata, argument 45 Dwarf *dw = INTUSE(dwfl_module_getdwarf) (mod, &bias); 46 return (*info->callback) (mod, userdata, name, start, dw, bias, info->arg);
|
H A D | dwfl_module_build_id.c | 32 found_build_id (Dwfl_Module *mod, bool set, argument 39 return 1 + (mod->build_id_len == len 40 && !memcmp (bits, mod->build_id_bits, len)); 49 mod->build_id_bits = memcpy (copy, bits, len); 50 mod->build_id_vaddr = vaddr; 51 mod->build_id_len = len; 57 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf) argument 63 /* For mod == NULL use dwelf_elf_gnu_build_id directly. */ 64 assert (mod != NULL); 66 int result = __libdwfl_find_elf_build_id (mod, el 77 dwfl_module_build_id(Dwfl_Module *mod, const unsigned char **bits, GElf_Addr *vaddr) argument [all...] |
H A D | dwfl_module_getsrc.c | 33 dwfl_module_getsrc (Dwfl_Module *mod, Dwarf_Addr addr) argument 36 if (INTUSE(dwfl_module_getdwarf) (mod, &bias) == NULL) 40 Dwfl_Error error = __libdwfl_addrcu (mod, addr, &cu);
|
H A D | dwfl_module_register_names.c | 33 dwfl_module_register_names (Dwfl_Module *mod, argument 39 if (unlikely (mod == NULL)) 42 if (unlikely (mod->ebl == NULL)) 44 Dwfl_Error error = __libdwfl_module_getebl (mod); 52 int nregs = ebl_register_info (mod->ebl, -1, NULL, 0, 62 ssize_t len = ebl_register_info (mod->ebl, regno, name, sizeof name,
|
/external/elfutils/tests/ |
H A D | dwfl-bug-addr-overflow.c | 63 Dwfl_Module *mod = dwfl_addrmodule (dwfl, UINT64_C (0xffffffff00010123)); local 64 assert (mod == high); 65 mod = dwfl_addrmodule (dwfl, UINT64_C (0x00010123)); 66 assert (mod == low); 67 mod = dwfl_addrmodule (dwfl, UINT64_C (0xffff00010123)); 68 assert (mod == middle);
|
H A D | dwfl-addr-sect.c | 35 Dwfl_Module *mod = dwfl_addrmodule (dwfl, address); local 38 Elf_Scn *scn = dwfl_module_address_section (mod, &adjusted, &bias); 47 dwfl_module_info (mod, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
|
H A D | dwfl-report-elf-align.c | 56 Dwfl_Module *mod = dwfl_report_elf (dwfl, argv[1], argv[1], -1, base, false); local 57 assert (mod != NULL); 63 assert (mod_found == mod); 65 const char *symname = dwfl_module_addrname (mod, funcaddr);
|
H A D | vdsosyms.c | 40 module_callback (Dwfl_Module *mod, void **userdata __attribute__((unused)), argument 48 vdso_syms = dwfl_module_getsymtab (mod); 57 const char *sname = dwfl_module_getsym_info (mod, i, &sym, &addr,
|
/external/kmod/testsuite/ |
H A D | test-init.c | 51 struct kmod_module *mod; local 59 err = kmod_module_new_from_path(ctx, "/mod-simple.ko", &mod); 65 err = kmod_module_insert_module(mod, 0, NULL); 94 err = kmod_module_new_from_name(ctx, "mod-simple", &mod_simple); 127 "mod-simple:0:0:bla:-1:" STRINGIFY(ENOENT),
|
H A D | test-initstate.c | 39 struct kmod_module *mod; local 58 mod = kmod_module_get_module(list); 60 r = kmod_module_get_initstate(mod); 67 kmod_module_unref(mod); 84 struct kmod_module *mod = NULL; local 92 err = kmod_module_new_from_name(ctx, "fake-builtin", &mod); 98 if (!mod) { 103 r = kmod_module_get_initstate(mod); 110 kmod_module_unref(mod);
|
/external/python/cpython2/Lib/lib2to3/tests/ |
H A D | __init__.py | 23 mod = globals()[t] variable 24 all_tests.addTests(loader.loadTestsFromModule(mod))
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktSampleVerifierUtil.cpp | 44 deInt32 mod (const deInt32 a, const deInt32 n) function in namespace:vkt::texture::util 398 wrappedCoord = mod(coord, size); 402 wrappedCoord = (size - 1) - mirror(mod(coord, 2 * size) - size);
|