/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedMap.java | 55 * @since 2.0 (imported from Google Collections Library; implements {@code 99 static <K, V> ImmutableSortedMap<K, V> from( method in class:ImmutableSortedMap 125 return from(ImmutableSortedSet.of(k1), ImmutableList.of(v1)); 294 Arrays.sort(entries, 0, size, Ordering.from(comparator).<K>onKeys()); 352 * @since 2.0 (imported from Google Collections Library) 504 * whose keys ranges from {@code fromKey}, inclusive, to {@code toKey}, 522 * 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 247 * caution when building a {@link SortedSet} or {@link SortedMap} from it, as 271 public Integer apply(Object from) { 364 * Ordering.from(String.CASE_INSENSITIVE_ORDER) 401 * Ordering.from(comp1).compound(comp2).compound(comp3) . . .}. 602 * 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/harfbuzz_ng/src/hb-ucdn/ |
ucdn.c | 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 32 unsigned short from, to; member in struct:__anon21160 36 unsigned short from, to; member in struct:__anon21161 123 return mpa->from - mpb->from; 130 return bpa->from - bpb->from; 138 bp.from = code; 271 mp.from = code;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
KeyTypeData.java | 276 String from = typeAliasDataEntry.getKey(); local 279 from = from.replace(':', '/'); 286 aliasSet.add(from); 305 String from = bcpTypeAliasDataEntry.getKey(); local 312 aliasSet.add(from); 486 // Note: The key-type data is currently read from ICU resource bundle keyTypeData.res. 487 // In future, we may import the data into code like below directly from CLDR to 561 String from = typeAliasDataEntry[0]; 568 aliasSet.add(from); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
RuleBasedTimeZone.java | 376 TimeZoneRule from = result.getFrom(); local 378 if (from.getRawOffset() == to.getRawOffset() 379 && from.getDSTSavings() == to.getDSTSavings()) { 442 TimeZoneRule from = result.getFrom(); local 444 if (from.getRawOffset() == to.getRawOffset() 445 && from.getDSTSavings() == to.getDSTSavings()) { 506 // No more transitions from this rule - skip this rule next time
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
ICUDurationTest.java | 208 logln("format date from -> " + formatted); 234 logln("out=expected: " + expected + " from " + d); 236 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 245 logln("out=expected: " + expected + " from " + d); 247 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 255 logln("out=expected: " + expected + " from " + d); 257 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 266 logln("out=expected: " + expected + " from " + d); 269 logln("WARNING: got " + out + " wanted " + expected + " from " + d); 271 errln("FAIL: got " + out + " wanted " + expected + " from " + d) 314 String from = tc.durationString; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cdateintervalformattest.c | 45 const UDate from; member in struct:__anon21554 94 int32_t fmtLen = udtitvfmt_format(udtitvfmt, testItemPtr->from, testItemPtr->to, result, kFormatBufLen, NULL, &status); 102 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", 103 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, 107 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", 108 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) );
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
KeyTypeData.java | 274 String from = typeAliasDataEntry.getKey(); local 277 from = from.replace(':', '/'); 284 aliasSet.add(from); 303 String from = bcpTypeAliasDataEntry.getKey(); local 310 aliasSet.add(from); 484 // Note: The key-type data is currently read from ICU resource bundle keyTypeData.res. 485 // In future, we may import the data into code like below directly from CLDR to 559 String from = typeAliasDataEntry[0]; 566 aliasSet.add(from); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
RuleBasedTimeZone.java | 398 TimeZoneRule from = result.getFrom(); local 400 if (from.getRawOffset() == to.getRawOffset() 401 && from.getDSTSavings() == to.getDSTSavings()) { 466 TimeZoneRule from = result.getFrom(); local 468 if (from.getRawOffset() == to.getRawOffset() 469 && from.getDSTSavings() == to.getDSTSavings()) { 531 // 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); 231 logln("out=expected: " + expected + " from " + d); 233 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 242 logln("out=expected: " + expected + " from " + d); 244 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 252 logln("out=expected: " + expected + " from " + d); 254 errln("FAIL: got " + out + " wanted " + expected + " from " + d); 263 logln("out=expected: " + expected + " from " + d); 266 logln("WARNING: got " + out + " wanted " + expected + " from " + d); 268 errln("FAIL: got " + out + " wanted " + expected + " from " + d) 311 String from = tc.durationString; local [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
LexicalDifferenceCalculator.java | 30 public CalculatedSyntaxModel from(int index) { method in class:LexicalDifferenceCalculator.CalculatedSyntaxModel
|
/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/kernel-headers/original/uapi/linux/ |
userfaultfd.h | 43 * Valid ioctl command number range with this API is from 0x00 to 94 __u64 from; member in struct:uffd_msg::__anon23430::__anon23434
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_verifier.c | 442 .errstr = "invalid indirect read from stack", 452 .errstr = "invalid read from stack", 465 .errstr = "R1 subtraction from stack pointer", 639 "misaligned read from stack", 9085 unsigned int from = 0, to = ARRAY_SIZE(tests); local [all...] |
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
recvmsg01.c | 67 struct sockaddr_in sin1, from; variable in typeref:struct: 101 struct sockaddr *from; /* from address */ member in struct:test_case_t 102 int fromlen; /* from address value/result buffer length */ 112 (struct sockaddr *)&from, sizeof(from), 118 (struct sockaddr *)&from, sizeof(from), 124 &msgdat, 0, (struct sockaddr *)-1, sizeof(from), 0, 130 &msgdat, -1, (struct sockaddr *)&from, -1, -1 [all...] |
/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/python/cpython2/Mac/Modules/qdoffs/ |
_Qdoffsmodule.c | 606 int from, length; local 609 if ( !PyArg_ParseTuple(_args, "O&ii", ResObj_Convert, &pm, &from, &length) ) 611 cp = GetPixBaseAddr(pm)+from; 622 int from, length; local 625 if ( !PyArg_ParseTuple(_args, "O&is#", ResObj_Convert, &pm, &from, &icp, &length) ) 627 cp = GetPixBaseAddr(pm)+from; 681 PyDoc_STR("(pixmap, int start, int size) -> string. Return bytes from the pixmap")},
|
/external/syslinux/com32/lib/libpng/ |
pngset.c | 13 * The functions here are used during reads to store data from the file 202 /* Changed from info->num_palette to PNG_MAX_PALETTE_LENGTH in 854 /* Changed from num_trans to PNG_MAX_PALETTE_LENGTH in version 1.2.1 */ 926 png_sPLT_tp from = entries + i; local 929 length = png_strlen(from->name) + 1; 937 png_memcpy(to->name, from->name, length); 939 (png_uint_32)(from->nentries * png_sizeof(png_sPLT_entry))); 948 png_memcpy(to->entries, from->entries, 949 from->nentries * png_sizeof(png_sPLT_entry)); 950 to->nentries = from->nentries 992 png_unknown_chunkp from = unknowns + i; local [all...] |
/external/tensorflow/tensorflow/compiler/jit/ |
mark_for_compilation_pass.cc | 247 // Returns a string describing how an edge from src to dst would 267 strings::StrAppend(&description, "Edge from ", node_name(src), " to ", 384 // integers starting from 0. 395 // detection graph, disconnecting each loop from the enclosing graph. 398 // * replace edges to "Enter" nodes, and edges from "Exit" nodes with edges 399 // to/from the corresponding frame node. In essence, we collapse the loop 402 // * the body of the loop should now be disconnected from the rest of the 403 // graph; we make it acyclic by breaking loop backedges (edges outgoing from 406 // Map from frame name strings to node IDs in the cycle detection graph. 434 // Lift edges from an "Exit" node to the corresponding frame node 477 int from = worklist.front()->Get().representative; local [all...] |
/external/tensorflow/tensorflow/core/grappler/costs/ |
utils.cc | 394 const string from = "_from_"; local 396 const auto from_loc = device_name.find(from); 399 from_loc + from.size(), to_loc - (from_loc + from.size())); 424 // TODO(dyoon): Calculate tensor size from tensor_description's dtype
|
/external/tensorflow/tensorflow/python/lib/core/ |
bfloat16.cc | 95 // Constructs a PyBfloat16 object from a bfloat16. 451 // Performs a NumPy array cast from type 'From' to 'To'. 452 template <typename From, typename To> 455 const From* from = reinterpret_cast<From*>(from_void); local 458 to[i] = static_cast<To>(from[i]); 565 // We lie shamelessly and say that a cast from half to bfloat16 is safe.
|
/external/toybox/toys/net/ |
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);
|