/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-166379.js | 30 function mod(a, b) { return a % b; } function 33 assertEquals(0, mod(4, 2)); 34 assertEquals(1, mod(3, 2)); 35 %OptimizeFunctionOnNextCall(mod); 37 // Surprise mod with overflow. 38 assertEquals(-Infinity, 1/mod(-2147483648, -1));
|
/external/javassist/src/main/javassist/ |
H A D | Modifier.java | 51 public static boolean isPublic(int mod) { argument 52 return (mod & PUBLIC) != 0; 59 public static boolean isPrivate(int mod) { argument 60 return (mod & PRIVATE) != 0; 67 public static boolean isProtected(int mod) { argument 68 return (mod & PROTECTED) != 0; 75 public static boolean isPackage(int mod) { argument 76 return (mod & (PUBLIC | PRIVATE | PROTECTED)) == 0; 83 public static boolean isStatic(int mod) { argument 84 return (mod 91 isFinal(int mod) argument 99 isSynchronized(int mod) argument 107 isVolatile(int mod) argument 115 isTransient(int mod) argument 123 isNative(int mod) argument 131 isInterface(int mod) argument 141 isAnnotation(int mod) argument 151 isEnum(int mod) argument 159 isAbstract(int mod) argument 167 isStrict(int mod) argument 175 setPublic(int mod) argument 183 setProtected(int mod) argument 191 setPrivate(int mod) argument 198 setPackage(int mod) argument 205 clear(int mod, int clearBit) argument 215 toString(int mod) argument [all...] |
/external/elfutils/libdwfl/ |
H A D | 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 = mod->debug.bias; 84 mod = mod->next; 87 if (mod == NULL) 90 if (mod [all...] |
H A D | dwfl_addrmodule.c | 55 Dwfl_Module *mod; local 56 (void) INTUSE(dwfl_addrsegment) (dwfl, address, &mod); 57 return mod;
|
H A D | dwfl_module_info.c | 53 dwfl_module_info (Dwfl_Module *mod, void ***userdata, argument 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 : mod->debug.bias; 71 *symbias = mod->symfile == NULL ? (Dwarf_Addr) -1 : mod->symfile->bias; 74 *mainfile = mod [all...] |
H A D | dwfl_module_report_build_id.c | 54 dwfl_module_report_build_id (Dwfl_Module *mod, argument 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 [all...] |
H A D | 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);
|
H A D | dwfl_module_getdwarf.c | 59 open_elf (Dwfl_Module *mod, struct dwfl_file *file) argument 95 if (mod->e_type != ET_EXEC) 104 file->bias = ((mod->low_addr & -ph->p_align) 110 mod->e_type = ehdr->e_type; 113 if (mod->e_type == ET_EXEC && file->bias != 0) 114 mod->e_type = ET_DYN; 122 find_file (Dwfl_Module *mod) argument 124 if (mod->main.elf != NULL /* Already done. */ 125 || mod->elferr != DWFL_E_NOERROR) /* Cached failure. */ 128 mod 207 find_debuginfo(Dwfl_Module *mod) argument 308 find_dynsym(Dwfl_Module *mod) argument 491 find_symtab(Dwfl_Module *mod) argument 589 __libdwfl_module_getebl(Dwfl_Module *mod) argument 606 load_dw(Dwfl_Module *mod, struct dwfl_file *debugfile) argument 655 find_dw(Dwfl_Module *mod) argument 704 dwfl_module_getelf(Dwfl_Module *mod, GElf_Addr *loadbase) argument [all...] |
H A D | dwfl_module_addrname.c | 53 dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr addr) argument 56 return INTUSE(dwfl_module_addrsym) (mod, addr, &sym, NULL);
|
H A D | dwfl_build_id_find_debuginfo.c | 55 dwfl_build_id_find_debuginfo (Dwfl_Module *mod, argument 67 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0) 68 fd = __libdwfl_open_by_build_id (mod, true, debuginfo_file_name); 74 mod->debug.elf = elf_begin (fd, ELF_C_READ_MMAP_PRIVATE, NULL); 75 if (likely (__libdwfl_find_build_id (mod, false, mod->debug.elf) == 2)) 77 mod->debug.valid = true; 81 elf_end (mod->debug.elf); 82 mod->debug.elf = NULL;
|
H A D | dwfl_module.c | 79 __libdwfl_module_free (Dwfl_Module *mod) argument 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 141 use(Dwfl_Module *mod) argument 171 Dwfl_Module *mod = calloc (1, sizeof *mod); local [all...] |
H A D | 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);
|
H A D | dwfl_cumodule.c | 56 return cu->mod;
|
H A D | dwfl_linemodule.c | 58 return dwfl_linecu (line)->mod;
|
H A D | dwfl_module_addrdie.c | 53 dwfl_module_addrdie (Dwfl_Module *mod, Dwarf_Addr addr, Dwarf_Addr *bias) argument 55 if (INTUSE(dwfl_module_getdwarf) (mod, bias) == NULL) 59 Dwfl_Error error = __libdwfl_addrcu (mod, addr, &cu);
|
H A D | dwfl_module_getsym.c | 53 dwfl_module_getsym (Dwfl_Module *mod, int ndx, argument 56 if (unlikely (mod == NULL)) 59 if (unlikely (mod->symdata == NULL)) 61 int result = INTUSE(dwfl_module_getsymtab) (mod); 67 sym = gelf_getsymshndx (mod->symdata, mod->symxndxdata, ndx, sym, &shndx); 88 if (mod->e_type == ET_REL) 93 Dwfl_Error result = __libdwfl_relocate_value (mod, mod->symfile->elf, 103 sym->st_value += mod [all...] |
H A D | dwfl_module_nextcu.c | 53 dwfl_module_nextcu (Dwfl_Module *mod, Dwarf_Die *lastcu, Dwarf_Addr *bias) argument 55 if (INTUSE(dwfl_module_getdwarf) (mod, bias) == NULL) 59 Dwfl_Error error = __libdwfl_nextcu (mod, (struct dwfl_cu *) lastcu, &cu);
|
H A D | cu.c | 57 dwar (Dwfl_Module *mod, unsigned int idx) argument 59 return &mod->dw->aranges->info[mod->aranges[idx].arange]; 64 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) argument 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 -= mod 162 less_lazy(Dwfl_Module *mod) argument 186 intern_cu(Dwfl_Module *mod, Dwarf_Off cuoff, struct dwfl_cu **result) argument 252 __libdwfl_nextcu(Dwfl_Module *mod, struct dwfl_cu *lastcu, struct dwfl_cu **cu) argument 301 arangecu(Dwfl_Module *mod, struct dwfl_arange *arange, struct dwfl_cu **cu) argument 319 __libdwfl_addrcu(Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_cu **cu) argument [all...] |
H A D | derelocate.c | 91 cache_sections (Dwfl_Module *mod) argument 97 if (unlikely (elf_getshstrndx (mod->main.elf, &shstrndx) < 0)) 106 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL) 116 if (__libdwfl_relocate_value (mod, mod->main.elf, &shstrndx, 127 const char *name = elf_strptr (mod->main.elf, shstrndx, 136 newref->start = shdr->sh_addr + mod->main.bias; 143 if (mod->e_type == ET_REL 146 && mod->dwfl->callbacks->section_address != NULL) 151 Elf_Scn *tscn = elf_getscn (mod 224 dwfl_module_relocations(Dwfl_Module *mod) argument 250 dwfl_module_relocation_info(Dwfl_Module *mod, unsigned int idx, Elf32_Word *shndxp) argument 288 check_module(Dwfl_Module *mod) argument 319 find_section(Dwfl_Module *mod, Dwarf_Addr *addr) argument 355 dwfl_module_relocate_address(Dwfl_Module *mod, Dwarf_Addr *addr) argument [all...] |
/external/chromium_org/v8/test/webkit/ |
H A D | mod-by-zero.js | 28 function mod(b) { function 32 shouldBeNaN("mod(0)");
|
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | valgrind-low-amd64.c | 141 Bool mod; local 142 supply_register_by_name ("rip", &newpc, &mod); 143 if (mod) 153 transfer_direction dir, int size, Bool *mod) 158 *mod = False; 165 case 0: VG_(transfer) (&amd64->guest_RAX, buf, dir, size, mod); break; 166 case 1: VG_(transfer) (&amd64->guest_RBX, buf, dir, size, mod); break; 167 case 2: VG_(transfer) (&amd64->guest_RCX, buf, dir, size, mod); break; 168 case 3: VG_(transfer) (&amd64->guest_RDX, buf, dir, size, mod); break; 169 case 4: VG_(transfer) (&amd64->guest_RSI, buf, dir, size, mod); brea 152 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-mips32.c | 133 Bool mod; local 134 supply_register_by_name ("pc", &newpc, &mod); 135 if (mod) 145 transfer_direction dir, int size, Bool *mod) 150 *mod = False; 155 case 0: VG_(transfer) (&mips1->guest_r0, buf, dir, size, mod); break; 156 case 1: VG_(transfer) (&mips1->guest_r1, buf, dir, size, mod); break; 157 case 2: VG_(transfer) (&mips1->guest_r2, buf, dir, size, mod); break; 158 case 3: VG_(transfer) (&mips1->guest_r3, buf, dir, size, mod); break; 159 case 4: VG_(transfer) (&mips1->guest_r4, buf, dir, size, mod); brea 144 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-s390x.c | 110 Bool mod; local 111 supply_register_by_name ("pswa", &newpc, &mod); 112 if (mod) 122 transfer_direction dir, int size, Bool *mod) 127 *mod = False; 134 case 0: *mod = False; break; //GDBTD??? { "pswm", 0, 64 }, 135 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break; 136 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break; 137 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break; 138 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); brea 121 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-x86.c | 108 Bool mod; local 109 supply_register_by_name ("eip", &newpc, &mod); 110 if (mod) 120 transfer_direction dir, int size, Bool *mod) 125 *mod = False; 132 case 0: VG_(transfer) (&x86->guest_EAX, buf, dir, size, mod); break; 133 case 1: VG_(transfer) (&x86->guest_ECX, buf, dir, size, mod); break; 134 case 2: VG_(transfer) (&x86->guest_EDX, buf, dir, size, mod); break; 135 case 3: VG_(transfer) (&x86->guest_EBX, buf, dir, size, mod); break; 136 case 4: VG_(transfer) (&x86->guest_ESP, buf, dir, size, mod); brea 119 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
/external/srtp/crypto/include/ |
H A D | 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 [all...] |