Searched defs:mod (Results 1 - 25 of 395) sorted by relevance

1234567891011>>

/external/elfutils/libdwfl/
H A Ddwfl_addrmodule.c34 Dwfl_Module *mod; local
35 (void) INTUSE(dwfl_addrsegment) (dwfl, address, &mod);
36 return mod;
H A Ddwfl_module_eh_cfi.c33 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 Ddwfl_module_getelf.c32 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 Ddwfl_module_addrname.c32 dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr addr) argument
36 return INTUSE(dwfl_module_addrinfo) (mod, addr, &off, &sym,
H A Ddwfl_module_addrdie.c32 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 Ddwfl_module_dwarf_cfi.c34 __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 Ddwfl_module_nextcu.c32 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 Ddwfl_module_report_build_id.c33 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 Ddwfl_module_return_value_location.c33 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 Ddwfl_nextcu.c38 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 Ddwfl_validate_address.c34 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 Ddwfl_module_info.c32 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 Ddwfl_build_id_find_debuginfo.c34 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 Ddwfl_getdwarf.c40 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 Ddwfl_module_build_id.c32 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 Ddwfl_module_getsrc.c33 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 Ddwfl_module_register_names.c33 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/python/cpython3/Modules/_decimal/libmpdec/literature/
H A Dumodarith.lisp32 (include-book "arithmetic-2/floor-mod/floor-mod" :dir :system)
45 (defthm elim-mod-m<x<2*m
49 (equal (mod x m)
55 (equal (mod (- x) m)
61 (equal (mod x m)
69 (equal (mod x m)
75 (< (mod (+ b x) m) b))
76 (equal (mod (+ (- m) b x) m)
77 (+ (- m) b (mod
[all...]
/external/elfutils/tests/
H A Ddwfl-bug-addr-overflow.c63 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 Ddwfl-addr-sect.c35 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 Ddwfl-report-elf-align.c56 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);
/external/kmod/testsuite/
H A Dtest-init.c51 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 Dtest-initstate.c39 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__.py23 mod = globals()[t] variable
24 all_tests.addTests(loader.loadTestsFromModule(mod))
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifierUtil.cpp44 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);

Completed in 256 milliseconds

1234567891011>>