HomeSort by relevance Sort by last modified time
    Searched defs:of (Results 276 - 300 of 1151) sorted by null

<<11121314151617181920>>

  /art/runtime/native/
sun_misc_Unsafe.cc 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
219 ThrowIllegalAccessException("wrong number of bytes");
301 ThrowIllegalAccessException("wrong number of bytes");
315 size_t of = array_offset / sizeof(T); local
317 array->Set(i + of, *(src + i));
329 size_t of = array_offset / sizeof(T); local
331 *(dst + i) = array->Get(i + of);
347 ThrowIllegalAccessException("wrong number of bytes");
378 ThrowIllegalAccessException("wrong number of bytes")
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntervalSet.java 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in the
14 * 3. The name of the author may not be used to endorse or promote products
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
68 public static IntervalSet of(int a) { method in class:IntervalSet
75 public static IntervalSet of(int a, int b) { method in class:IntervalSet
    [all...]
  /external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
JreDeflateParameters.java 5 // You may obtain a copy of the License at
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * Encapsulates JRE-compatible deflate parameters. There are a total of 54 possible values, which
20 * two of these are frequently encountered: (level 6, strategy 0, nowrap) and (level 9, strategy 0,
81 * The level of the deflate compressor.
110 public static JreDeflateParameters of(int level, int strategy, boolean nowrap) { method in class:JreDeflateParameters
232 * Given an input string formatted like the output of {@link #toString()}, parse the string into
233 * an instance of this class.
235 * @return an equivalent object of this class
239 return of(
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableMultimap.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
43 * a <i>view</i> of a separate multimap which can still change, an instance of
47 * you easily make a "defensive copy" of a multimap provided to your class by
51 * it has no public or protected constructors. Thus, instances of this class
69 public static <K, V> ImmutableMultimap<K, V> of() { method in class:ImmutableMultimap
70 return ImmutableListMultimap.of();
76 public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) { method in class:ImmutableMultimap
77 return ImmutableListMultimap.of(k1, v1)
83 public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableMultimap
90 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
98 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
106 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
    [all...]
ImmutableSetMultimap.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46 * a <i>view</i> of a separate multimap which can still change, an instance of
50 * you easily make a "defensive copy" of a multimap provided to your class by
54 * it has no public or protected constructors. Thus, instances of this class
72 public static <K, V> ImmutableSetMultimap<K, V> of() { method in class:ImmutableSetMultimap
79 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { method in class:ImmutableSetMultimap
87 * Repeated occurrences of an entry (according to {@link Object#equals}) after
90 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) method in class:ImmutableSetMultimap
102 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
116 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
131 public static <K, V> ImmutableSetMultimap<K, V> of( method in class:ImmutableSetMultimap
    [all...]
ImmutableSortedMap.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39 * of a separate map which can still change, an instance of {@code
42 * ("constant maps") and also lets you easily make a "defensive copy" of a map
46 * it has no public or protected constructors. Thus, instances of this class are
72 return of();
115 // TODO(kevinb): evaluate whether or not of().comparator() should return null
116 public static <K, V> ImmutableSortedMap<K, V> of() { method in class:ImmutableSortedMap
124 ImmutableSortedMap<K, V> of(K k1, V v1) method in class:ImmutableSortedMap
137 of(K k1, V v1, K k2, V v2) { method in class:ImmutableSortedMap
150 of(K k1, V v1, K k2, V v2, K k3, V v3) { method in class:ImmutableSortedMap
164 of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) { method in class:ImmutableSortedMap
178 of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) { method in class:ImmutableSortedMap
    [all...]
ImmutableSortedSet.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * natural sort ordering of their elements. Either way, null elements are not
46 * of a separate collection that can still change, an instance of {@code
49 * ("constant sets") and also lets you easily make a "defensive copy" of a set
68 * <p>With natural ordering of elements, the following relation determines whether
79 * it has no public or protected constructors. Thus, instances of this type are
120 public static <E> ImmutableSortedSet<E> of() { method in class:ImmutableSortedSet
127 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
141 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
154 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
167 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
180 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
194 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( method in class:ImmutableSortedSet
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableMultimap.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * a <i>view</i> of a separate multimap which can still change, an instance of
46 * you easily make a "defensive copy" of a multimap provided to your class by
50 * it has no public or protected constructors. Thus, instances of this class
68 public static <K, V> ImmutableMultimap<K, V> of() { method in class:ImmutableMultimap
69 return ImmutableListMultimap.of();
75 public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) { method in class:ImmutableMultimap
76 return ImmutableListMultimap.of(k1, v1)
82 public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1, K k2, V v2) { method in class:ImmutableMultimap
89 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
97 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
105 public static <K, V> ImmutableMultimap<K, V> of( method in class:ImmutableMultimap
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
AbstractImmutableSetTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
43 protected abstract Set<String> of(); method in class:AbstractImmutableSetTest
44 protected abstract Set<String> of(String e); method in class:AbstractImmutableSetTest
45 protected abstract Set<String> of(String e1, String e2); method in class:AbstractImmutableSetTest
46 protected abstract Set<String> of(String e1, String e2, String e3); method in class:AbstractImmutableSetTest
47 protected abstract Set<String> of(String e1, String e2, String e3, String e4); method in class:AbstractImmutableSetTest
48 protected abstract Set<String> of(String e1, String e2, String e3, String e4, method in class:AbstractImmutableSetTest
50 protected abstract Set<String> of(String e1, String e2, String e3, String e4, method in class:AbstractImmutableSetTest
58 Set<String> set = of();
60 assertSame(of(), set); method
107 assertSame(of(), set); method
138 assertSame(of(), set); method
174 assertSame(of(), set); method
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
LocalLoadingCacheTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
246 map.putAll(ImmutableMap.of(two, three));
279 Map<Object, Object> newMap = ImmutableMap.of(one, one);
283 Set<Object> expectedValues = ImmutableSet.of(one);
  /external/guava/guava-tests/test/com/google/common/collect/
ContiguousSetTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
86 ImmutableSortedSet.of(1, 2, 3))
138 assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.closedOpen(1, 1), integers()));
139 assertEquals(ImmutableSet.of(), ContiguousSet.create(Range.openClosed(5, 5), integers()));
140 assertEquals(ImmutableSet.of(),
142 assertEquals(ImmutableSet.of(),
245 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
248 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
249 assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9))))
    [all...]
TreeMultimapNaturalTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
145 Helpers.mapEntry("a", (Collection<String>) ImmutableSortedSet.of("alex")),
146 Helpers.mapEntry("b", (Collection<String>) ImmutableSortedSet.of("bob", "bagel")),
147 Helpers.mapEntry("c", (Collection<String>) ImmutableSortedSet.of("carl", "carol")),
148 Helpers.mapEntry("d", (Collection<String>) ImmutableSortedSet.of("david", "dead")),
149 Helpers.mapEntry("e", (Collection<String>) ImmutableSortedSet.of("eric", "elaine")));
183 return Helpers.mapEntry("-- a", (Collection<String>) ImmutableSortedSet.of("--below"));
188 return Helpers.mapEntry("-- b", (Collection<String>) ImmutableSortedSet.of("--below"));
193 return Helpers.mapEntry("~~ b", (Collection<String>) ImmutableSortedSet.of("~above"))
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
CloserTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
355 assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed);
374 * Asserts that an exception was thrown when trying to close each of the given throwables and that
375 * each such exception was suppressed because of the given thrown exception.
395 * Record of a call to suppress.
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
WrappingExecutorServiceTest.java 5 * use this file except in compliance with the License. You may obtain a copy of
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
60 assertEquals(ImmutableList.of(), list);
268 return ImmutableList.of();
  /external/guice/core/test/com/google/inject/
PrivateModuleTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
448 assertEquals(ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Injector.class))), method
451 assertEquals(ImmutableSet.<Key<?>>of(Key.get(String.class, named("b"))), method
TypeLiteralTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
112 + "GenericArrayType, but <? extends java.lang.Runnable> is of type "
159 assertEquals(ImmutableList.<Type>of(Object.class), ImmutableList.copyOf(aTv.getBounds())); method
174 assertEquals(ImmutableList.<Type>of(Runnable.class), ImmutableList.copyOf(cTv.getBounds())); method
189 assertEquals(ImmutableList.<Type>of(Types.listOf(typeVariables[0]), Runnable.class), method
  /external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
GraphvizGrapher.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * file of the graph. Dependencies are bound in {@link GraphvizModule}.
119 // remove most of the margin because the table has internal padding
128 * Creates the "label" for a node. This is a string of HTML that defines a
129 * table with a heading at the top and (in the case of
130 * {@link ImplementationNode}s) rows for each of the member fields.
203 * Turns a {@link List} of {@link ArrowType}s into a {@link String} that
296 gedge.setArrowHead(ImmutableList.of(ArrowType.NORMAL));
307 gedge.setArrowHead(ImmutableList.of(ArrowType.NORMAL_OPEN))
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Multibinder.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88 * bindings to the set of snacks. When that set is injected, it will contain
94 * iteration order of elements contributed by different modules, since there is
104 * <p>Annotations are be used to create different sets of the same element
105 * type. Each distinct annotation gets its own independent collection of
120 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that is
128 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that is
136 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that is
145 * Returns a new multibinder that collects instances of {@code type} in a {@link Set} that i
    [all...]
  /external/javassist/src/main/javassist/bytecode/
Descriptor.java 5 * The contents of this file are subject to the Mozilla Public License Version
7 * the License. Alternatively, the contents of this file may be used under
8 * the terms of the GNU Lesser General Public License Version 2.1 or later.
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
55 * Returns the internal representation of the class name in the
60 return of(clazz);
124 public static String of(String classname) { method in class:Descriptor
244 public static String of(CtClass type) { method in class:Descriptor
308 * Returns the descriptor representing a list of parameter types.
343 * Inserts a parameter type at the beginning of the paramete
    [all...]
  /external/okhttp/okio/okio/src/test/java/okio/
ByteStringTest.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39 ByteString byteString = ByteString.of(bytes, 2, 9);
64 assertTrue(ByteString.of().equals(ByteString.EMPTY));
65 assertTrue(ByteString.EMPTY.equals(ByteString.of()));
75 assertTrue(byteString.equals(ByteString.of(bronzeHorseman.getBytes(Util.UTF_8))));
107 assertEquals(ByteString.of(), ByteString.read(in, 0));
184 ByteString.encodeUtf8("How many lines of code are there? 'bout 2 million.").base64());
193 ByteString.encodeUtf8("How many lines of code are there? 'bout 2 million.").base64Url());
230 assertEquals("000102", ByteString.of((byte) 0x0, (byte) 0x1, (byte) 0x2).hex())
    [all...]
  /frameworks/av/media/libmedia/
IMediaRecorder.cpp 7 ** You may obtain a copy of the License at
13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
148 status_t setOutputFormat(int of)
150 ALOGV("setOutputFormat(%d)", of);
153 data.writeInt32(of);
436 int of = data.readInt32(); local
437 reply->writeInt32(setOutputFormat(of));
  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
WindowFrameTests.java 6 * You may obtain a copy of the License at
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
132 final Rect of = df; local
148 w.computeFrameLw(pf, df, of, cf, vf, dcf, sf, null);
163 w.computeFrameLw(pf, df, of, cf, vf, dcf, sf, null);
243 // direction of gravity
316 final Rect of = df; local
328 w.computeFrameLw(pf, df, of, cf, vf, dcf, sf, null);
337 w.computeFrameLw(pf, df, of, cf, vf, dcf, sf, null);
342 // Normally it would be cropped to it's frame but in the case of docked resizin
    [all...]
  /libcore/ojluni/src/main/java/java/time/
OffsetTime.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
29 * However, the following notice accompanied the original version of this
39 * * Redistributions of source code must retain the above copyright notice,
40 * this list of conditions and the following disclaimer.
43 * this list of conditions and the following disclaimer in the documentation
46 * * Neither the name of JSR-310 nor the names of its contributors
52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
206 public static OffsetTime of(LocalTime time, ZoneOffset offset) { method in class:OffsetTime
229 public static OffsetTime of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) { method in class:OffsetTime
    [all...]
Period.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
29 * However, the following notice accompanied the original version of this
39 * * Redistributions of source code must retain the above copyright notice,
40 * this list of conditions and the following disclaimer.
43 * this list of conditions and the following disclaimer in the documentation
46 * * Neither the name of JSR-310 nor the names of its contributors
52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
230 public static Period of(int years, int months, int days) { method in class:Period
    [all...]
  /libcore/ojluni/src/main/java/java/time/chrono/
AbstractChronology.java 6 * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
29 * However, the following notice accompanied the original version of this
39 * * Redistributions of source code must retain the above copyright notice,
40 * this list of conditions and the following disclaimer.
43 * this list of conditions and the following disclaimer in the documentation
46 * * Neither the name of JSR-310 nor the names of its contributors
52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO
292 static Chronology of(String id) { method in class:AbstractChronology
    [all...]

Completed in 992 milliseconds

<<11121314151617181920>>