/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 80 * // In real life this would come from a command-line flag or config file 83 * LoadingCache<Key, Graph> graphs = CacheBuilder.from(spec) 106 * <p>Entries are automatically evicted from the cache when any of 125 * removed from the cache on each cache modification, on occasional cache accesses, or on calls to 259 public static CacheBuilder<Object, Object> from(CacheBuilderSpec spec) { method in class:CacheBuilder 273 public static CacheBuilder<Object, Object> from(String spec) { method in class:CacheBuilder 274 return from(CacheBuilderSpec.parse(spec)); 458 * instance, this method returns {@code CacheBuilder<K1, V1>}. From this point on, either the 460 * the cache, but only the "generic" one is type-safe. That is, it will properly prevent you from 588 * Specifies that each entry should be automatically removed from the cache once a fixed duratio [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedMap.java | 54 * @since 2.0 (imported from Google Collections Library; implements {@code 98 static <K, V> ImmutableSortedMap<K, V> from( method in class:ImmutableSortedMap 124 return from(ImmutableSortedSet.of(k1), ImmutableList.of(v1)); 293 Arrays.sort(entries, 0, size, Ordering.from(comparator).<K>onKeys()); 351 * @since 2.0 (imported from Google Collections Library) 502 * whose keys ranges from {@code fromKey}, inclusive, to {@code toKey}, 520 * whose keys ranges from {@code fromKey} to {@code toKey}, inclusive or
|
Ordering.java | 54 * #from(Comparator)} 88 * @since 2.0 (imported from Google Collections Library) 101 * support legacy types from before Java 5. 123 public static <T> Ordering<T> from(Comparator<T> comparator) { method in class:Ordering 135 @Deprecated public static <T> Ordering<T> from(Ordering<T> ordering) { method in class:Ordering 245 * caution when building a {@link SortedSet} or {@link SortedMap} from it, as 269 public Integer apply(Object from) { 362 * Ordering.from(String.CASE_INSENSITIVE_ORDER) 399 * Ordering.from(comp1).compound(comp2).compound(comp3) . . .}. 600 * this ordering, in order from least to greatest. If there are fewer tha [all...] |
/external/guava/guava/src/com/google/common/reflect/ |
ClassPath.java | 81 * Returns a {@code ClassPath} representing all classes and resources loadable from {@code 89 public static ClassPath from(ClassLoader classloader) throws IOException { method in class:ClassPath 98 * Returns all resources loadable from the current class path, including the class files of all 106 * Returns all classes loadable from the current class path. 111 return FluentIterable.from(resources).filter(ClassInfo.class).toSet(); 114 /** Returns all top level classes loadable from the current class path. */ 116 return FluentIterable.from(resources).filter(ClassInfo.class).filter(IS_TOP_LEVEL).toSet(); 149 * loadable from the class path. 268 // Shouldn't happen, since the class name is read from the class path.
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
DerivedCollectionGenerators.java | 332 * Two bounds (from and to) define how to build a subMap. 343 final Bound from; field in class:DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator 350 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { 352 this.from = from; 374 return from; 408 if (from != Bound.NO_BOUND) { 430 if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) { 432 } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) { 434 } else if (from == Bound.INCLUSIVE && to == Bound.EXCLUSIVE) 469 final Bound from; field in class:DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utransts.c | 672 UChar from[CAP]; local 686 u_uastrcpy(from, cfrom); 693 u_strcpy(buf, from); 713 u_strcpy(buf, from); 737 limit = u_strlen(from); 760 pos.limit = pos.contextLimit = u_strlen(from);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
KeyTypeData.java | 228 String from = typeAliasDataEntry.getKey(); local 231 from = from.replace(':', '/'); 238 aliasSet.add(from); 257 String from = bcpTypeAliasDataEntry.getKey(); local 264 aliasSet.add(from); 362 // Note: The key-type data is currently read from ICU resource bundle keyTypeData.res. 363 // In future, we may import the data into code like below directly from CLDR to 437 String from = typeAliasDataEntry[0]; local 444 aliasSet.add(from); 453 String from = bcpTypeAliasDataEntry[0]; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
RuleBasedTimeZone.java | 397 TimeZoneRule from = result.getFrom(); local 399 if (from.getRawOffset() == to.getRawOffset() 400 && from.getDSTSavings() == to.getDSTSavings()) { 467 TimeZoneRule from = result.getFrom(); local 469 if (from.getRawOffset() == to.getRawOffset() 470 && from.getDSTSavings() == to.getDSTSavings()) { 533 // No more transitions from this rule - skip this rule next time
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
ICUDurationTest.java | 205 logln("format date from -> " + formatted); 230 logln("out=expected: " + expected + " from " + d); 232 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 241 logln("out=expected: " + expected + " from " + d); 243 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 251 logln("out=expected: " + expected + " from " + d); 253 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 262 logln("out=expected: " + expected + " from " + d); 265 logln("WARNING: got " + out + " wanted " + expected + " from " + d); 267 errln("FAIL: got " + out + " wanted " + expected + " from " + d) 309 String from = tc.durationString; local [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
HostInfo.java | 180 InetAddress from = packet.getAddress(); local 181 if (from != null) { 182 if (from.isLinkLocalAddress() && (!this.getInetAddress().isLinkLocalAddress())) { 189 if (from.isLoopbackAddress() && (!this.getInetAddress().isLoopbackAddress())) {
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/particles/ |
ParticlesHelper.java | 38 public static final int PART_EDISTR =256; // particle/face from face areas
59 // part->from
88 * the version read from the blend file
133 int from = ((Number)particleSettings.getFieldValue("from")).intValue();
local 134 switch(from) {
145 LOGGER.warning("Default shape used! Unknown emitter shape value ('from' parameter: " + from + ')');
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_optimize.c | 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 473 int i, nr_insn = 0, to = 0, from = 0; local 475 for (from = 0; from < p->nr_insn; ++from) { 476 if (removeInst[from]) 478 if(to != from) 479 brw_inst_copy(p->store + to, p->store + from); 491 * coordinates from multiple textures.. Here, we monitor same mov
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageChannel.java | 74 // a transaction gets freed from the message channel. 93 * Get the SIPStack object from this message channel. 309 * @return a via header for outgoing messages sent from this channel. 324 * Get the via header host:port structure. This is extracted from the topmost via header of 369 String from = getPeerAddress().toString() + ":" + peerport; local 371 this.getSIPStack().serverLogger.logMessage(sipResponse, from, to, status, false, 386 // We need the following headers: all Vias, CSeq, Call-ID, From, To 432 * Copies a header from a request 457 * Copies all via headers from a request
|
/external/oauth/core/src/main/java/net/oauth/ |
OAuthMessage.java | 86 * parse parameters from it. 193 * Get a stream from which to read the body of the HTTP request or response. 198 * @return a stream from which to read the body, or null to indicate there 332 * Read all the data from the given stream, and close it. 334 * @return null if from is null, or the data from the stream converted to a 337 public static String readAll(InputStream from, String encoding) throws IOException 339 if (from == null) { 344 Reader r = new InputStreamReader(from, encoding); 351 from.close() [all...] |
/external/openssh/ |
loginrec.c | 29 * The btmp logging code is derived from login.c from util-linux and is under 42 * from this software without specific prior written permission. 262 * Time in seconds from the epoch if successful 269 * try to retrieve lastlog information from wtmp/wtmpx. 286 * information from the system lastlog data, or from wtmp/wtmpx if no 523 /* retrieve last login time from utmp */ 885 * Prevent luser from zero'ing out ut_host. 1146 * Notes on fetching login data from wtmp/wtmp 1663 struct sockaddr_storage from; local [all...] |
/external/protobuf/python/google/protobuf/pyext/ |
repeated_composite_container.cc | 16 // contributors may be used to endorse or promote products derived from 111 // Copied from uarrsort.c but swaps memcpy swaps with protobuf/python swaps 357 Py_ssize_t from; local 368 length, &from, &to, &step, &slicelength) == -1) { 371 return PyList_GetSlice(self->child_messages, from, to); 373 from = to = PyLong_AsLong(slice); 374 if (from < 0) { 375 from = to = length + from; 377 PyObject* result = PyList_GetItem(self->child_messages, from); 408 Py_ssize_t from; local [all...] |
/external/srtp/crypto/math/ |
math.c | 28 * from this software without specific prior written permission. 407 return -1; /* this keeps compilers from complaining */ 654 int i, from; local 664 /* copy each word from left size to right side */ 673 from = i-1 - base_index; 674 b = x->v32[from] << bit_index; 675 if (from > 0) 676 b |= x->v32[from-1] >> (32-bit_index);
|
/external/toybox/toys/other/ |
ifconfig.c | 65 char *from, *slash; local 82 from = ((char *)rp->ai_addr) + 4; 85 from += 4; // skip "flowinfo" field ipv6 puts before address 87 memcpy(addr, from, len);
|
/external/toybox/toys/pending/ |
modprobe.c | 68 char *from, *lslash; local 74 if (!lslash || (lslash == file && !lslash[1])) from = file; 75 else from = lslash + 1; 77 for (i = 0; i < (MODNAME_LEN-1) && from[i] && from[i] != '.'; i++) 78 mod[i] = (from[i] == '-') ? '_' : from[i]; 83 // Add options in opts from toadd. 96 // Remove first element from the list and return it. 144 * Returns struct module_s from the data base if found, NULL otherwise [all...] |
traceroute.c | 41 -f Start from the 1ST_TTL hop (instead from 1)(RANGE 1 to 255) (supports IPV4 only) 201 struct sockaddr_storage from; local 203 memset(&from, 0, sizeof(from)); 249 MSG_DONTWAIT, (struct sockaddr *) &from, &addrlen); 296 &((struct sockaddr_in *)&from)->sin_addr, 300 if (!getnameinfo((struct sockaddr *) &from, 304 ((struct sockaddr_in *)&from)->sin_addr)); 307 ((struct sockaddr_in *)&from)->sin_addr)) [all...] |
/external/toybox/toys/posix/ |
sed.c | 19 (from FILE or stdin) producing output (by default to stdout). 31 by newlines, followed by all lines from -f SCRIPT_FILEs, in order. 45 everything from the first address to the second address (inclusive). If 55 it isn't a forward slash (to distinguish it from the COMMANDs below). 100 P Print this line up to first newline (from "N") 158 Deviations from posix: allow extended regular expressions with -r, 273 // Apply pattern to line from input file 340 // Deferred disable from regex end match 606 char *from, *to = (char *)logrus; local 609 from = to+logrus->arg1 705 char *to, *from, mode = 0, d; local [all...] |
/external/v8/src/ |
execution.cc | 199 // If you return a function from here, it will be called when an 252 // If you return a function from here, it will be called when an 278 // If you return a function from here, it will be called when an 354 // Remove scope from chain. 381 // Clear the interrupt flag from the chain of PostponeInterruptsScopes. 388 // Clear the interrupt flag from the active interrupt flags. 411 // current thread_local_ from StackGuard)-- but is this 420 char* StackGuard::RestoreStackGuard(char* from) { 422 MemCopy(reinterpret_cast<char*>(&thread_local_), from, sizeof(ThreadLocal)); local 424 return from + sizeof(ThreadLocal) [all...] |
/external/valgrind/coregrind/ |
m_libcproc.c | 61 /* As deduced from sp_at_startup, the client's argc, argv[] and 62 envp[] as extracted from the client's stack at startup-time. */ 95 HChar **from, **to; local 101 for (from = to = env; from && *from; from++) { 102 if (!(VG_(strncmp)(varname, *from, len) == 0 && (*from)[len] == '=')) { 103 *to = *from; [all...] |
/external/wpa_supplicant_8/src/ap/ |
iapp.c | 185 /* Send IAPP ADD-notify to remove possible association from other APs 265 struct sockaddr_in *from, 282 "Received IAPP ADD-notify (seq# %d) from %s:%d%s", 284 inet_ntoa(from->sin_addr), ntohs(from->sin_port), 312 struct sockaddr_in from; local 318 fromlen = sizeof(from); 320 (struct sockaddr *) &from, &fromlen); 327 if (from.sin_addr.s_addr == iapp->own.s_addr) 332 "Received %d byte IAPP frame from %s%s\n" [all...] |
vlan_init.c | 779 struct sockaddr_nl from; local 784 fromlen = sizeof(from); 786 (struct sockaddr *) &from, &fromlen);
|