| /art/runtime/mirror/ |
| object_test.cc | 40 #include "string-inl.h" 61 Handle<String> string( 62 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in))); 63 ASSERT_EQ(expected_utf16_length, string->GetLength()); 64 ASSERT_TRUE(string->GetValue() != nullptr); 65 // strlen is necessary because the 1-character string "\x00\x00" is interpreted as "" 66 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); 67 ASSERT_TRUE(string->Equals(StringPiece(utf8_in)) || 70 EXPECT_EQ(utf16_expected[i], string->CharAt(i)) 584 Class* string = class_linker_->FindSystemClass(soa.Self(), "Ljava\/lang\/String;"); local [all...] |
| /art/runtime/verifier/ |
| reg_type_test.cc | 432 std::string expected = "Unresolved Reference: java.lang.DoesNotExist"; 434 expected = "Precise Reference: java.lang.String"; 436 expected ="Uninitialized Reference: java.lang.String Allocation PC: 10"; 447 // The JavaLangObject method instead of FromDescriptor. String class is final. 454 const RegType& ref_type_3 = cache.FromDescriptor(nullptr, "Ljava/lang/String;", true); 484 // String and object , LUB is object. 489 const RegType& string = cache_new.JavaLangString(); local 491 EXPECT_TRUE(string.Merge(Object, &cache_new).IsJavaLangObject());
|
| /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
| ImageGridFragment.java | 58 private static final String TAG = "ImageGridFragment"; 59 private static final String IMAGE_CACHE_DIR = "thumbs"; 203 Toast.makeText(getActivity(), R.string.clear_cache_complete_toast,
|
| /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
| ImageGridFragment.java | 58 private static final String TAG = "ImageGridFragment"; 59 private static final String IMAGE_CACHE_DIR = "thumbs"; 203 Toast.makeText(getActivity(), R.string.clear_cache_complete_toast,
|
| /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
| ImageGridFragment.java | 58 private static final String TAG = "ImageGridFragment"; 59 private static final String IMAGE_CACHE_DIR = "thumbs"; 203 Toast.makeText(getActivity(), R.string.clear_cache_complete_toast,
|
| /external/ImageMagick/Magick++/lib/ |
| Color.cpp | 13 #include <string> 160 Magick::Color::Color(const std::string &color_) 199 *this=std::string(color_); 211 const Magick::Color& Magick::Color::operator=(const std::string &color_) 241 Magick::Color::operator std::string() const 250 return std::string("none"); 265 return(std::string(colorbuf));
|
| /external/ImageMagick/MagickCore/ |
| delegate.c | 327 % o command: this string is the command to execute. 512 % character string. 515 % character string. 543 *string; 554 *value='\0'; /* formatted string */ 555 string=(const char *) value; 561 string=GetImageOption(image_info,"authenticate"); 610 string=image->filename; 616 string=image->magick; 629 string=image_info->filename 533 *string; local 900 *string; local [all...] |
| /external/antlr/antlr-3.4/runtime/C/src/ |
| antlr3string.c | 2 * Implementation of the ANTLR3 string and string factory classes 42 static pANTLR3_STRING newPtr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size); 43 static pANTLR3_STRING newPtrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size); 44 static pANTLR3_STRING newPtrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size); 45 static pANTLR3_STRING newStr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string); 46 static pANTLR3_STRING newStrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string); 47 static pANTLR3_STRING newStrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string); 48 static void destroy (pANTLR3_STRING_FACTORY factory, pANTLR3_STRING string); 49 static pANTLR3_STRING printable8 (pANTLR3_STRING_FACTORY factory, pANTLR3_STRING string); 188 pANTLR3_STRING string; local 217 pANTLR3_STRING string; local 423 pANTLR3_STRING string; local 451 pANTLR3_STRING string; local 478 pANTLR3_STRING string; local 511 pANTLR3_STRING string; local 559 pANTLR3_STRING string; local 679 pANTLR3_STRING string; local 726 pANTLR3_STRING string; local [all...] |
| antlr3tokenstream.c | 537 pANTLR3_STRING string; local 560 /* Finally, let's get a string 562 string = tsource->strFactory->newRaw(tsource->strFactory); 569 string->appendS(string, tok->getText(tok)); 573 return string; 1075 /// Return a string that represents the name assoicated with the input source 1087 // because this is a token stream, not a file or string stream, which are the
|
| /external/autotest/client/common_lib/ |
| pexpect.py | 69 import string namespace 120 """This returns True if list item 0 the string 'pexpect.py' in it. """ 148 returns all output as a string. STDERR is included in output. If the full 206 associated response string. Note that you should put newlines in your 207 string if Enter is necessary. The responses may also contain callback 213 the next event. A callback may also return a string which will be sent to 247 raise TypeError ('The callback must be a string or function type.') 269 """This is the constructor. The command parameter may be a string that 451 """This returns a human-readable string that represents the state of 501 raise ExceptionPexpect ('Command is an int type. If this is a file descriptor then maybe you want to use fdpexpect.fdspawn which takes an existing file descriptor instead of a command string.' [all...] |
| /external/autotest/client/cros/cellular/ |
| pseudo_modem.py | 28 import string namespace 290 name: string, a dbus path name. 291 device: string, the network device to use. 292 mdn: string, the mobile directory number. 293 meid: string, the mobile equipment id (CDMA only?). 294 carrier: string, the name of the carrier. 295 esn: string, the electronic serial number. 705 sim_card = SIM.FromCarrier(string.lower(options.carrier_name),
|
| /external/autotest/frontend/client/src/autotest/common/ |
| Utils.java | 22 public static final String JSON_NULL = "<null>"; 23 public static final String RETRIEVE_LOGS_URL = "/tko/retrieve_logs.cgi"; 25 private static final String[][] escapeMappings = { 34 * Converts a collection of Java <code>String</code>s into a <code>JSONArray 37 public static JSONArray stringsToJSON(Collection<String> strings) { 39 for(String s : strings) { 61 public static String[] JSONtoStrings(JSONArray strings) { 62 String[] result = new String[strings.size()]; 74 public static String[] JSONObjectsToStrings(JSONArray objects, String field) 215 JSONString string; local [all...] |
| /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
| mturk | 25 import string namespace 41 nickname_pool = set(string.ascii_lowercase)
|
| /external/clang/test/CodeGenCXX/ |
| cxx0x-initializer-stdinitializerlist.cpp | 269 struct string { struct in namespace:PR12178 270 string(int); 271 ~string(); 275 string a;
|
| /external/clang/test/SemaCXX/ |
| cxx0x-initializer-constructor.cpp | 226 template<int N> struct string {}; struct in namespace:PR12167 233 template<int N, class Comparator> bool g(const string<N>& s, Comparator cmp) { 236 template<int N> bool f(const string<N> &s) { 240 bool s = f(string<1>());
|
| cxx1y-generic-lambdas.cpp | 799 struct string { struct in namespace:PR17476 800 string(const char *__s) { } function in struct:PR17476::string 801 string &operator+=(const string &__str) { return *this; } 807 string start("__"); 818 struct string { struct in namespace:PR17476_variant 819 string(const char *__s) { } function in struct:PR17476_variant::string 820 string &operator+=(const string &__str) { return *this; } 826 string start("__") [all...] |
| /external/freetype/src/psaux/ |
| psobjs.c | 636 /************* check for literal string *****************/ 935 /* XXX: some stupid fonts have a `Notice' or `Copyright' string */ 941 /* notice/copyright was not recognized as a valid string token */ 973 /* now copy the string */ 1089 FT_String* string; local 1142 /* we allow both a string or a name */ 1162 " expected a name or string\n" 1180 if ( FT_ALLOC( string, len + 1 ) ) 1183 FT_MEM_COPY( string, cur, len ); 1184 string[len] = 0 [all...] |
| /external/icu/icu4c/source/common/ |
| unisetspan.cpp | 30 * a code point or a string. 44 * max string length and U16_LENGTH/U8_LENGTH to account for 164 // Get the number of UTF-8 bytes for a UTF-16 (sub)string. 173 // The string contains an unpaired surrogate. 174 // Ignore this string. 179 // Append the UTF-8 version of the string to t and return the appended UTF-8 length. 188 // The string contains an unpaired surrogate. 189 // Ignore this string. 218 // If any string is relevant, then all strings need to be used for 229 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i) local 309 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 656 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 695 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 820 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 861 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 1364 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local 1407 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| cmsgtst.c | 20 #include <string.h> 984 UChar string[16]; local [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| colldata.cpp | 40 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) 43 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); 54 // **** only set flag if string has Han(gul) **** 189 void StringList::add(const UnicodeString *string, UErrorCode &status) 211 // is the same as copying the source string. 212 strings[listSize++].append(*string); 217 const UnicodeString string(chars, count); 219 add(&string, status); 253 void put(uint32_t ce, UnicodeString *string, UErrorCode &status) 523 const UnicodeString *string = strings->get(s); local [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| RelativeDateFormat.java | 39 URelativeString(int offset, String string) { 41 this.string = string; 43 URelativeString(String offset, String string) { 45 this.string = string; 48 public String string field in class:RelativeDateFormat.URelativeString [all...] |
| /external/jetty/src/java/org/eclipse/jetty/http/ |
| PathMap.java | 53 * method @see PathMap#setPathSpecSeparators(String) 67 private static String __pathSpecSeparators = ":,"; 71 * Multiple path specification may be included in a single string 72 * if they are separated by the characters set in this string. 76 public static void setPathSpecSeparators(String s) 154 String str = pathSpec.toString(); 168 String spec=tok.nextToken(); 184 String mapped=spec.substring(0,spec.length()-2); 219 public Object match(String path) 233 public Entry getMatch(String path 548 private transient String string; field in class:PathMap.Entry [all...] |
| /external/jetty/src/java/org/eclipse/jetty/servlets/ |
| CrossOriginFilter.java | 98 private static final String ORIGIN_HEADER = "Origin"; 99 public static final String ACCESS_CONTROL_REQUEST_METHOD_HEADER = "Access-Control-Request-Method"; 100 public static final String ACCESS_CONTROL_REQUEST_HEADERS_HEADER = "Access-Control-Request-Headers"; 102 public static final String ACCESS_CONTROL_ALLOW_ORIGIN_HEADER = "Access-Control-Allow-Origin"; 103 public static final String ACCESS_CONTROL_ALLOW_METHODS_HEADER = "Access-Control-Allow-Methods"; 104 public static final String ACCESS_CONTROL_ALLOW_HEADERS_HEADER = "Access-Control-Allow-Headers"; 105 public static final String ACCESS_CONTROL_MAX_AGE_HEADER = "Access-Control-Max-Age"; 106 public static final String ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER = "Access-Control-Allow-Credentials"; 107 public static final String ACCESS_CONTROL_EXPOSE_HEADERS_HEADER = "Access-Control-Expose-Headers"; 109 public static final String ALLOWED_ORIGINS_PARAM = "allowedOrigins" 411 String string = strings.get(i); local [all...] |
| /external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
| ExpressionTranslator.java | 26 import static com.google.clearsilver.jsilver.compiler.JavaExpression.string; 81 * Translate a template AST expression into a Java String expression. 84 return translateUntyped(csExpression).cast(Type.STRING); 126 public JavaExpression declareAsVariable(String name, PExpression csExpression) { 161 * Process AST node for a string (e.g. "hello"). 165 String value = node.getValue().getText(); 167 setResult(string(value)); method 175 String value = node.getValue().getText(); 184 String value = node.getValue().getText(); 226 JavaExpression left = cast(Type.STRING, node.getLeft()) [all...] |
| /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/psaux/ |
| psobjs.c | 639 /************* check for literal string *****************/ 938 /* XXX: some stupid fonts have a `Notice' or `Copyright' string */ 944 /* notice/copyright was not recognized as a valid string token */ 976 /* now copy the string */ 1092 FT_String* string; local 1145 /* we allow both a string or a name */ 1165 " expected a name or string\n" 1183 if ( FT_ALLOC( string, len + 1 ) ) 1186 FT_MEM_COPY( string, cur, len ); 1187 string[len] = 0 [all...] |