/external/iptables/libxtables/ |
xtoptions.c | 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of 150 * Return the size of a single entity based upon a type - predominantly an 186 "or out of range (%ju-%ju).\n", 223 "or out of range (%u-%u).\n", 276 * This function is capable of parsing any number of fields. Only the first 315 "\"%s\", or out of range (0-%ju).\n", 339 "Argument must have a minimum length of " 343 "Argument must have a maximum length of " 1007 unsigned int ef = 1 << entry->id, of = 1 << other->id; local [all...] |
/external/javassist/src/main/javassist/compiler/ |
JvstCodeGen.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 49 /* Index of $1. 57 * @param name the name of the special method call. 65 /* If the type of the expression compiled last is void, 78 * $args is an array of parameter list. 100 bytecode.addLdc(Descriptor.of(dollarType)); 294 * It can be used only as a parameter list of method call [all...] |
/external/libvorbis/lib/ |
res0.c | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 91 FILE *of; local 96 of=fopen(buffer,"a"); 99 fprintf(of,"%d:%ld\n",l,look->training_data[k][j][l]); 101 fclose(of); 186 bitmask of one indicates this partition class has bits to write 428 /* we find the partition type for each partition of each 459 FILE *of; local 464 of=fopen(buffer,"a") 495 FILE *of; local [all...] |
floor1.c | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 210 edges. The positions are read in the order of the position 211 list... we precompute the bounding positions in the lookup. Of 603 int loneighbor[VIF_POSIT+2]; /* sorted index of range list position (+2) */ 645 /* eliminate repeat searches of a particular range with a memo */ 898 FILE *of; local 902 of=fopen(buffer,"a"); 903 fprintf(of,"%d\n",cval); 904 fclose(of); 922 FILE *of; local [all...] |
/external/okhttp/okio/okio/src/test/java/okio/ |
BufferedSourceTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 438 // The segment has lots of data. 500 source.indexOf(ByteString.of());
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
MockUiProvider.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 64 // A map of query result for uris 73 ImmutableList.of(inboxfolderDetailsMap)); 78 ImmutableList.of(accountDetailsMap)); 83 ImmutableList.of(secondFolderDetailsMap)); 87 ImmutableList.of(createFolderDetailsMap(10, accountId, "zeroChild0", 0, 0), 101 resultMap.put(message0.get(MessageColumns.URI).toString(), ImmutableList.of(message0)); 103 ImmutableList.of(message0)); 105 ImmutableList.of(createAttachmentDetailsMap(0, "zero"))) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
LeaveBehindItem.java | 7 * You may obtain a copy of the License at 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 52 * The height of this view. Typically, this matches the height of the originating 98 // the set of commands to undo 131 cursor.delete(ImmutableList.of(getData())); 163 * Animate shrinking the height of this view. 190 * @param delay Whether to delay the start of the animation or not. 224 * @param newDelay Amount of total delay the user should see
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateMetadata.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 357 // of conditions. 374 // Already have a match with this number of attributes, no point checking 414 * Returns the dependencies (as a list of pairs of names and revisions) 433 dependencies.add(Pair.of(name, revision)); 441 /** Returns the list of available parameters */ 448 * Returns the parameter of the given id, or null if not found 450 * @param id the id of the target paramete [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheLoadingTest.java | 5 * in compliance with the License. You may obtain a copy of the License at 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 77 // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status 338 assertEquals(ImmutableMap.of(), cache.getAll(ImmutableList.<Integer>of())); method 344 assertEquals(ImmutableMap.of(1, 1), cache.getAll(asList(1))); 351 assertEquals(ImmutableMap.of(1, 1, 2, 2, 3, 3, 4, 4), cache.getAll(asList(1, 2, 3, 4))); 358 assertEquals(ImmutableMap.of(2, 2, 3, 3), cache.getAll(asList(2, 3))); 366 assertEquals(ImmutableMap.of(4, 4, 5, 5), cache.getAll(asList(4, 5))); 384 assertEquals(ImmutableMap.of(), cache.getAll(ImmutableList.<Integer>of())) method [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 82 return ImmutableSortedMap.of(); 86 return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); 101 return ImmutableSortedMap.of("one", 1); 115 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) 130 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) 145 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) 160 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) 175 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5 [all...] |
ImmutableSortedSetTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 55 @Override protected SortedSet<String> of() { method in class:ImmutableSortedSetTest 56 return ImmutableSortedSet.of(); 59 @Override protected SortedSet<String> of(String e) { method in class:ImmutableSortedSetTest 60 return ImmutableSortedSet.of(e); 63 @Override protected SortedSet<String> of(String e1, String e2) { method in class:ImmutableSortedSetTest 64 return ImmutableSortedSet.of(e1, e2); 67 @Override protected SortedSet<String> of(String e1, String e2, String e3) { method in class:ImmutableSortedSetTest 68 return ImmutableSortedSet.of(e1, e2, e3) 71 @Override protected SortedSet<String> of( method in class:ImmutableSortedSetTest 76 @Override protected SortedSet<String> of( method in class:ImmutableSortedSetTest 81 @Override protected SortedSet<String> of(String e1, String e2, String e3, method in class:ImmutableSortedSetTest 149 assertSame(of(), set.headSet("c")); method 150 assertSame(of(), set.headSet("e")); method 158 assertSame(of(), set.tailSet("g")); method 166 assertSame(of(), set.subSet("f", "g")); method 167 assertSame(of(), set.subSet("c", "e")); method 168 assertSame(of(), set.subSet("c", "d")); method 245 assertSame(of(), set.headSet("a")); method 246 assertSame(of(), set.headSet("b")); method 254 assertSame(of(), set.tailSet("g")); method 262 assertSame(of(), set.subSet("a", "b")); method 263 assertSame(of(), set.subSet("g", "h")); method 264 assertSame(of(), set.subSet("c", "c")); method [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
ClassSanityTester.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 137 * Object#equals} and {@link Object#hashCode}, and its construction requires a parameter of {@code 166 * Object#equals} and {@link Object#hashCode}, and its construction requires a parameter of {@code 167 * type}, the distinct values of {@code type} can be passed as parameters to create {@code Foo} 184 distinctValues.replaceValues(type, ImmutableList.of(value1, value2)); 248 * Tests the {@link Object#equals} and {@link Object#hashCode} of {@code cls}. In details: 251 * is used to construct the sample instances. In case of tie, the candidate constructors or 270 * semantics of builder can be arbitrarily complex. Still, a factory class can be created in the 310 List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 173 return ImmutableMap.of(); 177 return ImmutableMap.of("one", 1, "two", 2, "three", 3); 192 return ImmutableMap.of("one", 1); 209 ImmutableMap.of("one", 1, "two", 2, "three", 3)); 230 return ImmutableMap.of( 250 return ImmutableMap.of(); 255 return ImmutableMap.of( 273 return ImmutableMap.of(0, unhashables.e0) [all...] |
ImmutableSortedMapTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 142 return ImmutableSortedMap.of(); 146 return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); 161 return ImmutableSortedMap.of("one", 1); 178 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3)); 192 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) 207 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) 222 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5) 237 return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5 [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 182 // Rough: don't exceed 1.2x the expected number of remaps by more than 20 251 Hashing.combineOrdered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); 260 assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32))); 262 Hashing.combineOrdered(ImmutableList.of(hash32, hash32))); 264 Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32))); 266 Hashing.combineOrdered(ImmutableList.of(hash31, hash32)).equals( 267 Hashing.combineOrdered(ImmutableList.of(hash32, hash31)))); 293 Hashing.combineUnordered(ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))) [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
ClassPathTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 55 * Functional tests of {@link ClassPath}. 180 ImmutableMap.of(url1.toURI(), classloader, url2.toURI(), classloader), 190 assertEquals(ImmutableMap.of(url1.toURI(), parent, url2.toURI(), child), classPathEntries); 198 assertEquals(ImmutableMap.of(url.toURI(), parent), ClassPath.getClassPathEntries(child)); 209 ImmutableMap.of(url.toURI(), parent), 219 ImmutableMap.of(url1.toURI(), grandParent, url2.toURI(), parent), 228 ImmutableMap.of(url.toURI(), grandParent), 415 return ResourceInfo.of(cls.getName().replace('.', '/') + ".class", cls.getClassLoader()) [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractServiceTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 69 ImmutableList.of( 107 ImmutableList.of( 192 ImmutableList.of( 213 ImmutableList.of( 243 ImmutableList.of( 280 assertEquals(ImmutableList.of(State.TERMINATED), listener.getStateHistory()); 288 assertEquals(ImmutableList.of(State.STARTING, State.FAILED), listener.getStateHistory()); 297 assertEquals(ImmutableList.of(State.STARTING, State.RUNNING, State.FAILED) [all...] |
MoreExecutorsTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * Portions of this file are modified versions of 22 * Written by Doug Lea with assistance from members of JCP JSR-166 248 assertEquals(ImmutableList.of(), executor.shutdownNow()); 264 List<Callable<T>> tasks = ImmutableList.of(); 274 ImmutableList.of(Callables.returning("x")); 482 * invokeAny(c) returns result of some task in c if at least one completes 629 /* Half of a 1-second timeout in nanoseconds * [all...] |
ServiceManagerTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 64 * of time. 147 // of our sleep calls can be arbitrarily delayed we should just assert that there is a time 190 assertEquals(ImmutableSet.of(b, d), listener.failedServices); 213 assertEquals(ImmutableSet.of(b), listener.failedServices); 236 assertEquals(ImmutableSet.of(b), listener.failedServices); 355 // check that our NoOpService is not directly observable via any of the inspection methods or 371 * Tests that a ServiceManager can be fully shut down if one of its failure listeners is slow or 447 // The implementation of this test is pretty sensitive to the implementation :( but we want t [all...] |
/external/guice/core/test/com/google/inject/ |
BindingTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 372 assertEquals(ImmutableSet.of(TypeLiteral.get(D.class)), heardTypes); 400 assertEquals(ImmutableSet.of(Key.get(Injector.class), Key.get(Stage.class), Key.get(D.class), 408 assertEquals(ImmutableSet.of(Key.get(Injector.class), Key.get(Stage.class), Key.get(D.class), 413 assertEquals(ImmutableSet.of(Key.get(Injector.class), Key.get(Stage.class), Key.get(D.class),
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
FactoryProvider2.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 77 * The newer implementation of factory provider. This implementation uses a child injector to 88 /** A constant annotation to denote the return value, instead of creating a new one each time. */ 125 /** the type of the implementation constructed */ 135 /** the list of optimized providers, empty if not optimized. */ 216 @SuppressWarnings("unchecked") // we imprecisely treat the class literal of T as a Class<T> 232 // unavoidable consequence of javac8. :-( 262 errors.addMessage("A Provider may not be a type in a factory method of an AssistedInject." 279 + "[%s] of AssistedInject factory [%s].\nThis is not allowed, please [all...] |
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
FactoryProviderTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 86 assertEquals(ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(double.class))), method 552 "1) Parameter of type 'double' is not injectable or annotated with @Assisted");
|
/external/iproute2/ip/ |
iproute.c | 5 * modify it under the terms of the GNU General Public License 7 * 2 of the License, or (at your option) any later version. 297 unsigned int of = features; local 305 fprintf(fp, " 0x%x", of); 798 fprintf(stderr, "Error: \"nexthop\" or end of line is expected instead of \"%s\"\n", *argv); 802 fprintf(stderr, "Error: unexpected end of line after \"nexthop\"\n"); [all...] |
/external/v8/test/cctest/compiler/ |
test-simplified-lowering.cc | 2 // Use of this source code is governed by a BSD-style license that can be 98 // TODO(titzer): explicit load/stores here are only because of representations 125 // TODO(titzer): explicit load/stores here are only because of representations 385 // TODO(titzer): assert the contents of the array. 391 // A helper class for accessing fields and elements of various types, on both 664 // Fills in most of the nodes of the graph in order to make tests shorter. 736 // Inserts the node as the return value of the graph. 742 // Inserts the node as the effect input to the return of the graph. 1078 Node* of = node->InputAt(0); local 1118 Node* of = node->InputAt(0); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
EnumSetTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 EnumSet<Roshambo> set = EnumSet.of(Roshambo.ROCK, Roshambo.SCISSORS); 51 EnumSet<Element> set = EnumSet.of(Element.H, Element.TB, Element.DY, Element.UUO); 60 * EnumSet<Roshambo> set = EnumSet.of(Roshambo.SPOCK); 82 * EnumSet<Roshambo> set = EnumSet.of(Roshambo.SCISSORS, Roshambo.ROCK) 93 assertEquals(EnumSet.of(Roshambo.ROCK, Roshambo.SCISSORS),
|