/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-parse-use-strict.js | 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 + '}');
|
H A D | regress-1360.js | 32 function strict() { "use strict"; assertEquals(void 0, this); } function 35 [1,2,3].sort(strict); 38 "axc".replace("x", strict);
|
H A D | regress-bind-receiver.js | 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)());
|
H A D | regress-1436.js | 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); 57 [2, 3].filter(strict, undefine [all...] |
H A D | regress-1412.js | 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));
|
H A D | regress-1973.js | 28 // Test that getters and setters pass unwrapped this values in strict mode 29 // and wrapped this values is non-strict mode. 33 // Check that strict mode passes unwrapped this value. 35 Object.defineProperty(prototype, "strict", { 36 get: function() { "use strict"; assertSame(strict_type, typeof this); }, 37 set: function() { "use strict"; assertSame(strict_type, typeof this); } 39 primitive.strict = primitive.strict; 40 // Check that non-strict mode passes wrapped this value.
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-1360.js | 32 function strict() { "use strict"; assertEquals(void 0, this); } function 35 [1,2,3].sort(strict); 38 "axc".replace("x", strict);
|
H A D | regress-bind-receiver.js | 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)());
|
H A D | regress-1436.js | 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); 57 [2, 3].filter(strict, undefine [all...] |
H A D | regress-1412.js | 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));
|
H A D | regress-1973.js | 28 // Test that getters and setters pass unwrapped this values in strict mode 29 // and wrapped this values is non-strict mode. 33 // Check that strict mode passes unwrapped this value. 35 Object.defineProperty(prototype, "strict", { 36 get: function() { "use strict"; assertSame(strict_type, typeof this); }, 37 set: function() { "use strict"; assertSame(strict_type, typeof this); } 39 primitive.strict = primitive.strict; 40 // Check that non-strict mode passes wrapped this value.
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
H A D | arithsmall.asm | 4 and eax, strict dword 3584 5 and eax, strict dword 35 6 and eax, strict byte 3584 7 and eax, strict byte 35 10 and ebx, strict dword 3584 11 and ebx, strict dword 35 12 and ebx, strict byte 3584 13 and ebx, strict byte 35
|
H A D | push64.asm | 4 push strict dword 50 5 push strict dword -1
|
H A D | addbyte.asm | 3 add ax,strict byte 5 4 add ax,strict word 5 6 add ax,strict byte -128 7 add ax,strict word -128 9 add ax,strict byte 0x7f 10 add ax,strict word 0x7f 12 add ax,strict byte 0x80 13 add ax,strict word 0x80 15 add ax,strict byte 0x100 16 add ax,strict wor [all...] |
H A D | strict.asm | 3 ;jmp strict near foo 5 ;jmp strict short foo 9 ;jz strict near foo 11 ;jz strict short foo 18 add eax, strict 4 ; NASM generates dword, yasm generates byte 20 add eax, strict byte 4 22 add eax, strict dword 4 24 add eax, strict 400 26 add eax, strict byte 400 ; generates warning 28 add eax, strict dwor [all...] |
H A D | strict-err.asm | 3 add [rax], strict dword 4 ; illegal; must use dword [eax], strict dword 4 5 add [rax], strict qword 4 ; illegal; must use qword [eax], strict dword 4
|
H A D | pushnosize.asm | 6 push strict byte 0 ; 6A 00 7 push strict word 0 ; 68 0000 8 push strict dword 0 ; 66 68 00000000 13 push strict byte 128 ; 6A 80 - warning (signed overflow) 14 push strict word 128 ; 68 8000 15 push strict dword 128 ; 66 68 80000000 22 push strict byte 0 ; 6A 00 23 push strict word 0 ; 66 68 0000 24 push strict dword 0 ; 68 00000000 29 push strict byt [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/t/ |
H A D | classes.t | 3 use strict;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | debug-test-runner | 28 use strict;
|
H A D | test-webkitperl | 33 use strict;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
H A D | XmlLoader.java | 17 public void setStrictI18n(boolean strict) { argument 18 this.strictI18n = strict;
|
/external/chromium_org/remoting/codec/ |
H A D | codec_test.h | 22 // If |strict| is set to true then this routine will make sure the updated 24 void TestVideoEncoder(VideoEncoder* encoder, bool strict); 28 // If |strict| is set to true, this routine will make sure the updated rects 32 bool strict);
|
/external/chromium/base/third_party/icu/ |
H A D | icu_utf.cc | 118 * The "strict" parameter controls the error behavior: 125 * >0 Obsolete "strict" behavior of UTF8_NEXT_CHAR_SAFE(..., TRUE): 137 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c, UBool strict) { argument 172 if(strict>=0) { 193 if(illegal || (c)<utf8_minLegal[count] || (CBU_IS_SURROGATE(c) && strict!=-2)) { 202 if(strict>=0) { 207 } else if((strict)>0 && CBU_IS_UNICODE_NONCHAR(c)) { 208 /* strict: forbid non-characters like U+fffe */ 218 if(strict>=0) {
|
/external/chromium_org/base/third_party/icu/ |
H A D | icu_utf.cc | 118 * The "strict" parameter controls the error behavior: 125 * >0 Obsolete "strict" behavior of UTF8_NEXT_CHAR_SAFE(..., TRUE): 137 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c, UBool strict) { argument 172 if(strict>=0) { 193 if(illegal || (c)<utf8_minLegal[count] || (CBU_IS_SURROGATE(c) && strict!=-2)) { 202 if(strict>=0) { 207 } else if((strict)>0 && CBU_IS_UNICODE_NONCHAR(c)) { 208 /* strict: forbid non-characters like U+fffe */ 218 if(strict>=0) {
|
/external/icu4c/common/ |
H A D | utf_impl.c | 90 errorValue(int32_t count, int8_t strict) { argument 91 if(strict>=0) { 93 } else if(strict==-3) { 106 * The "strict" parameter controls the error behavior: 118 * >0 Obsolete "strict" behavior of UTF8_NEXT_CHAR_SAFE(..., TRUE): 125 utf8_nextCharSafeBody(const uint8_t *s, int32_t *pi, int32_t length, UChar32 c, UBool strict) { argument 154 if(((c&0xffe0)==0x360 && strict!=-2) || trail>0x3f) { break; } 161 /* strict: forbid non-characters like U+fffe */ 162 (strict<=0 || !U_IS_UNICODE_NONCHAR(c))) { 179 c=errorValue(i-*pi, strict); 230 utf8_prevCharSafeBody(const uint8_t *s, int32_t start, int32_t *pi, UChar32 c, UBool strict) argument [all...] |