/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
test-webkitperl | 27 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33 use strict;
|
ensure-valid-python | 24 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 use strict;
|
/external/chromium_org/v8/test/mjsunit/regress/ |
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-1973.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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 [all...] |
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-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)());
|
/external/dropbear/libtommath/ |
gen.pl | 6 use strict;
|
/external/v8/test/mjsunit/regress/ |
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-1973.js | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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 [all...] |
/frameworks/native/opengl/libs/tools/ |
glenumsgen | 17 use strict;
|
glentrygen | 17 use strict;
|
/external/icu4c/common/ |
utf_impl.c | 90 errorValue(int32_t count, int8_t strict) { 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) { 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); [all...] |
/external/iputils/Modules/ |
Makefile | 5 CCOPT=-O2 -Wstrict-prototypes -Wall -Werror -fno-strict-aliasing -fno-common
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.dynamic.safety/ |
get_pointer_safety.pass.cpp | 22 r == std::pointer_safety::strict);
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
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())
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mimetypes.py | 44 # First try strict 45 eq(self.db.guess_type('foo.xul', strict=True), (None, None)) 46 eq(self.db.guess_extension('image/jpg', strict=True), None) 47 # And then non-strict 48 eq(self.db.guess_type('foo.xul', strict=False), ('text/xul', None)) 49 eq(self.db.guess_extension('image/jpg', strict=False), '.jpg') 54 # First try strict. Use a set here for testing the results because if 57 all = set(self.db.guess_all_extensions('text/plain', strict=True)) 59 # And now non-strict 60 all = self.db.guess_all_extensions('image/jpg', strict=False [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mimetypes.py | 44 # First try strict 45 eq(self.db.guess_type('foo.xul', strict=True), (None, None)) 46 eq(self.db.guess_extension('image/jpg', strict=True), None) 47 # And then non-strict 48 eq(self.db.guess_type('foo.xul', strict=False), ('text/xul', None)) 49 eq(self.db.guess_extension('image/jpg', strict=False), '.jpg') 54 # First try strict. Use a set here for testing the results because if 57 all = set(self.db.guess_all_extensions('text/plain', strict=True)) 59 # And now non-strict 60 all = self.db.guess_all_extensions('image/jpg', strict=False [all...] |
/external/chromium_org/third_party/icu/source/common/ |
utf_impl.c | 89 * The "strict" parameter controls the error behavior: 96 * >0 Obsolete "strict" behavior of UTF8_NEXT_CHAR_SAFE(..., TRUE): 108 utf8_nextCharSafeBody(const uint8_t *s, int32_t *pi, int32_t length, UChar32 c, UBool strict) { 143 if(strict>=0) { 164 if(illegal || (c)<utf8_minLegal[count] || (UTF_IS_SURROGATE(c) && strict!=-2)) { 173 if(strict>=0) { 178 } else if((strict)>0 && UTF_IS_UNICODE_NONCHAR(c)) { 179 /* strict: forbid non-characters like U+fffe */ 189 if(strict>=0) { 245 utf8_prevCharSafeBody(const uint8_t *s, int32_t start, int32_t *pi, UChar32 c, UBool strict) { [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/ |
expr.pl | 3 use strict;
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
mexpr.pl | 3 use strict;
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/ |
tweak.pl | 3 use strict;
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/zero-one/ |
t-error.pl | 9 use strict;
|
t.pl | 9 use strict;
|
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/ |
UTF8.h | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52 // These conversion functions take a "strict" argument. When this 53 // flag is set to strict, both irregular sequences and isolated surrogates 57 // Whether the flag is strict or lenient, all illegal sequences will cause 63 // to the replacement character; otherwise (when the flag is set to strict) 68 UChar** targetStart, UChar* targetEnd, bool* isSourceAllASCII = 0, bool strict = true); 76 char** targetStart, char* targetEnd, bool strict = true);
|
/external/chromium_org/v8/test/webkit/ |
keywords-and-reserved_words.js | 20 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 42 eval("'use strict'; var "+x+";"); 53 // All non-strict keywords are also keywords in strict code. 59 // Check for strict mode future reserved words. 61 return "strict"; 71 shouldBe('classifyIdentifier("strict")', '"identifier"'); 127 // Future Reserved Words, in strict mode only. 128 shouldBe('classifyIdentifier("implements")', '"strict"'); 129 shouldBe('classifyIdentifier("interface")', '"strict"'); [all...] |