Home
last modified time | relevance | path

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

12345678910>>...198

/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlEntities.java221 ImmutableMap.<String, Integer>builder()
223 .put("quot", Integer.valueOf('"'))
224 .put("amp", Integer.valueOf('&'))
225 .put("lt", Integer.valueOf('<'))
226 .put("gt", Integer.valueOf('>'))
229 .put("apos", Integer.valueOf('\''))
232 .put("nbsp", Integer.valueOf('\u00a0'))
233 .put("iexcl", Integer.valueOf('\u00a1'))
234 .put("cent", Integer.valueOf('\u00a2'))
235 .put("pound", Integer.valueOf('\u00a3'))
[all …]
/external/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 …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableRangeMapTest.java33 private static final ImmutableList<Range<Integer>> RANGES;
38 ImmutableList.Builder<Range<Integer>> builder = ImmutableList.builder();
40 builder.add(Range.<Integer>all()); in all()
68 ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder(); in testBuilderRejectsEmptyRanges()
84 for (Range<Integer> range1 : RANGES) { in testOverlapRejection()
85 for (Range<Integer> range2 : RANGES) { in testOverlapRejection()
88 ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder(); in testOverlapRejection()
91 ImmutableRangeMap<Integer, Integer> unused = builder.build(); in testOverlapRejection()
101 for (Range<Integer> range1 : RANGES) { in testGet()
102 for (Range<Integer> range2 : RANGES) { in testGet()
[all …]
DTreeRangeMapTest.java47 new TestMapGenerator<Range<Integer>, String>() { in suite()
49 public SampleElements<Entry<Range<Integer>, String>> samples() { in suite()
59 public Map<Range<Integer>, String> create(Object... elements) { in suite()
60 RangeMap<Integer, String> rangeMap = TreeRangeMap.create(); in suite()
63 Entry<Range<Integer>, String> entry = (Entry<Range<Integer>, String>) o; in suite()
71 public Entry<Range<Integer>, String>[] createArray(int length) { in suite()
76 public Iterable<Entry<Range<Integer>, String>> order( in suite()
77 List<Entry<Range<Integer>, String>> insertionOrder) { in suite()
78 return Range.<Integer>rangeLexOrdering().onKeys().sortedCopy(insertionOrder); in suite()
83 public Range<Integer>[] createKeyArray(int length) { in suite()
[all …]
DFilteredCollectionsTest.java40 private static final Predicate<Integer> EVEN =
41 new Predicate<Integer>() {
43 public boolean apply(Integer input) {
48 private static final Predicate<Integer> PRIME_DIGIT = Predicates.in(ImmutableSet.of(2, 3, 5, 7));
50 private static final ImmutableList<? extends List<Integer>> SAMPLE_INPUTS =
52 ImmutableList.<Integer>of(),
67 public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
69 abstract C createUnfiltered(Iterable<Integer> contents); in createUnfiltered()
71 abstract C filter(C elements, Predicate<? super Integer> predicate); in filter()
74 for (List<Integer> contents : SAMPLE_INPUTS) { in testIterationOrderPreserved()
[all …]
DMultimapsTest.java69 private static final Comparator<Integer> INT_COMPARATOR =
70 Ordering.<Integer>natural().reverse().nullsFirst();
74 ListMultimap<String, Integer> mod = ArrayListMultimap.create(); in testUnmodifiableListMultimapShortCircuit()
75 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit()
78 ImmutableListMultimap<String, Integer> immutable = in testUnmodifiableListMultimapShortCircuit()
82 immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); in testUnmodifiableListMultimapShortCircuit()
87 SetMultimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableSetMultimapShortCircuit()
88 SetMultimap<String, Integer> unmod = Multimaps.unmodifiableSetMultimap(mod); in testUnmodifiableSetMultimapShortCircuit()
91 ImmutableSetMultimap<String, Integer> immutable = in testUnmodifiableSetMultimapShortCircuit()
95 immutable, Multimaps.unmodifiableSetMultimap((SetMultimap<String, Integer>) immutable)); in testUnmodifiableSetMultimapShortCircuit()
[all …]
/external/grpc-grpc-java/stub/src/test/java/io/grpc/stub/
DServerCallsTest.java62 static final MethodDescriptor<Integer, Integer> STREAMING_METHOD =
63 MethodDescriptor.<Integer, Integer>newBuilder()
70 static final MethodDescriptor<Integer, Integer> SERVER_STREAMING_METHOD =
76 static final MethodDescriptor<Integer, Integer> UNARY_METHOD =
89 final AtomicReference<ServerCallStreamObserver<Integer>> callObserver = in runtimeStreamObserverIsServerCallStreamObserver()
90 new AtomicReference<ServerCallStreamObserver<Integer>>(); in runtimeStreamObserverIsServerCallStreamObserver()
91 ServerCallHandler<Integer, Integer> callHandler = in runtimeStreamObserverIsServerCallStreamObserver()
93 new ServerCalls.BidiStreamingMethod<Integer, Integer>() { in runtimeStreamObserverIsServerCallStreamObserver()
95 public StreamObserver<Integer> invoke(StreamObserver<Integer> responseObserver) { in runtimeStreamObserverIsServerCallStreamObserver()
97 ServerCallStreamObserver<Integer> serverCallObserver = in runtimeStreamObserverIsServerCallStreamObserver()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableRangeMapTest.java33 private static final ImmutableList<Range<Integer>> RANGES;
38 ImmutableList.Builder<Range<Integer>> builder = ImmutableList.builder();
40 builder.add(Range.<Integer>all()); in all()
68 ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder(); in testBuilderRejectsEmptyRanges()
84 for (Range<Integer> range1 : RANGES) { in testOverlapRejection()
85 for (Range<Integer> range2 : RANGES) { in testOverlapRejection()
88 ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder(); in testOverlapRejection()
91 ImmutableRangeMap<Integer, Integer> unused = builder.build(); in testOverlapRejection()
101 for (Range<Integer> range1 : RANGES) { in testGet()
102 for (Range<Integer> range2 : RANGES) { in testGet()
[all …]
DTreeRangeMapTest.java48 new TestMapGenerator<Range<Integer>, String>() { in suite()
50 public SampleElements<Entry<Range<Integer>, String>> samples() { in suite()
60 public Map<Range<Integer>, String> create(Object... elements) { in suite()
61 RangeMap<Integer, String> rangeMap = TreeRangeMap.create(); in suite()
64 Entry<Range<Integer>, String> entry = (Entry<Range<Integer>, String>) o; in suite()
72 public Entry<Range<Integer>, String>[] createArray(int length) { in suite()
77 public Iterable<Entry<Range<Integer>, String>> order( in suite()
78 List<Entry<Range<Integer>, String>> insertionOrder) { in suite()
79 return Range.<Integer>rangeLexOrdering().onKeys().sortedCopy(insertionOrder); in suite()
84 public Range<Integer>[] createKeyArray(int length) { in suite()
[all …]
DFilteredCollectionsTest.java41 private static final Predicate<Integer> EVEN =
42 new Predicate<Integer>() {
44 public boolean apply(Integer input) {
49 private static final Predicate<Integer> PRIME_DIGIT = Predicates.in(ImmutableSet.of(2, 3, 5, 7));
51 private static final ImmutableList<? extends List<Integer>> SAMPLE_INPUTS =
53 ImmutableList.<Integer>of(),
68 public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
70 abstract C createUnfiltered(Iterable<Integer> contents); in createUnfiltered()
72 abstract C filter(C elements, Predicate<? super Integer> predicate); in filter()
75 for (List<Integer> contents : SAMPLE_INPUTS) { in testIterationOrderPreserved()
[all …]
DMultimapsTest.java75 private static final Comparator<Integer> INT_COMPARATOR =
76 Ordering.<Integer>natural().reverse().nullsFirst();
79 ListMultimap<Integer, String> unused = in testMultimapCollectorGenerics()
87 Collector<Entry<String, Integer>, ?, TreeMultimap<String, Integer>> collector = in testToMultimap()
93 TreeMultimap<String, Integer> empty = TreeMultimap.create(); in testToMultimap()
94 TreeMultimap<String, Integer> filled = TreeMultimap.create(); in testToMultimap()
131 ListMultimap<String, Integer> mod = ArrayListMultimap.create(); in testUnmodifiableListMultimapShortCircuit()
132 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit()
135 ImmutableListMultimap<String, Integer> immutable = in testUnmodifiableListMultimapShortCircuit()
139 immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); in testUnmodifiableListMultimapShortCircuit()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DObjectIdentityHashCodeVisitor.java37 public class ObjectIdentityHashCodeVisitor implements GenericVisitor<Integer, Void> {
45 public Integer visit(final AnnotationDeclaration n, final Void arg) { in visit()
49 public Integer visit(final AnnotationMemberDeclaration n, final Void arg) { in visit()
53 public Integer visit(final ArrayAccessExpr n, final Void arg) { in visit()
57 public Integer visit(final ArrayCreationExpr n, final Void arg) { in visit()
61 public Integer visit(final ArrayCreationLevel n, final Void arg) { in visit()
65 public Integer visit(final ArrayInitializerExpr n, final Void arg) { in visit()
69 public Integer visit(final ArrayType n, final Void arg) { in visit()
73 public Integer visit(final AssertStmt n, final Void arg) { in visit()
77 public Integer visit(final AssignExpr n, final Void arg) { in visit()
[all …]
/external/tensorflow/tensorflow/cc/experimental/libtf/tests/
Dobject_test.cc30 foo.Set(String("a"), Integer(33)); in TEST()
31 foo.Set(String("b"), Integer(33)); in TEST()
32 EXPECT_EQ(foo.Get<Integer>(String("b"))->get(), 33); in TEST()
36 Tuple foo(String("a"), Integer(33), Float(10.f)); in TEST()
38 EXPECT_EQ(foo.Get<Integer>(1)->get(), 33); in TEST()
44 l.append(Integer(3)); in TEST()
45 EXPECT_EQ(l.Get<Integer>(0)->get(), 3); in TEST()
56 Integer i(3); in TEST()
64 TF_ASSERT_OK_AND_ASSIGN(Integer i, in TEST()
65 add.Call<Integer>(Integer(1), Integer(10))); in TEST()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderGwtTest.java54 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); in testLoader()
56 Callable<Integer> loader = in testLoader()
57 new Callable<Integer>() { in testLoader()
61 public Integer call() throws Exception { in testLoader()
68 assertEquals(Integer.valueOf(10), cache.get(0, loader)); in testLoader()
69 assertEquals(Integer.valueOf(1), cache.get(20, loader)); in testLoader()
70 assertEquals(Integer.valueOf(2), cache.get(34, loader)); in testLoader()
73 assertEquals(Integer.valueOf(3), cache.get(0, loader)); in testLoader()
77 assertEquals(Integer.valueOf(4), cache.get(0, loader)); in testLoader()
81 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder().maximumSize(4).build(); in testSizeConstraint()
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheBuilderGwtTest.java54 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); in testLoader()
56 Callable<Integer> loader = in testLoader()
57 new Callable<Integer>() { in testLoader()
61 public Integer call() throws Exception { in testLoader()
68 assertEquals(Integer.valueOf(10), cache.get(0, loader)); in testLoader()
69 assertEquals(Integer.valueOf(1), cache.get(20, loader)); in testLoader()
70 assertEquals(Integer.valueOf(2), cache.get(34, loader)); in testLoader()
73 assertEquals(Integer.valueOf(3), cache.get(0, loader)); in testLoader()
77 assertEquals(Integer.valueOf(4), cache.get(0, loader)); in testLoader()
81 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder().maximumSize(4).build(); in testSizeConstraint()
[all …]
/external/libchrome/base/android/junit/src/org/chromium/base/
DPromiseTest.java42 Promise<Integer> promise = new Promise<Integer>(); in callback()
43 promise.then(PromiseTest.<Integer>setValue(value, 1)); in callback()
47 promise.fulfill(new Integer(1)); in callback()
56 Promise<Integer> promise = new Promise<Integer>(); in multipleCallbacks()
57 Callback<Integer> callback = new Callback<Integer>() { in multipleCallbacks()
59 public void onResult(Integer result) { in multipleCallbacks()
68 promise.fulfill(new Integer(0)); in multipleCallbacks()
77 Promise<Integer> promise = Promise.fulfilled(new Integer(0)); in callbackOnFulfilled()
80 promise.then(PromiseTest.<Integer>setValue(value, 1)); in callbackOnFulfilled()
88 Promise<Integer> promise = new Promise<Integer>(); in promiseChaining()
[all …]
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/
DBoundFieldModuleTest.java52 final Integer testValue = 1024; in testBindingOnePrivate()
55 @Bind private Integer anInt = testValue; in testBindingOnePrivate()
61 assertEquals(testValue, injector.getInstance(Integer.class)); in testBindingOnePrivate()
65 final Integer testValue = 1024; in testBindingOnePublic()
68 @Bind public Integer anInt = testValue; in testBindingOnePublic()
74 assertEquals(testValue, injector.getInstance(Integer.class)); in testBindingOnePublic()
78 @Bind Integer anInt;
80 FieldBindableClass(Integer anInt) { in FieldBindableClass()
86 FieldBindableSubclass(Integer anInt) { in FieldBindableSubclass()
97 assertEquals(instance.anInt, injector.getInstance(Integer.class)); in testSuperTypeBinding()
[all …]
/external/ruy/ruy/
Dsize_util.h29 template <typename Integer>
30 inline Integer floor_log2(Integer n) { in floor_log2()
31 static_assert(std::is_integral<Integer>::value, ""); in floor_log2()
32 static_assert(std::is_signed<Integer>::value, ""); in floor_log2()
33 static_assert(sizeof(Integer) == 4 || sizeof(Integer) == 8, ""); in floor_log2()
38 if (sizeof(Integer) == 4) { in floor_log2()
57 if (sizeof(Integer) == 4) { in floor_log2()
65 template <typename Integer>
66 Integer ceil_log2(Integer n) { in ceil_log2()
71 template <typename Integer>
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DIntArrayAsListTest.java44 private static List<Integer> asList(Integer[] values) { in asList()
54 List<ListTestSuiteBuilder<Integer>> builders = in suite()
65 for (ListTestSuiteBuilder<Integer> builder : builders) { in suite()
83 protected List<Integer> create(Integer[] elements) { in create()
90 protected List<Integer> create(Integer[] elements) { in create()
91 Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; in create()
92 Integer[] all = concat(elements, suffix); in create()
99 protected List<Integer> create(Integer[] elements) { in create()
100 Integer[] prefix = {(int) 86, (int) 99}; in create()
101 Integer[] all = concat(prefix, elements); in create()
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DIntArrayAsListTest.java44 private static List<Integer> asList(Integer[] values) { in asList()
54 List<ListTestSuiteBuilder<Integer>> builders = in suite()
65 for (ListTestSuiteBuilder<Integer> builder : builders) { in suite()
83 protected List<Integer> create(Integer[] elements) { in create()
90 protected List<Integer> create(Integer[] elements) { in create()
91 Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; in create()
92 Integer[] all = concat(elements, suffix); in create()
99 protected List<Integer> create(Integer[] elements) { in create()
100 Integer[] prefix = {(int) 86, (int) 99}; in create()
101 Integer[] all = concat(prefix, elements); in create()
[all …]
/external/icu/android_icu4j/src/main/tests/android/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 …]
/external/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 …]
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java110 SmallSortedMap<Integer, Integer> map1 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
111 SmallSortedMap<Integer, Integer> map2 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
112 SmallSortedMap<Integer, Integer> map3 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
113 SmallSortedMap<Integer, Integer> map4 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
131 List<SmallSortedMap<Integer, Integer>> allMaps = new ArrayList<>(); in runPutAndGetTest()
137 for (SmallSortedMap<Integer, Integer> map : allMaps) { in runPutAndGetTest()
140 assertThat(map).containsEntry(i, Integer.valueOf(i + 1)); in runPutAndGetTest()
151 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testReplacingPut()
157 assertThat(map.put(i, i + 2)).isEqualTo(Integer.valueOf(i + 1)); in testReplacingPut()
163 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testRemove()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java110 SmallSortedMap<Integer, Integer> map1 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
111 SmallSortedMap<Integer, Integer> map2 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
112 SmallSortedMap<Integer, Integer> map3 = SmallSortedMap.newInstanceForTest(3); in runPutAndGetTest()
113 SmallSortedMap<Integer, Integer> map4 = SmallSortedMap.newInstanceForTest(4); in runPutAndGetTest()
131 List<SmallSortedMap<Integer, Integer>> allMaps = new ArrayList<>(); in runPutAndGetTest()
137 for (SmallSortedMap<Integer, Integer> map : allMaps) { in runPutAndGetTest()
140 assertThat(map).containsEntry(i, Integer.valueOf(i + 1)); in runPutAndGetTest()
151 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testReplacingPut()
157 assertThat(map.put(i, i + 2)).isEqualTo(Integer.valueOf(i + 1)); in testReplacingPut()
163 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testRemove()
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java42 IteratorTester<Integer> tester = in testCanCatchDifferentLengthOfIteration()
43 new IteratorTester<Integer>( in testCanCatchDifferentLengthOfIteration()
46 protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentLengthOfIteration()
54 IteratorTester<Integer> tester = in testCanCatchDifferentContents()
55 new IteratorTester<Integer>( in testCanCatchDifferentContents()
58 protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentContents()
66 IteratorTester<Integer> tester = in testCanCatchDifferentRemoveBehaviour()
67 new IteratorTester<Integer>( in testCanCatchDifferentRemoveBehaviour()
70 protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentRemoveBehaviour()
78 new IteratorTester<Integer>( in testUnknownOrder()
[all …]

12345678910>>...198