/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
MissingClassesTest.java | 27 String prefix = MissingClassesTest.class.getName(); local 29 .withPrivateCopy(prefix + "$Loadable") 30 .without(prefix + "$Unloadable") 32 loadableClass = cl.loadClass(prefix + "$Loadable");
|
/libcore/ojluni/src/main/java/java/time/ |
ZoneId.java | 122 * The next type of ID are offset-style IDs with some form of prefix, 332 * a two or three letter prefix and a suffix starting with the sign. 334 * The result will be a {@code ZoneId} with the specified UTC/GMT/UT prefix 360 * If the prefix is "GMT", "UTC", or "UT" a {@code ZoneId} 361 * with the prefix and the non-zero offset is returned. 362 * If the prefix is empty {@code ""} the {@code ZoneOffset} is returned. 364 * @param prefix the time-zone ID, not null 367 * @throws IllegalArgumentException if the prefix is not one of 370 public static ZoneId ofOffset(String prefix, ZoneOffset offset) { 371 Objects.requireNonNull(prefix, "prefix") 418 String prefix = zoneId.substring(0, prefixLength); local [all...] |
/libcore/ojluni/src/main/java/java/util/ |
StringJoiner.java | 29 * by a delimiter and optionally starting with a supplied prefix 33 * {@code sj.toString()} method will, by default, return {@code prefix + suffix}. 37 * <code>"{}"</code>, where the {@code prefix} is <code>"{"</code>, the 66 private final String prefix; field in class:StringJoiner 72 * prefix, the added element separated by the delimiter, but without the 79 * By default, the string consisting of prefix+suffix, returned by 88 * {@code prefix} or {@code suffix}, and a copy of the supplied 92 * {@code prefix} or {@code suffix} (or properties thereof) in the result, 105 * of the supplied {@code prefix}, {@code delimiter} and {@code suffix}. 108 * {@code prefix + suffix} (or properties thereof) in the result, unles [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
TextHighlighterTest.java | 50 final String prefix = "TE"; local 52 CharSequence seq = mTextHighlighter.applyPrefixHighlight("test", prefix); 55 seq = mTextHighlighter.applyPrefixHighlight("Test", prefix); 58 seq = mTextHighlighter.applyPrefixHighlight("TEst", prefix); 61 seq = mTextHighlighter.applyPrefixHighlight("a test", prefix); 77 final String prefix = "TE"; local 78 CharSequence seq = mTextHighlighter.applyPrefixHighlight("atest", prefix); 81 seq = mTextHighlighter.applyPrefixHighlight("atest otest", prefix); 84 seq = mTextHighlighter.applyPrefixHighlight("atest test", prefix);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
CacheManager.java | 76 String prefix = cacheDir.getAbsolutePath() + "/"; local 78 BlobCache.deleteFiles(prefix + "imgcache"); 79 BlobCache.deleteFiles(prefix + "rev_geocoding"); 80 BlobCache.deleteFiles(prefix + "bookmark");
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
DeferredFileOutputStream.java | 72 * The temporary file prefix. 74 private String prefix; field in class:DeferredFileOutputStream 117 * @param prefix Prefix to use for the temporary file. 123 public DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) 126 if (prefix == null) { 127 throw new IllegalArgumentException("Temporary file prefix is missing"); 129 this.prefix = prefix; 162 if (prefix != null) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
NameDistance.java | 53 * Constructor for a matcher that only checks if one string is the exact prefix of the other 77 boolean prefix = true; 80 prefix = false; 84 if (prefix) { 159 int prefix = 0; local 164 prefix++; 167 return jaro + Math.min(0.1f, 1f / length2) * prefix * (1 - jaro);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_ulog.h | 18 char prefix[EBT_ULOG_PREFIX_LEN]; member in struct:ebt_ulog_info 27 char prefix[EBT_ULOG_PREFIX_LEN]; member in struct:ebt_ulog_packet_msg
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_ULOG.h | 31 char prefix[ULOG_PREFIX_LEN]; member in struct:ipt_ulog_info 43 char prefix[ULOG_PREFIX_LEN]; member in struct:ulog_packet_msg
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/ |
string.go | 55 type prefix struct { type 56 prefix string 59 func (p *prefix) slice_ssa() { 60 p.prefix = p.prefix[:3] 65 p := &prefix{"prefix"} 67 if "pre" != p.prefix { 68 println("wrong field slice: wanted %s got %s", "pre", p.prefix)
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/ |
string.go | 55 type prefix struct { type 56 prefix string 59 func (p *prefix) slice_ssa() { 60 p.prefix = p.prefix[:3] 65 p := &prefix{"prefix"} 67 if "pre" != p.prefix { 68 println("wrong field slice: wanted %s got %s", "pre", p.prefix)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
AddPrefixFix.java | 51 String prefix = XmlUtils.lookupNamespacePrefix(node, ANDROID_URI); local 53 document.replace(start, 0, prefix + ':'); 61 return "Add in an Android namespace prefix";
|
/system/core/adb/ |
adb_client.cpp | 315 const char* prefix = "host"; local 317 prefix = "host-usb"; 319 prefix = "host-local"; 321 return android::base::StringPrintf("%s:%s", prefix, command);
|
socket_spec.cpp | 120 std::string prefix = it.first + ":"; local 121 if (StartsWith(spec, prefix)) { 130 std::string prefix = it.first + ":"; local 131 if (StartsWith(spec, prefix)) { 172 std::string prefix = it.first + ":"; local 173 if (StartsWith(spec, prefix)) { 180 return network_local_client(&spec[prefix.length()], it.second.socket_namespace, 215 std::string prefix = it.first + ":"; local 216 if (StartsWith(spec, prefix)) { 223 return network_local_server(&spec[prefix.length()], it.second.socket_namespace [all...] |
/system/core/demangle/ |
Demangler.h | 77 prefix.clear(); 84 std::string prefix; member in struct:Demangler::StateData
|
/system/core/libcutils/tests/ |
fs_config.cpp | 41 const char* prefix; member in struct:fs_config_cmp_test 66 const std::string& prefix) { 69 std::string alternate = "system/" + prefix; 84 if (android::base::StartsWith(path, prefix)) { 86 path = alternate + path.substr(prefix.size()); 102 path = prefix + path.substr(alternate.size()); 117 const std::string& prefix) { 124 for (size_t idx = 0; paths[idx].prefix; ++idx) { 126 GTEST_LOG_(WARNING) << config << ": has no end (missing null prefix)"; 130 paths_tmp.push_back(paths[idx].prefix); [all...] |
/system/media/audio_utils/include/audio_utils/ |
ErrorLog.h | 92 * \param prefix the prefix to use for each line 98 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 109 ss << prefix << "Errors: " << mErrors << "\n"; 127 ss << prefix << " Code Freq First time Last time\n"; local 132 ss << prefix << std::setw(5) << entry.mCode 144 * \param prefix the prefix to use for each line 151 status_t dump(int fd, const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 154 const std::string s = dumpToString(prefix, lines, limitNs) [all...] |
/system/netd/server/ |
WakeupController.h | 35 std::string prefix; member in struct:android::net::WakeupController::ReportArgs 66 // be delivered along with the arbitrary string |prefix| to 68 netdutils::Status addInterface(const std::string& ifName, const std::string& prefix, 72 // |ifName|, |prefix|, |mark| and |mask| must match precisely. 73 netdutils::Status delInterface(const std::string& ifName, const std::string& prefix, 78 const std::string& prefix, uint32_t mark, uint32_t mask);
|
/test/vts/compilation_tools/vtsc/code_gen/fuzzer/ |
HalHidlFuzzerCodeGen.cpp | 98 string prefix = "android.hardware."; local 99 string hal_pointer_name = comp_spec_.package().substr(prefix.size());
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ActivityInfoTest.java | 111 String prefix = ""; local 112 mActivityInfo.dump(p, prefix);
|
ApplicationInfoTest.java | 122 String prefix = ""; local 123 mApplicationInfo.dump(p, prefix);
|
ResolveInfoTest.java | 72 String prefix = "TestResolveInfo"; local 73 resolveInfo.dump(printer, prefix);
|
/external/android-clat/ |
config.c | 155 * compares the prefixes two ipv6 addresses. assumes the prefix lengths are both /64. 193 * picks a random interface ID that is checksum neutral with the IPv4 address and the NAT64 prefix 196 * plat_subnet - NAT64 prefix 205 // in other words (because remote IPv6 = NAT64 prefix | Remote IPv4): 206 // checksum(Local IPv4) = checksum(Local IPv6 | NAT64 prefix) 243 * picks a free IPv4 address, starting from ip and trying all addresses in the prefix in order 245 * prefixlen - the length of the prefix from which addresses may be selected. 260 in_addr_t prefix = ipv4 & mask; local 269 ipv4 = prefix | ((ipv4 + 1) & ~mask); 300 * plat_prefix - (optional) plat prefix to use, otherwise follow config fil [all...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/commons/ |
AdviceAdapterTest2.java | 67 private String prefix; field in class:AdviceAdapterTest2.AdvisingClassLoader 69 public AdvisingClassLoader(String prefix) throws IOException { 70 this.prefix = prefix; 74 if(name.startsWith(prefix)) {
|
/external/apache-xml/src/main/java/org/apache/xalan/serialize/ |
SerializerUtils.java | 175 // String prefix = dtm.getPrefix(namespace); 176 String prefix = dtm.getNodeNameX(namespace); local 177 String desturi = handler.getNamespaceURIFromPrefix(prefix); 178 // String desturi = getURI(prefix); 183 handler.startPrefixMapping(prefix, srcURI, false); 189 String prefix = dtm.getNodeNameX(src); local 191 String desturi = handler.getNamespaceURIFromPrefix(prefix); 196 handler.startPrefixMapping(prefix, srcURI, false); 225 // String prefix = dtm.getPrefix(attr); 226 String prefix = dtm.getNodeNameX(attr) local 256 String prefix = dtm.getNodeNameX(namespace); local [all...] |