Searched refs:strict (Results 1 - 25 of 3626) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-parse-use-strict.js31 // 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 Dregress-1360.js32 function strict() { "use strict"; assertEquals(void 0, this); } function
35 [1,2,3].sort(strict);
38 "axc".replace("x", strict);
H A Dregress-bind-receiver.js28 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 Dregress-1436.js29 // 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 Dregress-1412.js29 // 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 Dregress-1973.js28 // 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/libpng/tests/
H A Dpngtest2 exec ./pngtest --strict ${srcdir}/pngtest.png
H A Dpngstest12 exec ./pngstest --strict --tmpfile "${pattern}" --log ${1+"$@"}\
H A Dpngstest-error8 if ./pngstest --strict --tmpfile "error" --log "$@" "$t"
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
H A Darithsmall.asm4 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 Dpush64.asm4 push strict dword 50
5 push strict dword -1
H A Daddbyte.asm3 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 Dstrict.asm3 ;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 Dstrict-err.asm3 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 Dpushnosize.asm6 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 Dclasses.t3 use strict;
/external/chromium_org/v8/test/mjsunit/
H A Dvalue-wrapper-accessor.js39 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);
71 function strict(
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Ddebug-test-runner28 use strict;
H A Dtest-webkitperl33 use strict;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
H A DXmlLoader.java17 public void setStrictI18n(boolean strict) { argument
18 this.strictI18n = strict;
/external/chromium_org/base/third_party/icu/
H A Dicu_utf.cc118 * 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/remoting/codec/
H A Dcodec_test.h25 // If |strict| is set to true then this routine will make sure the updated
27 void TestVideoEncoder(VideoEncoder* encoder, bool strict);
31 // If |strict| is set to true, this routine will make sure the updated rects
35 bool strict);
/external/chromium_org/third_party/icu/source/common/
H A Dutf_impl.c90 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...]
/external/icu/icu4c/source/common/
H A Dutf_impl.c90 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...]
/external/chromium_org/v8/test/mjsunit/es6/
H A Dgenerators-poisoned-properties.js34 function *strict() { "use strict"; test(strict); }
37 test(strict);
40 assertIteratorResult(undefined, true, strict().next());

Completed in 437 milliseconds

1234567891011>>