/external/v8/test/mjsunit/ |
getter-in-value-prototype.js | 33 String.prototype.__defineGetter__('x', function() { return this; });
|
regexp-string-methods.js | 28 // Regexp shouldn't use String.prototype.slice() 29 var s = new String("foo"); 31 String.prototype.slice = function() { return "x"; } 35 // Regexp shouldn't use String.prototype.charAt() 39 String.prototype.charAt = function(idx) { return 'g'; }; 50 RegExp.prototype.exec = function(string) { return 'x'; }
|
indexed-value-properties.js | 28 // Test that the Number, String and Boolean prototypes are searched 49 String.prototype[0] = 0; 50 String.prototype[1] = return_one;
|
value-wrapper.js | 93 assertEquals('[object String]', 'xxx'.ObjectToString()); 104 String.prototype.TypeOfThis = TypeOfThis; 110 String.prototype.ObjectValueOf = Object.prototype.valueOf; 114 String.prototype.ObjectToString = Object.prototype.toString; 121 String.prototype.TypeOfThis = 'x'; 127 String.prototype.TypeOfThis = TypeOfThis; 136 delete String.prototype.TypeOfThis; 142 String.prototype.TypeOfThis = TypeOfThis;
|
/external/v8/test/mjsunit/regress/ |
regress-760-1.js | 28 // Check that when valueOf for a String object is overwritten it is called and 29 // the result used when that object is added with a string. 33 String.prototype.valueOf = function() { return 'y' };
|
regress-crbug-3184.js | 53 String.prototype.cap = function() { 57 String.prototype.cap = String.prototype.cap.wrap(
|
regress-900966.js | 29 String.prototype[10] = 'x';
|
/external/v8/test/message/ |
overwritten-builtins.js | 28 String.prototype.split = function() { return "SPLIT ERROR"; };
|
/dalvik/dx/tests/089-dex-define-object/ |
String.java | 19 public final class String {
|
/external/clang/test/SemaCXX/ |
lookup-member.cpp | 4 class String; 7 using A::String; 8 class String; 12 char *String;
|
/external/webkit/Source/JavaScriptCore/wtf/brew/ |
StringBrew.cpp | 33 // String conversions 34 String::String(const AECHAR* string) 37 const UChar* str = reinterpret_cast<const UChar*>(string); 38 const size_t len = std_wstrlen(string);
|
/external/webkit/Source/WebCore/platform/text/cf/ |
StringCF.cpp | 30 String::String(CFStringRef str) 45 CFStringRef String::createCFString() const
|
/external/webkit/Source/JavaScriptCore/wtf/haiku/ |
StringHaiku.cpp | 29 #include <String.h> 34 // String conversions 35 String::String(const BString& string) 37 if (string.Length()) 38 m_impl = String::fromUTF8(string.String(), string.Length()).impl() 45 BString string; local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
String.java | 19 * $Id: String.java 468655 2006-10-28 07:12:06Z minchau $ 27 * The 'string()' operation expression executer. 29 public class String extends UnaryOperation
|
/external/llvm/unittests/Support/ |
RegexTest.cpp | 47 std::string String="axxb"; 48 String[2] = '\0'; 50 EXPECT_TRUE(r4.match(String, &Matches)); 52 EXPECT_EQ(String, Matches[0].str()); 55 std::string NulPattern="X[0-9]+X([a-f])?:([0-9]+)"; 56 String="YX99a:513b"; 59 EXPECT_FALSE(r5.match(String)); 61 String[3]='\0'; 62 EXPECT_TRUE(r5.match(String)); [all...] |
/external/webkit/Source/JavaScriptCore/wtf/qt/ |
StringQt.cpp | 35 // String conversions 36 String::String(const QString& qstr) 43 String::String(const QStringRef& ref) 45 if (!ref.string()) 50 String::operator QString() const 55 QDataStream& operator<<(QDataStream& stream, const String& str) 62 QDataStream& operator>>(QDataStream& stream, String& str)
|
/external/webkit/Source/JavaScriptCore/wtf/wx/ |
StringWx.cpp | 32 #include <wx/string.h> 39 String::String(const wxString& wxstr) 53 // the number of characters in UTF-16 encoding of the string may differ 79 String::operator wxString() const
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-string.h | 34 // This header file declares the String class and functions used internally by 44 #include <string.h> 50 // String - a UTF-8 string class. 52 // We cannot use std::string as Microsoft's STL implementation in 57 // Also, String is different from std::string in that it can represent 58 // both NULL and the empty string, while std::string cannot represent 61 // NULL and the empty string are considered different. NULL is les [all...] |
/external/webkit/PerformanceTests/SunSpider/hosted/ |
json2.js | 33 level. If it is a string (such as '\t' or ' '), 83 If the space parameter is a non-empty string, then that string will 120 if (typeof value === 'string') { 133 if (typeof value === 'string' && 186 String.prototype.toJSON = 209 function quote(string) { 211 // If the string contains no control characters, no quote characters, and no 217 return escapable.test(string) ? 218 '"' + string.replace(escapable, function (a) [all...] |
/libcore/luni/src/test/java/tests/java/lang/String/ |
Tests.java | 17 package tests.java.lang.String; 22 * Tests for the class {@link String}. 43 String s1 = "ABCDEFG"; 44 String s2 = "abcdefg"; 46 assertTrue(String.CASE_INSENSITIVE_ORDER.compare(s1, s2) == 0);
|
/cts/tests/src/android/text/method/cts/ |
TextMethodUtils.java | 36 Assert.assertEquals(String.valueOf(expected), String.valueOf(actual));
|
/external/webkit/Source/WebCore/fileapi/ |
LocalFileSystem.h | 63 void initializeLocalFileSystem(const String&); 65 String fileSystemBasePath() const; 69 LocalFileSystem(const String& basePath) 76 // An inner class that enforces thread-safe string access. 79 explicit SystemBasePath(const String& path) : m_value(path) { } 80 operator String() const 85 String m_value;
|
/frameworks/base/core/java/com/android/internal/util/ |
Preconditions.java | 46 * be converted to a string using {@link String#valueOf(Object)} 52 throw new NullPointerException(String.valueOf(errorMessage));
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/ |
ApkCreationException.java | 25 public ApkCreationException(String format, Object... args) { 26 super(String.format(format, args)); 29 public ApkCreationException(Throwable cause, String format, Object... args) { 30 super(String.format(format, args), cause);
|
SealedApkException.java | 25 public SealedApkException(String format, Object... args) { 26 super(String.format(format, args)); 29 public SealedApkException(Throwable cause, String format, Object... args) { 30 super(String.format(format, args), cause);
|