Searched refs:mod (Results 1 - 25 of 452) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-166379.js30 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/elfutils/0.153/libdwfl/
H A Ddwfl_module_getelf.c53 dwfl_module_getelf (Dwfl_Module *mod, GElf_Addr *loadbase) argument
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
[all...]
H A Ddwfl_module_eh_cfi.c54 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,
[all...]
H A Ddwfl_nextcu.c59 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
[all...]
H A Ddwfl_module_dwarf_cfi.c55 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) argument
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
[all...]
H A Ddwfl_addrmodule.c55 Dwfl_Module *mod; local
56 (void) INTUSE(dwfl_addrsegment) (dwfl, address, &mod);
57 return mod;
H A Ddwfl_module_info.c53 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
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
[all...]
H A Ddwfl_module_report_build_id.c54 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 Ddwfl_module_return_value_location.c54 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 Ddwfl_module_addrname.c53 dwfl_module_addrname (Dwfl_Module *mod, GElf_Addr addr) argument
56 return INTUSE(dwfl_module_addrsym) (mod, addr, &sym, NULL);
H A Ddwfl_build_id_find_debuginfo.c55 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 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;
H A Ddwfl_module.c79 __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 Ddwfl_validate_address.c55 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 Ddwfl_module_getdwarf.c60 open_elf (Dwfl_Module *mod, struct dwfl_file *file) argument
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;
167 __libdwfl_getelf (Dwfl_Module *mod) argument
169 if (mod->main.elf != NULL /* Already done. */
170 || mod->elferr != DWFL_E_NOERROR) /* Cached failure. */
173 mod
306 find_prelink_address_sync(Dwfl_Module *mod) argument
545 find_debuginfo(Dwfl_Module *mod) argument
650 find_dynsym(Dwfl_Module *mod) argument
837 find_symtab(Dwfl_Module *mod) argument
939 __libdwfl_module_getebl(Dwfl_Module *mod) argument
956 load_dw(Dwfl_Module *mod, struct dwfl_file *debugfile) argument
1005 find_dw(Dwfl_Module *mod) argument
1053 dwfl_module_getdwarf(Dwfl_Module *mod, Dwarf_Addr *bias) argument
[all...]
H A Ddwfl_cumodule.c56 return cu->mod;
H A Ddwfl_linemodule.c58 return dwfl_linecu (line)->mod;
H A Ddwfl_module_addrdie.c53 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);
/external/javassist/src/main/javassist/
H A DModifier.java51 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/chromium_org/v8/test/webkit/
H A Dmod-by-zero.js28 function mod(b) { function
32 shouldBeNaN("mod(0)");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DEventBuilder.java44 EventMod mod = createModifier(EventMod.ModKind.Count);
45 mod.count = count;
46 modifiers.add(mod);
57 EventMod mod = createModifier(EventMod.ModKind.ThreadOnly);
58 mod.thread = thread;
59 modifiers.add(mod);
70 EventMod mod = createModifier(EventMod.ModKind.ClassMatch);
71 mod.classPattern = pattern;
72 modifiers.add(mod);
83 EventMod mod
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dvalgrind-low-amd64.c141 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 Dvalgrind-low-s390x.c110 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 Dvalgrind-low-arm64.c129 Bool mod; local
130 supply_register_by_name ("pc", &newpc, &mod);
131 if (mod)
141 transfer_direction dir, int size, Bool *mod)
146 *mod = False;
153 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break;
154 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break;
155 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break;
156 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break;
157 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); brea
140 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument
[all...]
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/
H A Derr.h153 #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...]
/external/srtp/crypto/include/
H A Derr.h153 #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...]

Completed in 1228 milliseconds

1234567891011>>