/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-100702.js | 31 String.prototype.isThatMe = function () {
|
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 | 5 class String; 8 using A::String; 9 class String; 13 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/arduino/hardware/arduino/cores/arduino/ |
WString.h | 2 WString.h - String library for Wiring & Arduino 25 #include <string.h> 28 class String 32 String( const char *value = "" ); 33 String( const String &value ); 34 String( const char ); 35 String( const unsigned char ); 36 String( const int, const int base=10); 37 String( const unsigned int, const int base=10 ) [all...] |
/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()); 54 std::string NulPattern="X[0-9]+X([a-f])?:([0-9]+)"; 55 String="YX99a:513b"; 58 EXPECT_FALSE(r5.match(String)); 60 String[3]='\0'; 61 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
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
rvalue1.cpp | 5 class String { 9 String(char *incp); 10 String(const String &constStringRef); 14 String::String(char *incp) 19 String::String(const String &constStringRef) 31 void foofun(String string [all...] |
/ndk/tests/device/test-stlport_static-exception/jni/ |
rvalue1.cpp | 5 class String { 9 String(char *incp); 10 String(const String &constStringRef); 14 String::String(char *incp) 19 String::String(const String &constStringRef) 31 void foofun(String string [all...] |
/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));
|