Home
last modified time | relevance | path

Searched refs:Util (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dequivalent.h142 typedef EquivalenceUtil<Arc> Util; in Equivalent() typedef
143 typedef typename Util::MappedId MappedId; in Equivalent()
146 MappedId s1 = Util::MapState(fst1.Start(), FST1); in Equivalent()
147 MappedId s2 = Util::MapState(fst2.Start(), FST2); in Equivalent()
150 UnionFind<MappedId> eq_classes(1000, Util::kInvalidId); in Equivalent()
157 if (Util::IsFinal(fst1, s1) != Util::IsFinal(fst2, s2)) { in Equivalent()
182 MappedId rep1 = Util::FindSet(&eq_classes, s1); in Equivalent()
183 MappedId rep2 = Util::FindSet(&eq_classes, s2); in Equivalent()
190 if (Util::kDeadState != s1) { in Equivalent()
191 ArcIterator<Fst<Arc> > arc_iter(fst1, Util::UnMapState(s1)); in Equivalent()
[all …]
/external/openfst/src/include/fst/
Dequivalent.h175 typedef EquivalenceUtil<Arc> Util; typedef
176 typedef typename Util::MappedId MappedId;
179 MappedId s1 = Util::MapState(fst1.Start(), FST1);
180 MappedId s2 = Util::MapState(fst2.Start(), FST2);
183 UnionFind<MappedId> eq_classes(1000, Util::kInvalidId);
204 if (Util::IsFinal(fst1, s1) != Util::IsFinal(fst2, s2)) {
217 MappedId rep1 = Util::FindSet(&eq_classes, s1);
218 MappedId rep2 = Util::FindSet(&eq_classes, s2);
225 if (Util::kDeadState != s1) {
226 ArcIterator<Fst<Arc> > arc_iter(fst1, Util::UnMapState(s1));
[all …]
/external/apache-harmony/archive/src/test/java-internal/org/apache/harmony/archive/util/
DUtilTest.java49 assertTrue(Util.asciiEndsWithIgnoreCase(s1, s2)); in testasciiEndsWithIgnoreCase()
50 assertTrue(Util.asciiEndsWithIgnoreCase(s2, s1)); in testasciiEndsWithIgnoreCase()
51 assertTrue(Util.asciiEndsWithIgnoreCase(s1, "wxyz")); in testasciiEndsWithIgnoreCase()
57 assertTrue(Util.asciiEqualsIgnoreCase(s1, s2)); in testasciiEqualsIgnoreCase()
58 assertTrue(Util.asciiEqualsIgnoreCase(s2, s1)); in testasciiEqualsIgnoreCase()
62 assertTrue(Util.asciiEqualsIgnoreCase(ASCII_ALPHABET_LC_BYTES, in testEqualsIgnoreCaseByteArrayByteArray()
64 assertTrue(Util.asciiEqualsIgnoreCase(ASCII_ALPHABET_LC_BYTES, in testEqualsIgnoreCaseByteArrayByteArray()
66 assertTrue(Util.asciiEqualsIgnoreCase(ASCII_ALPHABET_UC_BYTES, in testEqualsIgnoreCaseByteArrayByteArray()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
DConfigResultsElement.java19 import org.eclipse.test.internal.performance.results.utils.Util;
263 this.statistics = getConfigResults().getStatistics(Util.BASELINE_BUILD_PREFIXES); in getStatistics()
295 excluded.append(Util.LINE_SEPARATOR); in writableStatus()
310 excluded.append(Util.LINE_SEPARATOR); in writableStatus()
334 localBuffer.append(Util.PERCENTAGE_FORMAT.format(delta)); in writableStatus()
336 localBuffer.append(Util.PERCENTAGE_FORMAT.format(error)); in writableStatus()
342 localBuffer.append(Util.DOUBLE_FORMAT.format(stats[1])); in writableStatus()
344 localBuffer.append(Util.DOUBLE_FORMAT.format(stats[2])); in writableStatus()
346 localBuffer.append(Util.PERCENTAGE_FORMAT.format(stats[3])); in writableStatus()
379 excluded.append(Util.LINE_SEPARATOR); in writableStatus()
[all …]
DPerformanceResultsElement.java23 import org.eclipse.test.internal.performance.results.utils.Util;
150 if (Arrays.binarySearch(builds, buildResultsElement.getName(), Util.BUILD_DATE_COMPARATOR) < 0) { in hasRead()
227 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
231 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
252 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
268 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
281 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
286 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
297 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
308 buffer.append(Util.LINE_SEPARATOR); in writeStatus()
DBuildResultsElement.java20 import org.eclipse.test.internal.performance.results.utils.Util;
154 String buildDate = Util.getBuildDate(element.name); in compareTo()
155 return Util.getBuildDate(this.name).compareTo(buildDate); in compareTo()
248 double ttestValue = Util.computeTTest(baselineResults, buildResults); in getPropertyValue()
290 …this.statistics = ((ConfigResults)getBuildResults().getParent()).getStatistics(Util.BASELINE_BUILD… in getStatistics()
309 this.milestone = Util.isMilestone(getName()); in initInfo()
310 this.important = this.milestone || Util.getNextMilestone(this.name) == null; in initInfo()
367 return Util.getBuildDate(this.name).compareTo(Util.getBuildDate(build)) <= 0; in isBefore()
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
DCanHandleRequest.cpp58 …WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("CanHandleReq… in TEST()
61 _WKContextRegisterURLSchemeAsEmptyDocument(context.get(), Util::toWK("emptyscheme").get()); in TEST()
65 WKPageLoadURL(webView.page(), adoptWK(Util::createURLForResource("simple", "html")).get()); in TEST()
67 … WKContextPostMessageToInjectedBundle(context.get(), Util::toWK("CheckCanHandleRequest").get(), 0); in TEST()
68 Util::run(&didReceiveMessage); in TEST()
DResponsivenessTimerDoesntFireEarly.cpp78 …WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("Responsivene… in TEST()
84 WKPageLoadURL(webView.page(), adoptWK(Util::createURLForResource("simple", "html")).get()); in TEST()
85 Util::run(&didFinishLoad); in TEST()
87 WKContextPostMessageToInjectedBundle(context.get(), Util::toWK("BrieflyPause").get(), 0); in TEST()
94 Util::run(&didBrieflyPause); in TEST()
DRestoreSessionStateContainingFormData.cpp56 WKPageLoadURL(webView.page(), adoptWK(Util::createURLForResource("simple-form", "html")).get()); in createSessionStateContainingFormData()
57 Util::run(&didFinishLoad); in createSessionStateContainingFormData()
61 Util::run(&didFinishLoad); in createSessionStateContainingFormData()
81 Util::run(&didFinishLoad); in TEST()
DHitTestResultNodeHandle.cpp73 …WKRetainPtr<WKContextRef> context(AdoptWK, Util::createContextForInjectedBundleTest("HitTestResult… in TEST()
80 WKPageLoadURL(webView.page(), adoptWK(Util::createURLForResource("simple", "html")).get()); in TEST()
81 Util::run(&didFinishLoad); in TEST()
85 Util::run(&done); in TEST()
DPageLoadDidChangeLocationWithinPageForFrame.cpp71 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("file-with-anchor", "html")); in TEST()
73 Util::run(&didFinishLoad); in TEST()
77 …WKPageRunJavaScriptInMainFrame(webView.page(), Util::toWK("clickLink()").get(), 0, nullJavaScriptC… in TEST()
78 Util::run(&didChangeLocationWithinPage); in TEST()
DForceRepaint.cpp62 …WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple-accelerated-compositing", "h… in TEST()
65 Util::run(&test1Done); in TEST()
66 Util::run(&test2Done); in TEST()
DDocumentStartUserScriptAlertCrash.cpp50 …WKRetainPtr<WKContextRef> context(AdoptWK, Util::createContextForInjectedBundleTest("DocumentStart… in TEST()
60 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
63 Util::run(&done); in TEST()
DInjectedBundleBasic.cpp55 …WKRetainPtr<WKContextRef> context(AdoptWK, Util::createContextForInjectedBundleTest("InjectedBundl… in TEST()
73 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
76 Util::run(&done); in TEST()
DFind.cpp70 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("find", "html")); in TEST()
73 Util::run(&didFinishLoad); in TEST()
78 Util::run(&didCallCountStringMatches); in TEST()
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/win/
DHideFindIndicator.cpp66 WKRetainPtr<WKURLRef> url = adoptWK(Util::createURLForResource("find", "html")); in TEST()
68 Util::run(&didFinishLoad); in TEST()
71 … WKPageFindString(webView.page(), Util::toWK("Hello").get(), kWKFindOptionsShowFindIndicator, 100); in TEST()
72 Util::run(&findIndicatorCallbackWasCalled); in TEST()
80 Util::run(&findIndicatorCallbackWasCalled); in TEST()
/external/llvm/utils/lit/lit/
DLitConfig.py18 import Util as util
73 import os, Util
78 self.bashPath = Util.which('bash', os.pathsep.join(self.path))
93 import os, Util
95 if not Util.checkToolsPath(dir, tools):
98 dir = Util.whichTools(tools, paths)
101 self.bashPath = Util.which('bash', dir)
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/
DStringEncodedValue.java33 import org.jf.dexlib.Util.AnnotatedOutput;
34 import org.jf.dexlib.Util.EncodedValueUtils;
35 import org.jf.dexlib.Util.Input;
36 import org.jf.dexlib.Util.Utf8Utils;
DByteEncodedValue.java31 import org.jf.dexlib.Util.AnnotatedOutput;
32 import org.jf.dexlib.Util.EncodedValueUtils;
33 import org.jf.dexlib.Util.Input;
DCharEncodedValue.java31 import org.jf.dexlib.Util.AnnotatedOutput;
32 import org.jf.dexlib.Util.EncodedValueUtils;
33 import org.jf.dexlib.Util.Input;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
DPerformanceResults.java28 import org.eclipse.test.internal.performance.results.utils.Util;
71 buffer.append(Util.timeChrono(elapsed)); in display()
75 buffer.append(Util.timeChrono(remainingTime)); in display()
77 buffer.append(Util.timeEnd(remainingTime)); in display()
146 return Util.getBuildDate(getName(), getBaselinePrefix()); in getBuildDate()
492 buildMissing = Arrays.binarySearch(names, buildName, Util.BUILD_DATE_COMPARATOR) < 0; in readAll()
498 Arrays.sort(builds, Util.BUILD_DATE_COMPARATOR); in readAll()
500 if (Arrays.binarySearch(names, builds[i], Util.BUILD_DATE_COMPARATOR) >= 0) { in readAll()
544 …this.needToUpdateLocalFile = this.name == null || Util.getBuildDate(this.name).compareTo(Util.getB… in readLocalFile()
545 if (this.name != null && Util.getBuildDate(this.name).compareTo(Util.getBuildDate(str)) >= 0) { in readLocalFile()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
DUtil.java40 public final class Util implements IPerformancesConstants { class
250 Util.DATE_FORMAT.parse(substring); in getBuildDate()
498 } else if (time < Util.ONE_MINUTE) { // less than 1mn in timeString()
505 } else if (time < Util.ONE_HOUR) { // less than 1h in timeString()
506 buffer.append(time/Util.ONE_MINUTE).append("mn "); //$NON-NLS-1$ in timeString()
507 long seconds = time%Util.ONE_MINUTE; in timeString()
511 long h = time / Util.ONE_HOUR; in timeString()
513 long m = (time % Util.ONE_HOUR) / Util.ONE_MINUTE; in timeString()
515 long seconds = m%Util.ONE_MINUTE; in timeString()
522 private Util() { in Util() method in Util
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DItem.java32 import org.jf.dexlib.Util.AlignmentUtils;
33 import org.jf.dexlib.Util.AnnotatedOutput;
34 import org.jf.dexlib.Util.ExceptionWithContext;
35 import org.jf.dexlib.Util.Input;
DStringDataItem.java31 import org.jf.dexlib.Util.AnnotatedOutput;
32 import org.jf.dexlib.Util.Input;
33 import org.jf.dexlib.Util.Leb128Utils;
34 import org.jf.dexlib.Util.Utf8Utils;
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java27 import com.squareup.okhttp.internal.Util;
49 import static com.squareup.okhttp.internal.Util.EMPTY_BYTE_ARRAY;
50 import static com.squareup.okhttp.internal.Util.getDefaultPort;
51 import static com.squareup.okhttp.internal.Util.getEffectivePort;
189 Util.closeQuietly(cachedResponseBody); in sendRequest()
226 Util.closeQuietly(cachedResponseBody); in initResponseSource()
240 Util.closeQuietly(cachedResponseBody); in initResponseSource()
424 Util.closeQuietly(responseBodyIn); in release()
432 Util.closeQuietly(connection); in release()
643 Util.closeQuietly(cachedResponseBody); in readResponse()

12345678910>>...12