| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
| LanguageTestRoot.java | 55 private String locale; 63 private static final Map datacache = new HashMap(); // String->TestData 74 private static TestData getTestData(String locale) { 104 public LanguageTestRoot(String locale, boolean ignore) { 108 public LanguageTestRoot(TestData data, String locale) { 116 public static void writeData(PrintWriter pw, String locale) 155 protected void xAssertEquals(String msg, String[] expected, int n, 156 String actual) { 175 protected static String timestring(Period ts) 256 String string = pf.format(p); local 257 xAssertEquals(u.toString() + c, targets, n++, string); local 278 String string = pf.format(p); local 279 xAssertEquals(u.toString(), targets, n++, string); local 299 String string = pf.format(p); local 300 xAssertEquals(u.toString(), targets, n++, string); local 440 String string = pf.format(p); local 441 xAssertEquals(u.toString(), targets, n++, string); local 470 String string = pf.format(p); local 471 xAssertEquals(u.toString(), targets, n++, string); local [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
| UnicodeSetStringSpanTest.java | 23 * @summary General test of UnicodeSet string span. 28 public static void main(String[] args) throws Exception { 34 String pattern = "[a{ab}{bc}]"; 35 String string = "abc"; local 38 int pos = set.spanBack(string, 3, SpanCondition.SIMPLE); 40 errln(String.format("FAIL: UnicodeSet(%s).spanBack(%s) returns the wrong value pos %d (!= 1)", 41 set.toString(), string, pos)); 43 pos = set.span(string, SpanCondition.SIMPLE); 45 errln(String.format("FAIL: UnicodeSet(%s).span(%s) returns the wrong value pos %d (!= 3)" 58 String string = "abc"; local 83 final String string = "xx" local 628 String string; local 816 String string = Utility.unescape(stringWithUnpairedSurrogate); local 1071 String string = Utility.unescape(s); local [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
| Pick.java | 36 public String next() { 41 public String get() { 57 private Target append(String s) { 69 public Pick replace(String toReplace, Pick replacement) { 74 public Pick name(String nameStr) { 113 static public Pick codePoint(String source) { 125 static public Pick string(String source) { method in class:Pick 129 static public Pick unquoted(String source) { 132 static public Pick string(int minLength, int maxLength, Pick item) [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| cldrtest.c | 207 /* A2 or A4 in the root string indicates that the resource can optionally be an array instead of a */ 208 /* string. Attempt to read it as an array. */ 212 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 220 log_err("Got something other than a string or array of size %d for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 232 log_err("Got something other than a string or array for key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 240 log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", 331 const UChar *string = ures_getString(subBundle, &len, &errorCode); local 332 if (U_FAILURE(errorCode) || string == NULL) { 333 log_err("Can't open a string with key \"%s\" in \"%s\" for locale \"%s\"\n", 337 } else if (string[0] == (UChar)0x20) [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| tmsgfmt.cpp | 203 #include <string.h> 266 // rather than toPattern() reconstituting a new, equivalent pattern string (testResultPatterns). 305 // rather than toPattern() reconstituting a new, equivalent pattern string (testResultPatterns). 470 UnicodeString string; local 472 form->format(testArgs1, 2, string, ignore, err); 473 if (U_FAILURE(err) || string != "The disk \"MyDisk\" contains 0 file(s).") { 478 string.remove(); 479 form->format(testArgs2, 2, string, ignore, err); 480 if (U_FAILURE(err) || string != "The disk \"MyDisk\" contains 1 file(s).") { 481 logln(string); 509 UnicodeString string; local [all...] |
| /external/icu/icu4c/source/tools/genrb/ |
| parse.cpp | 95 "string", /* A string token, such as "MonthNames" */ 138 getToken(NULL, NULL, status); bad - value is now a different string 436 /* terminate the string */ 602 printf(" string %s at line %i \n", (tag == NULL) ? "(null)" : tag, (int)startline); 608 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore 640 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore 777 // No string pointer aliasing so that we need not hold onto the resource bundle. 1367 char *string; local 1518 char *string; local [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
| LanguageTestRoot.java | 51 private String locale; 59 private static final Map datacache = new HashMap(); // String->TestData 70 private static TestData getTestData(String locale) { 100 public LanguageTestRoot(String locale, boolean ignore) { 104 public LanguageTestRoot(TestData data, String locale) { 112 public static void writeData(PrintWriter pw, String locale) 151 protected void xAssertEquals(String msg, String[] expected, int n, 152 String actual) { 171 protected static String timestring(Period ts) 252 String string = pf.format(p); local 253 xAssertEquals(u.toString() + c, targets, n++, string); local 274 String string = pf.format(p); local 275 xAssertEquals(u.toString(), targets, n++, string); local 295 String string = pf.format(p); local 296 xAssertEquals(u.toString(), targets, n++, string); local 436 String string = pf.format(p); local 437 xAssertEquals(u.toString(), targets, n++, string); local 466 String string = pf.format(p); local 467 xAssertEquals(u.toString(), targets, n++, string); local [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
| UnicodeSetStringSpanTest.java | 20 * @summary General test of UnicodeSet string span. 24 public static void main(String[] args) throws Exception { 30 String pattern = "[a{ab}{bc}]"; 31 String string = "abc"; local 34 int pos = set.spanBack(string, 3, SpanCondition.SIMPLE); 36 errln(String.format("FAIL: UnicodeSet(%s).spanBack(%s) returns the wrong value pos %d (!= 1)", 37 set.toString(), string, pos)); 39 pos = set.span(string, SpanCondition.SIMPLE); 41 errln(String.format("FAIL: UnicodeSet(%s).span(%s) returns the wrong value pos %d (!= 3)" 54 String string = "abc"; local 79 final String string = "xx" local 624 String string; local 812 String string = Utility.unescape(stringWithUnpairedSurrogate); local 1067 String string = Utility.unescape(s); local [all...] |
| /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
| Pick.java | 35 public String next() { 40 public String get() { 56 private Target append(String s) { 68 public Pick replace(String toReplace, Pick replacement) { 73 public Pick name(String nameStr) { 112 static public Pick codePoint(String source) { 124 static public Pick string(String source) { method in class:Pick 128 static public Pick unquoted(String source) { 131 static public Pick string(int minLength, int maxLength, Pick item) [all...] |
| /external/javassist/src/main/javassist/bytecode/ |
| ConstPool.java | 125 public ConstPool(String thisclass) { 169 public String getClassName() { 206 * @see javassist.ClassPool#getCtClass(String) 208 public String getClassInfo(int index) { 281 public String getFieldrefClassName(int index) { 307 public String getFieldrefName(int index) { 328 public String getFieldrefType(int index) { 358 public String getMethodrefClassName(int index) { 384 public String getMethodrefName(int index) { 406 public String getMethodrefType(int index) 1398 int string; field in class:StringInfo 1543 String string; field in class:Utf8Info [all...] |
| /external/jetty/src/java/org/eclipse/jetty/util/ajax/ |
| JSON.java | 50 * string ==> String 58 * String --> string 65 * Object --> string (dubious!) 95 private Map<String, Convertor> _convertors = new ConcurrentHashMap<String, Convertor>(); 144 public static String toString(Object object) 151 public static String toString(Map object) 158 public static String toString(Object[] array 1426 private final String string; field in class:JSON.StringSource [all...] |
| /external/kernel-headers/original/uapi/linux/ |
| irda.h | 157 __u8 string[IAS_MAX_STRING]; member in struct:irda_ias_set::__anon13248::__anon13250
|
| /external/libchrome/dbus/ |
| message.cc | 7 #include <string> 27 void AppendStringHeader(const std::string& header_name, 28 const std::string& header_value, 29 std::string* output) { 37 void AppendUint32Header(const std::string& header_name, 39 std::string* output) { 76 std::string Message::GetMessageTypeAsString() { 90 return std::string(); 93 std::string Message::ToStringInternal(const std::string& indent 836 std::string string; local [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
| SelectBox.java | 74 public SelectBox (Skin skin, String styleName) {
233 String string = toString(selected);
local 243 layout.setText(font, string, 0, string.length(), font.getColor(), width, Align.left, false, "...");
299 protected String toString (T obj) {
351 protected String toString (T obj) {
|
| /external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
| Json.java | 50 private String typeName = "class"; 57 private final ObjectMap<Class, OrderedMap<String, FieldMetadata>> typeToFields = new ObjectMap(); 58 private final ObjectMap<String, Class> tagToClass = new ObjectMap(); 59 private final ObjectMap<Class, String> classToTag = new ObjectMap(); 95 public void addClassTag (String tag, Class type) { 101 public Class getClass (String tag) { 106 public String getTag (Class type) { 113 public void setTypeName (String typeName) { 140 public void setElementType (Class type, String fieldName, Class elementType) { 141 ObjectMap<String, FieldMetadata> fields = getFields(type) 985 String string = jsonData.asString(); local [all...] |
| /external/libpcap/ |
| pcap-usb-linux.c | 53 #include <string.h> 464 * <linux-kernel-source>/drivers/usb/mon/mon_text.c for urb string 478 char *string = line; local 506 string[ret] = 0; 507 ret = sscanf(string, "%x %d %c %c%c:%d:%d %s%n", &tag, ×tamp, &etype, 514 string, ret); 521 string += cnt; 528 string, errno, strerror(errno)); 574 ret = sscanf(string, "%s %s %s %s %s%n", str1, str2, str3, str4, 580 string, ret) 678 char string[USB_LINE_LEN]; local [all...] |
| /external/libvterm/include/ |
| vterm.h | 66 char *string; member in union:__anon16685 88 VTERM_PROP_TITLE, // string 89 VTERM_PROP_ICONNAME, // string
|
| /external/libxml2/ |
| xpointer.c | 28 #include <string.h> 973 * string and if the scheme is 'xpointer' it will call the XPath interpreter. 2789 xmlXPathObjectPtr string; local [all...] |
| /external/mesa3d/src/glsl/ |
| ast_to_hir.cpp | 2036 const char *string = ""; local [all...] |
| linker.cpp | 361 * Generate a string describing the mode of a variable 1412 const char *const string = (target_index == MESA_SHADER_VERTEX) local 1461 const char *const string = (target_index == MESA_SHADER_VERTEX) local [all...] |
| /external/mesa3d/src/mesa/program/ |
| program_parse.y | 26 #include <string.h> 134 char *string; 191 %token <string> IDENTIFIER USED_IDENTIFIER 192 %type <string> string 305 option: OPTION string ';' 721 | string 2231 string: IDENTIFIER label [all...] |
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
| R.java | 67 public static final class string { class in class:R
|
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
| ActivityTest.java | 327 int id1 = R.string.hello; 328 String string = activity.getString(id1); local 329 assertEquals("Hello", string); 331 int id = activity.getResources().getIdentifier("hello", "string", "com.xtremelabs.robolectric"); 334 String hello = activity.getResources().getString(id); 363 int id = activity.getResources().getIdentifier("just_alot_of_crap", "string", "com.xtremelabs.robolectric");
|
| /external/skia/src/animator/ |
| SkScriptTokenizer.cpp | 172 void SkScriptEngine2::addTokenString(const SkString& string) { 173 int size = SkToInt(string.size()); 175 fActiveStream->write(string.c_str(), size); 423 SkString* string = (*array)[index].fString; local 424 int found = fTrackString.find(string); 580 do { // measure string 589 do { // copy string 730 topType == SkOperand2::kString && fReturnType != SkOperand2::kNoType) { // if result is a string, give handle property a chance to convert it to the property value 731 SkString* string = fValueStack.top().fOperand.fString; local 732 fToken = string->c_str() [all...] |
| /external/skia/src/gpu/ |
| GrOvalRenderer.cpp | 625 SkString string; variable 627 string.appendf("Color: 0x%08x Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f]," 635 string.append(INHERITED::dumpInfo()); 636 return string; [all...] |