/external/guava/guava-tests/benchmark/com/google/common/base/ |
H A D | StringsRepeatBenchmark.java | 64 private static String mikeRepeat(String string, int count) { argument 65 final int len = string.length(); 67 string.getChars(0, len, strCopy, 0); 87 private static String oldRepeat(String string, int count) { argument 90 final int len = string.length(); 94 string.getChars(0, len, array, i); 99 private static String martinRepeat(String string, int count) { argument 100 final int len = string.length(); 103 string.getChars(0, len, array, 0);
|
/external/guava/guava-tests/benchmark/com/google/common/eventbus/ |
H A D | EventBusBenchmark.java | 44 public void handleStrings(String string) { argument
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ImmutableMultimapTest.java | 61 String string; field in class:ImmutableMultimapTest.StringHolder 68 holder.string = "one"; 71 return holder.string; 79 holder.string = "two";
|
/external/hamcrest/library/src/org/hamcrest/text/ |
H A D | IsEqualIgnoringWhiteSpace.java | 11 * Tests if a string is equal to another string, ignoring any changes in whitespace.
18 private final String string;
field in class:IsEqualIgnoringWhiteSpace 20 public IsEqualIgnoringWhiteSpace(String string) {
argument 21 if (string == null) {
24 this.string = string;
28 return stripSpace(string).equalsIgnoreCase(stripSpace(item));
33 .appendValue(string)
37 public String stripSpace(String string) {
argument 56 equalToIgnoringWhiteSpace(String string) argument [all...] |
H A D | SubstringMatcher.java | 22 description.appendText("a string ") 28 protected abstract boolean evalSubstringOf(String string); argument
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | CaseInsensitiveString.java | 13 * A string used as a key in java.util.Hashtable and other 20 private String string; field in class:CaseInsensitiveString 34 folded = foldCase(string); 39 * Constructs an CaseInsentiveString object from the given string 40 * @param s The string to construct this object from 43 string = s; 46 * returns the underlying string 50 return string; 90 return string;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | DebugUtilities.java | 54 * Lookup an enum by string 56 * @param string the string to search for 59 public static int enumByString(int type, String string) { argument 61 if(string.equals(DebugUtilitiesData.NAMES[type][j])) {
|
H A D | LocalePriorityListTest.java | 57 private void assertEquals(Object expected, Object string) { argument 58 assertEquals("", expected, string);
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | scheck.c | 11 scheck(const char *const string, const char *const format) argument 21 if (string == NULL || format == NULL) 60 if (sscanf(string, fbuf, &dummy) != 1)
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | DebugUtilities.java | 53 * Lookup an enum by string 55 * @param string the string to search for 58 public static int enumByString(int type, String string) { argument 60 if(string.equals(DebugUtilitiesData.NAMES[type][j])) {
|
H A D | LocalePriorityListTest.java | 53 private void assertEquals(Object expected, Object string) { argument 54 assertEquals("", expected, string);
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
H A D | BaseUrlValidateFunction.java | 25 * Validates that a given string is either something that looks like a relative URI, or looks like 26 * an absolute URI using one of a set of allowed schemes (http, https, ftp, mailto). If the string 27 * is valid according to these criteria, the string is escaped with an appropriate escaping 28 * function. Otherwise, the string "#" is returned. 30 * Subclasses will apply the necessary escaping function to the string by overriding {@code 51 * appropriate escaping to the input string. 58 * @return true if a given string either looks like a relative URI, or like an absolute URI with 83 * Converts an ASCII string to lowercase. Non-ASCII characters are replaced with '?'. 85 private String toLowerCaseAsciiOnly(String string) { argument 86 char[] ca = string [all...] |
/external/junit/src/org/junit/experimental/results/ |
H A D | ResultMatchers.java | 41 * Matches if the result has exactly one failure, and it contains {@code string} 43 public static Matcher<Object> hasSingleFailureContaining(final String string) { argument 46 return item.toString().contains(string) && failureCountIs(1).matches(item); 50 description.appendText("has single failure containing " + string); 57 * contains {@code string} 59 public static Matcher<PrintableResult> hasFailureContaining(final String string) { argument 62 return item.toString().contains(string); 66 description.appendText("has failure containing " + string);
|
/external/junit/src/org/junit/internal/matchers/ |
H A D | SubstringMatcher.java | 19 description.appendText("a string ") 25 protected abstract boolean evalSubstringOf(String string); argument
|
/external/junit/src/org/junit/runners/model/ |
H A D | InitializationError.java | 27 * with message {@code string} 29 public InitializationError(String string) { argument 30 this(new Exception(string));
|
/external/libchrome/base/strings/ |
H A D | nullable_string16.h | 21 NullableString16(const string16& string, bool is_null) argument 22 : string_(string), is_null_(is_null) { 25 const string16& string() const { return string_; } function in class:base::NullableString16 34 return a.is_null() == b.is_null() && a.string() == b.string();
|
/external/libunwind/tests/ |
H A D | test-mem.c | 33 #include <string.h> 79 char string[1024]; local 83 return sprintf (string, "hello %p %p\n", &cursor, &uc);
|
/external/libxml2/doc/ |
H A D | queries.py | 9 import string namespace 77 if string.find(str, "'") != -1 or \ 78 string.find(str, '"') != -1 or \ 79 string.find(str, "\\") != -1 or \ 80 string.find(str, " ") != -1 or \ 81 string.find(str, "\t") != -1 or \ 82 string.find(str, "\n") != -1 or \ 83 string.find(str, "\r") != -1:
|
/external/libxml2/python/tests/ |
H A D | reader2.py | 7 import string namespace
|
/external/llvm/test/ExecutionEngine/RuntimeDyld/X86/ |
H A D | COFF_i386.s | 24 pushl string 50 .global string 52 string: label
|
/external/llvm/utils/ |
H A D | DSAextract.py | 29 import string namespace 99 nodes[0] = string.strip(nodes[0]) 100 nodes[1] = string.strip(nodes[1])
|
/external/llvm/utils/release/ |
H A D | findRegressions-nightly.py | 2 import re, string, sys, os, time namespace
|
H A D | findRegressions-simple.py | 2 import re, string, sys, os, time, math namespace 52 print test[fname][string.replace(n, '-success', '')]
|
/external/mesa3d/src/mapi/glapi/gen/ |
H A D | extension_helper.py | 30 import sys, getopt, string namespace 172 print '#if %s' % (string.join(condition, " || ")) 257 condition_string = string.join(condition, " || ")
|
H A D | remap_helper.py | 29 import sys, getopt, string namespace 52 # spec is terminated by an empty string 85 # output string pool
|