Searched defs:mod (Results 51 - 75 of 395) sorted by relevance

1234567891011>>

/external/python/cpython2/Mac/Modules/
H A DautoGIL.c135 PyObject *mod; local
140 mod = Py_InitModule4("autoGIL", autoGIL_methods, autoGIL_docs,
142 if (mod == NULL)
149 if (PyModule_AddObject(mod, "AutoGILError",
/external/python/cpython2/Python/
H A Dfuture.c58 future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename) argument
62 if (!(mod->kind == Module_kind || mod->kind == Interactive_kind))
74 for (i = 0; i < asdl_seq_LEN(mod->v.Module.body); i++) {
75 stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
120 PyFuture_FromAST(mod_ty mod, const char *filename) argument
132 if (!future_parse(ff, mod, filename)) {
/external/python/cpython3/Python/
H A Dfuture.c61 future_parse(PyFutureFeatures *ff, mod_ty mod, PyObject *filename) argument
66 if (!(mod->kind == Module_kind || mod->kind == Interactive_kind))
69 if (asdl_seq_LEN(mod->v.Module.body) == 0)
81 first = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
89 for (; i < asdl_seq_LEN(mod->v.Module.body); i++) {
90 stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
129 PyFuture_FromASTObject(mod_ty mod, PyObject *filename) argument
141 if (!future_parse(ff, mod, filename)) {
150 PyFuture_FromAST(mod_ty mod, cons argument
[all...]
/external/compiler-rt/lib/stats/
H A Dstats.cc65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( local
67 WriteToFile(stats_fd, mod->full_name(),
68 internal_strlen(mod->full_name()) + 1);
74 WriteLE(stats_fd, s->addr - mod->base_address());
86 unsigned __sanitizer_stats_register(StatModule **mod) { argument
88 modules.push_back(mod);
104 for (StatModule **mod : modules) {
105 if (!mod)
107 WriteModuleReport(mod);
/external/elfutils/libdwfl/
H A Ddwfl_build_id_find_elf.c37 __libdwfl_open_by_build_id (Dwfl_Module *mod, bool debug, char **file_name, argument
68 const Dwfl_Callbacks *const cb = mod->dwfl->callbacks;
121 __libdwfl_open_mod_by_build_id (Dwfl_Module *mod, bool debug, char **file_name) argument
126 if (mod->build_id_len <= 0)
129 const size_t id_len = mod->build_id_len;
130 const uint8_t *id = mod->build_id_bits;
132 return __libdwfl_open_by_build_id (mod, debug, file_name, id_len, id);
136 dwfl_build_id_find_elf (Dwfl_Module *mod, argument
143 if (mod->is_executable
144 && mod
[all...]
H A Ddwfl_module_getsrc_file.c52 dwfl_module_getsrc_file (Dwfl_Module *mod, argument
56 if (mod == NULL)
59 if (mod->dw == NULL)
62 if (INTUSE(dwfl_module_getdwarf) (mod, &bias) == NULL)
75 while ((error = __libdwfl_nextcu (mod, cu, &cu)) == DWFL_E_NOERROR
H A Ddwfl_module_getsym.c33 __libdwfl_getsym (Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, argument
37 if (unlikely (mod == NULL))
40 if (unlikely (mod->symdata == NULL))
42 int result = INTUSE(dwfl_module_getsymtab) (mod);
53 int skip_aux_zero = (mod->syments > 0 && mod->aux_syments > 0) ? 1 : 0;
58 if (mod->aux_symdata == NULL
59 || ndx < mod->first_global)
63 elf = mod->symfile->elf;
64 symdata = mod
197 dwfl_module_getsym_info(Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *bias) argument
[all...]
H A Dsegment.c159 for (Dwfl_Module *mod = dwfl->modulelist; mod != NULL; mod = mod->next)
160 if (! mod->gc)
162 const GElf_Addr start = __libdwfl_segment_start (dwfl, mod->low_addr);
163 const GElf_Addr end = __libdwfl_segment_end (dwfl, mod->high_addr);
213 mod->segment = idx;
217 dwfl->lookup_module[idx++] = mod;
220 assert (dwfl->lookup_module[mod
241 dwfl_addrsegment(Dwfl *dwfl, Dwarf_Addr address, Dwfl_Module **mod) argument
[all...]
/external/elfutils/tests/
H A Dbacktrace-dwarf.c100 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); local
102 if (mod)
103 symname = dwfl_module_addrname (mod, pc_adjusted);
H A Dline2addr.c33 print_address (Dwfl_Module *mod, Dwarf_Addr address) argument
35 int n = dwfl_module_relocations (mod);
40 int i = dwfl_module_relocate_address (mod, &address);
45 const char *modname = dwfl_module_info (mod, NULL, NULL, NULL,
47 const char *secname = dwfl_module_relocation_info (mod, i, NULL);
68 handle_module (Dwfl_Module *mod __attribute__ ((unused)),
79 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0)
90 print_address (mod, addr);
/external/icu/android_icu4j/src/main/java/android/icu/number/
H A DCompactNotation.java61 public ImmutablePatternModifier mod; field in class:CompactNotation.CompactHandler.CompactModInfo
99 info.mod = buildReference.createImmutable();
133 info.mod.applyToMicros(micros, quantity);
/external/icu/icu4c/source/i18n/
H A Dnumber_compact.h53 const ImmutablePatternModifier *mod; member in struct:number::impl::CompactModInfo
H A Dnumber_scientific.cpp117 ScientificModifier &mod = micros.helpers.scientificModifier; local
118 mod.set(exponent, this);
119 micros.modInner = &mod;
/external/icu/icu4c/source/test/intltest/
H A Dnumbertest_patternmodifier.cpp23 MutablePatternModifier mod(false);
27 mod.setPatternInfo(&patternInfo);
28 mod.setPatternAttributes(UNUM_SIGN_AUTO, false);
32 mod.setSymbols(&symbols, currency, UNUM_UNIT_WIDTH_SHORT, nullptr);
34 mod.setNumberProperties(false, StandardPlural::Form::COUNT);
35 assertEquals("Pattern a0b", u"a", getPrefix(mod, status));
36 assertEquals("Pattern a0b", u"b", getSuffix(mod, status));
37 mod.setPatternAttributes(UNUM_SIGN_ALWAYS, false);
38 assertEquals("Pattern a0b", u"+a", getPrefix(mod, status));
39 assertEquals("Pattern a0b", u"b", getSuffix(mod, statu
113 getPrefix(const MutablePatternModifier &mod, UErrorCode &status) argument
120 getSuffix(const MutablePatternModifier &mod, UErrorCode &status) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DCompactNotation.java60 public ImmutablePatternModifier mod; field in class:CompactNotation.CompactHandler.CompactModInfo
98 info.mod = buildReference.createImmutable();
132 info.mod.applyToMicros(micros, quantity);
/external/kmod/tools/
H A Dinsmod.c68 struct kmod_module *mod; local
142 err = kmod_module_new_from_path(ctx, filename, &mod);
149 err = kmod_module_insert_module(mod, flags, opts);
154 kmod_module_unref(mod);
H A Drmmod.c64 static int check_module_inuse(struct kmod_module *mod) { argument
68 state = kmod_module_get_initstate(mod);
71 ERR("Module %s is builtin.\n", kmod_module_get_name(mod));
75 kmod_module_get_name(mod));
79 holders = kmod_module_get_holders(mod);
83 ERR("Module %s is in use by:", kmod_module_get_name(mod));
96 if (kmod_module_get_refcnt(mod) != 0) {
97 ERR("Module %s is in use\n", kmod_module_get_name(mod));
159 struct kmod_module *mod; local
163 err = kmod_module_new_from_path(ctx, arg, &mod);
[all...]
/external/libvterm/src/
H A Dinput.c7 void vterm_input_push_char(VTerm *vt, VTermModifier mod, uint32_t c) argument
13 mod &= ~VTERM_MOD_SHIFT;
15 if(mod == 0) {
39 if(needs_CSIu && (mod & ~VTERM_MOD_ALT)) {
40 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d;%du", c, mod+1);
44 if(mod & VTERM_MOD_CTRL)
47 vterm_push_output_sprintf(vt, "%s%c", mod & VTERM_MOD_ALT ? "\e" : "", c);
124 void vterm_input_push_key(VTerm *vt, VTermModifier mod, VTermKey key) argument
152 if(mod == VTERM_MOD_SHIFT)
154 else if(mod
[all...]
/external/libxkbcommon/xkbcommon/src/
H A Dkeymap-priv.c132 const struct xkb_mod *mod; local
134 xkb_mods_enumerate(i, mod, mods)
135 if ((mod->type & type) && name == mod->name)
/external/llvm/examples/BrainF/
H A DBrainFDriver.cpp73 void addMainFunction(Module *mod) { argument
75 Function *main_func = cast<Function>(mod->
76 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
77 IntegerType::getInt32Ty(mod->getContext()),
79 IntegerType::getInt8Ty(mod->getContext()))), NULL));
89 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func);
93 CallInst *brainf_call = CallInst::Create(mod->getFunction("brainf"),
99 ReturnInst::Create(mod->getContext(),
100 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb);
/external/ltp/utils/ffsb-6.0-rc2/
H A Drand.c134 * and throwing away most of it using the mod operator,
138 uint32_t getrandom(randdata_t * state, uint32_t mod) argument
146 if ((mod == 0) || (mod == 1))
149 if (!(mod >> 8))
151 else if (!(mod >> 16))
153 else if (!(mod >> 24))
161 return ret % mod;
164 uint64_t getllrandom(randdata_t * state, uint64_t mod) argument
170 if (mod
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/
H A Dnative.cpp107 emit_code(::llvm::Module &mod, const target &target, argument
131 mod.setDataLayout(compat::get_data_layout(*tm));
138 pm.run(mod);
146 clover::llvm::build_module_native(::llvm::Module &mod, const target &target, argument
149 const auto code = emit_code(mod, target,
151 return build_module_common(mod, code, get_symbol_offsets(code, r_log), c);
155 clover::llvm::print_module_native(const ::llvm::Module &mod, argument
159 std::unique_ptr<::llvm::Module> cmod { CloneModule(&mod) };
/external/python/cpython2/Lib/test/
H A Dtest_pdb.py256 mod = imp.new_module('module_to_skip') variable
257 exec 'def foo_pony(callback): x = 1; callback(); return None' in mod.__dict__
267 ... mod.foo_pony(callback)
280 -> mod.foo_pony(callback)
295 -> mod.foo_pony(callback)
/external/skia/include/core/
H A DSkMath.h123 * Stores numer/denom and numer%denom into div and mod respectively.
126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
136 *mod = static_cast<Out>(numer-d*denom);
140 *mod = static_cast<Out>(numer%denom);
/external/skqp/include/core/
H A DSkMath.h123 * Stores numer/denom and numer%denom into div and mod respectively.
126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
136 *mod = static_cast<Out>(numer-d*denom);
140 *mod = static_cast<Out>(numer%denom);

Completed in 489 milliseconds

1234567891011>>