/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);
|
/external/valgrind/main/tests/ |
filter_libc | 3 use strict;
|
/external/wpa_supplicant_8/hostapd/logwatch/ |
hostapd | 9 use strict;
|
/external/chromium_org/v8/test/preparser/ |
non-use-strict-octal-escape.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // A string looking like "use strict", but with an octal escape in it, 29 // doesn't trigger strict mode. 32 "use\040strict";
|
nonstrict-with.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // The with statement is allowed in non-strict code, and even around 29 // strict code. 35 "use strict";
|
/external/v8/test/preparser/ |
non-use-strict-octal-escape.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // A string looking like "use strict", but with an octal escape in it, 29 // doesn't trigger strict mode. 32 "use\040strict";
|
nonstrict-with.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // The with statement is allowed in non-strict code, and even around 29 // strict code. 35 "use strict";
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
block-for.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 "use strict"; 97 assertThrows("function foo() { 'use strict'; for (let in {}) { } }", SyntaxError); 98 assertThrows("function foo() { 'use strict'; for (let x = 3 in {}) { } }", SyntaxError); 99 assertThrows("function foo() { 'use strict'; for (let x, y in {}) { } }", SyntaxError); 100 assertThrows("function foo() { 'use strict'; for (let x = 3, y in {}) { } }", SyntaxError); 101 assertThrows("function foo() { 'use strict'; for (let x, y = 4 in {}) { } }", SyntaxError); 102 assertThrows("function foo() { 'use strict'; for (let x = 3, y = 4 in {}) { } }", SyntaxError);
|
block-let-declaration.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 "use strict"; 59 assertThrows("(function(){ 'use strict'; " + str + "})", expect); 63 assertDoesNotThrow("(function(){ 'use strict'; " + str + "})()"); 112 // non-strict statement positions. 114 // Non-strict source element positions. 116 "use strict"; 117 // Strict source element positions. 129 // Test function declarations in statement position in strict mode.
|
proxies-function.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 56 // TODO(rossberg): strict mode seems to be broken on x64... 70 // TODO(rossberg): strict mode seems to be broken on x64... 232 "use strict" 248 "use strict" 336 "use strict"; 342 "use strict"; 349 "use strict"; 355 "use strict"; 555 assertThrows(function() { "use strict"; o.b = 51 }, TypeError [all...] |
/external/v8/test/mjsunit/harmony/ |
block-for.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 "use strict"; 97 assertThrows("function foo() { 'use strict'; for (let in {}) { } }", SyntaxError); 98 assertThrows("function foo() { 'use strict'; for (let x = 3 in {}) { } }", SyntaxError); 99 assertThrows("function foo() { 'use strict'; for (let x, y in {}) { } }", SyntaxError); 100 assertThrows("function foo() { 'use strict'; for (let x = 3, y in {}) { } }", SyntaxError); 101 assertThrows("function foo() { 'use strict'; for (let x, y = 4 in {}) { } }", SyntaxError); 102 assertThrows("function foo() { 'use strict'; for (let x = 3, y = 4 in {}) { } }", SyntaxError);
|
block-let-declaration.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32 "use strict"; 59 assertThrows("(function(){ 'use strict'; " + str + "})", expect); 63 assertDoesNotThrow("(function(){ 'use strict'; " + str + "})()"); 112 // non-strict statement positions. 114 // Non-strict source element positions. 116 "use strict"; 117 // Strict source element positions. 129 // Test function declarations in statement position in strict mode.
|
proxies-function.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 56 // TODO(rossberg): strict mode seems to be broken on x64... 70 // TODO(rossberg): strict mode seems to be broken on x64... 232 "use strict" 248 "use strict" 336 "use strict"; 342 "use strict"; 349 "use strict"; 355 "use strict"; 555 assertThrows(function() { "use strict"; o.b = 51 }, TypeError [all...] |
/external/chromium_org/third_party/simplejson/ |
decoder.py | 96 def py_scanstring(s, end, encoding=None, strict=True, 101 on attempt to decode an invalid string. If strict is False then literal 128 if strict: 180 def JSONObject((s, end), encoding, strict, scan_once, object_hook, 211 key, end = scanstring(s, end, encoding, strict) 343 parse_int=None, parse_constant=None, strict=True, 382 *strict* controls the parser's behavior when it encounters an 394 self.strict = strict
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
SamplingProfilerTest.java | 137 test_HprofData(hprofData, false); // non-strict from here down because of this RI data 211 private void test_HprofData(HprofData hprofData, boolean strict) throws Exception { 212 assertHprofData(hprofData, strict); 214 test_HprofData_binary(hprofData, strict); 220 private void assertHprofData(HprofData hprofData, boolean strict) throws Exception { 239 if (strict) { 271 private void test_HprofData_binary(HprofData hprofData, boolean strict) throws Exception { 296 assertHprofData(hprofData, strict);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
decoder.py | 65 def py_scanstring(s, end, encoding=None, strict=True, 70 on attempt to decode an invalid string. If strict is False then literal 97 if strict: 149 def JSONObject(s_and_end, encoding, strict, scan_once, object_hook, 176 key, end = scanstring(s, end, encoding, strict) 304 parse_int=None, parse_constant=None, strict=True, 342 If ``strict`` is false (true is the default), then control 354 self.strict = strict
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
decoder.py | 65 def py_scanstring(s, end, encoding=None, strict=True, 70 on attempt to decode an invalid string. If strict is False then literal 97 if strict: 149 def JSONObject(s_and_end, encoding, strict, scan_once, object_hook, 176 key, end = scanstring(s, end, encoding, strict) 304 parse_int=None, parse_constant=None, strict=True, 342 If ``strict`` is false (true is the default), then control 354 self.strict = strict
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
insn.c | 23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 65 retval->strict = 0; 81 retval->strict = 0; 97 retval->strict = 0; 121 retval->strict = 0; 230 fprintf(f, "%*sDeref=%d, Strict=%d\n", indent_level+1, "", 231 (int)op->deref, (int)op->strict);
|
/external/chromium_org/v8/test/webkit/fast/js/ |
Object-defineProperty.js | 20 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 159 // Repeat of the above, in strict mode. 161 shouldBe("'use strict'; var o = Object.defineProperty({}, 'foo', {get:function(){return 42;}, set:function(x){this.result = x;}}); o.foo", '42') 162 shouldBe("'use strict'; var o = Object.defineProperty({}, 'foo', {get:function(){return 42;}, set:function(x){this.result = x;}}); o.foo = 42; o.result;", '42'); 163 shouldBe("'use strict'; var o = Object.defineProperty({}, 'foo', {get:undefined, set:function(x){this.result = x;}}); o.foo", 'undefined') 164 shouldBe("'use strict'; var o = Object.defineProperty({}, 'foo', {get:undefined, set:function(x){this.result = x;}}); o.foo = 42; o.result;", '42'); 165 shouldBe("'use strict'; var o = Object.defineProperty({}, 'foo', {set:function(x){this.result = x;}}); o.foo", 'undefined') 166 shouldBe("'use strict'; var o = Object.defineProperty({}, 'foo', {set:function(x){this.result = x;}}); o.foo = 42; o.result;", '42'); 167 shouldBe("'use strict'; var o = Object.defineProperty({}, 'foo', {get:function(){return 42;}, set:undefined}); o.foo", '42') 168 shouldThrow("'use strict'; var o = Object.defineProperty({}, 'foo', {get:function(){return 42;}, set:undefined}); o.foo = 4 (…) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
PKCS1Encoding.java | 22 * work with one of these set the system property org.bouncycastle.pkcs1.strict to false. 28 public static final String STRICT_LENGTH_ENABLED_PROPERTY = "org.bouncycastle.pkcs1.strict"; 55 String strict = (String)AccessController.doPrivileged(new PrivilegedAction() local 63 return strict == null || strict.equals("true");
|
/external/chromium/testing/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" 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();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
check.py | 46 ('strict', 's', 49 boolean_options = ['metadata', 'restructuredtext', 'strict'] 55 self.strict = 0 74 elif self.strict: 77 # let's raise an error in strict mode, if we have at least 79 if self.strict and self._warnings > 0:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
check.py | 46 ('strict', 's', 49 boolean_options = ['metadata', 'restructuredtext', 'strict'] 55 self.strict = 0 74 elif self.strict: 77 # let's raise an error in strict mode, if we have at least 79 if self.strict and self._warnings > 0:
|
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/ |
UTF8.cpp | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 172 char** targetStart, char* targetEnd, bool strict) 193 } else if (strict) { // it's an unpaired high surrogate 203 } else if (strict) { 299 UChar** targetStart, UChar* targetEnd, bool* sourceAllASCII, bool strict) 311 // Do this check whether lenient or strict 328 if (strict) { 351 if (strict) {
|
/external/chromium_org/v8/test/mjsunit/ |
strict-mode-eval.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 "use strict"; 35 // Verify the code compiles just fine in non-strict mode 36 // (using aliased eval to force non-strict mode)
|