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/cronet/third_party/icu/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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DSimpleModuleTest.java291 SimpleModule mod2 = new SimpleModule("test2", Version.unknownVersion()); in testMultipleModules() local
297 mod2.setDeserializers(new SimpleDeserializers(desers)); in testMultipleModules()
298 mod2.addSerializer(CustomBean.class, new CustomBeanSerializer()); in testMultipleModules()
302 mapper.registerModule(mod2); in testMultipleModules()
309 mapper.registerModule(mod2); in testMultipleModules()
319 AnotherSimpleModule mod2 = new AnotherSimpleModule("test2", Version.unknownVersion()); in testGetRegisteredModules() local
324 mapper.registerModule(mod2); in testGetRegisteredModules()
329 assertTrue(registeredModuleIds.contains(mod2.getTypeId())); in testGetRegisteredModules()
/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/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/android_icu4j/src/main/java/android/icu/impl/number/
DPadder.java90 Modifier mod2, in padAndApply() argument
94 int modLength = mod1.getCodePointCount() + mod2.getCodePointCount(); in padAndApply()
103 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
113 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPadder.java83 Modifier mod2, in padAndApply() argument
87 int modLength = mod1.getCodePointCount() + mod2.getCodePointCount(); in padAndApply()
96 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
106 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
/external/cronet/third_party/icu/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/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/python/cpython3/Lib/test/
Dtest_inspect.py33 from test import inspect_fodder2 as mod2 unknown
475 self.assertEqual(inspect.getcomments(mod2.cls160), '# line 159\n')
619 fodderModule = mod2
622 self.assertSourceEqual(mod2.wrapped, 14, 17)
625 self.assertSourceEqual(mod2.gone, 9, 10)
628 self.assertSourceEqual(mod2.real, 130, 132)
631 self.assertSourceEqual(mod2.func114, 113, 115)
634 fodderModule = mod2
637 self.assertSourceEqual(mod2.oll, 25, 25)
642 self.assertSourceEqual(mod2.tll, 28, 30)
[all …]
Dtest_imp.py246 mod2 = imp.load_dynamic('_testimportmultiple_bar', pathname)
249 self.assertEqual(mod2.__name__, '_testimportmultiple_bar')
/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.c579 float mod1, mod2, avg_mod; in tonality_analysis() local
598 mod2 = d2_angle2 - (float)float2int(d2_angle2); in tonality_analysis()
599 noisiness[i] += ABS16(mod2); in tonality_analysis()
600 mod2 *= mod2; in tonality_analysis()
601 mod2 *= mod2; in tonality_analysis()
603 avg_mod = .25f*(d2A[i]+mod1+2*mod2); in tonality_analysis()
607 tonality2[i] = 1.f/(1.f+40.f*16.f*pi4*mod2)-.015f; in tonality_analysis()
611 d2A[i] = mod2; in tonality_analysis()
/external/javassist/src/main/javassist/
DCodeConverter.java372 int mod2 = substMethod.getModifiers(); in redirectMethodCall() local
373 if (Modifier.isStatic(mod1) != Modifier.isStatic(mod2) in redirectMethodCall()
374 || (Modifier.isPrivate(mod1) && !Modifier.isPrivate(mod2)) in redirectMethodCall()
/external/libxkbcommon/test/
Dstate.c305 xkb_mod_index_t caps, shift, num, alt, mod1, mod2; in test_update_mask_mods() local
320 mod2 = xkb_keymap_mod_get_index(keymap, "Mod2"); in test_update_mask_mods()
321 assert(mod2 != XKB_MOD_INVALID); in test_update_mask_mods()
353 ((1u << num) | (1u << mod2))); in test_update_mask_mods()
357 changed = xkb_state_update_mask(state, (1 << mod2), 0, (1 << num), 0, 0, 0); in test_update_mask_mods()
361 ((1u << mod2) | (1u << num))); in test_update_mask_mods()
363 (1u << mod2)); in test_update_mask_mods()
365 ((1u << num) | (1u << mod2))); in test_update_mask_mods()
/external/python/setuptools/pkg_resources/tests/
Dtest_pkg_resources.py100 import mod2
101 zp2 = pkg_resources.ZipProvider(mod2)
/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/setuptools/docs/deprecated/distutils/
Dconfigfile.rst83 pure Python modules ``pkg.mod1`` and ``pkg.mod2``. You can always use the
/external/python/cpython2/Doc/distutils/
Dconfigfile.rst77 pure Python modules :mod:`pkg.mod1` and :mod:`pkg.mod2`. You can always use the
/external/python/cpython3/Doc/distutils/
Dconfigfile.rst83 pure Python modules :mod:`pkg.mod1` and :mod:`pkg.mod2`. You can always use the
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java1614 UnicodeSet mod2 = new UnicodeSet(set1).removeAll(list2); in TestGenerics() local
1615 assertEquals("remove all", mod1, mod2); in TestGenerics()
1619 mod2 = new UnicodeSet(set1).retainAll(set2.addAllTo(new LinkedHashSet<String>())); in TestGenerics()
1620 assertEquals("remove all", mod1, mod2); in TestGenerics()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java1611 UnicodeSet mod2 = new UnicodeSet(set1).removeAll(list2); in TestGenerics() local
1612 assertEquals("remove all", mod1, mod2); in TestGenerics()
1616 mod2 = new UnicodeSet(set1).retainAll(set2.addAllTo(new LinkedHashSet<String>())); in TestGenerics()
1617 assertEquals("remove all", mod1, mod2); in TestGenerics()
/external/python/cpython3/Lib/idlelib/
DREADME.txt243 Sort 'from idlelib import mod1' and 'from idlelib.mod2 import object'

12