/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | HtmlEntities.java | 221 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/ |
D | simdlib_interface.hpp | 37 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/grpc-grpc-java/stub/src/test/java/io/grpc/stub/ |
D | ServerCallsTest.java | 62 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/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | SmallSortedMapTest.java | 105 SmallSortedMap<Integer, Integer> map1 = in runPutAndGetTest() 107 SmallSortedMap<Integer, Integer> map2 = in runPutAndGetTest() 109 SmallSortedMap<Integer, Integer> map3 = in runPutAndGetTest() 111 SmallSortedMap<Integer, Integer> map4 = in runPutAndGetTest() 130 List<SmallSortedMap<Integer, Integer>> allMaps = in runPutAndGetTest() 131 new ArrayList<SmallSortedMap<Integer, Integer>>(); in runPutAndGetTest() 137 for (SmallSortedMap<Integer, Integer> map : allMaps) { in runPutAndGetTest() 140 assertEquals(new Integer(i + 1), map.get(i)); in runPutAndGetTest() 150 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testReplacingPut() 156 assertEquals(new Integer(i + 1), map.put(i, i + 2)); in testReplacingPut() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderGwtTest.java | 57 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testLoader() 60 Callable<Integer> loader = new Callable<Integer>() { in testLoader() 64 public Integer call() throws Exception { in testLoader() 71 assertEquals(Integer.valueOf(10), cache.get(0, loader)); in testLoader() 72 assertEquals(Integer.valueOf(1), cache.get(20, loader)); in testLoader() 73 assertEquals(Integer.valueOf(2), cache.get(34, loader)); in testLoader() 76 assertEquals(Integer.valueOf(3), cache.get(0, loader)); in testLoader() 80 assertEquals(Integer.valueOf(4), cache.get(0, loader)); in testLoader() 84 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testSizeConstraint() 96 assertEquals(Integer.valueOf(20), cache.getIfPresent(2)); in testSizeConstraint() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
D | ObjectIdentityHashCodeVisitor.java | 38 public class ObjectIdentityHashCodeVisitor implements GenericVisitor<Integer, Void> { 47 public Integer visit(final AnnotationDeclaration n, final Void arg) { in visit() 52 public Integer visit(final AnnotationMemberDeclaration n, final Void arg) { in visit() 57 public Integer visit(final ArrayAccessExpr n, final Void arg) { in visit() 62 public Integer visit(final ArrayCreationExpr n, final Void arg) { in visit() 67 public Integer visit(final ArrayCreationLevel n, final Void arg) { in visit() 72 public Integer visit(final ArrayInitializerExpr n, final Void arg) { in visit() 77 public Integer visit(final ArrayType n, final Void arg) { in visit() 82 public Integer visit(final AssertStmt n, final Void arg) { in visit() 87 public Integer visit(final AssignExpr n, final Void arg) { in visit() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeMapTest.java | 34 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() 101 for (Range<Integer> range1 : RANGES) { in testGet() 102 for (Range<Integer> range2 : RANGES) { in testGet() 104 ImmutableRangeMap<Integer, Integer> rangeMap = in testGet() [all …]
|
D | TreeRangeMapTest.java | 47 suite.addTest(MapTestSuiteBuilder.using(new TestMapGenerator<Range<Integer>, String>() { in suite() 49 public SampleElements<Entry<Range<Integer>, String>> samples() { in suite() 50 return new SampleElements<Entry<Range<Integer>, String>>( 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.RANGE_LEX_ORDERING.<Range<Integer>>onKeys() in suite() [all …]
|
D | FilteredCollectionsTest.java | 42 private static final Predicate<Integer> EVEN = new Predicate<Integer>() { 44 public boolean apply(Integer input) { 49 private static final Predicate<Integer> PRIME_DIGIT = 52 private static final ImmutableList<? extends List<Integer>> SAMPLE_INPUTS = 53 ImmutableList.of(ImmutableList.<Integer>of(), 68 public static abstract 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() 79 Iterator<Integer> filteredItr = filtered.iterator(); in testIterationOrderPreserved() [all …]
|
D | MultimapsTest.java | 70 private static final Comparator<Integer> INT_COMPARATOR = 71 Ordering.<Integer>natural().reverse().nullsFirst(); 83 ListMultimap<String, Integer> mod = ArrayListMultimap.create(); in testUnmodifiableListMultimapShortCircuit() 84 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit() 87 ImmutableListMultimap<String, Integer> immutable = in testUnmodifiableListMultimapShortCircuit() 91 immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); in testUnmodifiableListMultimapShortCircuit() 96 SetMultimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableSetMultimapShortCircuit() 97 SetMultimap<String, Integer> unmod = Multimaps.unmodifiableSetMultimap(mod); in testUnmodifiableSetMultimapShortCircuit() 100 ImmutableSetMultimap<String, Integer> immutable = in testUnmodifiableSetMultimapShortCircuit() 104 immutable, Multimaps.unmodifiableSetMultimap((SetMultimap<String, Integer>) immutable)); in testUnmodifiableSetMultimapShortCircuit() [all …]
|
D | MinMaxPriorityQueueTest.java | 48 private Ordering<Integer> SOME_COMPARATOR = Ordering.natural().reverse(); 53 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_simple() 61 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_comparator() 70 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_expectedSize() 79 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_expectedSize_comparator() 89 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_maximumSize() 98 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_comparator_maximumSize() 108 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_expectedSize_maximumSize() 117 private static final List<Integer> NUMBERS = 121 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue in testCreation_withContents() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | IntArrayAsListTest.java | 38 private static List<Integer> asList(Integer[] values) { in asList() 50 @Override protected List<Integer> create(Integer[] elements) { in create() 56 @Override protected List<Integer> create(Integer[] elements) { in create() 57 Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; in create() 58 Integer[] all = concat(elements, suffix); in create() 64 @Override protected List<Integer> create(Integer[] elements) { in create() 65 Integer[] prefix = {(int) 86, (int) 99}; in create() 66 Integer[] all = concat(prefix, elements); in create() 72 @Override protected List<Integer> create(Integer[] elements) { in create() 73 Integer[] prefix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; in create() [all …]
|
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/ |
D | BoundFieldModuleTest.java | 52 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/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | TableCollectionTest.java | 70 Table<String, Integer, Character> table, String[] elements) { in populateForRowKeySet() argument 78 Table<Integer, String, Character> table, String[] elements) { in populateForColumnKeySet() argument 86 Table<Integer, Character, String> table, String[] elements) { in populateForValues() argument 93 implements TestSetGenerator<Cell<String, Integer, Character>> { 95 public SampleElements<Cell<String, Integer, Character>> samples() { in samples() 96 return new SampleElements<Cell<String, Integer, Character>>( in samples() 105 public Set<Cell<String, Integer, Character>> create( in create() 107 Table<String, Integer, Character> table = createTable(); in create() 110 Cell<String, Integer, Character> cell in create() 111 = (Cell<String, Integer, Character>) element; in create() [all …]
|
D | ImmutableBiMapTest.java | 80 public static class MapTests extends AbstractMapTests<String, Integer> { 81 @Override protected Map<String, Integer> makeEmptyMap() { in makeEmptyMap() 85 @Override protected Map<String, Integer> makePopulatedMap() { in makePopulatedMap() 93 @Override protected Integer getValueNotInPopulatedMap() { in getValueNotInPopulatedMap() 99 extends AbstractMapTests<String, Integer> { 100 @Override protected Map<String, Integer> makeEmptyMap() { in makeEmptyMap() 104 @Override protected Map<String, Integer> makePopulatedMap() { in makePopulatedMap() 112 @Override protected Integer getValueNotInPopulatedMap() { in getValueNotInPopulatedMap() 119 ImmutableBiMap<String, Integer> map in testEmptyBuilder() 120 = new Builder<String, Integer>().build(); in testEmptyBuilder() [all …]
|
D | ImmutableSortedMapTest.java | 80 public static class MapTests extends AbstractMapTests<String, Integer> { 81 @Override protected SortedMap<String, Integer> makeEmptyMap() { in makeEmptyMap() 85 @Override protected SortedMap<String, Integer> makePopulatedMap() { in makePopulatedMap() 93 @Override protected Integer getValueNotInPopulatedMap() { in getValueNotInPopulatedMap() 99 extends AbstractMapTests<String, Integer> { 100 @Override protected SortedMap<String, Integer> makePopulatedMap() { in makePopulatedMap() 108 @Override protected Integer getValueNotInPopulatedMap() { in getValueNotInPopulatedMap() 113 public static class HeadMapTests extends AbstractMapTests<String, Integer> { 114 @Override protected SortedMap<String, Integer> makePopulatedMap() { in makePopulatedMap() 123 @Override protected Integer getValueNotInPopulatedMap() { in getValueNotInPopulatedMap() [all …]
|
D | ImmutableMapTest.java | 79 public static class MapTests extends AbstractMapTests<String, Integer> { 80 @Override protected Map<String, Integer> makeEmptyMap() { in makeEmptyMap() 84 @Override protected Map<String, Integer> makePopulatedMap() { in makePopulatedMap() 92 @Override protected Integer getValueNotInPopulatedMap() { in getValueNotInPopulatedMap() 98 extends AbstractMapTests<String, Integer> { 99 @Override protected Map<String, Integer> makePopulatedMap() { in makePopulatedMap() 107 @Override protected Integer getValueNotInPopulatedMap() { in getValueNotInPopulatedMap() 113 extends AbstractMapTests<Object, Integer> { 115 @Override protected Map<Object, Integer> makeEmptyMap() { in makeEmptyMap() 119 @Override protected Map<Object, Integer> makePopulatedMap() { in makePopulatedMap() [all …]
|
D | MapsTest.java | 66 private static final Comparator<Integer> SOME_COMPARATOR = 70 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap() 75 Map<String, Integer> original = new TreeMap<String, Integer>(); in testHashMapWithInitialMap() 79 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap() 84 Map<String, Integer> original = new TreeMap<String, Integer>(); in testHashMapGeneralizesTypes() 103 Integer.MAX_VALUE / 2 - 1, in testCapacityForLargeSizes() 104 Integer.MAX_VALUE / 2, in testCapacityForLargeSizes() 105 Integer.MAX_VALUE / 2 + 1, in testCapacityForLargeSizes() 106 Integer.MAX_VALUE - 1, in testCapacityForLargeSizes() 107 Integer.MAX_VALUE}; in testCapacityForLargeSizes() [all …]
|
D | MultimapsTest.java | 66 private static final Comparator<Integer> INT_COMPARATOR = 67 Ordering.<Integer>natural().reverse().nullsFirst(); 79 ListMultimap<String, Integer> mod = ArrayListMultimap.create(); in testUnmodifiableListMultimapShortCircuit() 80 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit() 83 ImmutableListMultimap<String, Integer> immutable = in testUnmodifiableListMultimapShortCircuit() 87 immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); in testUnmodifiableListMultimapShortCircuit() 92 SetMultimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableSetMultimapShortCircuit() 93 SetMultimap<String, Integer> unmod = Multimaps.unmodifiableSetMultimap(mod); in testUnmodifiableSetMultimapShortCircuit() 96 ImmutableSetMultimap<String, Integer> immutable = in testUnmodifiableSetMultimapShortCircuit() 100 immutable, Multimaps.unmodifiableSetMultimap((SetMultimap<String, Integer>) immutable)); in testUnmodifiableSetMultimapShortCircuit() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | IntArrayAsListTest.java | 46 private static List<Integer> asList(Integer[] values) { in asList() 56 List<ListTestSuiteBuilder<Integer>> builders = in suite() 72 for (ListTestSuiteBuilder<Integer> builder : builders) { in suite() 88 @Override protected List<Integer> create(Integer[] elements) { in create() 94 @Override protected List<Integer> create(Integer[] elements) { in create() 95 Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE}; in create() 96 Integer[] all = concat(elements, suffix); in create() 102 @Override protected List<Integer> create(Integer[] elements) { in create() 103 Integer[] prefix = {(int) 86, (int) 99}; in create() 104 Integer[] all = concat(prefix, elements); in create() [all …]
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
D | IteratorTesterTest.java | 44 IteratorTester<Integer> tester = in testCanCatchDifferentLengthOfIteration() 45 new IteratorTester<Integer>(4, MODIFIABLE, newArrayList(1, 2, 3), in testCanCatchDifferentLengthOfIteration() 47 @Override protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentLengthOfIteration() 55 IteratorTester<Integer> tester = in testCanCatchDifferentContents() 56 new IteratorTester<Integer>(3, MODIFIABLE, newArrayList(1, 2, 3), in testCanCatchDifferentContents() 58 @Override protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentContents() 66 IteratorTester<Integer> tester = in testCanCatchDifferentRemoveBehaviour() 67 new IteratorTester<Integer>(3, MODIFIABLE, newArrayList(1, 2), in testCanCatchDifferentRemoveBehaviour() 69 @Override protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentRemoveBehaviour() 77 new IteratorTester<Integer>(3, MODIFIABLE, newArrayList(1, 2), in testUnknownOrder() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralFormatTest.java | 32 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralFormatTest.java | 35 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/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | SuppliersTest.java | 38 Supplier<Integer> fiveSupplier = new Supplier<Integer>() { in testCompose() 40 public Integer get() { in testCompose() 45 Function<Number, Integer> intValueFunction = in testCompose() 46 new Function<Number, Integer>() { in testCompose() 48 public Integer apply(Number x) { in testCompose() 53 Supplier<Integer> squareSupplier = Suppliers.compose(intValueFunction, in testCompose() 56 assertEquals(Integer.valueOf(5), squareSupplier.get()); in testCompose() 60 Supplier<ArrayList<Integer>> listSupplier in testComposeWithLists() 61 = new Supplier<ArrayList<Integer>>() { in testComposeWithLists() 63 public ArrayList<Integer> get() { in testComposeWithLists() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothLeScanFacade.java | 64 private final HashMap<Integer, myScanCallback> mScanCallbackList; 65 private final HashMap<Integer, myLeScanCallback> mLeScanCallbackList; 66 private final HashMap<Integer, ArrayList<ScanFilter>> mScanFilterList; 67 private final HashMap<Integer, ScanSettings> mScanSettingsList; 81 mScanFilterList = new HashMap<Integer, ArrayList<ScanFilter>>(); in BluetoothLeScanFacade() 82 mLeScanCallbackList = new HashMap<Integer, myLeScanCallback>(); in BluetoothLeScanFacade() 83 mScanSettingsList = new HashMap<Integer, ScanSettings>(); in BluetoothLeScanFacade() 84 mScanCallbackList = new HashMap<Integer, myScanCallback>(); in BluetoothLeScanFacade() 95 public Integer bleGenScanCallback() { in bleGenScanCallback() 109 public Integer bleGenLeScanCallback() { in bleGenLeScanCallback() [all …]
|