/external/v8/test/mjsunit/ |
const-redecl.js | 28 // Test for const semantics. 121 TestConflict("const x", "var x"); 122 TestConflict("const x = 0", "var x"); 123 TestConflict("const x", "var x = 0"); 124 TestConflict("const x = 0", "var x = 0"); 126 TestConflict("var x", "const x"); 127 TestConflict("var x = 0", "const x"); 128 TestConflict("var x", "const x = 0"); 129 TestConflict("var x = 0", "const x = 0"); 131 TestConflict("const x = undefined", "var x") [all...] |
const-eval-init.js | 28 // Test the handling of initialization of deleted const variables. 35 // Deleting 'x' removes the local const property. 38 "const x = 3; assertEquals(3, x);" + 49 // Delete 'x' to remove the local const property. 52 "const x = 5; assertEquals(5, x);" + 63 var source = "delete x; const x = 7; assertEquals(7, x)"; 77 var source = "delete x; const x = 8"; 84 var source = "const x = 9; assertEquals(9, x); x = 10; assertEquals(9, x)"; 95 source += "const x = 10; assertEquals(10, x); x = 11; assertEquals(10, x)"; 104 var source = "delete x; const x = 13; assertEquals(13, x)" [all...] |
global-const-var-conflicts.js | 33 eval("const a"); 39 eval("const b = 0"); 46 try { eval("const c"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 48 try { eval("const c = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 52 try { eval("const d"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 54 try { eval("const d = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
|
const.js | 28 // Test const properties and pre/postfix operation. 30 const x = 1; 53 const o = { valueOf: function() { valueOfCount++; return 42; } }
|
negate.js | 28 const SMI_MAX = (1 << 30) - 1; 29 const SMI_MIN = -(1 << 30);
|
/external/webkit/LayoutTests/fast/js/resources/ |
const.js | 2 "This test checks that const declarations in JavaScript work and are readonly." 6 shouldThrow("const redef='a'; const redef='a';"); 8 const x = "RIGHT"; 12 const z = "RIGHT", y = "RIGHT"; 16 const one = 1; 51 shouldBe("function f() { const one = 1; one++; return one; } f();", "1"); 52 shouldBe("function f() { const oneString = '1'; return oneString++; } f();", "1"); 53 shouldBe("function f() { const one = 1; return one++; } f();", "1"); 56 shouldBe("function f() { const one = 1; one--; return one; } f();", "1") [all...] |
/external/zlib/contrib/pascal/ |
zlibpas.pas | 12 const 49 const 94 function deflateSetDictionary(var strm: z_stream; const dictionary: PChar; 102 function inflateSetDictionary(var strm: z_stream; const dictionary: PChar; 116 const source: PChar; sourceLen: LongInt): Integer; 118 const source: PChar; sourceLen: LongInt; 122 const source: PChar; sourceLen: LongInt): Integer; 125 function adler32(adler: LongInt; const buf: PChar; len: Integer): LongInt; 126 function crc32(crc: LongInt; const buf: PChar; len: Integer): LongInt; 130 const version: PChar; stream_size: Integer): Integer [all...] |
example.pas | 26 const TESTFILE = 'foo.gz'; 31 const hello: PChar = 'hello, hello!'; 33 const dictionary: PChar = 'hello'; 46 procedure EXIT_ERR(const msg: String); 82 procedure test_gzio(const fname: PChar; (* compressed file name *)
|
/development/ide/xcode/ports/ |
skia_mac.cp | 30 const char* applicationPath = argv[0]; 31 const char* common = strstr(applicationPath, "build/ide/xcode/"); 32 const char systemParent[] = "apps/";
|
/external/skia/xcode/ports/ |
skia_mac.cp | 31 const char* applicationPath = argv[0]; 32 const char* common = strstr(applicationPath, "build/ide/xcode/"); 33 const char systemParent[] = "apps/";
|
/external/zlib/contrib/delphi/ |
ZLib.pas | 92 function Write(const Buffer; Count: Longint): Longint; override; 121 function Write(const Buffer; Count: Longint): Longint; override; 133 procedure CompressBuf(const InBuf: Pointer; InBytes: Integer; 143 procedure DecompressBuf(const InBuf: Pointer; InBytes: Integer; 151 procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer; 152 const OutBuf: Pointer; BufSize: Integer); 154 const 166 const 286 procedure CompressBuf(const InBuf: Pointer; InBytes: Integer; 324 procedure DecompressBuf(const InBuf: Pointer; InBytes: Integer [all...] |
/external/v8/test/mjsunit/regress/ |
regress-189.js | 28 // Test that we can handle initialization of a deleted const variable. 33 eval("delete x; const x = 32");
|
regress-1213575.js | 28 // Make sure that a const definition always 36 eval('const x');
|
regress-186.js | 51 // Add const property called __proto__ to the extension object. 52 eval("const __proto__ = o");
|
regress-1182832.js | 32 eval("const e = 1;");
|
regress-1201933.js | 34 const a;
|
regress-1207276.js | 29 const x=n,Glo0al;
|
regress-1200351.js | 64 eval("const x = break.toString()&&return continue") 156 eval("const x = -1.lastIndexOf(false)?parseFloat(void):Join(null, continue, new Object(), x, break)") 176 eval("const x = new return goto -1") 200 eval("const x = new String(debugger).toJSONProtocol") 208 eval("const x = new {parseInt(0)}") 280 eval("const x = new Math.pow(break==this)") 300 eval("const x = function () { null }.__defineSetter__(0.charCodeAt(new Object()),function(){null>>>=new Object()})") 336 eval("const x = new parseInt(break)==Array(x)") 404 eval("const x = new this.slice(new Object(), 1).isNull") 440 eval("const x = new GetFunctionFor(0.2).toObject()" [all...] |
/external/dropbear/libtomcrypt/ |
crypt.tex | 233 const char *error_to_string(int err); 303 \hline ROLc(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x << y, 0 \le y \le 31$ \\ 305 \hline RORc(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x >> y, 0 \le y \le 31$ \\ 308 \hline ROL64c(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x << y, 0 \le y \le 63$ \\ 310 \hline ROR64c(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x >> y, 0 \le y \le 63$ \\ 415 int XXX_setup(const unsigned char *key, 435 int XXX_ecb_encrypt(const unsigned char *pt, 439 int XXX_ecb_decrypt(const unsigned char *ct, 727 int register_cipher(const struct _cipher_descriptor *cipher); 734 int unregister_cipher(const struct _cipher_descriptor *cipher) [all...] |
/external/v8/src/ |
mirror-debugger.js | 147 const UNDEFINED_TYPE = 'undefined'; 148 const NULL_TYPE = 'null'; 149 const BOOLEAN_TYPE = 'boolean'; 150 const NUMBER_TYPE = 'number'; 151 const STRING_TYPE = 'string'; 152 const OBJECT_TYPE = 'object'; 153 const FUNCTION_TYPE = 'function'; 154 const REGEXP_TYPE = 'regexp'; 155 const ERROR_TYPE = 'error'; 156 const PROPERTY_TYPE = 'property' [all...] |
math.js | 32 const $floor = MathFloor; 33 const $random = MathRandom; 34 const $abs = MathAbs; 40 const $Math = new MathConstructor();
|
runtime.js | 42 // The following const declarations are shared with other native JS files. 43 // They are all declared at this one spot to avoid const redeclaration errors. 44 const $Object = global.Object; 45 const $Array = global.Array; 46 const $String = global.String; 47 const $Number = global.Number; 48 const $Function = global.Function; 49 const $Boolean = global.Boolean; 50 const $NaN = 0/0;
|
v8natives.js | 31 // const $Object = global.Object; 32 // const $Boolean = global.Boolean; 33 // const $Number = global.Number; 34 // const $Function = global.Function; 35 // const $Array = global.Array; 36 // const $NaN = 0/0; 39 // const $floor = MathFloor 41 const $isNaN = GlobalIsNaN; 42 const $isFinite = GlobalIsFinite;
|
apinatives.js | 40 const kApiFunctionCache = {}; 41 const functionCache = kApiFunctionCache;
|
/external/webkit/WebCore/plugins/win/ |
PaintHooks.asm | 35 ;BOOL __stdcall _HEndPaint(HWND hWnd, const PAINTSTRUCT* lpPaint);
|