Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 25 of 677) sorted by relevance

12345678910>>...28

/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c72 open_elf (Dwfl_Module *mod, struct dwfl_file *file) in open_elf() argument
151 if (file == &mod->main) in open_elf()
153 mod->e_type = ehdr->e_type; in open_elf()
156 if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr) in open_elf()
157 mod->e_type = ET_DYN; in open_elf()
160 assert (mod->main.elf != NULL); in open_elf()
168 mod_verify_build_id (Dwfl_Module *mod) in mod_verify_build_id() argument
170 assert (mod->build_id_len > 0); in mod_verify_build_id()
172 switch (__builtin_expect (__libdwfl_find_build_id (mod, false, in mod_verify_build_id()
173 mod->main.elf), 2)) in mod_verify_build_id()
[all …]
Ddwfl_module.c59 __libdwfl_module_free (Dwfl_Module *mod) in __libdwfl_module_free() argument
61 if (mod->lazy_cu_root != NULL) in __libdwfl_module_free()
62 tdestroy (mod->lazy_cu_root, nofree); in __libdwfl_module_free()
64 if (mod->aranges != NULL) in __libdwfl_module_free()
65 free (mod->aranges); in __libdwfl_module_free()
67 if (mod->cu != NULL) in __libdwfl_module_free()
69 for (size_t i = 0; i < mod->ncu; ++i) in __libdwfl_module_free()
70 free_cu (mod->cu[i]); in __libdwfl_module_free()
71 free (mod->cu); in __libdwfl_module_free()
76 if (mod->eh_cfi != NULL) in __libdwfl_module_free()
[all …]
Ddwfl_module_getsym.c33 __libdwfl_getsym (Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, in __libdwfl_getsym() argument
37 if (unlikely (mod == NULL)) in __libdwfl_getsym()
40 if (unlikely (mod->symdata == NULL)) in __libdwfl_getsym()
42 int result = INTUSE(dwfl_module_getsymtab) (mod); in __libdwfl_getsym()
53 int skip_aux_zero = (mod->syments > 0 && mod->aux_syments > 0) ? 1 : 0; in __libdwfl_getsym()
58 if (mod->aux_symdata == NULL in __libdwfl_getsym()
59 || ndx < mod->first_global) in __libdwfl_getsym()
63 elf = mod->symfile->elf; in __libdwfl_getsym()
64 symdata = mod->symdata; in __libdwfl_getsym()
65 symxndxdata = mod->symxndxdata; in __libdwfl_getsym()
[all …]
Dderelocate.c70 cache_sections (Dwfl_Module *mod) in cache_sections() argument
72 if (likely (mod->reloc_info != NULL)) in cache_sections()
73 return mod->reloc_info->count; in cache_sections()
79 if (unlikely (elf_getshdrstrndx (mod->main.elf, &shstrndx) < 0)) in cache_sections()
89 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) in cache_sections()
97 && mod->e_type == ET_REL) in cache_sections()
100 if (__libdwfl_relocate_value (mod, mod->main.elf, &shstrndx, in cache_sections()
111 const char *name = elf_strptr (mod->main.elf, shstrndx, in cache_sections()
128 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections()
135 if (mod->e_type == ET_REL in cache_sections()
[all …]
Dcu.c36 dwar (Dwfl_Module *mod, unsigned int idx) in dwar() argument
38 return &mod->dw->aranges->info[mod->aranges[idx].arange]; in dwar()
43 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) in addrarange() argument
45 if (mod->aranges == NULL) in addrarange()
50 if (INTUSE(dwarf_getaranges) (mod->dw, &dwaranges, &naranges) != 0) in addrarange()
81 mod->naranges = naranges; in addrarange()
82 mod->aranges = (realloc (aranges, naranges * sizeof aranges[0]) in addrarange()
84 mod->lazycu += naranges; in addrarange()
88 addr = dwfl_deadjust_dwarf_addr (mod, addr); in addrarange()
91 size_t l = 0, u = mod->naranges; in addrarange()
[all …]
Ddwfl_module_getelf.c32 dwfl_module_getelf (Dwfl_Module *mod, GElf_Addr *loadbase) in dwfl_module_getelf() argument
34 if (mod == NULL) in dwfl_module_getelf()
37 __libdwfl_getelf (mod); in dwfl_module_getelf()
38 if (mod->elferr == DWFL_E_NOERROR) in dwfl_module_getelf()
40 if (mod->e_type == ET_REL && ! mod->main.relocated) in dwfl_module_getelf()
45 mod->main.relocated = true; in dwfl_module_getelf()
46 if (likely (__libdwfl_module_getebl (mod) == DWFL_E_NOERROR)) in dwfl_module_getelf()
48 (void) __libdwfl_relocate (mod, mod->main.elf, false); in dwfl_module_getelf()
50 if (mod->debug.elf == mod->main.elf) in dwfl_module_getelf()
51 mod->debug.relocated = true; in dwfl_module_getelf()
[all …]
Ddwfl_module_build_id.c32 found_build_id (Dwfl_Module *mod, bool set, in found_build_id() argument
39 return 1 + (mod->build_id_len == len in found_build_id()
40 && !memcmp (bits, mod->build_id_bits, len)); in found_build_id()
49 mod->build_id_bits = memcpy (copy, bits, len); in found_build_id()
50 mod->build_id_vaddr = vaddr; in found_build_id()
51 mod->build_id_len = len; in found_build_id()
57 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf) in __libdwfl_find_build_id() argument
64 assert (mod != NULL); in __libdwfl_find_build_id()
66 int result = __libdwfl_find_elf_build_id (mod, elf, &build_id_bits, in __libdwfl_find_build_id()
72 ? mod->main_bias : 0); in __libdwfl_find_build_id()
[all …]
Dfind-debuginfo.c86 validate (Dwfl_Module *mod, int fd, bool check, GElf_Word debuglink_crc) in validate() argument
89 if (mod->dw != NULL) in validate()
94 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in validate()
102 Dwfl_Error error = __libdw_open_file (&fd, &mod->alt_elf, in validate()
109 ssize_t alt_len = INTUSE(dwelf_elf_gnu_build_id) (mod->alt_elf, in validate()
117 elf_end (mod->alt_elf); in validate()
118 mod->alt_elf = NULL; in validate()
128 if (mod->build_id_len > 0) in validate()
134 mod->debug.valid = false; in validate()
135 Dwfl_Error error = __libdw_open_file (&fd, &mod->debug.elf, false, false); in validate()
[all …]
/external/javassist/src/main/javassist/
DModifier.java51 public static boolean isPublic(int mod) { in isPublic() argument
52 return (mod & PUBLIC) != 0; in isPublic()
59 public static boolean isPrivate(int mod) { in isPrivate() argument
60 return (mod & PRIVATE) != 0; in isPrivate()
67 public static boolean isProtected(int mod) { in isProtected() argument
68 return (mod & PROTECTED) != 0; in isProtected()
75 public static boolean isPackage(int mod) { in isPackage() argument
76 return (mod & (PUBLIC | PRIVATE | PROTECTED)) == 0; in isPackage()
83 public static boolean isStatic(int mod) { in isStatic() argument
84 return (mod & STATIC) != 0; in isStatic()
[all …]
/external/valgrind/coregrind/m_gdbserver/
Dvalgrind-low-ppc64.c164 Bool mod; in set_pc() local
165 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
166 if (mod) in set_pc()
176 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
181 *mod = False; in transfer_register()
188 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
189 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
190 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
191 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
192 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-ppc32.c167 Bool mod; in set_pc() local
168 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
169 if (mod) in set_pc()
179 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
184 *mod = False; in transfer_register()
191 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
192 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
193 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
194 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
195 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-amd64.c140 Bool mod; in set_pc() local
141 supply_register_by_name ("rip", &newpc, &mod); in set_pc()
142 if (mod) in set_pc()
152 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
157 *mod = False; in transfer_register()
164 case 0: VG_(transfer) (&amd64->guest_RAX, buf, dir, size, mod); break; in transfer_register()
165 case 1: VG_(transfer) (&amd64->guest_RBX, buf, dir, size, mod); break; in transfer_register()
166 case 2: VG_(transfer) (&amd64->guest_RCX, buf, dir, size, mod); break; in transfer_register()
167 case 3: VG_(transfer) (&amd64->guest_RDX, buf, dir, size, mod); break; in transfer_register()
168 case 4: VG_(transfer) (&amd64->guest_RSI, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-arm64.c128 Bool mod; in set_pc() local
129 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
130 if (mod) in set_pc()
140 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
145 *mod = False; in transfer_register()
152 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break; in transfer_register()
153 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break; in transfer_register()
154 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break; in transfer_register()
155 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break; in transfer_register()
156 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-arm.c117 Bool mod; in set_pc() local
118 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
119 if (mod) in set_pc()
179 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
184 *mod = False; in transfer_register()
191 case 0: VG_(transfer) (&arm->guest_R0, buf, dir, size, mod); break; in transfer_register()
192 case 1: VG_(transfer) (&arm->guest_R1, buf, dir, size, mod); break; in transfer_register()
193 case 2: VG_(transfer) (&arm->guest_R2, buf, dir, size, mod); break; in transfer_register()
194 case 3: VG_(transfer) (&arm->guest_R3, buf, dir, size, mod); break; in transfer_register()
195 case 4: VG_(transfer) (&arm->guest_R4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-tilegx.c133 Bool mod; in set_pc() local
134 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
135 if (mod) in set_pc()
145 transfer_direction dir, int size, Bool *mod ) in transfer_register() argument
150 *mod = False; in transfer_register()
155 case 0: VG_(transfer) (&tilegx->guest_r0, buf, dir, size, mod); break; in transfer_register()
156 case 1: VG_(transfer) (&tilegx->guest_r1, buf, dir, size, mod); break; in transfer_register()
157 case 2: VG_(transfer) (&tilegx->guest_r2, buf, dir, size, mod); break; in transfer_register()
158 case 3: VG_(transfer) (&tilegx->guest_r3, buf, dir, size, mod); break; in transfer_register()
159 case 4: VG_(transfer) (&tilegx->guest_r4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-s390x.c109 Bool mod; in set_pc() local
110 supply_register_by_name ("pswa", &newpc, &mod); in set_pc()
111 if (mod) in set_pc()
121 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
126 *mod = False; in transfer_register()
133 case 0: *mod = False; break; //GDBTD??? { "pswm", 0, 64 }, in transfer_register()
134 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break; in transfer_register()
135 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break; in transfer_register()
136 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break; in transfer_register()
137 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-mips32.c133 Bool mod; in set_pc() local
134 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
135 if (mod) in set_pc()
252 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
257 *mod = False; in transfer_register()
262 case 0: VG_(transfer) (&mips1->guest_r0, buf, dir, size, mod); break; in transfer_register()
263 case 1: VG_(transfer) (&mips1->guest_r1, buf, dir, size, mod); break; in transfer_register()
264 case 2: VG_(transfer) (&mips1->guest_r2, buf, dir, size, mod); break; in transfer_register()
265 case 3: VG_(transfer) (&mips1->guest_r3, buf, dir, size, mod); break; in transfer_register()
266 case 4: VG_(transfer) (&mips1->guest_r4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-mips64.c134 Bool mod; in set_pc() local
135 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
136 if (mod) in set_pc()
253 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
258 *mod = False; in transfer_register()
263 case 0: VG_(transfer) (&mips1->guest_r0, buf, dir, size, mod); break; in transfer_register()
264 case 1: VG_(transfer) (&mips1->guest_r1, buf, dir, size, mod); break; in transfer_register()
265 case 2: VG_(transfer) (&mips1->guest_r2, buf, dir, size, mod); break; in transfer_register()
266 case 3: VG_(transfer) (&mips1->guest_r3, buf, dir, size, mod); break; in transfer_register()
267 case 4: VG_(transfer) (&mips1->guest_r4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-x86.c107 Bool mod; in set_pc() local
108 supply_register_by_name ("eip", &newpc, &mod); in set_pc()
109 if (mod) in set_pc()
119 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
124 *mod = False; in transfer_register()
131 case 0: VG_(transfer) (&x86->guest_EAX, buf, dir, size, mod); break; in transfer_register()
132 case 1: VG_(transfer) (&x86->guest_ECX, buf, dir, size, mod); break; in transfer_register()
133 case 2: VG_(transfer) (&x86->guest_EDX, buf, dir, size, mod); break; in transfer_register()
134 case 3: VG_(transfer) (&x86->guest_EBX, buf, dir, size, mod); break; in transfer_register()
135 case 4: VG_(transfer) (&x86->guest_ESP, buf, dir, size, mod); break; in transfer_register()
[all …]
/external/elfutils/libcpu/defs/
Di38616 %mask {mod} 2
74 1000000{w},{mod}010{r_m},{imm}:adc{w} {imm}{w},{mod}{r_m}{w}
75 1000001{w},{mod}010{r_m},{imms8}:adc{w} {imms8},{mod}{r_m}
76 0001000{w},{mod}{reg}{r_m}:adc {reg}{w},{mod}{r_m}{w}
77 0001001{w},{mod}{reg}{r_m}:adc {mod}{r_m}{w},{reg}{w}
79 1000000{w},{mod}000{r_m},{imm}:add{w} {imm}{w},{mod}{r_m}{w}
80 10000011,{mod}000{r_m},{imms8}:add{w} {imms8},{mod}{r_m}
81 0000000{w},{mod}{reg}{r_m}:add {reg}{w},{mod}{r_m}{w}
82 0000001{w},{mod}{reg}{r_m}:add {mod}{r_m}{w},{reg}{w}
86 1000000{w},{mod}100{r_m},{imm}:and{w} {imm}{w},{mod}{r_m}{w}
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DEventBuilder.java44 EventMod mod = createModifier(EventMod.ModKind.Count); in setCount() local
45 mod.count = count; in setCount()
46 modifiers.add(mod); in setCount()
57 EventMod mod = createModifier(EventMod.ModKind.ThreadOnly); in setThreadOnly() local
58 mod.thread = thread; in setThreadOnly()
59 modifiers.add(mod); in setThreadOnly()
70 EventMod mod = createModifier(EventMod.ModKind.ClassMatch); in setClassMatch() local
71 mod.classPattern = pattern; in setClassMatch()
72 modifiers.add(mod); in setClassMatch()
83 EventMod mod = createModifier(EventMod.ModKind.LocationOnly); in setLocationOnly() local
[all …]
/external/fsck_msdos/
Dcheck.c65 int mod = 0; in checkfilesys() local
115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); in checkfilesys()
116 if (mod & FSFATAL) { in checkfilesys()
126 mod |= readfat(dosfs, &boot, i, &currentFat); in checkfilesys()
128 if (mod & FSFATAL) { in checkfilesys()
133 mod |= comparefat(&boot, fat, currentFat, i); in checkfilesys()
135 if (mod & FSFATAL) { in checkfilesys()
144 mod |= checkfat(&boot, fat); in checkfilesys()
145 if (mod & FSFATAL) { in checkfilesys()
154 mod |= resetDosDirSection(&boot, fat); in checkfilesys()
[all …]
/external/mesa3d/src/egl/main/
Degldriver.c197 _eglLoadModule(_EGLModule *mod) in _eglLoadModule() argument
203 if (mod->Driver) in _eglLoadModule()
206 if (mod->BuiltIn) { in _eglLoadModule()
208 mainFunc = mod->BuiltIn; in _eglLoadModule()
211 mainFunc = _eglOpenLibrary(mod->Path, &lib); in _eglLoadModule()
224 _eglLog(_EGL_WARNING, "Driver loaded from %s has no name", mod->Path); in _eglLoadModule()
228 mod->Handle = (void *) lib; in _eglLoadModule()
229 mod->Driver = drv; in _eglLoadModule()
239 _eglUnloadModule(_EGLModule *mod) in _eglUnloadModule() argument
243 if (mod->Driver && mod->Driver->Unload) in _eglUnloadModule()
[all …]
/external/chromium-trace/catapult/third_party/Paste/docs/
Ddeveloper-features.txt13 * Check components for WSGI-compliance in :mod:`paste.lint`
15 * Check filesystem changes, with :mod:`paste.debug.fsdiff`
20 * A threaded HTTP server in :mod:`paste.httpserver`
23 :mod:`paste.debug.watchthreads`
29 response) in :mod:`paste.cascade`
32 :mod:`paste.urlmap`
35 internally, in :mod:`paste.recursive`
38 :mod:`paste.errordocument`.
44 :mod:`paste.wsgiwrappers`
46 * Work directly with the WSGI environment in :mod:`paste.request`
[all …]
/external/v8/src/x87/
Ddisasm-x87.cc299 static void get_modrm(byte data, int* mod, int* regop, int* rm) { in get_modrm() argument
300 *mod = (data >> 6) & 3; in get_modrm()
354 int mod, regop, rm; in PrintRightOperandHelper() local
355 get_modrm(*modrmp, &mod, &regop, &rm); in PrintRightOperandHelper()
356 RegisterNameMapping register_name = (mod == 3) ? direct_register_name : in PrintRightOperandHelper()
358 switch (mod) { in PrintRightOperandHelper()
401 int disp = mod == 2 ? *reinterpret_cast<int32_t*>(modrmp + 2) in PrintRightOperandHelper()
416 return mod == 2 ? 6 : 3; in PrintRightOperandHelper()
419 int disp = mod == 2 ? *reinterpret_cast<int32_t*>(modrmp + 1) in PrintRightOperandHelper()
425 return mod == 2 ? 5 : 2; in PrintRightOperandHelper()
[all …]

12345678910>>...28