Home
last modified time | relevance | path

Searched refs:Integer (Results 1 – 25 of 1545) sorted by relevance

12345678910>>...62

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dsimdlib_interface.hpp37 using Integer = __m256i; // Packed integer vector (mutable element widths)
93 static Integer abs_epi32(Integer a); // return absolute_value(a) (int32)
94 static Integer add_epi32(Integer a, Integer b); // return a + b (int32)
95 static Integer add_epi8(Integer a, Integer b); // return a + b (int8)
96 …static Integer adds_epu8(Integer a, Integer b); // return ((a + b) > 0xff) ? 0xff : (a + b) (u…
97 static Integer max_epi32(Integer a, Integer b); // return (a > b) ? a : b (int32)
98 static Integer max_epu32(Integer a, Integer b); // return (a > b) ? a : b (uint32)
99 static Integer min_epi32(Integer a, Integer b); // return (a < b) ? a : b (int32)
100 static Integer min_epu32(Integer a, Integer b); // return (a < b) ? a : b (uint32)
101 static Integer mul_epi32(Integer a, Integer b); // return a * b (int32)
[all …]
Dsimdlib_types.hpp143 template <typename Float, typename Integer, typename Double>
147 Integer vi[4];
189 union Integer union
191 SIMDINLINE Integer() = default;
192 SIMDINLINE Integer(__m128i in) : v(in) {} in Integer() function
193 SIMDINLINE Integer& SIMDCALL operator=(__m128i in) in operator =()
198 SIMDINLINE Integer& SIMDCALL operator=(Integer const& in) in operator =()
227 using Vec4 = SIMDImpl::Vec4<Float, Integer, Double>;
260 union Integer union
262 SIMDINLINE Integer() = default;
[all …]
Dsimdlib_256_avx.inl69 static SIMDINLINE Integer SIMDCALL op(Integer const& a) { return _mm256_##op(a); }
72 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \
78 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \
85 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \
92 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b) \
99 static SIMDINLINE Integer SIMDCALL op(Integer const& a, Integer const& b, Integer const& c) \
106 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \
108 return Integer{ \
114 static SIMDINLINE Integer SIMDCALL op(Integer const& a) \
116 return Integer{ \
[all …]
/third_party/boost/boost/multiprecision/
Dinteger.hpp15 template <class Integer, class I2>
16 …P_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value && is_integral<I2>::value, Inte…
17 multiply(Integer& result, const I2& a, const I2& b) in multiply()
19 return result = static_cast<Integer>(a) * static_cast<Integer>(b); in multiply()
21 template <class Integer, class I2>
22 …P_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value && is_integral<I2>::value, Inte…
23 add(Integer& result, const I2& a, const I2& b) in add()
25 return result = static_cast<Integer>(a) + static_cast<Integer>(b); in add()
27 template <class Integer, class I2>
28 …P_CXX14_CONSTEXPR typename enable_if_c<is_integral<Integer>::value && is_integral<I2>::value, Inte…
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java102 SmallSortedMap<Integer, Integer> map1 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
103 SmallSortedMap<Integer, Integer> map2 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
104 SmallSortedMap<Integer, Integer> map3 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
105 SmallSortedMap<Integer, Integer> map4 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
123 List<SmallSortedMap<Integer, Integer>> allMaps = in runPutAndGetTest()
124 new ArrayList<SmallSortedMap<Integer, Integer>>(); in runPutAndGetTest()
130 for (SmallSortedMap<Integer, Integer> map : allMaps) { in runPutAndGetTest()
133 assertEquals(Integer.valueOf(i + 1), map.get(i)); in runPutAndGetTest()
143 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testReplacingPut()
149 assertEquals(Integer.valueOf(i + 1), map.put(i, i + 2)); in testReplacingPut()
[all …]
/third_party/boost/boost/range/
Dirange.hpp33 template<typename Integer>
36 integer_iterator<Integer>,
37 Integer,
39 Integer,
44 integer_iterator<Integer>,
45 Integer,
47 Integer,
110 template<typename Integer>
113 integer_iterator_with_step<Integer>,
114 Integer,
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatTest.java32 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument
59 String expected = changes.get(new Integer(0)); in helperTestRules()
79 changes.put(new Integer(0), "other"); in TestOneFormLocales()
89 changes.put(new Integer(0), "other"); in TestSingular1Locales()
90 changes.put(new Integer(1), "one"); in TestSingular1Locales()
91 changes.put(new Integer(2), "other"); in TestSingular1Locales()
100 changes.put(new Integer(0), "one"); in TestSingular01Locales()
101 changes.put(new Integer(2), "other"); in TestSingular01Locales()
110 changes.put(new Integer(0), "zero"); in TestZeroSingularLocales()
111 changes.put(new Integer(1), "one"); in TestZeroSingularLocales()
[all …]
DDataDrivenNumberFormatTestData.java85 public Integer minIntegerDigits = null;
86 public Integer maxIntegerDigits = null;
87 public Integer minFractionDigits = null;
88 public Integer maxFractionDigits = null;
89 public Integer minGroupingDigits = null;
90 public Integer useSigDigits = null;
91 public Integer minSigDigits = null;
92 public Integer maxSigDigits = null;
93 public Integer useGrouping = null;
94 public Integer multiplier = null;
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralFormatTest.java35 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument
62 String expected = changes.get(new Integer(0)); in helperTestRules()
82 changes.put(new Integer(0), "other"); in TestOneFormLocales()
92 changes.put(new Integer(0), "other"); in TestSingular1Locales()
93 changes.put(new Integer(1), "one"); in TestSingular1Locales()
94 changes.put(new Integer(2), "other"); in TestSingular1Locales()
103 changes.put(new Integer(0), "one"); in TestSingular01Locales()
104 changes.put(new Integer(2), "other"); in TestSingular01Locales()
113 changes.put(new Integer(0), "zero"); in TestZeroSingularLocales()
114 changes.put(new Integer(1), "one"); in TestZeroSingularLocales()
[all …]
DDataDrivenNumberFormatTestData.java88 public Integer minIntegerDigits = null;
89 public Integer maxIntegerDigits = null;
90 public Integer minFractionDigits = null;
91 public Integer maxFractionDigits = null;
92 public Integer minGroupingDigits = null;
93 public Integer useSigDigits = null;
94 public Integer minSigDigits = null;
95 public Integer maxSigDigits = null;
96 public Integer useGrouping = null;
97 public Integer multiplier = null;
[all …]
/third_party/boost/boost/container/detail/
Dmath_functions.hpp45 template <typename Integer>
46 inline Integer gcd(Integer A, Integer B) in gcd()
50 const Integer tmp(B); in gcd()
64 template <typename Integer>
65 inline Integer lcm(const Integer & A, const Integer & B) in lcm()
67 Integer ret = A; in lcm()
73 template <typename Integer>
74 inline Integer log2_ceil(const Integer & A) in log2_ceil()
76 Integer i = 0; in log2_ceil()
77 Integer power_of_2 = 1; in log2_ceil()
[all …]
/third_party/python/Lib/test/
Dtest_typechecks.py19 class Integer(metaclass=ABC): class
23 class SubInt(Integer):
30 self.assertEqual(Integer.__subclasscheck__(int), True)
31 self.assertEqual(Integer.__subclasscheck__(float), False)
34 self.assertEqual(issubclass(int, Integer), True)
35 self.assertEqual(issubclass(int, (Integer,)), True)
36 self.assertEqual(issubclass(float, Integer), False)
37 self.assertEqual(issubclass(float, (Integer,)), False)
40 self.assertEqual(isinstance(42, Integer), True)
41 self.assertEqual(isinstance(42, (Integer,)), True)
[all …]
/third_party/boost/boost/interprocess/detail/
Dmath_functions.hpp42 template <typename Integer>
43 inline Integer gcd(Integer A, Integer B) in gcd()
47 const Integer tmp(B); in gcd()
61 template <typename Integer>
62 inline Integer lcm(const Integer & A, const Integer & B) in lcm()
64 Integer ret = A; in lcm()
70 template <typename Integer>
71 inline Integer log2_ceil(const Integer & A) in log2_ceil()
73 Integer i = 0; in log2_ceil()
74 Integer power_of_2 = 1; in log2_ceil()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/data/
DTestDataElements_testtypes.java45 new Integer(0),
49 new Integer[] {
69 new Integer[] {
70 new Integer(1),
71 new Integer(2),
72 new Integer(3),
73 new Integer(-3),
74 new Integer(4),
75 new Integer(5),
76 new Integer(6),
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
DTestDataElements_testtypes.java42 new Integer(0),
46 new Integer[] {
66 new Integer[] {
67 new Integer(1),
68 new Integer(2),
69 new Integer(3),
70 new Integer(-3),
71 new Integer(4),
72 new Integer(5),
73 new Integer(6),
[all …]
/third_party/ejdb/src/bindings/ejdb2_react_native/binding/android/src/main/java/com/softmotions/ejdb2/
DEJDB2JQLModule.java24 static Map<Integer, JQL> jqlmap = new ConcurrentHashMap<>();
40 …public static Integer createQuery(EJDB2 db, String query, String collection) throws EJDB2Exception… in createQuery()
41 Integer id = jqlkeys.getAndIncrement(); in createQuery()
47 public String getQuery(Integer jqlid) { in getQuery()
52 public String getCollection(Integer jqlid) { in getCollection()
57 public void setCollection(Integer jqlid, String collection) { in setCollection()
62 public void withExplain(Integer jqlid) { in withExplain()
67 public String getExplainLog(Integer jqlid) { in getExplainLog()
76 public void setSkip(Integer jqlid, String val) { in setSkip()
81 public String getSkip(Integer jqlid) { in getSkip()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DEbdtTable.java63 private List<Map<Integer, BitmapGlyphInfo>> glyphLoca;
64 private List<Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>>> glyphBuilders;
96 public void setLoca(List<Map<Integer, BitmapGlyphInfo>> locaList) { in setLoca() argument
101 public List<Map<Integer, BitmapGlyphInfo>> generateLocaList() { in generateLocaList()
104 return new ArrayList<Map<Integer, BitmapGlyphInfo>>(0); in generateLocaList()
109 List<Map<Integer, BitmapGlyphInfo>> newLocaList = in generateLocaList()
110 new ArrayList<Map<Integer, BitmapGlyphInfo>>(this.glyphBuilders.size()); in generateLocaList()
113 for (Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>> builderMap : in generateLocaList()
115 Map<Integer, BitmapGlyphInfo> newLocaMap = new TreeMap<Integer, BitmapGlyphInfo>(); in generateLocaList()
117 for (Map.Entry<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>> glyphEntry : in generateLocaList()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DEbdtTable.java63 private List<Map<Integer, BitmapGlyphInfo>> glyphLoca;
64 private List<Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>>> glyphBuilders;
96 public void setLoca(List<Map<Integer, BitmapGlyphInfo>> locaList) { in setLoca() argument
101 public List<Map<Integer, BitmapGlyphInfo>> generateLocaList() { in generateLocaList()
104 return new ArrayList<Map<Integer, BitmapGlyphInfo>>(0); in generateLocaList()
109 List<Map<Integer, BitmapGlyphInfo>> newLocaList = in generateLocaList()
110 new ArrayList<Map<Integer, BitmapGlyphInfo>>(this.glyphBuilders.size()); in generateLocaList()
113 for (Map<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>> builderMap : in generateLocaList()
115 Map<Integer, BitmapGlyphInfo> newLocaMap = new TreeMap<Integer, BitmapGlyphInfo>(); in generateLocaList()
117 for (Map.Entry<Integer, BitmapGlyph.Builder<? extends BitmapGlyph>> glyphEntry : in generateLocaList()
[all …]
/third_party/boost/boost/graph/detail/
Dconnected_components.hpp106 template < class Parent, class OutputIterator, class Integer >
108 Parent p, OutputIterator header, Integer num_nodes) in build_components_header()
111 Integer component_num = 0; in build_components_header()
112 for (Integer v = 0; v != num_nodes; ++v) in build_components_header()
132 template < class Parent1, class Parent2, class Integer >
133 void link_components(Parent1 component, Parent2 header, Integer num_nodes, in link_components()
134 Integer num_components) in link_components()
138 for (Integer v = 0; v != num_nodes; ++v) in link_components()
147 for (Integer k = 0; k != num_nodes; ++k) in link_components()
162 template < class IndexIterator, class Integer, class Distance >
[all …]
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/buildtools/
DGeneratePhonePrefixDataTest.java45 private static final SortedMap<Integer, Set<String>> AVAILABLE_DATA_FILES;
47 SortedMap<Integer, Set<String>> temporaryMap = new TreeMap<Integer, Set<String>>();
92 private static Map<Integer, String> parseTextFileHelper(String input) throws IOException { in parseTextFileHelper()
93 final Map<Integer, String> mappings = new HashMap<Integer, String>(); in parseTextFileHelper()
105 Map<Integer, String> result = parseTextFileHelper("331|Paris\n334|Marseilles\n"); in testParseTextFile()
112 Map<Integer, String> result = parseTextFileHelper("# Hello\n331|Paris\n334|Marseilles\n"); in testParseTextFileIgnoresComments()
119 Map<Integer, String> result = parseTextFileHelper("\n331|Paris\n334|Marseilles\n"); in testParseTextFileIgnoresBlankLines()
126 Map<Integer, String> result = parseTextFileHelper("331|Paris \n334|Marseilles \n"); in testParseTextFileIgnoresTrailingWhitespaces()
146 SortedMap<Integer, String> mappings = new TreeMap<Integer, String>(); in testSplitMap()
153 Map<File, SortedMap<Integer, String>> splitMaps = in testSplitMap()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMapTest.java46 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>();
117 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) { in TestByteConversion()
135 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { in checkGet()
139 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build(); in checkGet()
141 for (Entry<String, Integer> entry : testmap.entrySet()) { in checkGet()
142 Integer value = entry.getValue(); in checkGet()
144 Integer foundValue = trieMap.get(key); in checkGet()
164 …public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double r… in timeIteration()
165 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration()
166 TreeMap<String,Integer> expected = new TreeMap<String, Integer>(testMap); in timeIteration()
[all …]
DTextTrieMapTest.java25 private static final Integer SUN = new Integer(1);
26 private static final Integer MON = new Integer(2);
27 private static final Integer TUE = new Integer(3);
28 private static final Integer WED = new Integer(4);
29 private static final Integer THU = new Integer(5);
30 private static final Integer FRI = new Integer(6);
31 private static final Integer SAT = new Integer(7);
33 private static final Integer SUP1 = new Integer(8);
34 private static final Integer SUP2 = new Integer(9);
35 private static final Integer SUP3 = new Integer(10);
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTrieMapTest.java49 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>();
120 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) { in TestByteConversion()
138 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) { in checkGet()
142 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build(); in checkGet()
144 for (Entry<String, Integer> entry : testmap.entrySet()) { in checkGet()
145 Integer value = entry.getValue(); in checkGet()
147 Integer foundValue = trieMap.get(key); in checkGet()
167 …public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double r… in timeIteration()
168 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build(); in timeIteration()
169 TreeMap<String,Integer> expected = new TreeMap<String, Integer>(testMap); in timeIteration()
[all …]
DTextTrieMapTest.java28 private static final Integer SUN = new Integer(1);
29 private static final Integer MON = new Integer(2);
30 private static final Integer TUE = new Integer(3);
31 private static final Integer WED = new Integer(4);
32 private static final Integer THU = new Integer(5);
33 private static final Integer FRI = new Integer(6);
34 private static final Integer SAT = new Integer(7);
36 private static final Integer SUP1 = new Integer(8);
37 private static final Integer SUP2 = new Integer(9);
38 private static final Integer SUP3 = new Integer(10);
[all …]
/third_party/boost/boost/integer/
Dcommon_factor_rt.hpp444 template <typename Integer>
445 inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Int… in gcd()
447 if(a == (std::numeric_limits<Integer>::min)()) in gcd()
448 …return a == static_cast<Integer>(0) ? gcd_detail::gcd_traits<Integer>::abs(b) : boost::integer::gc… in gcd()
449 else if (b == (std::numeric_limits<Integer>::min)()) in gcd()
450 …return b == static_cast<Integer>(0) ? gcd_detail::gcd_traits<Integer>::abs(a) : boost::integer::gc… in gcd()
451 …l_gcd_select(static_cast<Integer>(gcd_detail::gcd_traits<Integer>::abs(a)), static_cast<Integer>(g… in gcd()
454 template <typename Integer>
455 inline BOOST_CXX14_CONSTEXPR Integer lcm(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Int… in lcm()
457 …ail::lcm_imp(static_cast<Integer>(gcd_detail::gcd_traits<Integer>::abs(a)), static_cast<Integer>(g… in lcm()
[all …]

12345678910>>...62