Home
last modified time | relevance | path

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

12345678910>>...16

/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c59 open_elf (Dwfl_Module *mod, struct dwfl_file *file) in open_elf() argument
95 if (mod->e_type != ET_EXEC) in open_elf()
104 file->bias = ((mod->low_addr & -ph->p_align) in open_elf()
110 mod->e_type = ehdr->e_type; in open_elf()
113 if (mod->e_type == ET_EXEC && file->bias != 0) in open_elf()
114 mod->e_type = ET_DYN; in open_elf()
122 find_file (Dwfl_Module *mod) in find_file() argument
124 if (mod->main.elf != NULL /* Already done. */ in find_file()
125 || mod->elferr != DWFL_E_NOERROR) /* Cached failure. */ in find_file()
128 mod->main.fd = (*mod->dwfl->callbacks->find_elf) (MODCB_ARGS (mod), in find_file()
[all …]
Dderelocate.c91 cache_sections (Dwfl_Module *mod) in cache_sections() argument
97 if (unlikely (elf_getshstrndx (mod->main.elf, &shstrndx) < 0)) in cache_sections()
106 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) in cache_sections()
116 if (__libdwfl_relocate_value (mod, mod->main.elf, &shstrndx, in cache_sections()
127 const char *name = elf_strptr (mod->main.elf, shstrndx, in cache_sections()
136 newref->start = shdr->sh_addr + mod->main.bias; in cache_sections()
143 if (mod->e_type == ET_REL in cache_sections()
146 && mod->dwfl->callbacks->section_address != NULL) in cache_sections()
151 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections()
166 mod->reloc_info = malloc (offsetof (struct dwfl_relocation, refs[nrefs])); in cache_sections()
[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 -= mod->debug.bias; in addrarange()
112 size_t l = 0, u = mod->naranges; in addrarange()
[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 …]
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
119 result = check_notes (mod, set, in __libdwfl_find_build_id()
[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 = mod->debug.bias; 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 …]
Doffline.c60 dwfl_offline_section_address (Dwfl_Module *mod, in dwfl_offline_section_address() argument
69 assert (mod->e_type == ET_REL); in dwfl_offline_section_address()
73 if (mod->debug.elf == NULL) in dwfl_offline_section_address()
81 Elf_Scn *ourscn = elf_getscn (mod->debug.elf, shndx); in dwfl_offline_section_address()
84 while ((scn = elf_nextscn (mod->debug.elf, scn)) != ourscn) in dwfl_offline_section_address()
96 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) in dwfl_offline_section_address()
150 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, fd, elf, in process_elf() local
152 if (mod != NULL) in process_elf()
160 if ((dwfl->offline_next_address >= mod->low_addr in process_elf()
161 || mod->low_addr - dwfl->offline_next_address < OFFLINE_REDZONE) in process_elf()
[all …]
Ddwfl_module_info.c53 dwfl_module_info (Dwfl_Module *mod, void ***userdata, in dwfl_module_info() argument
58 if (mod == NULL) in dwfl_module_info()
62 *userdata = &mod->userdata; in dwfl_module_info()
64 *start = mod->low_addr; in dwfl_module_info()
66 *end = mod->high_addr; in dwfl_module_info()
69 *dwbias = mod->debug.elf == NULL ? (Dwarf_Addr) -1 : mod->debug.bias; in dwfl_module_info()
71 *symbias = mod->symfile == NULL ? (Dwarf_Addr) -1 : mod->symfile->bias; in dwfl_module_info()
74 *mainfile = mod->main.name; in dwfl_module_info()
77 *debugfile = mod->debug.name; in dwfl_module_info()
79 return mod->name; in dwfl_module_info()
Ddwfl_module_report_build_id.c54 dwfl_module_report_build_id (Dwfl_Module *mod, in dwfl_module_report_build_id() argument
58 if (mod == NULL) in dwfl_module_report_build_id()
61 if (mod->main.elf != NULL) in dwfl_module_report_build_id()
66 if ((size_t) mod->build_id_len == len in dwfl_module_report_build_id()
67 && (mod->build_id_vaddr == vaddr || vaddr == 0) in dwfl_module_report_build_id()
68 && !memcmp (bits, mod->build_id_bits, len)) in dwfl_module_report_build_id()
75 if (vaddr != 0 && (vaddr < mod->low_addr || vaddr + len > mod->high_addr)) in dwfl_module_report_build_id()
93 free (mod->build_id_bits); in dwfl_module_report_build_id()
95 mod->build_id_bits = copy; in dwfl_module_report_build_id()
96 mod->build_id_len = len; in dwfl_module_report_build_id()
[all …]
Ddwfl_module_getsym.c53 dwfl_module_getsym (Dwfl_Module *mod, int ndx, in dwfl_module_getsym() argument
56 if (unlikely (mod == NULL)) in dwfl_module_getsym()
59 if (unlikely (mod->symdata == NULL)) in dwfl_module_getsym()
61 int result = INTUSE(dwfl_module_getsymtab) (mod); in dwfl_module_getsym()
67 sym = gelf_getsymshndx (mod->symdata, mod->symxndxdata, ndx, sym, &shndx); in dwfl_module_getsym()
88 if (mod->e_type == ET_REL) in dwfl_module_getsym()
93 Dwfl_Error result = __libdwfl_relocate_value (mod, mod->symfile->elf, in dwfl_module_getsym()
103 sym->st_value += mod->symfile->bias; in dwfl_module_getsym()
107 if (unlikely (sym->st_name >= mod->symstrdata->d_size)) in dwfl_module_getsym()
112 return (const char *) mod->symstrdata->d_buf + sym->st_name; in dwfl_module_getsym()
/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/main/coregrind/m_gdbserver/
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-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-amd64.c123 Bool mod; in set_pc() local
124 supply_register_by_name ("rip", &newpc, &mod); in set_pc()
125 if (mod) in set_pc()
135 transfer_direction dir, int size, Bool *mod) in transfer_register() argument
140 *mod = False; in transfer_register()
147 case 0: VG_(transfer) (&amd64->guest_RAX, buf, dir, size, mod); break; in transfer_register()
148 case 1: VG_(transfer) (&amd64->guest_RBX, buf, dir, size, mod); break; in transfer_register()
149 case 2: VG_(transfer) (&amd64->guest_RCX, buf, dir, size, mod); break; in transfer_register()
150 case 3: VG_(transfer) (&amd64->guest_RDX, buf, dir, size, mod); break; in transfer_register()
151 case 4: VG_(transfer) (&amd64->guest_RSI, 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-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-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/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/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/icu4c/data/misc/
Dplurals.txt183 few{"n mod 100 in 3..10"}
184 many{"n mod 100 in 11..99"}
190 few{"n mod 10 in 2..4 and n mod 100 not in 12..14"}
191 many{"n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14"}
192 one{"n mod 10 is 1 and n mod 100 is not 11"}
199 few{"n mod 10 in 2..4 and n mod 100 not in 12..14"}
201 "n is not 1 and n mod 10 in 0..1 or n mod 10 in 5..9 or n mod 100 in "
207 few{"n mod 100 in 3..4"}
208 one{"n mod 100 is 1"}
209 two{"n mod 100 is 2"}
[all …]
/external/v8/src/ia32/
Ddisasm-ia32.cc335 static void get_modrm(byte data, int* mod, int* regop, int* rm) { in get_modrm() argument
336 *mod = (data >> 6) & 3; in get_modrm()
391 int mod, regop, rm; in PrintRightOperandHelper() local
392 get_modrm(*modrmp, &mod, &regop, &rm); in PrintRightOperandHelper()
393 RegisterNameMapping register_name = (mod == 3) ? direct_register_name : in PrintRightOperandHelper()
395 switch (mod) { in PrintRightOperandHelper()
438 mod == 2 ? *reinterpret_cast<int32_t*>(modrmp + 2) : *(modrmp + 2); in PrintRightOperandHelper()
448 return mod == 2 ? 6 : 3; in PrintRightOperandHelper()
452 mod == 2 ? *reinterpret_cast<int32_t*>(modrmp + 1) : *(modrmp + 1); in PrintRightOperandHelper()
454 return mod == 2 ? 5 : 2; in PrintRightOperandHelper()
[all …]
/external/srtp/crypto/include/
Derr.h153 #define debug_on(mod) (mod).on = 1 argument
155 #define debug_off(mod) (mod).on = 0 argument
158 #define debug_print(mod, format, arg) \ argument
159 if (mod.on) err_report(err_level_debug, ("%s: " format "\n"), mod.name, arg)
160 #define debug_print2(mod, format, arg1,arg2) \ argument
161 if (mod.on) err_report(err_level_debug, ("%s: " format "\n"), mod.name, arg1,arg2)
166 #define debug_print(mod, format, arg) argument
168 #define debug_on(mod) argument
170 #define debug_off(mod) argument
/external/e2fsprogs/tests/f_dup4/
Dexpect.117 File /dir/foo (inode #16, mod time Tue Apr 10 21:00:00 2007)
19 /dir/quux1 (inode #19, mod time Tue Apr 10 21:00:00 2007)
20 /dir3/baz (inode #18, mod time Tue Apr 10 21:00:00 2007)
21 /dir2/bar (inode #17, mod time Tue Apr 10 21:00:00 2007)
24 File /dir2/bar (inode #17, mod time Tue Apr 10 21:00:00 2007)
26 /dir/quux1 (inode #19, mod time Tue Apr 10 21:00:00 2007)
27 /dir3/baz (inode #18, mod time Tue Apr 10 21:00:00 2007)
28 /dir/foo (inode #16, mod time Tue Apr 10 21:00:00 2007)
31 File /dir3/baz (inode #18, mod time Tue Apr 10 21:00:00 2007)
33 /dir/quux1 (inode #19, mod time Tue Apr 10 21:00:00 2007)
[all …]
/external/qemu/distrib/sdl-1.2.15/test/
Dcheckkeys.c22 int mod; in print_modifiers() local
24 mod = SDL_GetModState(); in print_modifiers()
25 if(!mod) { in print_modifiers()
29 if(mod & KMOD_LSHIFT) in print_modifiers()
31 if(mod & KMOD_RSHIFT) in print_modifiers()
33 if(mod & KMOD_LCTRL) in print_modifiers()
35 if(mod & KMOD_RCTRL) in print_modifiers()
37 if(mod & KMOD_LALT) in print_modifiers()
39 if(mod & KMOD_RALT) in print_modifiers()
41 if(mod & KMOD_LMETA) in print_modifiers()
[all …]
/external/llvm/examples/BrainF/
DBrainFDriver.cpp57 void addMainFunction(Module *mod) { in addMainFunction() argument
59 Function *main_func = cast<Function>(mod-> in addMainFunction()
60 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
61 IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
63 IntegerType::getInt8Ty(mod->getContext()))), NULL)); in addMainFunction()
73 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); in addMainFunction()
77 CallInst *brainf_call = CallInst::Create(mod->getFunction("brainf"), in addMainFunction()
83 ReturnInst::Create(mod->getContext(), in addMainFunction()
84 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb); in addMainFunction()
127 Module *mod = bf.parse(in, 65536, cf, Context); //64 KiB in main() local
[all …]

12345678910>>...16