Searched refs:canonical (Results 1 - 25 of 40) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/collect/
H A DInternersTest.java34 String canonical = "a";
38 assertSame(canonical, pool.intern(canonical));
39 assertSame(canonical, pool.intern(not));
51 String canonical = "a";
55 assertSame(canonical, pool.intern(canonical));
56 assertSame(canonical, pool.intern(not));
68 Integer canonical = new Integer(5);
72 assertSame(canonical, poo
[all...]
H A DRangeTest.java575 Ranges.closed(1, 4).canonical(integers()));
577 Ranges.open(0, 5).canonical(integers()));
579 Ranges.closedOpen(1, 5).canonical(integers()));
581 Ranges.openClosed(0, 4).canonical(integers()));
584 Ranges.closedOpen(Integer.MIN_VALUE, 0).canonical(integers()));
587 Ranges.lessThan(0).canonical(integers()));
589 Ranges.atMost(0).canonical(integers()));
590 assertEquals(Ranges.atLeast(0), Ranges.atLeast(0).canonical(integers()));
591 assertEquals(Ranges.atLeast(1), Ranges.greaterThan(0).canonical(integers()));
593 assertEquals(Ranges.atLeast(Integer.MIN_VALUE), Ranges.<Integer>all().canonical(integer
[all...]
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-main.c397 the platform-specific in-guest-state format to the canonical
401 void getSyscallArgsFromGuestState ( /*OUT*/SyscallArgs* canonical, argument
407 canonical->sysno = gst->guest_EAX;
408 canonical->arg1 = gst->guest_EBX;
409 canonical->arg2 = gst->guest_ECX;
410 canonical->arg3 = gst->guest_EDX;
411 canonical->arg4 = gst->guest_ESI;
412 canonical->arg5 = gst->guest_EDI;
413 canonical->arg6 = gst->guest_EBP;
414 canonical
601 putSyscallArgsIntoGuestState( SyscallArgs* canonical, VexGuestArchState* gst_vanilla ) argument
704 getSyscallStatusFromGuestState( SyscallStatus* canonical, VexGuestArchState* gst_vanilla ) argument
811 putSyscallStatusIntoGuestState( ThreadId tid, SyscallStatus* canonical, VexGuestArchState* gst_vanilla ) argument
1943 SyscallStatus canonical; local
[all...]
/external/libyuv/files/source/
H A Dvideo_common.cc22 uint32 canonical; member in struct:libyuv::FourCCAliasEntry
41 return kFourCCAliases[i].canonical;
/external/guava/guava/src/com/google/common/collect/
H A DInterners.java48 E canonical = map.putIfAbsent(checkNotNull(sample), sample);
49 return (canonical == null) ? sample : canonical;
67 // trying to read the canonical...
70 E canonical = entry.getKey();
71 if (canonical != null) { // only matters if weak/soft keys are used
72 return canonical;
H A DRange.java425 * Returns the canonical form of this range in the given domain. The canonical
429 * <li>equivalence: {@code a.canonical().contains(v) == a.contains(v)} for
431 * a.canonical(domain).asSet(domain).equals(a.asSet(domain))}
434 * {@code a.canonical(domain).equals(b.canonical(domain))}
436 * a.canonical(domain).canonical(domain).equals(a.canonical(domain))}
440 * of the following canonical form
449 public Range<C> canonical(DiscreteDomain<C> domain) { method in class:Range
[all...]
H A DCut.java59 * The canonical form is a BelowValue cut whenever possible, otherwise ABOVE_ALL, or
62 Cut<C> canonical(DiscreteDomain<C> domain) { method in class:Cut
153 @Override Cut<Comparable<?>> canonical( method in class:Cut.BelowAll
338 @Override Cut<C> canonical(DiscreteDomain<C> domain) { method in class:Cut.AboveValue
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
H A DFileLocator.java88 String canonical = file.getCanonicalPath();
90 if (!canonical.endsWith(absolute)){
92 "\"" + canonical + "\" doesn't match \"" + absolute + "\"");
95 throw new AssetLoadException("Failed to get file canonical path " + file, ex);
/external/apache-harmony/auth/src/test/java/common/tests/api/javax/security/auth/x500/
H A DX500PrincipalTest.java58 String canonical = principal.getName(X500Principal.CANONICAL);
61 canonical);
/external/emma/core/java12/com/vladium/util/
H A DIPathEnumerator.java68 public static IPathEnumerator create (final File [] path, final boolean canonical, final IPathHandler handler) argument
70 return new PathEnumerator (path, canonical, handler);
124 PathEnumerator (final File [] path, final boolean canonical, final IPathHandler handler) argument
129 m_canonical = canonical;
141 m_pathSet.add (path [p].getPath ()); // set of [possibly canonical] paths
H A DFiles.java76 * entries are removed. The definition of duplicates depends on 'canonical':
78 * <li> if 'canonical'=true, the pathnames are canonicalized via {@link #canonicalizePathname}
80 * <li> if 'canonical'=false, the pathnames are compared as case-sensitive strings
88 public static File [] pathToFiles (final String [] path, final boolean canonical) argument
108 if (canonical) pathname = canonicalizePathname (pathname);
124 * Converts 'pathname' into the canonical OS form. This wrapper function
/external/icu4c/test/intltest/
H A Dsrchtest.h49 USearchAttributeValue canonical,
H A Dtzfmttst.cpp175 UnicodeString canonical; local
176 TimeZone::getCanonicalID(*tzid, canonical, status);
181 } else if (outtzid != canonical) {
184 if (canonical.indexOf((UChar)0x27 /*'/'*/) == -1) {
H A Dtztest.cpp522 StringEnumeration *any, *canonical, *canonicalLoc; local
533 any = canonical = canonicalLoc = any_US = canonical_US = canonicalLoc_US = any_W5 = any_CA_W5 = any_US_E14 = NULL;
541 canonical = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, NULL, NULL, ec);
591 checkContainsAll(any, "ANY", canonical, "CANONICAL");
592 checkContainsAll(canonical, "CANONICAL", canonicalLoc, "CANONICALLOC");
595 checkContainsAll(canonical, "CANONICAL", canonical_US, "CANONICAL_US");
604 // And ID in any set, but not in canonical set must not be a canonical ID
608 canonical->reset(ec);
609 while ((id2 = canonical
[all...]
/external/srec/portable/src/
H A DPFileSystem.c158 LCHAR canonical[P_PATH_MAX]; local
167 LSTRCPY(canonical, path);
168 CHKLOG(rc, PFileSystemCanonicalSlashes(canonical));
170 *isAbsolute = (canonical[0] == '/' ||
171 (LISALPHA(canonical[0]) && canonical[1] == ':' && canonical[2] == '/'));
/external/regex-re2/re2/
H A Dprefilter_tree.cc195 Prefilter* canonical = CanonicalNode(node); local
196 if (canonical == NULL) {
198 // will find this node as the canonical node.
206 node->set_unique_id(canonical->unique_id());
250 Prefilter* canonical = CanonicalNode(child); local
251 if (canonical == NULL) {
252 LOG(DFATAL) << "Null canonical node";
255 int child_id = canonical->unique_id();
/external/emma/core/java12/com/vladium/emma/report/
H A DSourcePathCache.java171 final String canonical = canonicalizeExtension (extension);
176 m_extension = canonical;
/external/emma/core/java12/com/vladium/emma/instr/
H A DInstrProcessor.java53 * @param canonical
55 public synchronized final void setInstrPath (final String [] path, final boolean canonical) argument
60 m_instrPath = Files.pathToFiles (path, canonical);
62 m_canonical = canonical;
/external/chromium/googleurl/src/
H A Dgurl.cc48 // The input spec is given, and the canonical version will be placed in
49 // |*canonical|, along with the parsing of the canonical spec in |*parsed|.
52 std::string* canonical,
56 canonical->reserve(input_spec.size() + 32);
57 url_canon::StdStringCanonOutput output(canonical);
131 // For testing purposes, check that the parsed canonical URL is identical to
296 // We could optimize this since we know that the URL is canonical, and we are
297 // appending a canonical path, so avoiding re-parsing.
51 InitCanonical(const STR& input_spec, std::string* canonical, url_parse::Parsed* parsed) argument
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathProcessorST.java287 ClassPathProcessorST (final File [] path, final boolean canonical, argument
295 m_canonical = canonical;
H A DAppRunner.java112 * @param canonical
114 public synchronized void setCoveragePath (String [] path, final boolean canonical) argument
119 m_coveragePath = Files.pathToFiles (path, canonical);
121 m_canonical = canonical;
/external/icu4c/common/
H A Duloc_tag.c869 /* look up the canonical type */
1197 the canonical format is lowercase in BCP47 */
1915 /* Private use in the canonical format is lowercase in BCP47 */
2666 /* char canonical[ULOC_FULLNAME_CAPACITY]; */ /* See #6822 */
2667 char canonical[256]; local
2674 canonical[0] = 0;
2676 uloc_canonicalize(localeID, canonical, sizeof(canonical), &tmpStatus);
2684 pKeywordStart = locale_getKeywordsStart(canonical);
2685 if (pKeywordStart == canonical) {
[all...]
/external/icu4c/i18n/
H A Ducal.cpp553 UnicodeString canonical; local
555 TimeZone::getCanonicalID(UnicodeString(id, len), canonical, systemID, *status); local
560 reslen = canonical.extract(result, resultCapacity, *status);
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DTextFormatTest.java315 String canonical = "repeated_float: Infinity\n" +
329 assertEquals(canonical, builder.build().toString());
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/x500/
H A DX500PrincipalTest.java2249 String canonical = (String) obj[3];
2277 if (canonical != null) {
2278 if (!canonical.equals(p.getName(X500Principal.CANONICAL))) {
2283 errorMsg.append("\t\texpected: " + canonical + "'");
2678 String canonical = (String) values[3];
2703 if (!canonical.equals(p.getName(X500Principal.CANONICAL))) {
2706 errorMsg.append("\t\texpected: " + canonical + "'");
2739 String canonical) {
2740 add(param, rfc2253, rfc1779, canonical, null);
2756 String canonical, byt
2738 add(String param, String rfc2253, String rfc1779, String canonical) argument
2755 add(String param, String rfc2253, String rfc1779, String canonical, byte[] encoded) argument
2761 add(String param, String rfc2253, String rfc1779, String canonical, byte[] encoded, byte mask) argument
2773 add(byte[] encoding, String rfc2253, String rfc1779, String canonical) argument
2778 add(byte[] encoding, String rfc2253, String rfc1779, String canonical, byte mask) argument
[all...]

Completed in 502 milliseconds

12