HomeSort by relevance Sort by last modified time
    Searched defs:string (Results 426 - 450 of 3176) sorted by null

<<11121314151617181920>>

  /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
76 ptr = realloc(string, stringlen + buflen + 1);
78 Curl_safefree(string);
81 string = ptr;
82 strcpy(string + stringlen, buffer);
86 *bufp = string;
118 /* null terminate the buffer in case it's used as a string later */
131 Curl_safefree(buffer); /* no string */
155 * Parse the string and write the long in the given address. Return PARAM_OK
181 * Parse the string and write the long in the given address. Return PARAM_O
    [all...]
  /external/e2fsprogs/e2fsck/
logfile.c 25 struct string { struct
31 static void alloc_string(struct string *s, int len)
39 static void append_string(struct string *s, const char *a, int len)
70 struct string *s, int *flags)
162 static void expand_logfn(e2fsck_t ctx, const char *log_fn, struct string *s)
290 struct string s, s1, s2;
387 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/duration/impl/
XMLRecordReader.java 26 private List<String> nameStack;
30 private String tag; // cache
34 this.nameStack = new ArrayList<String>();
48 public boolean open(String title) {
60 String name = nameStack.get(ix);
70 public boolean bool(String name) {
71 String s = string(name);
79 public boolean[] boolArray(String name) {
80 String[] sa = stringArray(name)
147 public String string(String name) { method in class:XMLRecordReader
    [all...]
XMLRecordWriter.java 25 private List<String> nameStack;
29 this.nameStack = new ArrayList<String>();
33 public boolean open(String title) {
44 String name = nameStack.remove(ix);
60 public void bool(String name, boolean value) {
61 internalString(name, String.valueOf(value));
65 public void boolArray(String name, boolean[] values) {
67 String[] stringValues = new String[values.length];
69 stringValues[i] = String.valueOf(values[i])
191 string(name, value); method
198 public void string(String name, String value) { method in class:XMLRecordWriter
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
IntlTestDateFormat.java 55 private static String fTestName = new String("getInstance");
74 private void localeTest(final ULocale locale, final String localeName) {
157 StringBuffer[] string = new StringBuffer[DEPTH]; local
163 for (i=0; i<DEPTH; ++i) string[i] = new StringBuffer();
168 date[i] = fFormat.parse(string[i-1].toString());
172 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE));
178 fFormat.format(date[i], string[i], position);
187 if (stringMatch == 0 && string[i] == string[i-1]) stringMatch = i
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
UCharacterSurrogateTest.java 31 String[] names = {"Latin-1 Supplement",
168 String s = "" + UCharacter.MIN_HIGH_SURROGATE + // isolated high
187 errln("string at: " + i);
194 errln("string before: " + i);
235 String str(String s, int start, int limit) {
243 void test(String s, int start, int limit, int expected) {
251 errln("String " + str(s, start, limit) + "(" + val2
258 void fail(String s, int start, int limit, Class exc) {
296 String str(String s, int start, int count, int index, int offset)
305 String string = s.substring(start, start + count); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
AnyScriptTest.java 35 String sample = "abd abc b";
51 String test = testBuffer.toString();
71 String scriptName = UScript.getName(script); // long name
91 String shortScriptName = UScript.getShortName(script); // 4-letter script code
110 String lettersAndSpace = "abc def";
111 final String punctOnly = "( )";
113 String wideLettersAndSpace = widen.transform(lettersAndSpace);
114 String widePunctOnly = widen.transform(punctOnly);
118 String back;
146 String westernDigits = getList(westernDigitSet)
159 handleAssert(set.containsAll(string), message, set, string, "contains all of", false); local
163 handleAssert(set.containsNone(string), message, set, string, "contains none of", false); local
    [all...]
  /external/icu/icu4c/source/i18n/
reldtfmt.cpp 36 int32_t len; /** length of the string **/
37 const UChar* string; /** string, or NULL if not set **/ member in struct:URelativeString
165 // look up string
169 // found a relative string
251 if (fDates[n].string != NULL &&
252 text.compare(startIndex, fDates[n].len, fDates[n].string) == 0) {
253 // it matched, handle the relative day string
262 // failure in setting calendar field, set offset to beginning of rel day string
283 if (fDates[n].string != NULL &
    [all...]
  /external/icu/icu4c/source/test/cintltst/
uenumtst.c 212 const char *string = NULL; local
214 while ((string = uenum_next(en, &len, &status))) {
215 log_verbose("read \"%s\", length %i\n", string, len);
283 const char *string = NULL; local
292 while ((string = uenum_next(en, &len, &status))) {
293 log_verbose("read \"%s\", length %i\n", string, len);
341 log_err("%s:%d: FAIL: string #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], c);
343 log_verbose("%s:%d: OK: string #%d got '%s'\n", __FILE__, line, i, c);
347 log_err("%s:%d: FAIL: string #%d expected len %d got %d\n", __FILE__, line, i, strlen(compareToChar[i]), len);
349 log_verbose("%s:%d: OK: string #%d got len %d\n", __FILE__, line, i, len)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
XMLRecordReader.java 22 private List<String> nameStack;
26 private String tag; // cache
30 this.nameStack = new ArrayList<String>();
44 public boolean open(String title) {
56 String name = nameStack.get(ix);
66 public boolean bool(String name) {
67 String s = string(name);
75 public boolean[] boolArray(String name) {
76 String[] sa = stringArray(name)
143 public String string(String name) { method in class:XMLRecordReader
    [all...]
XMLRecordWriter.java 21 private List<String> nameStack;
25 this.nameStack = new ArrayList<String>();
29 public boolean open(String title) {
40 String name = nameStack.remove(ix);
56 public void bool(String name, boolean value) {
57 internalString(name, String.valueOf(value));
61 public void boolArray(String name, boolean[] values) {
63 String[] stringValues = new String[values.length];
65 stringValues[i] = String.valueOf(values[i])
187 string(name, value); method
194 public void string(String name, String value) { method in class:XMLRecordWriter
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
IntlTestDateFormat.java 52 private static String fTestName = new String("getInstance");
71 private void localeTest(final ULocale locale, final String localeName) {
154 StringBuffer[] string = new StringBuffer[DEPTH]; local
160 for (i=0; i<DEPTH; ++i) string[i] = new StringBuffer();
165 date[i] = fFormat.parse(string[i-1].toString());
169 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE));
175 fFormat.format(date[i], string[i], position);
184 if (stringMatch == 0 && string[i] == string[i-1]) stringMatch = i
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
UCharacterSurrogateTest.java 28 String[] names = {"Latin-1 Supplement",
165 String s = "" + UCharacter.MIN_HIGH_SURROGATE + // isolated high
184 errln("string at: " + i);
191 errln("string before: " + i);
232 String str(String s, int start, int limit) {
240 void test(String s, int start, int limit, int expected) {
248 errln("String " + str(s, start, limit) + "(" + val2
255 void fail(String s, int start, int limit, Class exc) {
293 String str(String s, int start, int count, int index, int offset)
302 String string = s.substring(start, start + count); local
    [all...]

Completed in 1021 milliseconds

<<11121314151617181920>>