| /external/clang/test/FixIt/ |
| typo.cpp | 14 typedef basic_string<char> string; // expected-note 2{{'string' declared here}} typedef in namespace:std 25 // expected-error{{no type named 'strng' in namespace 'otherstd'; did you mean 'string'?}} 26 tring str2; // expected-error{{unknown type name 'tring'; did you mean 'string'?}} 28 ::other_std::string str3; // expected-error{{no member named 'other_std' in the global namespace; did you mean 'otherstd'?}} 42 bool test_string(std::string s) { 48 == std::string::pos; // expected-error{{no member named 'pos' in 'std::basic_string<char>'; did you mean 'npos'?}}
|
| /external/clang/test/SemaCXX/ |
| references.cpp | 102 class string { class 106 string(); 107 ~string(); 110 string getInput(); 113 string &s = getInput(); // expected-error{{lvalue reference}}
|
| typo-correction-delayed.cpp | 54 class string {}; class 57 string text(); 69 string text() const; 80 string text() const; 91 string text() const;
|
| warn-unreachable.cpp | 140 typedef basic_string<char> string; typedef in namespace:std 143 std::string testStr() { 148 std::string testStrWarn(const char *s) {
|
| /external/curl/src/ |
| tool_paramhlp.c | 63 char *string = NULL; local 74 if((ptr = realloc(string, stringlen+buflen+1)) == NULL) { 75 Curl_safefree(string); 78 string = ptr; 79 strcpy(string+stringlen, buffer); 83 *bufp = string; 114 /* null terminate the buffer in case it's used as a string later */ 126 Curl_safefree(buffer); /* no string */ 150 * Parse the string and write the long in the given address. Return PARAM_OK 172 * Parse the string and write the long in the given address. Return PARAM_O [all...] |
| /external/deqp/android/scripts/ |
| common.py | 29 import string namespace
|
| /external/deqp/scripts/ |
| run_nightly.py | 29 import string namespace 301 '--cmdline=%s' % string.join([shellquote(arg) for arg in config.args], " "), 304 '--testset=%s' % string.join(config.testset, ","), 311 execArgs += ['--exclude=%s' % string.join(config.exclude, ",")]
|
| /external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
| CstString.java | 29 * empty string 33 /** {@code non-null;} the UTF-8 value as a string */ 34 private final String string; field in class:CstString 40 * Converts a string into its MUTF-8 form. MUTF-8 differs from normal UTF-8 43 * @param string {@code non-null;} the string to convert 46 public static byte[] stringToUtf8Bytes(String string) { 47 int len = string.length() 317 String string = toHuman(); local [all...] |
| /external/e2fsprogs/e2fsck/ |
| logfile.c | 22 struct string { struct 28 static void alloc_string(struct string *s, int len) 36 static void append_string(struct string *s, const char *a, int len) 67 struct string *s, int *flags) 159 static void expand_logfn(e2fsck_t ctx, const char *log_fn, struct string *s) 285 struct string s, s1, s2; 382 struct string s;
|
| /external/elfutils/libebl/ |
| eblgstrtab.c | 1 /* Generic string table handling. 39 #include <string.h> 52 const char *string; member in struct:Ebl_GStrent 109 ret->null.string = (char *) calloc (1, width); 147 if (st->null.string != NULL) 148 free ((char *) st->null.string); 170 /* Create the reserved string. */ 172 newstr->string = str; 210 /* We found a matching string. */ 219 /* Add new string. The actual string is assumed to be permanent. * [all...] |
| eblstrtab.c | 1 /* ELF string table handling. 39 #include <string.h> 53 const char *string; member in struct:Ebl_Strent 108 ret->null.string = ""; 172 /* Create the reserved string. */ 174 newstr->string = str; 207 /* We found a matching string. */ 216 /* Add new string. The actual string is assumed to be permanent. */ 220 /* Compute the string length if the caller doesn't know it. * [all...] |
| /external/guava/guava/src/com/google/common/base/ |
| Ascii.java | 37 * which operate only on the ASCII characters of a string. 52 * time fill and media fill. Normally used as a C string terminator. 433 * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII 437 public static String toLowerCase(String string) { 438 int length = string.length(); 440 if (isUpperCase(string.charAt(i))) { 441 char[] chars = string.toCharArray(); 448 return String.valueOf(chars) 597 String string = seq.toString(); local [all...] |
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| ImmutableTableTest.java | 30 @Override protected Table<String, Integer, Character> create(Object... data) { 31 ImmutableTable.Builder<String, Integer, Character> builder = 34 builder.put((String) data[i], (Integer) data[i + 1], 41 ImmutableTable.Builder<Character, Integer, String> builder = 42 new ImmutableTable.Builder<Character, Integer, String>(); 47 Table<Character, Integer, String> expectedTable = HashBasedTable.create(); 51 Table<Character, Integer, String> otherTable = HashBasedTable.create(); 60 ImmutableTable.Builder<Character, Integer, String> builder = 61 new ImmutableTable.Builder<Character, Integer, String>(); 68 ImmutableTable.Builder<Character, Integer, String> builder 91 String string; field in class:ImmutableTableTest.StringHolder [all...] |
| /external/guava/guava-tests/benchmark/com/google/common/base/ |
| CharMatcherBenchmark.java | 45 // Length of string to match against 48 // Percent of string that the CharMatcher matches 69 private String string; field in class:CharMatcherBenchmark 80 this.string = checkString(length, percent, config.matchingChars, 89 dummy += matcher.trimAndCollapseFrom(string, '!').length(); 97 dummy += matcher.matches(string.charAt(i % string.length())) ? 1 : 0; 102 private static final String NONMATCHING_CHARS = 105 private static String checkString(int length, int percent [all...] |
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ImmutableTableTest.java | 31 @Override protected Table<String, Integer, Character> create(Object... data) { 32 ImmutableTable.Builder<String, Integer, Character> builder = 35 builder.put((String) data[i], (Integer) data[i + 1], 42 ImmutableTable.Builder<Character, Integer, String> builder = 43 new ImmutableTable.Builder<Character, Integer, String>(); 48 Table<Character, Integer, String> expectedTable = HashBasedTable.create(); 52 Table<Character, Integer, String> otherTable = HashBasedTable.create(); 61 ImmutableTable.Builder<Character, Integer, String> builder = 62 new ImmutableTable.Builder<Character, Integer, String>(); 69 ImmutableTable.Builder<Character, Integer, String> builder 92 String string; field in class:ImmutableTableTest.StringHolder [all...] |
| /external/guava/guava-tests/test/com/google/common/io/ |
| CharSequenceReaderTest.java | 47 String string = "abcdefghijklmnopqrstuvwxyz"; local 48 CharSequenceReader reader = new CharSequenceReader(string); 51 assertEquals(string, readFully(reader)); 56 assertEquals(string, readFully(reader)); 63 assertEquals(string.substring(5), readFully(reader)); 68 assertEquals(string.substring(5), readFully(reader)); 183 String expected = charSequence.toString(); 196 assertEquals(expected, new String(buf)); 242 assertEquals(expected.substring(5), new String(buf)) [all...] |
| CharSourceTester.java | 41 public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> { 46 static TestSuite tests(String name, CharSourceFactory factory) { 48 for (Map.Entry<String, String> entry : TEST_STRINGS.entrySet()) { 54 static TestSuite suiteForString(CharSourceFactory factory, String string, 55 String name, String desc) { 58 suite.addTest(new CharSourceTester(factory, string, name, desc, method)); 63 private final ImmutableList<String> expectedLines 125 String string = source.read(); local [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| RelativeDateFormat.java | 41 URelativeString(int offset, String string) { 43 this.string = string; 45 URelativeString(String offset, String string) { 47 this.string = string; 50 public String string field in class:RelativeDateFormat.URelativeString [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
| XMLRecordReader.java | 24 private List<String> nameStack; 28 private String tag; // cache 32 this.nameStack = new ArrayList<String>(); 45 public boolean open(String title) { 56 String name = nameStack.get(ix); 65 public boolean bool(String name) { 66 String s = string(name); 73 public boolean[] boolArray(String name) { 74 String[] sa = stringArray(name) 136 public String string(String name) { method in class:XMLRecordReader [all...] |
| XMLRecordWriter.java | 23 private List<String> nameStack; 27 this.nameStack = new ArrayList<String>(); 30 public boolean open(String title) { 40 String name = nameStack.remove(ix); 55 public void bool(String name, boolean value) { 56 internalString(name, String.valueOf(value)); 59 public void boolArray(String name, boolean[] values) { 61 String[] stringValues = new String[values.length]; 63 stringValues[i] = String.valueOf(values[i]) 181 string(name, value); method 187 public void string(String name, String value) { method in class:XMLRecordWriter [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
| TestBidi.java | 28 private static final String levelString = "............................"; 46 String string; local 53 string = getStringFromDirProps(test.dirProps); 56 bidi.setPara(string, paraLevel, null); 363 private String getStringFromDirProps(short[] dirProps) { 376 return new String(buffer); 383 assertEquals("\nwriteReverse should return an empty string", 387 assertEquals("\nwriteReordered should return an empty string", 469 String out = bidi.writeReordered(Bidi.REMOVE_BIDI_CONTROLS | Bidi.DO_MIRRORING) [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
| IntlTestDateFormat.java | 47 private String fTestName = new String("getInstance"); 58 public static void main(String[] args) throws Exception { 67 public void localeTest(final ULocale locale, final String localeName) { 76 fTestName = new String("Time test " + timeStyle + " (" + localeName + ")"); 90 fTestName = new String("Date test " + dateStyle + " (" + localeName + ")"); 103 fTestName = new String("DateTime test " + dateStyle + "/" + timeStyle + " (" + localeName + ")"); 150 StringBuffer[] string = new StringBuffer[DEPTH]; local 156 for (i=0; i<DEPTH; ++i) string[i] = new StringBuffer(); 161 date[i] = fFormat.parse(string[i-1].toString()) [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
| UCharacterSurrogateTest.java | 24 public static void main(String[] args) { 29 String[] names = {"Latin-1 Supplement", 158 String s = "" + UCharacter.MIN_HIGH_SURROGATE + // isolated high 177 errln("string at: " + i); 184 errln("string before: " + i); 223 String str(String s, int start, int limit) { 231 void test(String s, int start, int limit, int expected) { 239 errln("String " + str(s, start, limit) + "(" + val2 246 void fail(String s, int start, int limit, Class exc) 292 String string = s.substring(start, start + count); local [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
| AnyScriptTest.java | 26 public static void main(String[] args) throws Exception { 32 String sample = "abd abc b"; 47 String test = testBuffer.toString(); 67 String scriptName = UScript.getName(script); // long name 87 String shortScriptName = UScript.getShortName(script); // 4-letter script code 105 String lettersAndSpace = "abc def"; 106 final String punctOnly = "( )"; 108 String wideLettersAndSpace = widen.transform(lettersAndSpace); 109 String widePunctOnly = widen.transform(punctOnly); 113 String back 153 handleAssert(set.containsAll(string), message, set, string, "contains all of", false); local 157 handleAssert(set.containsNone(string), message, set, string, "contains none of", false); local [all...] |
| /external/icu/icu4c/source/i18n/ |
| reldtfmt.cpp | 34 int32_t len; /** length of the string **/ 35 const UChar* string; /** string, or NULL if not set **/ member in struct:URelativeString 166 // look up string 170 // found a relative string 253 if (fDates[n].string != NULL && 254 text.compare(startIndex, fDates[n].len, fDates[n].string) == 0) { 255 // it matched, handle the relative day string 264 // failure in setting calendar field, set offset to beginning of rel day string 285 if (fDates[n].string != NULL & [all...] |