Searched defs:String (Results 1 - 25 of 180) sorted by relevance

12345678

/external/chromium_org/v8/test/mjsunit/
H A Dgetter-in-value-prototype.js33 String.prototype.__defineGetter__('x', function() { return this; });
0 String.prototype.__defineGetter__('x', function() { return this; }); class
H A Dregexp-string-methods.js28 // 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'; };
30 String.prototype.slice = function() { return "x"; }; class
H A Dindexed-value-properties.js28 // Test that the Number, String and Boolean prototypes are searched
49 String.prototype[0] = 0;
50 String.prototype[1] = return_one;
47 String.prototype[0] = 0; class
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2686.js28 // Check Function doesn't use String.prototype.indexOf.
31 String.prototype.indexOf = function () { return -1; }
30 String.prototype.indexOf = function () { return -1; } class
H A Dregress-416416.js7 String.prototype.length.x();
6 String.prototype.length.x(); class
H A Dregress-760-1.js28 // Check that when valueOf for a String object is overwritten it is called and
33 String.prototype.valueOf = function() { return 'y' };
0 String.prototype.valueOf = function() { return 'y' }; class
H A Dregress-100702.js31 String.prototype.isThatMe = function () {
0 String.prototype.isThatMe = function () { class
H A Dregress-crbug-3184.js53 String.prototype.cap = function() {
57 String.prototype.cap = String.prototype.cap.wrap(
51 String.prototype.cap = function() { class
H A Dregress-2855.js30 a = new String(a);
37 String.prototype.valueOf = function() { return 42; }
45 var x = new String("foo");
36 String.prototype.valueOf = function() { return 42; } class
H A Dregress-900966.js29 String.prototype[10] = 'x';
28 String.prototype[10] = 'x'; class
/external/chromium_org/v8/test/webkit/
H A Ddfg-convert-this-polymorphic-object-then-exit-on-string.js34 String.prototype.x = 42;
32 String.prototype.x = 42; class
H A Ddfg-to-string-bad-toString.js25 "Tests that we do ToString conversions correctly when String.prototype.valueOf is not what we wanted."
28 String.prototype.toString = function() { return 42; }
32 a = new String(a);
26 String.prototype.toString = function() { return 42; } class
H A Ddfg-to-string-bad-valueOf.js25 "Tests that we do ToString conversions correctly when String.prototype.valueOf is not what we wanted."
28 String.prototype.valueOf = function() { return 42; }
32 a = new String(a);
26 String.prototype.valueOf = function() { return 42; } class
H A Ddfg-to-string-toString-becomes-bad.js25 "Tests that we do ToString conversions correctly when String.prototype.valueOf is initially fine but then gets clobbered."
30 a = new String(a);
37 String.prototype.toString = function() { return 42; }
36 String.prototype.toString = function() { return 42; } class
H A Dprimitive-method-this.js31 String.prototype.thisType = function() { return typeof this; };
28 String.prototype.thisType = function() { return typeof this; }; class
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/
H A Dutilities.js72 String.prototype.findAll = function(string)
86 String.prototype.lineEndings = function()
98 String.prototype.lineCount = function()
107 String.prototype.lineAt = function(lineNumber)
122 String.prototype.escapeCharacters = function(chars)
133 return String(this);
148 String.regexSpecialCharacters = function()
156 String.prototype.escapeForRegExp = function()
158 return this.escapeCharacters(String.regexSpecialCharacters());
164 String
66 String.prototype.findAll = function(string) class
[all...]
/external/chromium_org/v8/test/message/
H A Doverwritten-builtins.js28 String.prototype.split = function() { return "SPLIT ERROR"; };
0 String.prototype.split = function() { return "SPLIT ERROR"; }; class
/external/chromium_org/v8/test/webkit/fast/js/
H A Dobject-prototype-toLocaleString.js35 var stringPrototypeToString = String.prototype.toString; class
36 String.prototype.toString = (function(){ return "stringPrototypeToString"; });
38 String.prototype.toString = stringPrototypeToString;
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-string.h34 // This header file declares the String class and functions used internally by
57 // String - an abstract class holding static string utilities.
58 class GTEST_API_ String { class in namespace:testing::internal
104 // Converts a wide C string to a String using the UTF-8 encoding.
157 String(); // Not meant to be instantiated.
158 }; // class String
/external/clang/test/SemaCXX/
H A Dlookup-member.cpp5 class String;
8 using A::String;
9 class String;
13 char *String; member in union:value
/external/gtest/include/gtest/internal/
H A Dgtest-string.h34 // This header file declares the String class and functions used internally by
57 // String - an abstract class holding static string utilities.
58 class GTEST_API_ String { class in namespace:testing::internal
104 // Converts a wide C string to a String using the UTF-8 encoding.
157 String(); // Not meant to be instantiated.
158 }; // class String
/external/chromium_org/v8/test/webkit/fast/js/kde/
H A Dprototype_length.js28 shouldBe("String.prototype.length","0");
41 String.prototype.length = 8;
42 shouldBe("String.prototype.length","0");
47 shouldBe("delete String.prototype.length","false");
59 for (i in String.prototype) { if (i == "length") foundStringPrototypeLength = true; }
40 String.prototype.length = 8; class
/external/qemu/android/utils/
H A Dproperty_file_unittest.cpp19 class String { class
21 explicit String(const char* str) : mStr(str) {} function in class:String
22 ~String() { free(const_cast<char*>(mStr)); }
34 String value(propertyFile_getValue(kFile, sizeof kFile, "foo"));
38 String value2(propertyFile_getValue(kFile, sizeof kFile, "bar"));
44 String value(propertyFile_getValue(kFile, sizeof kFile, "foo"));
48 String value2(propertyFile_getValue(kFile, sizeof kFile, "bar"));
58 String foo(propertyFile_getValue(kFile, sizeof kFile, "foo"));
59 String bar(propertyFile_getValue(kFile, sizeof kFile, "bar"));
60 String sd
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorStateClient.h40 virtual void updateInspectorStateCookie(const String&) { }; argument
/external/chromium_org/third_party/WebKit/Source/platform/
H A DKillRingNone.cpp31 void KillRing::append(const String&) argument
35 void KillRing::prepend(const String&) argument
39 String KillRing::yank()
41 return String();

Completed in 3379 milliseconds

12345678