Home
last modified time | relevance | path

Searched refs:mod2 (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_inspect.py18 from test import inspect_fodder2 as mod2 unknown
345 fodderFile = mod2
348 self.assertSourceEqual(mod2.wrapped, 14, 17)
351 self.assertSourceEqual(mod2.gone, 9, 10)
354 fodderFile = mod2
357 self.assertSourceEqual(mod2.oll, 25, 25)
362 self.assertSourceEqual(mod2.tll, 28, 30)
367 self.assertSourceEqual(mod2.tlli, 33, 34)
371 self.assertSourceEqual(mod2.onelinefunc, 37, 37)
377 self.assertSourceEqual(mod2.manyargs, 40, 41)
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_padding.cpp62 int32_t Padder::padAndApply(const Modifier &mod1, const Modifier &mod2, in padAndApply() argument
65 int32_t modLength = mod1.getCodePointCount() + mod2.getCodePointCount(); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
86 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DModifierTest.java42 Modifier mod2 = new ConstantMultiFieldModifier(prefix, suffix, false, true); in testConstantMultiFieldModifier() local
43 assertModifierEquals(mod2, 3, true, "a��|b", "%%%n$"); in testConstantMultiFieldModifier()
101 Modifier mod2 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier() local
102 assertModifierEquals(mod2, 3, true, "USD|", "$$$n"); in testCurrencySpacingEnabledModifier()
108 assertModifierEquals(mod2, sb1, 3, true, "USD\u00A0123", "$$$niii"); in testCurrencySpacingEnabledModifier()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DModifierTest.java39 Modifier mod2 = new ConstantMultiFieldModifier(prefix, suffix, false, true); in testConstantMultiFieldModifier() local
40 assertModifierEquals(mod2, 3, true, "a��|b", "%%%n$"); in testConstantMultiFieldModifier()
98 Modifier mod2 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier() local
99 assertModifierEquals(mod2, 3, true, "USD|", "$$$n"); in testCurrencySpacingEnabledModifier()
105 assertModifierEquals(mod2, sb1, 3, true, "USD\u00A0123", "$$$niii"); in testCurrencySpacingEnabledModifier()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPadder.java88 Modifier mod2, in padAndApply() argument
92 int modLength = mod1.getCodePointCount() + mod2.getCodePointCount(); in padAndApply()
101 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
111 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPadder.java81 Modifier mod2, in padAndApply() argument
85 int modLength = mod1.getCodePointCount() + mod2.getCodePointCount(); in padAndApply()
94 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
104 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_modifiers.cpp47 ConstantMultiFieldModifier mod2(prefix, suffix, false, true); in testConstantMultiFieldModifier() local
48 assertModifierEquals(mod2, 3, true, u"a��|b", u"%%%n$", status); in testConstantMultiFieldModifier()
117 CurrencySpacingEnabledModifier mod2(prefix, suffix, false, true, symbols, status); in testCurrencySpacingEnabledModifier() local
119 assertModifierEquals(mod2, 3, true, u"USD|", u"$$$n", status); in testCurrencySpacingEnabledModifier()
127 assertModifierEquals(mod2, sb1, 3, true, u"USD\u00A0123", u"$$$niii", status); in testCurrencySpacingEnabledModifier()
/external/selinux/libsepol/tests/
Dtest-expander.c53 static policydb_t mod2; variable
146 mymod2 = &mod2; in expander_test_init()
181 policydb_destroy(&mod2); in expander_test_cleanup()
/external/libopus/src/
Danalysis.c537 float mod1, mod2, avg_mod; in tonality_analysis() local
556 mod2 = d2_angle2 - (float)float2int(d2_angle2); in tonality_analysis()
557 noisiness[i] += ABS16(mod2); in tonality_analysis()
558 mod2 *= mod2; in tonality_analysis()
559 mod2 *= mod2; in tonality_analysis()
561 avg_mod = .25f*(d2A[i]+mod1+2*mod2); in tonality_analysis()
565 tonality2[i] = 1.f/(1.f+40.f*16.f*pi4*mod2)-.015f; in tonality_analysis()
569 d2A[i] = mod2; in tonality_analysis()
/external/libxkbcommon/xkbcommon/test/
Dstate.c303 xkb_mod_index_t caps, shift, num, alt, mod1, mod2; in test_update_mask_mods() local
318 mod2 = xkb_keymap_mod_get_index(keymap, "Mod2"); in test_update_mask_mods()
319 assert(mod2 != XKB_MOD_INVALID); in test_update_mask_mods()
351 ((1u << num) | (1u << mod2))); in test_update_mask_mods()
355 changed = xkb_state_update_mask(state, (1 << mod2), 0, (1 << num), 0, 0, 0); in test_update_mask_mods()
359 ((1u << mod2) | (1u << num))); in test_update_mask_mods()
361 (1u << mod2)); in test_update_mask_mods()
363 ((1u << num) | (1u << mod2))); in test_update_mask_mods()
/external/python/cpython3/Lib/test/
Dtest_inspect.py31 from test import inspect_fodder2 as mod2 unknown
541 fodderModule = mod2
544 self.assertSourceEqual(mod2.wrapped, 14, 17)
547 self.assertSourceEqual(mod2.gone, 9, 10)
550 self.assertSourceEqual(mod2.real, 130, 132)
553 self.assertSourceEqual(mod2.func114, 113, 115)
556 fodderModule = mod2
559 self.assertSourceEqual(mod2.oll, 25, 25)
564 self.assertSourceEqual(mod2.tll, 28, 30)
569 self.assertSourceEqual(mod2.tlli, 33, 34)
[all …]
Dtest_imp.py244 mod2 = imp.load_dynamic('_testimportmultiple_bar', pathname)
247 self.assertEqual(mod2.__name__, '_testimportmultiple_bar')
/external/python/setuptools/pkg_resources/tests/
Dtest_pkg_resources.py102 import mod2
103 zp2 = pkg_resources.ZipProvider(mod2)
/external/swiftshader/src/Shader/
DPixelPipeline.cpp483 Vector4s mod2; in blendTexture() local
523 mod2.x = SubSat(Short4(0x1000), arg2->x); in blendTexture()
524 mod2.y = SubSat(Short4(0x1000), arg2->y); in blendTexture()
525 mod2.z = SubSat(Short4(0x1000), arg2->z); in blendTexture()
526 mod2.w = SubSat(Short4(0x1000), arg2->w); in blendTexture()
528 arg2 = &mod2; in blendTexture()
531 mod2.x = arg2->w; in blendTexture()
532 mod2.y = arg2->w; in blendTexture()
533 mod2.z = arg2->w; in blendTexture()
534 mod2.w = arg2->w; in blendTexture()
[all …]
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_relative_imports.py85 self.assertEqual(module.mod2.attr, 'pkg.mod2')
/external/clang/test/Modules/
Dauto-module-import.m25 Module *mod2;
/external/python/cpython3/Doc/distutils/
Dconfigfile.rst81 pure Python modules :mod:`pkg.mod1` and :mod:`pkg.mod2`. You can always use the
Dsetupscript.rst117 py_modules = ['mod1', 'pkg.mod2']
121 these two modules can be found in :file:`mod1.py` and :file:`pkg/mod2.py`, and
/external/python/cpython2/Doc/distutils/
Dconfigfile.rst77 pure Python modules :mod:`pkg.mod1` and :mod:`pkg.mod2`. You can always use the
Dsetupscript.rst117 py_modules = ['mod1', 'pkg.mod2']
121 these two modules can be found in :file:`mod1.py` and :file:`pkg/mod2.py`, and
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java1594 UnicodeSet mod2 = new UnicodeSet(set1).removeAll(list2); in TestGenerics() local
1595 assertEquals("remove all", mod1, mod2); in TestGenerics()
1599 mod2 = new UnicodeSet(set1).retainAll(set2.addAllTo(new LinkedHashSet<String>())); in TestGenerics()
1600 assertEquals("remove all", mod1, mod2); in TestGenerics()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java1597 UnicodeSet mod2 = new UnicodeSet(set1).removeAll(list2); in TestGenerics() local
1598 assertEquals("remove all", mod1, mod2); in TestGenerics()
1602 mod2 = new UnicodeSet(set1).retainAll(set2.addAllTo(new LinkedHashSet<String>())); in TestGenerics()
1603 assertEquals("remove all", mod1, mod2); in TestGenerics()
/external/python/cpython3/Lib/idlelib/
DREADME.txt242 Sort 'from idlelib import mod1' and 'from idlelib.mod2 import object'
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1393 int32_t padAndApply(const impl::Modifier &mod1, const impl::Modifier &mod2,
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dcompatibility-3.7.ll1260 !1 = !{i32 2, !"mod2", i32 0}
1261 ; CHECK: !1 = !{i32 2, !"mod2", i32 0}

12