Home
last modified time | relevance | path

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

12345678910>>...23

/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/elfutils/0.153/libdwfl/
Ddwfl_module_getdwarf.c60 open_elf (Dwfl_Module *mod, struct dwfl_file *file) in open_elf() argument
100 if (mod->e_type != ET_REL) in open_elf()
154 mod->e_type = ehdr->e_type; in open_elf()
157 if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr) in open_elf()
158 mod->e_type = ET_DYN; in open_elf()
167 __libdwfl_getelf (Dwfl_Module *mod) in __libdwfl_getelf() argument
169 if (mod->main.elf != NULL /* Already done. */ in __libdwfl_getelf()
170 || mod->elferr != DWFL_E_NOERROR) /* Cached failure. */ in __libdwfl_getelf()
173 mod->main.fd = (*mod->dwfl->callbacks->find_elf) (MODCB_ARGS (mod), in __libdwfl_getelf()
174 &mod->main.name, in __libdwfl_getelf()
[all …]
Dderelocate.c91 cache_sections (Dwfl_Module *mod) in cache_sections() argument
93 if (likely (mod->reloc_info != NULL)) in cache_sections()
94 return mod->reloc_info->count; in cache_sections()
100 if (unlikely (elf_getshdrstrndx (mod->main.elf, &shstrndx) < 0)) in cache_sections()
109 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) in cache_sections()
117 && mod->e_type == ET_REL) in cache_sections()
120 if (__libdwfl_relocate_value (mod, mod->main.elf, &shstrndx, in cache_sections()
131 const char *name = elf_strptr (mod->main.elf, shstrndx, in cache_sections()
140 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections()
147 if (mod->e_type == ET_REL in cache_sections()
[all …]
Ddwfl_module_getelf.c53 dwfl_module_getelf (Dwfl_Module *mod, GElf_Addr *loadbase) in dwfl_module_getelf() argument
55 if (mod == NULL) in dwfl_module_getelf()
58 __libdwfl_getelf (mod); in dwfl_module_getelf()
59 if (mod->elferr == DWFL_E_NOERROR) in dwfl_module_getelf()
61 if (mod->e_type == ET_REL && ! mod->main.relocated) in dwfl_module_getelf()
66 mod->main.relocated = true; in dwfl_module_getelf()
67 if (likely (__libdwfl_module_getebl (mod) == DWFL_E_NOERROR)) in dwfl_module_getelf()
69 (void) __libdwfl_relocate (mod, mod->main.elf, false); in dwfl_module_getelf()
71 if (mod->debug.elf == mod->main.elf) in dwfl_module_getelf()
72 mod->debug.relocated = true; in dwfl_module_getelf()
[all …]
Ddwfl_module.c79 __libdwfl_module_free (Dwfl_Module *mod) in __libdwfl_module_free() argument
81 if (mod->lazy_cu_root != NULL) in __libdwfl_module_free()
82 tdestroy (mod->lazy_cu_root, nofree); in __libdwfl_module_free()
84 if (mod->aranges != NULL) in __libdwfl_module_free()
85 free (mod->aranges); in __libdwfl_module_free()
87 if (mod->cu != NULL) in __libdwfl_module_free()
89 for (size_t i = 0; i < mod->ncu; ++i) in __libdwfl_module_free()
90 free_cu (mod->cu[i]); in __libdwfl_module_free()
91 free (mod->cu); in __libdwfl_module_free()
94 if (mod->dw != NULL) in __libdwfl_module_free()
[all …]
Dcu.c57 dwar (Dwfl_Module *mod, unsigned int idx) in dwar() argument
59 return &mod->dw->aranges->info[mod->aranges[idx].arange]; in dwar()
64 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) in addrarange() argument
66 if (mod->aranges == NULL) in addrarange()
71 if (INTUSE(dwarf_getaranges) (mod->dw, &dwaranges, &naranges) != 0) in addrarange()
102 mod->naranges = naranges; in addrarange()
103 mod->aranges = (realloc (aranges, naranges * sizeof aranges[0]) in addrarange()
105 mod->lazycu += naranges; in addrarange()
109 addr = dwfl_deadjust_dwarf_addr (mod, addr); in addrarange()
112 size_t l = 0, u = mod->naranges; in addrarange()
[all …]
Ddwfl_module_build_id.c53 found_build_id (Dwfl_Module *mod, bool set, in found_build_id() argument
60 return 1 + (mod->build_id_len == len in found_build_id()
61 && !memcmp (bits, mod->build_id_bits, len)); in found_build_id()
70 mod->build_id_bits = memcpy (copy, bits, len); in found_build_id()
71 mod->build_id_vaddr = vaddr; in found_build_id()
72 mod->build_id_len = len; in found_build_id()
79 check_notes (Dwfl_Module *mod, bool set, Elf_Data *data, GElf_Addr data_vaddr) in check_notes() argument
89 return found_build_id (mod, set, in check_notes()
98 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf) in __libdwfl_find_build_id() argument
122 result = check_notes (mod, set, in __libdwfl_find_build_id()
[all …]
Ddwfl_module_eh_cfi.c54 dwfl_module_eh_cfi (mod, bias) in dwfl_module_eh_cfi() argument
55 Dwfl_Module *mod; in dwfl_module_eh_cfi()
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 …]
Ddwfl_nextcu.c59 Dwfl_Module *mod; in dwfl_nextcu() local
63 mod = dwfl->modulelist; in dwfl_nextcu()
67 mod = cu->mod; in dwfl_nextcu()
72 error = __libdwfl_nextcu (mod, cu, &cu); in dwfl_nextcu()
78 *bias = dwfl_adjusted_dwarf_addr (mod, 0); in dwfl_nextcu()
84 mod = mod->next; in dwfl_nextcu()
87 if (mod == NULL) in dwfl_nextcu()
90 if (mod->dwerr == DWFL_E_NOERROR in dwfl_nextcu()
91 && (mod->dw != NULL in dwfl_nextcu()
92 || INTUSE(dwfl_module_getdwarf) (mod, bias) != NULL)) in dwfl_nextcu()
[all …]
Ddwfl_module_dwarf_cfi.c55 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) in __libdwfl_set_cfi() argument
59 Dwfl_Error error = __libdwfl_module_getebl (mod); in __libdwfl_set_cfi()
61 cfi->ebl = mod->ebl; in __libdwfl_set_cfi()
64 if (slot == &mod->eh_cfi) in __libdwfl_set_cfi()
75 dwfl_module_dwarf_cfi (mod, bias) in dwfl_module_dwarf_cfi() argument
76 Dwfl_Module *mod; in dwfl_module_dwarf_cfi()
79 if (mod == NULL)
82 if (mod->dwarf_cfi != NULL)
84 *bias = dwfl_adjusted_dwarf_addr (mod, 0);
85 return mod->dwarf_cfi;
[all …]
/external/valgrind/main/coregrind/m_gdbserver/
Dvalgrind-low-ppc64.c165 Bool mod; in set_pc() local
166 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
167 if (mod) in set_pc()
177 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
182 *mod = False; in transfer_register()
189 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
190 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
191 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
192 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
193 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-ppc32.c168 Bool mod; in set_pc() local
169 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
170 if (mod) in set_pc()
180 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
185 *mod = False; in transfer_register()
192 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break; in transfer_register()
193 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break; in transfer_register()
194 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break; in transfer_register()
195 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break; in transfer_register()
196 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-arm64.c129 Bool mod; in set_pc() local
130 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
131 if (mod) in set_pc()
141 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
146 *mod = False; in transfer_register()
153 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break; in transfer_register()
154 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break; in transfer_register()
155 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break; in transfer_register()
156 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break; in transfer_register()
157 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-amd64.c141 Bool mod; in set_pc() local
142 supply_register_by_name ("rip", &newpc, &mod); in set_pc()
143 if (mod) in set_pc()
153 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
158 *mod = False; in transfer_register()
165 case 0: VG_(transfer) (&amd64->guest_RAX, buf, dir, size, mod); break; in transfer_register()
166 case 1: VG_(transfer) (&amd64->guest_RBX, buf, dir, size, mod); break; in transfer_register()
167 case 2: VG_(transfer) (&amd64->guest_RCX, buf, dir, size, mod); break; in transfer_register()
168 case 3: VG_(transfer) (&amd64->guest_RDX, buf, dir, size, mod); break; in transfer_register()
169 case 4: VG_(transfer) (&amd64->guest_RSI, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-s390x.c110 Bool mod; in set_pc() local
111 supply_register_by_name ("pswa", &newpc, &mod); in set_pc()
112 if (mod) in set_pc()
122 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
127 *mod = False; in transfer_register()
134 case 0: *mod = False; break; //GDBTD??? { "pswm", 0, 64 }, in transfer_register()
135 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break; in transfer_register()
136 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break; in transfer_register()
137 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break; in transfer_register()
138 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-mips32.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-arm.c118 Bool mod; in set_pc() local
119 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
120 if (mod) in set_pc()
181 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
186 *mod = False; in transfer_register()
193 case 0: VG_(transfer) (&arm->guest_R0, buf, dir, size, mod); break; in transfer_register()
194 case 1: VG_(transfer) (&arm->guest_R1, buf, dir, size, mod); break; in transfer_register()
195 case 2: VG_(transfer) (&arm->guest_R2, buf, dir, size, mod); break; in transfer_register()
196 case 3: VG_(transfer) (&arm->guest_R3, buf, dir, size, mod); break; in transfer_register()
197 case 4: VG_(transfer) (&arm->guest_R4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-mips64.c135 Bool mod; in set_pc() local
136 supply_register_by_name ("pc", &newpc, &mod); in set_pc()
137 if (mod) in set_pc()
254 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
259 *mod = False; in transfer_register()
264 case 0: VG_(transfer) (&mips1->guest_r0, buf, dir, size, mod); break; in transfer_register()
265 case 1: VG_(transfer) (&mips1->guest_r1, buf, dir, size, mod); break; in transfer_register()
266 case 2: VG_(transfer) (&mips1->guest_r2, buf, dir, size, mod); break; in transfer_register()
267 case 3: VG_(transfer) (&mips1->guest_r3, buf, dir, size, mod); break; in transfer_register()
268 case 4: VG_(transfer) (&mips1->guest_r4, buf, dir, size, mod); break; in transfer_register()
[all …]
Dvalgrind-low-x86.c108 Bool mod; in set_pc() local
109 supply_register_by_name ("eip", &newpc, &mod); in set_pc()
110 if (mod) in set_pc()
120 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
125 *mod = False; in transfer_register()
132 case 0: VG_(transfer) (&x86->guest_EAX, buf, dir, size, mod); break; in transfer_register()
133 case 1: VG_(transfer) (&x86->guest_ECX, buf, dir, size, mod); break; in transfer_register()
134 case 2: VG_(transfer) (&x86->guest_EDX, buf, dir, size, mod); break; in transfer_register()
135 case 3: VG_(transfer) (&x86->guest_EBX, buf, dir, size, mod); break; in transfer_register()
136 case 4: VG_(transfer) (&x86->guest_ESP, buf, dir, size, mod); break; in transfer_register()
[all …]
/external/elfutils/0.153/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/chromium_org/third_party/mesa/src/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/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/libvterm/src/
Dinput.c7 void vterm_input_push_char(VTerm *vt, VTermModifier mod, uint32_t c) in vterm_input_push_char() argument
13 mod &= ~VTERM_MOD_SHIFT; in vterm_input_push_char()
17 else if(mod == VTERM_MOD_SHIFT) in vterm_input_push_char()
18 mod = 0; in vterm_input_push_char()
20 if(mod == 0) { in vterm_input_push_char()
44 if(needs_CSIu && (mod & ~VTERM_MOD_ALT)) { in vterm_input_push_char()
45 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d;%du", c, mod+1); in vterm_input_push_char()
49 if(mod & VTERM_MOD_CTRL) in vterm_input_push_char()
52 vterm_push_output_sprintf(vt, "%s%c", mod & VTERM_MOD_ALT ? "\e" : "", c); in vterm_input_push_char()
129 void vterm_input_push_key(VTerm *vt, VTermModifier mod, VTermKey key) in vterm_input_push_key() argument
[all …]

12345678910>>...23