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

123456

/external/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/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/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/v8/test/mjsunit/es6/
H A Dstring-html.js12 assertEquals(String.prototype.anchor.call(0x2A, 0x2A), '<a name="42">42</a>');
14 String.prototype.anchor.call(undefined);
17 String.prototype.anchor.call(null);
19 assertEquals(String.prototype.anchor.length, 1);
23 assertEquals(String.prototype.big.call(0x2A), '<big>42</big>');
25 String.prototype.big.call(undefined);
28 String.prototype.big.call(null);
30 assertEquals(String.prototype.big.length, 0);
34 assertEquals(String.prototype.blink.call(0x2A), '<blink>42</blink>');
36 String
190 String.prototype[name].call(obj); class
[all...]
/external/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/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/clang/test/SemaCXX/
H A Dlookup-member.cpp4 class String; // expected-note {{target of using declaration}}
7 using A::String; // expected-note {{using declaration}}
8 class String; // expected-error {{conflicts with target of using declaration}}
12 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/lzma/CPP/Common/
H A DTextConfig.h11 UString String; member in struct:CTextConfigPair
/external/opencv3/modules/cudacodec/src/
H A Dvideo_reader.cpp51 Ptr<VideoReader> cv::cudacodec::createVideoReader(const String&) { throw_no_cuda(); return Ptr<VideoReader>(); } argument
198 Ptr<VideoReader> cv::cudacodec::createVideoReader(const String& filename)
/external/opencv3/modules/cudaobjdetect/src/
H A Dcascadeclassifier.cpp51 Ptr<cuda::CascadeClassifier> cv::cuda::CascadeClassifier::create(const String&) { throw_no_cuda(); return Ptr<cuda::CascadeClassifier>(); } argument
116 explicit HaarCascade_Impl(const String& filename);
128 NCVStatus load(const String& classifierFile);
154 static void NCVDebugOutputHandler(const String &msg)
159 HaarCascade_Impl::HaarCascade_Impl(const String& filename) :
229 NCVStatus HaarCascade_Impl::load(const String& classifierFile)
655 String stageTypeStr = (String)root[CUDA_CC_STAGE_TYPE];
658 String featureTypeStr = (String)roo
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/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/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

Completed in 504 milliseconds

123456