Searched defs:mod (Results 76 - 100 of 395) sorted by relevance

1234567891011>>

/external/swiftshader/third_party/LLVM/examples/BrainF/
H A DBrainFDriver.cpp58 void addMainFunction(Module *mod) { argument
60 Function *main_func = cast<Function>(mod->
61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
62 IntegerType::getInt32Ty(mod->getContext()),
64 IntegerType::getInt8Ty(mod->getContext()))), NULL));
74 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func);
78 CallInst *brainf_call = CallInst::Create(mod->getFunction("brainf"),
84 ReturnInst::Create(mod->getContext(),
85 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb);
128 Module *mod local
[all...]
/external/swiftshader/third_party/LLVM/tools/llc/
H A Dllc.cpp253 Module &mod = *M.get(); local
257 mod.setTargetTriple(Triple::normalize(TargetTriple));
259 Triple TheTriple(mod.getTargetTriple());
348 PM.add(new TargetData(&mod));
374 PM.run(mod);
/external/valgrind/coregrind/m_gdbserver/
H A Dvalgrind-low-arm.c117 Bool mod; local
118 supply_register_by_name ("pc", &newpc, &mod);
119 if (mod)
179 transfer_direction dir, int size, Bool *mod)
184 *mod = False;
191 case 0: VG_(transfer) (&arm->guest_R0, buf, dir, size, mod); break;
192 case 1: VG_(transfer) (&arm->guest_R1, buf, dir, size, mod); break;
193 case 2: VG_(transfer) (&arm->guest_R2, buf, dir, size, mod); break;
194 case 3: VG_(transfer) (&arm->guest_R3, buf, dir, size, mod); break;
195 case 4: VG_(transfer) (&arm->guest_R4, buf, dir, size, mod); brea
178 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument
[all...]
H A Dvalgrind-low-arm64.c128 Bool mod; local
129 supply_register_by_name ("pc", &newpc, &mod);
130 if (mod)
140 transfer_direction dir, int size, Bool *mod)
145 *mod = False;
152 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break;
153 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break;
154 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break;
155 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break;
156 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); brea
139 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument
[all...]
H A Dvalgrind-low-ppc32.c167 Bool mod; local
168 supply_register_by_name ("pc", &newpc, &mod);
169 if (mod)
179 transfer_direction dir, int size, Bool *mod)
184 *mod = False;
191 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break;
192 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break;
193 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break;
194 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break;
195 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); brea
178 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument
[all...]
H A Dvalgrind-low-s390x.c109 Bool mod; local
110 supply_register_by_name ("pswa", &newpc, &mod);
111 if (mod)
121 transfer_direction dir, int size, Bool *mod)
126 *mod = False;
133 case 0: *mod = False; break; //GDBTD??? { "pswm", 0, 64 },
134 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break;
135 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break;
136 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break;
137 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); brea
120 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument
[all...]
/external/drm_gralloc/
H A Dgralloc.cpp53 static int drm_mod_perform(const struct gralloc_module_t *mod, int op, ...) argument
55 struct drm_module_t *dmod = (struct drm_module_t *) mod;
81 static int drm_mod_register_buffer(const gralloc_module_t *mod, argument
84 struct drm_module_t *dmod = (struct drm_module_t *) mod;
94 static int drm_mod_unregister_buffer(const gralloc_module_t *mod, argument
100 static int drm_mod_lock(const gralloc_module_t *mod, buffer_handle_t handle, argument
113 static int drm_mod_lock_ycbcr(const gralloc_module_t *mod, buffer_handle_t bhandle, argument
153 static int drm_mod_unlock(const gralloc_module_t *mod, buffer_handle_t handle) argument
155 struct drm_module_t *dmod = (struct drm_module_t *) mod;
241 static int drm_mod_open(const struct hw_module_t *mod, argument
[all...]
/external/elfutils/libdwelf/
H A Ddwelf_elf_gnu_build_id.c64 find_elf_build_id (Dwfl_Module *mod, int e_type, Elf *elf, argument
79 if (mod != NULL)
109 else if (mod == NULL || e_type != ET_REL)
111 else if (__libdwfl_relocate_value (mod, elf, &shstrndx,
127 __libdwfl_find_elf_build_id (Dwfl_Module *mod, Elf *elf, argument
138 assert (ehdr->e_type != ET_REL || mod != NULL);
140 return find_elf_build_id (mod, ehdr->e_type, elf,
/external/elfutils/libdwfl/
H A Doffline.c39 dwfl_offline_section_address (Dwfl_Module *mod, argument
48 assert (mod->e_type == ET_REL);
53 if (mod->debug.elf == NULL)
61 Elf_Scn *ourscn = elf_getscn (mod->debug.elf, shndx);
64 while ((scn = elf_nextscn (mod->debug.elf, scn)) != ourscn)
76 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL)
130 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, fd, elf, local
133 if (mod != NULL)
141 if ((dwfl->offline_next_address >= mod->low_addr
142 || mod
160 process_archive_member(Dwfl *dwfl, const char *name, const char *file_name, int (*predicate) (const char *module, const char *file), int fd, Elf *member, Dwfl_Module **mod) argument
243 Dwfl_Module *mod = NULL; local
280 Dwfl_Module *mod = process_file (dwfl, name, file_name, fd, elf, predicate); local
[all...]
/external/elfutils/tests/
H A Dallregs.c51 first_module (Dwfl_Module *mod, argument
58 if (dwfl_module_getelf (mod, &bias) == NULL) /* Not really a module. */
61 *(Dwfl_Module **) arg = mod;
158 Dwfl_Module *mod = NULL; local
159 if (dwfl_getmodules (dwfl, &first_module, &mod, 0) < 0)
165 int result = dwfl_module_register_names (mod, &one_register, &state);
194 int result = dwfl_module_register_names (mod, &match_register, &regno);
H A Ddwfllines.c48 Dwfl_Module *mod = dwfl_cumodule (cu); local
49 const char *modname = (dwfl_module_info (mod, NULL, NULL, NULL,
54 printf ("mod: %s CU: [%" PRIx64 "] %s\n", modname,
155 assert (mod == linemod);
H A Ddwflsyms.c108 list_syms (struct Dwfl_Module *mod, argument
113 int syms = dwfl_module_getsymtab (mod);
126 const char *name = dwfl_module_getsym (mod, ndx, &sym, &shndxp);
136 name = dwfl_module_getsym_info (mod, ndx, &isym, &value, &shndxp,
162 const char *aname = dwfl_module_addrinfo (mod, addr, &off, &asym,
177 int res = dwfl_module_relocate_address (mod, &addr);
190 Elf_Scn *scn = dwfl_module_address_section (mod, &addr, &ebias);
193 Elf *melf = dwfl_module_getelf (mod, &ebias);
/external/guava/guava/src/com/google/common/math/
H A DIntMath.java335 * Returns {@code x mod m}, a non-negative value less than {@code m}.
340 * mod(7, 4) == 3
341 * mod(-7, 4) == 1
342 * mod(-1, 4) == 3
343 * mod(-8, 4) == 0
344 * mod(8, 4) == 0}</pre>
350 public static int mod(int x, int m) { method in class:IntMath
/external/guava/guava/src/com/google/common/primitives/
H A DUnsignedInteger.java165 * Returns this mod {@code val}.
171 public UnsignedInteger mod(UnsignedInteger val) { method in class:UnsignedInteger
H A DUnsignedLong.java170 public UnsignedLong mod(UnsignedLong val) { method in class:UnsignedLong
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
H A DIntMath.java214 * Returns {@code x mod m}, a non-negative value less than {@code m}.
219 * mod(7, 4) == 3
220 * mod(-7, 4) == 1
221 * mod(-1, 4) == 3
222 * mod(-8, 4) == 0
223 * mod(8, 4) == 0}</pre>
229 public static int mod(int x, int m) { method in class:IntMath
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DUnsignedInteger.java151 * Returns this mod {@code val}.
157 public UnsignedInteger mod(UnsignedInteger val) { method in class:UnsignedInteger
/external/icu/icu4c/source/test/intltest/
H A Dnumbertest_modifiers.cpp83 SimpleModifier mod(compiledFormatter, UNUM_PERCENT_FIELD, false);
85 mod, prefixLens[i], false, expectedCharFields[i][0], expectedCharFields[i][1], status);
92 mod.apply(output, outputs[j].leftIndex, outputs[j].rightIndex, status);
147 void ModifiersTest::assertModifierEquals(const Modifier &mod, int32_t expectedPrefixLength, argument
153 mod, sb, expectedPrefixLength, expectedStrong, expectedChars, expectedFields, status);
157 void ModifiersTest::assertModifierEquals(const Modifier &mod, NumberStringBuilder &sb, argument
162 mod.apply(sb, 0, sb.length(), status);
163 assertEquals("Prefix length", expectedPrefixLength, mod.getPrefixLength(status));
164 assertEquals("Strong", expectedStrong, mod.isStrong());
165 if (dynamic_cast<const CurrencySpacingEnabledModifier*>(&mod)
[all...]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
H A DModifierSet.java71 public static int addModifier(int modifiers, int mod) { argument
72 return modifiers | mod;
137 * @param mod modifier to be removed
140 public static int removeModifier(int modifiers, int mod) { argument
141 return modifiers & ~mod;
/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/javassist/src/main/javassist/tools/reflect/
H A DReflection.java228 int mod = f.getModifiers();
229 if ((mod & Modifier.PUBLIC) != 0 && (mod & Modifier.FINAL) == 0) {
281 int mod = m.getModifiers();
282 if (Modifier.isPublic(mod) && !Modifier.isAbstract(mod))
283 processMethods0(mod, clazz, m, i, dontSearch);
287 private void processMethods0(int mod, CtClass clazz, argument
299 if (Modifier.isNative(mod))
303 if (Modifier.isFinal(mod)) {
[all...]
/external/libxaac/decoder/
H A Dixheaacd_acelp_info.h25 WORD32 mod[NUM_FRAMES]; member in struct:__anon13131
H A Dixheaacd_lpc_dec.c166 WORD32 mod[]) {
191 if (mod[0] < 3) {
205 if (mod[0] < 2) {
224 if (mod[2] < 2) {
164 ixheaacd_alg_vec_dequant(ia_td_frame_data_struct *pstr_td_frame_data, WORD32 first_lpd_flag, FLOAT32 *lsf, WORD32 mod[]) argument
/external/libxkbcommon/xkbcommon/src/
H A Dtext.c260 const struct xkb_mod *mod; local
268 xkb_mods_enumerate(i, mod, mods) {
276 xkb_atom_text(ctx, mod->name));
/external/libxkbcommon/xkbcommon/src/xkbcomp/
H A Dkeymap.c176 struct xkb_mod *mod; local
186 /* Update keymap->mods, the virtual -> real mod mapping. */
188 xkb_mods_enumerate(i, mod, &keymap->mods)
190 mod->mapping |= key->modmap;

Completed in 679 milliseconds

1234567891011>>