/external/elfutils/0.153/libdwfl/ |
dwfl_module_getelf.c | 53 dwfl_module_getelf (Dwfl_Module *mod, GElf_Addr *loadbase) 55 if (mod == NULL) 58 __libdwfl_getelf (mod); 59 if (mod->elferr == DWFL_E_NOERROR) 61 if (mod->e_type == ET_REL && ! mod->main.relocated) 66 mod->main.relocated = true; 67 if (likely (__libdwfl_module_getebl (mod) == DWFL_E_NOERROR)) 69 (void) __libdwfl_relocate (mod, mod->main.elf, false) [all...] |
dwfl_module_eh_cfi.c | 54 dwfl_module_eh_cfi (mod, bias) 55 Dwfl_Module *mod; 58 if (mod == NULL) 61 if (mod->eh_cfi != NULL) 63 *bias = dwfl_adjusted_address (mod, 0); 64 return mod->eh_cfi; 67 __libdwfl_getelf (mod); 68 if (mod->elferr != DWFL_E_NOERROR) 70 __libdwfl_seterrno (mod->elferr); 74 *bias = dwfl_adjusted_address (mod, 0) [all...] |
dwfl_nextcu.c | 59 Dwfl_Module *mod; local 63 mod = dwfl->modulelist; 67 mod = cu->mod; 72 error = __libdwfl_nextcu (mod, cu, &cu); 78 *bias = dwfl_adjusted_dwarf_addr (mod, 0); 84 mod = mod->next; 87 if (mod == NULL) 90 if (mod->dwerr == DWFL_E_NOERRO [all...] |
dwfl_module_dwarf_cfi.c | 55 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) 59 Dwfl_Error error = __libdwfl_module_getebl (mod); 61 cfi->ebl = mod->ebl; 64 if (slot == &mod->eh_cfi) 75 dwfl_module_dwarf_cfi (mod, bias) 76 Dwfl_Module *mod; 79 if (mod == NULL) 82 if (mod->dwarf_cfi != NULL) 84 *bias = dwfl_adjusted_dwarf_addr (mod, 0); 85 return mod->dwarf_cfi [all...] |
dwfl_addrmodule.c | 55 Dwfl_Module *mod; local 56 (void) INTUSE(dwfl_addrsegment) (dwfl, address, &mod); 57 return mod;
|
dwfl_module_info.c | 53 dwfl_module_info (Dwfl_Module *mod, void ***userdata, 58 if (mod == NULL) 62 *userdata = &mod->userdata; 64 *start = mod->low_addr; 66 *end = mod->high_addr; 69 *dwbias = (mod->debug.elf == NULL ? (Dwarf_Addr) -1 70 : dwfl_adjusted_dwarf_addr (mod, 0)); 72 *symbias = (mod->symfile == NULL ? (Dwarf_Addr) -1 73 : dwfl_adjusted_st_value (mod, 0)); 76 *mainfile = mod->main.name [all...] |
dwfl_module_report_build_id.c | 54 dwfl_module_report_build_id (Dwfl_Module *mod, 58 if (mod == NULL) 61 if (mod->main.elf != NULL) 66 if ((size_t) mod->build_id_len == len 67 && (mod->build_id_vaddr == vaddr || vaddr == 0) 68 && !memcmp (bits, mod->build_id_bits, len)) 75 if (vaddr != 0 && (vaddr < mod->low_addr || vaddr + len > mod->high_addr)) 93 free (mod->build_id_bits); 95 mod->build_id_bits = copy [all...] |
dwfl_module_return_value_location.c | 54 dwfl_module_return_value_location (mod, functypedie, locops) 55 Dwfl_Module *mod; 59 if (mod == NULL) 62 if (mod->ebl == NULL) 64 Dwfl_Error error = __libdwfl_module_getebl (mod); 72 int nops = ebl_return_value_location (mod->ebl, functypedie, locops);
|
dwfl_module_addrname.c | 53 dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr addr) 56 return INTUSE(dwfl_module_addrsym) (mod, addr, &sym, NULL);
|
dwfl_build_id_find_debuginfo.c | 55 dwfl_build_id_find_debuginfo (Dwfl_Module *mod, 67 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0) 68 fd = __libdwfl_open_by_build_id (mod, true, debuginfo_file_name); 74 Dwfl_Error error = __libdw_open_file (&fd, &mod->debug.elf, true, false); 77 else if (likely (__libdwfl_find_build_id (mod, false, 78 mod->debug.elf) == 2)) 81 mod->debug.valid = true; 87 elf_end (mod->debug.elf); 88 mod->debug.elf = NULL;
|
dwfl_module.c | 79 __libdwfl_module_free (Dwfl_Module *mod) 81 if (mod->lazy_cu_root != NULL) 82 tdestroy (mod->lazy_cu_root, nofree); 84 if (mod->aranges != NULL) 85 free (mod->aranges); 87 if (mod->cu != NULL) 89 for (size_t i = 0; i < mod->ncu; ++i) 90 free_cu (mod->cu[i]); 91 free (mod->cu); 94 if (mod->dw != NULL 171 Dwfl_Module *mod = calloc (1, sizeof *mod); local [all...] |
dwfl_validate_address.c | 55 Dwfl_Module *mod = INTUSE(dwfl_addrmodule) (dwfl, address); local 56 if (mod == NULL) 60 int idx = INTUSE(dwfl_module_relocate_address) (mod, &relative); 68 if (relative >= mod->low_addr && relative <= mod->high_addr) 70 offset_idx = INTUSE(dwfl_module_relocate_address) (mod, &relative);
|
dwfl_module_getdwarf.c | 57 /* Open libelf FILE->fd and compute the load base of ELF as loaded in MOD. 60 open_elf (Dwfl_Module *mod, struct dwfl_file *file) 100 if (mod->e_type != ET_REL) 154 mod->e_type = ehdr->e_type; 157 if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr) 158 mod->e_type = ET_DYN; 164 When we return success, MOD->main.elf and MOD->main.bias are set up. */ 167 __libdwfl_getelf (Dwfl_Module *mod) [all...] |
dwfl_cumodule.c | 56 return cu->mod;
|
dwfl_linemodule.c | 58 return dwfl_linecu (line)->mod;
|
dwfl_module_addrdie.c | 53 dwfl_module_addrdie (Dwfl_Module *mod, Dwarf_Addr addr, Dwarf_Addr *bias) 55 if (INTUSE(dwfl_module_getdwarf) (mod, bias) == NULL) 59 Dwfl_Error error = __libdwfl_addrcu (mod, addr, &cu);
|
dwfl_module_nextcu.c | 53 dwfl_module_nextcu (Dwfl_Module *mod, Dwarf_Die *lastcu, Dwarf_Addr *bias) 55 if (INTUSE(dwfl_module_getdwarf) (mod, bias) == NULL) 59 Dwfl_Error error = __libdwfl_nextcu (mod, (struct dwfl_cu *) lastcu, &cu);
|
cu.c | 57 dwar (Dwfl_Module *mod, unsigned int idx) 59 return &mod->dw->aranges->info[mod->aranges[idx].arange]; 64 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) 66 if (mod->aranges == NULL) 71 if (INTUSE(dwarf_getaranges) (mod->dw, &dwaranges, &naranges) != 0) 102 mod->naranges = naranges; 103 mod->aranges = (realloc (aranges, naranges * sizeof aranges[0]) 105 mod->lazycu += naranges; 109 addr = dwfl_deadjust_dwarf_addr (mod, addr) [all...] |
derelocate.c | 91 cache_sections (Dwfl_Module *mod) 93 if (likely (mod->reloc_info != NULL)) 94 return mod->reloc_info->count; 100 if (unlikely (elf_getshdrstrndx (mod->main.elf, &shstrndx) < 0)) 109 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) 117 && mod->e_type == ET_REL) 120 if (__libdwfl_relocate_value (mod, mod->main.elf, &shstrndx, 131 const char *name = elf_strptr (mod->main.elf, shstrndx, 140 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr) [all...] |
dwfl_module_build_id.c | 53 found_build_id (Dwfl_Module *mod, bool set, 60 return 1 + (mod->build_id_len == len 61 && !memcmp (bits, mod->build_id_bits, len)); 70 mod->build_id_bits = memcpy (copy, bits, len); 71 mod->build_id_vaddr = vaddr; 72 mod->build_id_len = len; 79 check_notes (Dwfl_Module *mod, bool set, Elf_Data *data, GElf_Addr data_vaddr) 89 return found_build_id (mod, set, 98 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf) 122 result = check_notes (mod, set [all...] |
/external/javassist/src/main/javassist/ |
Modifier.java | 51 public static boolean isPublic(int mod) { 52 return (mod & PUBLIC) != 0; 59 public static boolean isPrivate(int mod) { 60 return (mod & PRIVATE) != 0; 67 public static boolean isProtected(int mod) { 68 return (mod & PROTECTED) != 0; 75 public static boolean isPackage(int mod) { 76 return (mod & (PUBLIC | PRIVATE | PROTECTED)) == 0; 83 public static boolean isStatic(int mod) { 84 return (mod & STATIC) != 0 [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
EventBuilder.java | 44 EventMod mod = createModifier(EventMod.ModKind.Count); local 45 mod.count = count; 46 modifiers.add(mod); 57 EventMod mod = createModifier(EventMod.ModKind.ThreadOnly); local 58 mod.thread = thread; 59 modifiers.add(mod); 70 EventMod mod = createModifier(EventMod.ModKind.ClassMatch); local 71 mod.classPattern = pattern; 72 modifiers.add(mod); 83 EventMod mod = createModifier(EventMod.ModKind.LocationOnly) local 99 EventMod mod = createModifier(EventMod.ModKind.ExceptionOnly); local 115 EventMod mod = createModifier(EventMod.ModKind.FieldOnly); local 129 EventMod mod = createModifier(EventMod.ModKind.InstanceOnly); local 147 EventMod mod = new EventMod(); local [all...] |
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/ |
err.h | 153 #define debug_on(mod) (mod).on = 1 155 #define debug_off(mod) (mod).on = 0 158 #define debug_print(mod, format, arg) \ 159 if (mod.on) err_report(err_level_debug, ("%s: " format "\n"), mod.name, arg) 160 #define debug_print2(mod, format, arg1,arg2) \ 161 if (mod.on) err_report(err_level_debug, ("%s: " format "\n"), mod.name, arg1,arg2 [all...] |
/development/ndk/platforms/android-3/include/linux/ |
kmod.h | 21 #define try_then_request_module(x, mod...) ((x) ?: (request_module(mod), (x)))
|
/external/fsck_msdos/ |
check.c | 65 int mod = 0; local 115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); 116 if (mod & FSFATAL) { 126 mod |= readfat(dosfs, &boot, i, ¤tFat); 128 if (mod & FSFATAL) { 133 mod |= comparefat(&boot, fat, currentFat, i); 135 if (mod & FSFATAL) { 144 mod |= checkfat(&boot, fat); 145 if (mod & FSFATAL) { 154 mod |= resetDosDirSection(&boot, fat) [all...] |