/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
ImmutableMethodReference.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 70 public static ImmutableMethodReference of(@Nonnull MethodReference methodReference) { method in class:ImmutableMethodReference [all...] |
ImmutableTypeReference.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 51 public static ImmutableTypeReference of(@Nonnull TypeReference typeReference) { method in class:ImmutableTypeReference [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/ |
ImmutableAnnotationEncodedValue.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 61 public static ImmutableAnnotationEncodedValue of(AnnotationEncodedValue annotationEncodedValue) { method in class:ImmutableAnnotationEncodedValue [all...] |
ImmutableBooleanEncodedValue.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 51 public static ImmutableBooleanEncodedValue of(BooleanEncodedValue booleanEncodedValue) { method in class:ImmutableBooleanEncodedValue [all...] |
ImmutableEncodedValueFactory.java | 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * copyright notice, this list of conditions and the following disclaimer 15 * * Neither the name of Google Inc. nor the names of its 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE US 46 public static ImmutableEncodedValue of(@Nonnull EncodedValue encodedValue) { method in class:ImmutableEncodedValueFactory [all...] |
/external/testng/src/main/java/org/testng/internal/collections/ |
Pair.java | 67 return of(first, second); 70 public static <A, B> Pair<A, B> of(A a, B b) { method in class:Pair
|
/external/turbine/java/com/google/turbine/binder/env/ |
CompoundEnv.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 42 public static <S extends Symbol, V> CompoundEnv<S, V> of(Env<S, ? extends V> env) { method in class:CompoundEnv
|
/external/valgrind/none/tests/x86/ |
aad_aam.c | 22 int of __attribute__((unused)); local 44 of=!!(flags&0x800); 47 // printf("%x CF=%d PF=%d AF=%d ZF=%d SF=%d OF=%d\n", 48 // flags,cf,pf,af,zf,sf,of); 91 of=!!(flags&0x800); 94 // printf("%x CF=%d PF=%d AF=%d ZF=%d SF=%d OF=%d\n", 95 // flags,cf,pf,af,zf,sf,of);
|
/external/vogar/src/vogar/ |
Classpath.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 27 * A list of jar files and directories. 33 public static Classpath of(File... files) { method in class:Classpath 34 return of(Arrays.asList(files)); 37 public static Classpath of(Collection<File> files) { method in class:Classpath
|
/frameworks/base/core/java/android/util/ |
Property.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 22 * methods can be implemented in terms of the private fields of the host object, or via "setter" and 38 * optional public <code>setName()</code> method which takes a value of the same type 41 * optional public <code>setName()</code> method which takes a value of the same type 46 * <p>If either of the get/is method alternatives is found on the class, but an appropriate 54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { method in class:Property 70 * allows querying the underlying value but not setting it. For example, the {@link #of(Class,
|
/frameworks/base/graphics/java/android/graphics/ |
Insets.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 * edges of a Rectangle. By convention, positive values move edges towards the 22 * centre of the rectangle. 55 public static Insets of(int left, int top, int right, int bottom) { method in class:Insets 69 public static Insets of(Rect r) { method in class:Insets 70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom);
|
/libcore/support/src/test/java/tests/util/ |
Pair.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 20 * Pair of typed values. 22 * <p>Pairs are obtained using {@link #of(Object, Object) of}. 24 * @param <F> type of the first value. 25 * @param <S> type of the second value. 37 * Gets the pair consisting of the two provided values. 42 public static <F, S> Pair<F, S> of(F first, S second) { method in class:Pair
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
Pair.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 20 * Pair of two elements. 31 public static <A, B> Pair<A, B> of(A first, B second) { method in class:Pair
|
/external/guava/guava-tests/test/com/google/common/cache/ |
AbstractCacheTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 62 ImmutableMap.of(), 63 cache.getAllPresent(ImmutableList.of(new Object()))); 77 ImmutableMap.of(cachedKey, cachedValue), 78 cache.getAllPresent(ImmutableList.of(cachedKey, new Object()))); 95 List<Integer> toInvalidate = ImmutableList.of(1, 2, 3, 4);
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
SequenceMatcher.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 33 * Return type of this matcher. 34 * @param <E> type of stream element. 56 * Accumulate continuous sequence of elements that satisfy specified {@link Predicate}s. 57 * @param <E> type of stream element. 70 // Search for the first element of sequence. 96 * Create a {@link Collector} that collects continuous sequence of elements that equal to 97 * specified {@code elements}. It returns {@link MatchResult<E>} of found such sequence. 99 * Stream.of(1, 2, 3, 4, 5).collect 127 static <E> Collector<E, ?, MatchResult<E>> of(final E... elements) { method in class:SequenceMatcher 144 static <E> Collector<E, ?, MatchResult<E>> of(final Predicate<E>... predicates) { method in class:SequenceMatcher [all...] |
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
ClientParser.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 41 this(ImmutableList.of(structure));
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
JreDeflateParametersTest.java | 5 // You may obtain a copy of the License at 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 34 JreDeflateParameters.of(level, strategy, nowrap); 42 JreDeflateParameters.of(level, strategy, nowrap); 51 // All of these should fail. 62 Assert.assertTrue(JreDeflateParameters.of(1, 0, true).toString().length() > 0); 70 JreDeflateParameters params = JreDeflateParameters.of(level, strategy, nowrap);
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
SourceFileGenerator.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 67 throw new SourceFileGenerationException(ImmutableList.<ClassName>of(), e, method
|
/external/guava/guava/src/com/google/common/base/ |
Optional.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 32 * instance of this type either contains a non-null reference, or contains nothing (in 41 * <p>Some uses of this class include 58 * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" 65 * @param <T> the type of instance that can be contained. {@code Optional} is naturally 67 * Optional<S>} for any supertype {@code S} of {@code T}. 84 public static <T> Optional<T> of(T reference) { method in class:Optional 117 * {@link #get()} instead. For a default value of {@code null}, use {@link #orNull}. 132 * Optional<T>}. Casting either of the above example {@code Optional} instances to {@cod [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableList.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 41 * <p>Unlike {@link Collections#unmodifiableList}, which is a <i>view</i> of a 42 * separate collection that can still change, an instance of {@code 45 * ("constant lists") and also lets you easily make a "defensive copy" of a list 49 * it has no public or protected constructors. Thus, instances of this type are 72 * and maintainability of your code. 76 public static <E> ImmutableList<E> of() { method in class:ImmutableList 84 * maintainability of your code. 88 public static <E> ImmutableList<E> of(E element) method in class:ImmutableList 97 public static <E> ImmutableList<E> of(E e1, E e2) { method in class:ImmutableList 106 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { method in class:ImmutableList 115 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { method in class:ImmutableList 124 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { method in class:ImmutableList 133 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { method in class:ImmutableList 142 public static <E> ImmutableList<E> of( method in class:ImmutableList 152 public static <E> ImmutableList<E> of( method in class:ImmutableList 162 public static <E> ImmutableList<E> of( method in class:ImmutableList 172 public static <E> ImmutableList<E> of( method in class:ImmutableList 182 public static <E> ImmutableList<E> of( method in class:ImmutableList 196 public static <E> ImmutableList<E> of( method in class:ImmutableList [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableEnumMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 50 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); 51 assertEquals(ImmutableMap.of(), map); 56 ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e"));
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
EquivalenceTester.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 33 * Tester for {@link Equivalence} relationships between groups of objects. 38 * other. Objects of different groups are expected to be unequal. For example: 42 * EquivalenceTester.of(someStringEquivalence) 51 * the {@link EqualsTester}. It includes an extra test against an instance of an 74 public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { method in class:EquivalenceTester 79 * Adds a group of objects that are supposed to be equivalent to each other 112 assertEquals("the hash of " + item + " must be consistent", equivalence.hash(item),
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableEnumMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 69 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); 70 assertEquals(ImmutableMap.of(), map); 75 ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e"));
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
PrimitivesTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 52 ImmutableSet.<Object>of( method 67 ImmutableSet.<Object>of( method
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/ |
SameAsBoundTest.java | 28 assertEquals(Optional.of(new Instantiation(inferenceVariable, stringType)), bound1.isAnInstantiation()); 29 assertEquals(Optional.of(new Instantiation(inferenceVariable, stringType)), bound2.isAnInstantiation());
|