Searched refs:Util (Results 1 - 25 of 194) sorted by relevance

12345678

/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
H A DUtilTest.java31 assertTrue(Util.isExplicitLatinScript("zh-Latn"));
32 assertTrue(Util.isExplicitLatinScript("ja_LATN"));
33 assertTrue(Util.isExplicitLatinScript("und_LATN"));
34 assertTrue(Util.isExplicitLatinScript("ja_LATN-JP"));
35 assertTrue(Util.isExplicitLatinScript("ko-latn_JP"));
39 assertFalse(Util.isExplicitLatinScript("ko"));
40 assertFalse(Util.isExplicitLatinScript("KO"));
41 assertFalse(Util.isExplicitLatinScript("ja"));
42 assertFalse(Util.isExplicitLatinScript("ja-JP"));
43 assertFalse(Util
[all...]
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dactivity_log_policy_unittest.cc32 ActivityLogPolicy::Util::StripPrivacySensitiveFields(action);
53 ActivityLogPolicy::Util::StripPrivacySensitiveFields(action);
57 ActivityLogPolicy::Util::Serialize(action->other()));
62 ActivityLogPolicy::Util::ApiSet whitelist;
73 ActivityLogPolicy::Util::StripArguments(whitelist, action);
74 ASSERT_EQ("[\"woof\"]", ActivityLogPolicy::Util::Serialize(action->args()));
80 ActivityLogPolicy::Util::StripArguments(whitelist, action);
81 ASSERT_EQ("", ActivityLogPolicy::Util::Serialize(action->args()));
H A Dactivity_log_policy.cc74 std::string ActivityLogPolicy::Util::Serialize(const base::Value* value) {
86 void ActivityLogPolicy::Util::StripPrivacySensitiveFields(
129 void ActivityLogPolicy::Util::StripArguments(const ApiSet& api_whitelist,
139 base::Time ActivityLogPolicy::Util::AddDays(const base::Time& base_date,
148 void ActivityLogPolicy::Util::ComputeDatabaseTimeBounds(const base::Time& now,
157 base::Time early_time = Util::AddDays(morning_midnight, -days_ago);
158 base::Time late_time = Util::AddDays(early_time, 1);
165 bool ActivityLogPolicy::Util::DropObsoleteTables(sql::Connection* db) {
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
H A DRegionData.java39 Util.checkNotNull(data);
93 Util.checkNotNull(key, "Key should not be null.");
103 mData.mName = Util.trimToNull(name);
H A DFormatInterpreter.java47 Util.checkNotNull(RegionDataConstants.getCountryFormatMap(),
49 Util.checkNotNull(options);
52 Util.checkNotNull(mDefaultFormat, "null default format not allowed");
62 Util.checkNotNull(scriptType);
63 Util.checkNotNull(regionCode);
95 Util.checkNotNull(regionCode);
147 Util.checkNotNull(address, "null input address not allowed");
153 scriptType = Util.isExplicitLatinScript(lc) ? ScriptType.LATIN : ScriptType.LOCAL;
168 Util.checkNotNull(field, "null address field for character " + c);
173 value = Util
[all...]
H A DFormController.java58 Util.checkNotNull(integratedData, "null data not allowed");
67 Util.checkNotNull(defaultCountryData,
81 if (mLanguageCode != null && Util.isExplicitLatinScript(mLanguageCode)) {
109 Util.checkNotNull(address.getPostalCountry(), "null country not allowed");
133 Util.checkNotNull(key, "Null key not allowed");
134 Util.checkNotNull(subkeys, "Null subkeys not allowed");
174 (mLanguageCode == null) ? null : Util.getLanguageSubtag(mLanguageCode);
200 if (Util.trimToNull(defaultLanguage) != null &&
201 !Util.getLanguageSubtag(languageCode).equals(Util
[all...]
H A DAddressVerificationNodeData.java34 Util.checkNotNull("Cannot construct StandardNodeData with null map");
/external/chromium_org/third_party/mesa/src/scons/
H A Dcrossmingw.py42 import SCons.Util namespace
45 prefixes32 = SCons.Util.Split("""
59 prefixes64 = SCons.Util.Split("""
73 if env.WhereIs(prefix + 'gcc') or SCons.Util.WhereIs(prefix + 'gcc'):
79 cmd = SCons.Util.CLVar(['$SHLINK', '$SHLINKFLAGS'])
151 env2['CCFLAGS'] = SCons.Util.CLVar(flags)
171 dir = os.path.dirname(env.WhereIs(mingw_prefix + 'gcc') or SCons.Util.WhereIs(mingw_prefix + 'gcc'))
177 if SCons.Util.is_String(path):
189 env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS')
191 env['SHCXXFLAGS'] = SCons.Util
[all...]
/external/mesa3d/scons/
H A Dcrossmingw.py42 import SCons.Util namespace
45 prefixes32 = SCons.Util.Split("""
59 prefixes64 = SCons.Util.Split("""
73 if env.WhereIs(prefix + 'gcc') or SCons.Util.WhereIs(prefix + 'gcc'):
79 cmd = SCons.Util.CLVar(['$SHLINK', '$SHLINKFLAGS'])
151 env2['CCFLAGS'] = SCons.Util.CLVar(flags)
171 dir = os.path.dirname(env.WhereIs(mingw_prefix + 'gcc') or SCons.Util.WhereIs(mingw_prefix + 'gcc'))
177 if SCons.Util.is_String(path):
189 env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS')
191 env['SHCXXFLAGS'] = SCons.Util
[all...]
/external/okhttp/okio/src/main/java/okio/
H A DUtil.java20 final class Util { class
24 private Util() { method in class:Util
64 Util.<Error>sneakyThrow2(t);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dequivalent.h141 typedef EquivalenceUtil<Arc> Util; typedef
142 typedef typename Util::MappedId MappedId;
143 enum { FST1 = 1, FST2 = 2 }; // Required by Util::MapState(...)
145 MappedId s1 = Util::MapState(fst1.Start(), FST1);
146 MappedId s2 = Util::MapState(fst2.Start(), FST2);
149 UnionFind<MappedId> eq_classes(1000, Util::kInvalidId);
156 if (Util::IsFinal(fst1, s1) != Util::IsFinal(fst2, s2)) {
181 MappedId rep1 = Util::FindSet(&eq_classes, s1);
182 MappedId rep2 = Util
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DProtocol.java18 import com.squareup.okhttp.internal.Util;
42 Util.immutableList(Arrays.asList(HTTP_2, SPDY_3, HTTP_11));
44 Util.immutableList(Arrays.asList(SPDY_3, HTTP_11));
46 Util.immutableList(Arrays.asList(HTTP_2, HTTP_11));
H A DHandshake.java19 import com.squareup.okhttp.internal.Util;
58 ? Util.immutableList(peerCertificates)
63 ? Util.immutableList(localCertificates)
72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates),
73 Util.immutableList(localCertificates));
H A DDispatcher.java18 import com.squareup.okhttp.internal.Util;
57 new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp Dispatcher", false));
122 if (Util.equal(tag, i.next().tag())) i.remove();
126 if (Util.equal(tag, job.tag())) job.canceled = true;
H A DConnectionPool.java20 import com.squareup.okhttp.internal.Util;
84 Util.threadFactory("OkHttp ConnectionPool", true));
113 Util.closeQuietly(expiredConnection);
192 Util.closeQuietly(connection);
226 Util.closeQuietly(connection);
235 Util.closeQuietly(connection);
271 Util.closeQuietly(connections.get(i));
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DSafeKeyGenerator.java5 import com.bumptech.glide.util.Util;
23 safeKey = Util.sha256BytesToHex(messageDigest.digest());
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapDrawableResource.java6 import com.bumptech.glide.util.Util;
24 return Util.getSize(drawable.getBitmap());
H A DBitmapResource.java6 import com.bumptech.glide.util.Util;
24 return Util.getSize(bitmap);
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/
H A Dfailed-syscalls.pl8 use lib "$ENV{'PERF_EXEC_PATH'}/scripts/perl/Perf-Trace-Util/lib";
9 use lib "./Perf-Trace-Util/lib";
12 use Perf::Trace::Util;
/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/
H A DConfigResultsElement.java19 import org.eclipse.test.internal.performance.results.utils.Util;
263 this.statistics = getConfigResults().getStatistics(Util.BASELINE_BUILD_PREFIXES);
295 excluded.append(Util.LINE_SEPARATOR);
310 excluded.append(Util.LINE_SEPARATOR);
334 localBuffer.append(Util.PERCENTAGE_FORMAT.format(delta));
336 localBuffer.append(Util.PERCENTAGE_FORMAT.format(error));
342 localBuffer.append(Util.DOUBLE_FORMAT.format(stats[1]));
344 localBuffer.append(Util.DOUBLE_FORMAT.format(stats[2]));
346 localBuffer.append(Util.PERCENTAGE_FORMAT.format(stats[3]));
379 excluded.append(Util
[all...]
H A DPerformanceResultsElement.java23 import org.eclipse.test.internal.performance.results.utils.Util;
150 if (Arrays.binarySearch(builds, buildResultsElement.getName(), Util.BUILD_DATE_COMPARATOR) < 0) {
227 buffer.append(Util.LINE_SEPARATOR);
231 buffer.append(Util.LINE_SEPARATOR);
252 buffer.append(Util.LINE_SEPARATOR);
268 buffer.append(Util.LINE_SEPARATOR);
281 buffer.append(Util.LINE_SEPARATOR);
286 buffer.append(Util.LINE_SEPARATOR);
297 buffer.append(Util.LINE_SEPARATOR);
308 buffer.append(Util
[all...]
H A DBuildResultsElement.java20 import org.eclipse.test.internal.performance.results.utils.Util;
154 String buildDate = Util.getBuildDate(element.name);
155 return Util.getBuildDate(this.name).compareTo(buildDate);
248 double ttestValue = Util.computeTTest(baselineResults, buildResults);
290 this.statistics = ((ConfigResults)getBuildResults().getParent()).getStatistics(Util.BASELINE_BUILD_PREFIXES);
309 this.milestone = Util.isMilestone(getName());
310 this.important = this.milestone || Util.getNextMilestone(this.name) == null;
367 return Util.getBuildDate(this.name).compareTo(Util.getBuildDate(build)) <= 0;
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.pm1 package Perf::Trace::Util;
68 Perf::Trace::Util - Perl extension for perf script
72 use Perf::Trace::Util;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DPBESecretKeyFactory.java56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize);
60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DMockResponse.java18 import com.squareup.okhttp.internal.Util;
180 bytesOut.write(Integer.toHexString(chunkSize).getBytes(Util.US_ASCII));
181 bytesOut.write("\r\n".getBytes(Util.US_ASCII));
183 bytesOut.write("\r\n".getBytes(Util.US_ASCII));
186 bytesOut.write("0\r\n\r\n".getBytes(Util.US_ASCII)); // Last chunk + empty trailer + crlf.

Completed in 1185 milliseconds

12345678