/external/v8/test/mjsunit/regress/ |
regress-1360.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 function strict() { "use strict"; assertEquals(void 0, this); } function 35 [1,2,3].sort(strict); 38 "axc".replace("x", strict);
|
regress-bind-receiver.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 function strict() { 'use strict'; return this; } function 32 assertEquals(true, strict.bind(true)()); 33 assertEquals(42, strict.bind(42)()); 34 assertEquals("", strict.bind("")()); 35 assertEquals(null, strict.bind(null)()); 36 assertEquals(undefined, strict.bind(undefined)()); 37 assertEquals(obj, strict.bind(obj)());
|
regress-parse-use-strict.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 // Snippet trying to switch to strict mode. 32 var strict = '"use strict"; with({}) {}'; variable 34 // Test switching to strict mode after string literal. 35 assertThrows('function f() { "use sanity";' + strict + '}'); 36 assertThrows('function f() { "use sanity";' + strict + filler + '}'); 38 // Test switching to strict mode after function declaration. 41 eval('function f() { function g() {}' + strict + '}'); 42 eval('function f() { function g() {}' + strict + filler + '}') [all...] |
regress-1436.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 // undefined as the receiver (which for non-strict functions is 36 function strict(){ "use strict"; assertEquals(void 0, this); } function 37 function strict_null(){ "use strict"; assertEquals(null, this); } 40 [2, 3].reduce(strict); 42 [2, 3].reduceRight(strict); 49 [2, 3].every(strict); 50 [2, 3].every(strict, undefined); 56 [2, 3].filter(strict); [all...] |
regress-1412.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 // unchanged to strict-mode functions and builtins. 33 function strict() { "use strict"; return this; } function 36 assertEquals(void 0, strict.apply(undefined, arguments)); 37 assertEquals(42, strict.apply(42, arguments)); 38 assertEquals("asdf", strict.apply("asdf", arguments));
|
/external/v8/test/mjsunit/ |
value-wrapper-accessor.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 39 Object.defineProperty(prototype, "strict", { 40 get: function() { "use strict"; result = this; }, 41 set: function(v) { "use strict"; result = this; } 48 function strict(s) { function 49 return s.strict; 59 strict(object); 60 strict(object); 61 %OptimizeFunctionOnNextCall(strict); 63 strict(object) [all...] |
/external/v8/test/mjsunit/es6/ |
arrow-rest-params-lazy-parsing.js | 22 "use strict"; 50 strict: strictTest, 56 assertEquals(2, O.strict.length); 65 O.strict(); 66 O.strict(2, 1); 67 O.strict(6, 5, 4, 3, 2, 1); 68 O.strict(3, 2, 1); 77 O.strict.apply(O, []); 78 O.strict.apply(O, [2, 1]); 79 O.strict.apply(O, [6, 5, 4, 3, 2, 1]) [all...] |
arrow-rest-params.js | 20 "use strict"; 48 strict: strictTest, 54 assertEquals(2, O.strict.length); 63 O.strict(); 64 O.strict(2, 1); 65 O.strict(6, 5, 4, 3, 2, 1); 66 O.strict(3, 2, 1); 75 O.strict.apply(O, []); 76 O.strict.apply(O, [2, 1]); 77 O.strict.apply(O, [6, 5, 4, 3, 2, 1]) [all...] |
rest-params.js | 19 "use strict"; 48 strict: strictTest, 54 assertEquals(2, O.strict.length); 63 O.strict(); 64 O.strict(1, 2); 65 O.strict(1, 2, 3, 4, 5, 6); 66 O.strict(1, 2, 3); 75 O.strict.apply(O, []); 76 O.strict.apply(O, [1, 2]); 77 O.strict.apply(O, [1, 2, 3, 4, 5, 6]) [all...] |
array-from.js | 28 // Assert that calling mapfn with / without thisArg in sloppy and strict modes 32 function strict(){ "use strict"; assertEquals(void 0, this); } function 33 function strict_null(){ "use strict"; assertEquals(null, this); } 37 Array.from([1], strict); 38 Array.from([1], strict, void 0);
|
typedarray-from.js | 31 // Assert that calling mapfn with / without thisArg in sloppy and strict modes 35 function strict() { 'use strict'; assertEquals(undefined, this); } 36 function strict_null() { 'use strict'; assertEquals(null, this); } 40 constructor.from([1], strict); 41 constructor.from([1], strict, void 0);
|
/external/v8/test/message/ |
nonstrict-arguments.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // Eval restrictions should not trigger outside of strict-mode code. 39 function strict() { 40 "use strict";
|
nonstrict-eval.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // Eval restrictions should not trigger outside of strict-mode code. 39 function strict() { 40 "use strict";
|
/external/v8/test/mjsunit/compiler/ |
receiver-conversion.js | 39 // Test undefined in strict mode. 46 "use strict"; 50 return strict(); 52 global.strict = inner; 76 // Test primitive number in strict mode. 83 "use strict"; 87 return (0).strict(); 89 Number.prototype.strict = inner; 113 // Test primitive string in strict mode. 120 "use strict"; [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/ |
NonMonotonousSequenceException.java | 41 private final boolean strict; field in class:NonMonotonousSequenceException 74 * @param strict Whether the sequence must be strictly increasing or 81 boolean strict) { 83 (strict ? 86 (strict ? 92 this.strict = strict; 107 return strict;
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharset.java | 44 final boolean strict;
field in class:UTF7StyleCharset 52 * decoders should be strict about the interpretation of malformed encoded
61 * @param strict True if strict handling of sequences is requested
64 boolean strict) {
67 this.strict = strict;
83 return new UTF7StyleCharsetDecoder(this, base64, strict);
91 return new UTF7StyleCharsetEncoder(this, base64, strict);
|
UTF7StyleCharsetDecoder.java | 44 private final boolean strict;
field in class:UTF7StyleCharsetDecoder 51 UTF7StyleCharsetDecoder(UTF7StyleCharset cs, Base64Util base64, boolean strict) {
54 this.strict = strict;
89 if (justUnshifted && strict)
118 * in strict mode, null otherwise
134 if (strict)
149 if ((base64mode && strict) || base64bitsWaiting())
|
UTF7StyleCharsetEncoder.java | 56 private final boolean strict;
field in class:UTF7StyleCharsetEncoder 68 UTF7StyleCharsetEncoder(UTF7StyleCharset cs, Base64Util base64, boolean strict) {
72 this.strict = strict;
185 if (base64.contains(ch) || ch == unshift || strict)
|
/external/google-breakpad/src/testing/test/ |
gmock-nice-strict_test.cc | 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 #include "gmock/gmock-generated-nice-strict.h" 209 // Tests that a strict mock allows expected calls. 217 // Tests that an unexpected call on a strict mock fails. 226 // Tests that an uninteresting call on a strict mock fails. 234 // Tests that an uninteresting call on a strict mock fails, even if 277 StrictMock< ::Mock> strict; local 278 EXPECT_CALL(strict, DoThis()); 279 strict.DoThis();
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BestMatchSpec.java | 61 private RFC2965Spec strict; field in class:BestMatchSpec 76 if (this.strict == null) { 77 this.strict = new RFC2965Spec(this.datepatterns, this.oneHeader); 79 return strict;
|
/external/gmock/test/ |
gmock-nice-strict_test.cc | 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 #include "gmock/gmock-generated-nice-strict.h" 349 // Tests that a strict mock allows expected calls. 357 // Tests that an unexpected call on a strict mock fails. 366 // Tests that an uninteresting call on a strict mock fails. 374 // Tests that an uninteresting call on a strict mock fails, even if 417 StrictMock< ::Mock> strict; local 418 EXPECT_CALL(strict, DoThis()); 419 strict.DoThis();
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 64 def __init__(self, filenames=(), strict=True): 69 self.types_map = ({}, {}) # dict for (non-strict, strict) 76 self.read(name, strict) 78 def add_type(self, type, ext, strict=True): 86 If strict is true, information will be added to 90 self.types_map[strict][ext] = type 91 exts = self.types_map_inv[strict].setdefault(type, [] 577 strict = 1 variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 64 def __init__(self, filenames=(), strict=True): 69 self.types_map = ({}, {}) # dict for (non-strict, strict) 76 self.read(name, strict) 78 def add_type(self, type, ext, strict=True): 86 If strict is true, information will be added to 90 self.types_map[strict][ext] = type 91 exts = self.types_map_inv[strict].setdefault(type, [] 577 strict = 1 variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 64 def __init__(self, filenames=(), strict=True): 69 self.types_map = ({}, {}) # dict for (non-strict, strict) 76 self.read(name, strict) 78 def add_type(self, type, ext, strict=True): 86 If strict is true, information will be added to 90 self.types_map[strict][ext] = type 91 exts = self.types_map_inv[strict].setdefault(type, [] 577 strict = 1 variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 64 def __init__(self, filenames=(), strict=True): 69 self.types_map = ({}, {}) # dict for (non-strict, strict) 76 self.read(name, strict) 78 def add_type(self, type, ext, strict=True): 86 If strict is true, information will be added to 90 self.types_map[strict][ext] = type 91 exts = self.types_map_inv[strict].setdefault(type, [] 577 strict = 1 variable [all...] |