Home
last modified time | relevance | path

Searched +defs:mod +defs:m +defs:b (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/aosp_15_r20/external/pytorch/benchmarks/static_runtime/
H A Dtest_static_module.cc24 Module m("module"); in makeStaticModuleFromScript() local
426 auto b = at::randn(shapes); in TEST() local
448 torch::jit::Module mod = getLongScriptModel(); in TEST() local
450 auto b = torch::randn({2, 2}); in TEST() local
467 torch::jit::Module mod = getTrivialScriptModel(); in TEST() local
469 auto b = torch::randn({2, 2}); in TEST() local
488 torch::jit::Module mod = getDeepAndWideSciptModel(); in TEST() local
603 torch::jit::Module mod("mod"); in TEST() local
618 torch::jit::Module mod = getDeepAndWideSciptModel(); in TEST() local
681 auto b = at::randn({3, 6}); in TEST() local
[all …]
/aosp_15_r20/external/guava/guava/src/com/google/common/math/
H A DLongMath.java263 public static long pow(long b, int k) { in pow()
449 public static int mod(long x, int m) { in mod() method
473 public static long mod(long x, long m) { in mod() method
487 public static long gcd(long a, long b) { in gcd()
539 public static long checkedAdd(long a, long b) { in checkedAdd()
553 public static long checkedSubtract(long a, long b) { in checkedSubtract()
566 public static long checkedMultiply(long a, long b) { in checkedMultiply()
602 public static long checkedPow(long b, int k) { in checkedPow()
689 public static long saturatedMultiply(long a, long b) { in saturatedMultiply()
720 public static long saturatedPow(long b, int k) { in saturatedPow()
[all …]
H A DIntMath.java225 public static int pow(int b, int k) { in pow()
389 public static int mod(int x, int m) { in mod() method
403 public static int gcd(int a, int b) { in gcd()
453 public static int checkedAdd(int a, int b) { in checkedAdd()
464 public static int checkedSubtract(int a, int b) { in checkedSubtract()
475 public static int checkedMultiply(int a, int b) { in checkedMultiply()
491 public static int checkedPow(int b, int k) { in checkedPow()
501 checkNoOverflow(k < Integer.SIZE - 1, "checkedPow", b, k); in checkedPow() argument
523 b *= b; in checkedPow()
/aosp_15_r20/external/guava/android/guava/src/com/google/common/math/
H A DLongMath.java263 public static long pow(long b, int k) { in pow()
449 public static int mod(long x, int m) { in mod() method
473 public static long mod(long x, long m) { in mod() method
487 public static long gcd(long a, long b) { in gcd()
539 public static long checkedAdd(long a, long b) { in checkedAdd()
553 public static long checkedSubtract(long a, long b) { in checkedSubtract()
566 public static long checkedMultiply(long a, long b) { in checkedMultiply()
602 public static long checkedPow(long b, int k) { in checkedPow()
689 public static long saturatedMultiply(long a, long b) { in saturatedMultiply()
720 public static long saturatedPow(long b, int k) { in saturatedPow()
[all …]
H A DIntMath.java225 public static int pow(int b, int k) { in pow()
389 public static int mod(int x, int m) { in mod() method
403 public static int gcd(int a, int b) { in gcd()
453 public static int checkedAdd(int a, int b) { in checkedAdd()
464 public static int checkedSubtract(int a, int b) { in checkedSubtract()
475 public static int checkedMultiply(int a, int b) { in checkedMultiply()
491 public static int checkedPow(int b, int k) { in checkedPow()
501 checkNoOverflow(k < Integer.SIZE - 1, "checkedPow", b, k); in checkedPow() argument
523 b *= b; in checkedPow()
/aosp_15_r20/external/pytorch/test/nn/
H A Dtest_module_hooks.py426 def ctx_setup_hook(m, i): argument
430 def ctx_setup_failure_hook(m, i): argument
435 def ctx_shutdown_hook(m, i, o): argument
438 def ctx_shutdown_failure_hook(m, i, o): argument
442 def throw_hook(m, i, o): argument
674 def __init__(self, mod): argument
757 def my_post_load_hook(mod, _): argument
908 def fn(m, s, p, l): argument
1064 def forward_pre_hook(m, input): argument
1067 def forward_hook(m, input, output): argument
[all …]
/aosp_15_r20/external/python/cpython2/Python/
Dimport.c603 PyObject *modules, *mod, *dict, *copy; in _PyImport_FixupExtension() local
630 PyObject *dict, *mod, *mdict; in _PyImport_FindExtension() local
661 PyObject *m; in _PyImport_AddModuleObject() local
725 PyObject *m, *d, *v; in PyImport_ExecCodeModuleEx() local
866 PyObject *m; in load_compiled_module() local
893 mod_ty mod; in parse_source_module() local
1083 PyObject *m; in load_source_module() local
1136 int b = (ro == NULL) ? 0 : PyObject_IsTrue(ro); in load_source_module() local
1168 PyObject *m, *d; in load_package() local
1932 PyObject *m; in load_module() local
[all …]
/aosp_15_r20/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
H A DSimpleModuleTest.java126 public int b = 2; field in SimpleModuleTest.MixableBean
174 ObjectMapper m = context.getOwner(); in setupModule() local
181 public TestModule626(Class<?> t, Class<?> m) { in TestModule626()
233 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleBeanSerializer() local
242 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleEnumSerializer() local
252 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleInterfaceSerializer() local
270 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleBeanDeserializer() local
281 SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); in testSimpleEnumDeserializer() local
/aosp_15_r20/external/mesa3d/src/microsoft/compiler/
H A Ddxil_module.c36 dxil_module_init(struct dxil_module *m, void *ralloc_ctx) in dxil_module_init()
60 dxil_module_release(struct dxil_module *m) in dxil_module_release()
67 emit_bits64(struct dxil_buffer *b, uint64_t data, unsigned width) in emit_bits64()
89 enter_subblock(struct dxil_module *m, unsigned id, unsigned abbrev_width) in enter_subblock()
106 exit_block(struct dxil_module *m) in exit_block()
126 emit_record_no_abbrev(struct dxil_buffer *b, unsigned code, in emit_record_no_abbrev()
142 emit_record(struct dxil_module *m, unsigned code, in emit_record()
149 emit_record_int(struct dxil_module *m, unsigned code, int value) in emit_record_int()
214 emit_fixed(struct dxil_buffer *b, uint64_t data, unsigned width) in emit_fixed()
223 emit_vbr(struct dxil_buffer *b, uint64_t data, unsigned width) in emit_vbr()
[all …]
/aosp_15_r20/external/kmod/tools/
H A Ddepmod.c911 struct mod { struct
912 struct kmod_module *kmod; argument
916 struct kmod_list *info_list; argument
917 struct kmod_list *dep_sym_list; argument
920 size_t modnamesz; argument
921 int sort_idx; /* sort index using modules.order */ argument
923 uint16_t idx; /* index in depmod->modules.array */ argument
924 uint16_t users; /* how many modules depend on this one */ argument
927 char modname[]; argument
931 struct mod *owner; argument
[all …]
/aosp_15_r20/external/python/cpython2/Objects/
Dintobject.c471 register long a, b, x; in int_add() local
484 register long a, b, x; in int_sub() local
524 long a, b; in int_mul() local
622 long d, m; in int_div() local
640 long d, m; in int_classic_div() local
693 long d, m; in int_mod() local
711 long d, m; in int_divmod() local
795 long div, mod; in int_pow() local
852 long a, b, c; in int_lshift() local
898 register long a, b; in int_rshift() local
[all …]
Dlongobject.c1149 convert_binop(PyObject *v, PyObject *w, PyLongObject **a, PyLongObject **b) { in convert_binop()
1174 #define CONVERT_BINOP(v, w, a, b) \ argument
1207 v_iadd(digit *x, Py_ssize_t m, digit *y, Py_ssize_t n) in v_iadd()
1233 v_isub(digit *x, Py_ssize_t m, digit *y, Py_ssize_t n) in v_isub()
1258 v_lshift(digit *z, digit *a, Py_ssize_t m, int d) in v_lshift()
1276 v_rshift(digit *z, digit *a, Py_ssize_t m, int d) in v_rshift()
2024 long_divrem(PyLongObject *a, PyLongObject *b, in long_divrem()
2369 long_compare(PyLongObject *a, PyLongObject *b) in long_compare()
2431 x_add(PyLongObject *a, PyLongObject *b) in x_add()
2465 x_sub(PyLongObject *a, PyLongObject *b) in x_sub()
[all …]
Dcomplexobject.c34 c_sum(Py_complex a, Py_complex b) in c_sum()
43 c_diff(Py_complex a, Py_complex b) in c_diff()
61 c_prod(Py_complex a, Py_complex b) in c_prod()
70 c_quot(Py_complex a, Py_complex b) in c_quot()
128 c_pow(Py_complex a, Py_complex b) in c_pow()
523 Py_complex a, b; in complex_add() local
536 Py_complex a, b; in complex_sub() local
549 Py_complex a, b; in complex_mul() local
562 Py_complex a, b; in complex_div() local
580 Py_complex a, b; in complex_classic_div() local
[all …]
/aosp_15_r20/external/javassist/src/main/javassist/compiler/
H A DJavac.java73 public Javac(Bytecode b, CtClass thisClass) { in Javac()
152 int mod = MemberResolver.getModifiers(md.getModifiers()); in compileMethod() local
200 int mod = method.getModifiers(); in compileBody() local
238 private static void makeDefaultBody(Bytecode b, CtClass type) { in makeDefaultBody()
442 final String m = method; in recordProceed() local
488 final String m = method; in recordStaticProceed() local
/aosp_15_r20/external/pytorch/test/inductor/
H A Dtest_distributed_patterns.py28 def fw_pre_hook(mod, inp): argument
56 def fw_post_hook(mod, inp, out): argument
60 def bw_pre_hook(mod, gO): argument
88 def bw_post_hook(mod, gI, gO): argument
111 def bw_pre_hook(mod, gO): argument
117 def bw_post_hook(mod, gI, gO): argument
132 def steps(m, inp): argument
380 def _assert_same_grad(self, a, b): argument
/aosp_15_r20/external/python/cpython3/Objects/
Dlongobject.c1533 v_iadd(digit *x, Py_ssize_t m, digit *y, Py_ssize_t n) in v_iadd()
1559 v_isub(digit *x, Py_ssize_t m, digit *y, Py_ssize_t n) in v_isub()
1584 v_lshift(digit *z, digit *a, Py_ssize_t m, int d) in v_lshift()
1602 v_rshift(digit *z, digit *a, Py_ssize_t m, int d) in v_rshift()
2699 long_divrem(PyLongObject *a, PyLongObject *b, in long_divrem()
2766 long_rem(PyLongObject *a, PyLongObject *b, PyLongObject **prem) in long_rem()
3102 long_compare(PyLongObject *a, PyLongObject *b) in long_compare()
3192 x_add(PyLongObject *a, PyLongObject *b) in x_add()
3226 x_sub(PyLongObject *a, PyLongObject *b) in x_sub()
3280 _PyLong_Add(PyLongObject *a, PyLongObject *b) in _PyLong_Add()
[all …]
Dfloatobject.c601 double a,b; in float_add() local
611 double a,b; in float_sub() local
621 double a,b; in float_mul() local
631 double a,b; in float_div() local
647 double mod; in float_rem() local
672 _float_div_mod(double vx, double wx, double *floordiv, double *mod) in _float_div_mod()
713 double mod, floordiv; in float_divmod() local
728 double mod, floordiv; in float_floor_div() local
1242 double x, m; in float_hex_impl() local
/aosp_15_r20/external/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_peephole.cpp558 struct Storage *const a = &imm0.reg, *const b = &imm1.reg; in expr() local
787 struct Storage *const a = &imm0.reg, *const b = &imm1.reg, *const c = &imm2.reg; in expr() local
991 ConstantFolding::createMul(DataType ty, Value *def, Value *a, int64_t b, Value *c) in createMul()
1140 int64_t b = typeSizeof(i->dType) == 8 ? imm0.reg.data.s64 : imm0.reg.data.s32; in opnd() local
1181 int64_t b = typeSizeof(i->dType) == 8 ? imm0.reg.data.s64 : imm0.reg.data.s32; in opnd() local
1229 uint32_t m; in opnd() local
1264 int32_t m; in opnd() local
1311 Value *mod = bld.mkOp2v(OP_AND, TYPE_U32, bld.getSSA(), abs, in opnd() local
1730 Modifier mod; in visit() local
1897 Modifier mod[4]; in tryADDToMADOrSAD() local
[all …]
H A Dnv50_ir_emit_gk110.cpp160 #define NEG_(b, s) \ argument
162 #define ABS_(b, s) \ argument
165 #define NOT_(b, s) if (i->src(s).mod & Modifier(NV50_IR_MOD_NOT)) \ argument
168 #define FTZ_(b) if (i->ftz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) argument
169 #define DNZ_(b) if (i->dnz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) argument
171 #define SAT_(b) if (i->saturate) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) argument
173 #define RND_(b, t) emitRoundMode##t(i->rnd, 0x##b) argument
204 bool CodeEmitterGK110::isLIMM(const ValueRef& ref, DataType ty, bool mod) in isLIMM()
356 Modifier mod) in setImmediate32()
372 Modifier mod, int sCount) in emitForm_L()
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cpu/
H A DBinaryOpsKernel.cpp33 opmath_t b, in binary_op_scalar()
54 [=](scalar_t a, scalar_t b) __ubsan_ignore_undefined__ -> scalar_t { in add_clamp_kernel()
74 [=](scalar_t a, scalar_t b) -> scalar_t { in atan2_kernel()
77 [=](Vectorized<scalar_t> a, Vectorized<scalar_t> b) { in atan2_kernel()
121 cpu_kernel(iter, [=](bool a, bool b) -> bool { return a && b; }); in mul_kernel()
126 c10::complex<at::Half> b) -> c10::complex<at::Half> { in mul_kernel()
133 opmath_t b = iter.original_scalar_value<opmath_t>(2); in mul_kernel() local
153 __ubsan_ignore_undefined__ -> scalar_t { return a * b; }, in mul_kernel()
155 __ubsan_ignore_undefined__ { return a * b; }); in mul_kernel()
165 opmath_t b = iter.original_scalar_value<opmath_t>(2); in div_true_kernel() local
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/math/
DBigInteger.java1105 BigInteger m = thisMinusOne; in passesMillerRabin() local
1115 BigInteger b; in passesMillerRabin() local
2383 b = new MutableBigInteger(val.mag); in divideKnuth() local
2442 b = new MutableBigInteger(val.mag); in divideAndRemainderKnuth() local
2479 b = new MutableBigInteger(val.mag); in remainderKnuth() local
2711 MutableBigInteger b = new MutableBigInteger(val); in gcd() local
2820 public BigInteger mod(BigInteger m) { in mod() method
2870 public BigInteger modPow(BigInteger exponent, BigInteger m) { in modPow()
2967 private static int[] montgomeryMultiply(int[] a, int[] b, int[] n, int len, long inv, in montgomeryMultiply()
2992 (int[] a, int[] b, int[] n, int len, int[] product) throws RuntimeException { in implMontgomeryMultiplyChecks()
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/math/
H A DBigInteger.java1105 BigInteger m = thisMinusOne; in passesMillerRabin() local
1115 BigInteger b; in passesMillerRabin() local
2383 b = new MutableBigInteger(val.mag); in divideKnuth() local
2442 b = new MutableBigInteger(val.mag); in divideAndRemainderKnuth() local
2479 b = new MutableBigInteger(val.mag); in remainderKnuth() local
2711 MutableBigInteger b = new MutableBigInteger(val); in gcd() local
2820 public BigInteger mod(BigInteger m) { in mod() method
2870 public BigInteger modPow(BigInteger exponent, BigInteger m) { in modPow()
2967 private static int[] montgomeryMultiply(int[] a, int[] b, int[] n, int len, long inv, in montgomeryMultiply()
2992 (int[] a, int[] b, int[] n, int len, int[] product) throws RuntimeException { in implMontgomeryMultiplyChecks()
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/5/libcore/ojluni/src/main/java/java/math/
DBigInteger.java1105 BigInteger m = thisMinusOne; in passesMillerRabin() local
1115 BigInteger b; in passesMillerRabin() local
2383 b = new MutableBigInteger(val.mag); in divideKnuth() local
2442 b = new MutableBigInteger(val.mag); in divideAndRemainderKnuth() local
2479 b = new MutableBigInteger(val.mag); in remainderKnuth() local
2711 MutableBigInteger b = new MutableBigInteger(val); in gcd() local
2820 public BigInteger mod(BigInteger m) { in mod() method
2870 public BigInteger modPow(BigInteger exponent, BigInteger m) { in modPow()
2967 private static int[] montgomeryMultiply(int[] a, int[] b, int[] n, int len, long inv, in montgomeryMultiply()
2992 (int[] a, int[] b, int[] n, int len, int[] product) throws RuntimeException { in implMontgomeryMultiplyChecks()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/include/boost/regex/v4/
Dw32_regex_traits.hpp196 std::string m("Unable to open message catalog: "); in w32_regex_traits_char_layer() local
416 iter b = name.begin(); in lookup_collatename() local
439 std::string m("Unable to open message catalog: "); in w32_regex_traits_implementation() local
743 std::string m("Unable to open message catalog: "); in init() local
896 inline void free_module(void* mod) in free_module()
1064 int b = ::LCMapStringA( in w32_tolower() local
1083 int b = ::LCMapStringW( in w32_tolower() local
1103 int b = ::LCMapStringW( in w32_tolower() local
1119 int b = ::LCMapStringA( in w32_toupper() local
1138 int b = ::LCMapStringW( in w32_toupper() local
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/include/boost/regex/v5/
Dw32_regex_traits.hpp176 std::string m("Unable to open message catalog: "); in w32_regex_traits_char_layer() local
397 std::string m("Unable to open message catalog: "); in w32_regex_traits_implementation() local
701 std::string m("Unable to open message catalog: "); in init() local
854 inline void free_module(void* mod) in free_module()
1022 int b = ::LCMapStringA( in w32_tolower() local
1041 int b = ::LCMapStringW( in w32_tolower() local
1061 int b = ::LCMapStringW( in w32_tolower() local
1077 int b = ::LCMapStringA( in w32_toupper() local
1096 int b = ::LCMapStringW( in w32_toupper() local
1116 int b = ::LCMapStringW( in w32_toupper() local
[all …]

12345678910>>...41