/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/ |
UtilTest.java | 21 import java.util.Locale; 22 import java.util.Map; 25 * Tests for util functions. 31 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")) [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
activity_log_policy_unittest.cc | 32 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()));
|
activity_log_policy.cc | 74 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/ |
RegionData.java | 39 Util.checkNotNull(data); 93 Util.checkNotNull(key, "Key should not be null."); 103 mData.mName = Util.trimToNull(name);
|
FormatInterpreter.java | 25 import java.util.ArrayList; 26 import java.util.Collections; 27 import java.util.Comparator; 28 import java.util.HashMap; 29 import java.util.List; 30 import java.util.Map; 47 Util.checkNotNull(RegionDataConstants.getCountryFormatMap(), 49 Util.checkNotNull(options); 52 Util.checkNotNull(mDefaultFormat, "null default format not allowed"); 62 Util.checkNotNull(scriptType) [all...] |
FormController.java | 22 import java.util.ArrayList; 23 import java.util.LinkedList; 24 import java.util.List; 25 import java.util.Queue; 58 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") [all...] |
AddressVerificationNodeData.java | 19 import java.util.Iterator; 20 import java.util.Map; 34 Util.checkNotNull("Cannot construct StandardNodeData with null map");
|
/external/okhttp/okio/src/main/java/okio/ |
Util.java | 20 final class Util { 24 private Util() { 64 Util.<Error>sneakyThrow2(t);
|
/external/openfst/src/include/fst/ |
equivalent.h | 175 typedef EquivalenceUtil<Arc> Util; 176 typedef typename Util::MappedId MappedId; 177 enum { FST1 = 1, FST2 = 2 }; // Required by Util::MapState(...) 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) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Protocol.java | 18 import com.squareup.okhttp.internal.Util; 20 import java.util.Arrays; 21 import java.util.List; 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));
|
Handshake.java | 19 import com.squareup.okhttp.internal.Util; 23 import java.util.Collections; 24 import java.util.List; 58 ? Util.immutableList(peerCertificates) 63 ? Util.immutableList(localCertificates) 72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), 73 Util.immutableList(localCertificates));
|
Dispatcher.java | 18 import com.squareup.okhttp.internal.Util; 19 import java.util.ArrayDeque; 20 import java.util.Deque; 21 import java.util.Iterator; 22 import java.util.concurrent.ExecutorService; 23 import java.util.concurrent.LinkedBlockingQueue; 24 import java.util.concurrent.ThreadPoolExecutor; 25 import java.util.concurrent.TimeUnit; 57 new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp Dispatcher", false)); 122 if (Util.equal(tag, i.next().tag())) i.remove() [all...] |
ConnectionPool.java | 20 import com.squareup.okhttp.internal.Util; 22 import java.util.ArrayList; 23 import java.util.LinkedList; 24 import java.util.List; 25 import java.util.ListIterator; 26 import java.util.concurrent.ExecutorService; 27 import java.util.concurrent.LinkedBlockingQueue; 28 import java.util.concurrent.ThreadPoolExecutor; 29 import java.util.concurrent.TimeUnit; 84 Util.threadFactory("OkHttp ConnectionPool", true)) [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
SafeKeyGenerator.java | 4 import com.bumptech.glide.util.LruCache; 5 import com.bumptech.glide.util.Util; 23 safeKey = Util.sha256BytesToHex(messageDigest.digest());
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
BitmapDrawableResource.java | 6 import com.bumptech.glide.util.Util; 24 return Util.getSize(drawable.getBitmap());
|
BitmapResource.java | 6 import com.bumptech.glide.util.Util; 24 return Util.getSize(bitmap);
|
/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/ |
ConfigResultsElement.java | 13 import java.util.ArrayList; 14 import java.util.List; 15 import java.util.Vector; 19 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])) [all...] |
PerformanceResultsElement.java | 19 import java.util.Arrays; 23 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) [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
Util.pm | 1 package Perf::Trace::Util; 68 Perf::Trace::Util - Perl extension for perf script 72 use Perf::Trace::Util;
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/ |
failed-syscalls.pl | 8 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
PBESecretKeyFactory.java | 1 package org.bouncycastle.jcajce.provider.symmetric.util; 56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); 60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize);
|
/external/chromium_org/third_party/cython/src/Tools/site_scons/site_tools/ |
pyext.py | 121 env['PYEXTCPPPATH'] = SCons.Util.CLVar('$PYEXTINCPATH') 128 env['PYEXTRUNTIME'] = SCons.Util.CLVar("") 137 env['PYEXTLINKFLAGSEND'] = SCons.Util.CLVar('$LINKFLAGSEND') 161 SCons.Util.CLVar('$ALLOW_UNDEFINED')) 162 ifnotset(env, 'PYEXTLINKFLAGS', SCons.Util.CLVar('$LDMODULEFLAGS'))
|
/external/chromium_org/third_party/mesa/src/scons/ |
crossmingw.py | 42 import SCons.Util 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.CLVar('$CXXFLAGS' [all...] |
/external/mesa3d/scons/ |
crossmingw.py | 42 import SCons.Util 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.CLVar('$CXXFLAGS' [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockResponse.java | 18 import com.squareup.okhttp.internal.Util; 24 import java.util.ArrayList; 25 import java.util.Iterator; 26 import java.util.List; 27 import java.util.concurrent.TimeUnit; 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. 254 * When {@link MockWebServer#setNpnProtocols(java.util.List) protocols [all...] |