HomeSort by relevance Sort by last modified time
    Searched refs:const (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/v8/test/mjsunit/
const-redecl.js 28 // Test for const semantics.
122 TestConflict("const x", "var x");
123 TestConflict("const x = 0", "var x");
124 TestConflict("const x", "var x = 0");
125 TestConflict("const x = 0", "var x = 0");
127 TestConflict("var x", "const x");
128 TestConflict("var x = 0", "const x");
129 TestConflict("var x", "const x = 0");
130 TestConflict("var x = 0", "const x = 0");
132 TestConflict("const x = undefined", "var x")
    [all...]
const-eval-init.js 30 // Test the handling of initialization of deleted const variables.
37 // Deleting 'x' removes the local const property.
40 "const x = 3; assertEquals(3, x);" +
51 // Delete 'x' to remove the local const property.
54 "const x = 5; assertEquals(5, x);" +
65 var source = "delete x; const x = 7; assertEquals(7, x)";
83 var source = "delete x; const x = 8";
90 var source = "const x = 9; assertEquals(9, x); x = 10; assertEquals(9, x)";
101 source += "const x = 10; assertEquals(10, x); x = 11; assertEquals(10, x)";
110 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); }
  /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/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
Antlr.Runtime.Tree.pas 73 function CreateNode(const Payload: IToken): IANTLRInterface; overload;
77 function DupNode(const TreeNode: IANTLRInterface): IANTLRInterface;
80 function DupTree(const Tree: IANTLRInterface): IANTLRInterface;
105 function ErrorNode(const Input: ITokenStream; const Start, Stop: IToken;
106 const E: ERecognitionException): IANTLRInterface;
111 function IsNil(const Tree: IANTLRInterface): Boolean;
131 procedure AddChild(const T, Child: IANTLRInterface);
162 function BecomeRoot(const NewRoot, OldRoot: IANTLRInterface): IANTLRInterface; overload;
178 function RulePostProcessing(const Root: IANTLRInterface): IANTLRInterface
    [all...]
Antlr.Runtime.pas 112 procedure Rewind(const Marker: Integer); overload;
139 procedure Release(const Marker: Integer);
166 procedure Seek(const Index: Integer);
191 procedure SetLine(const Value: Integer);
193 procedure SetCharPositionInLine(const Value: Integer);
203 function LT(const I: Integer): Integer;
210 function Substring(const Start, Stop: Integer): String;
233 procedure SetTokenType(const Value: Integer);
235 procedure SetLine(const Value: Integer);
237 procedure SetCharPositionInLine(const Value: Integer)
    [all...]
Antlr.Runtime.Tools.pas 94 procedure SetValue(const Value: String);
110 procedure SetValue(const Value: String);
112 constructor Create(const AValue: String);
136 procedure SetItem(Index: Integer; const Value: T);
141 function Add(const Value: T): Integer;
143 procedure AddRange(const Values: array of T); overload;
144 procedure AddRange(const Collection: IEnumerable<T>); overload;
146 procedure AddRange(const List: IList<T>); overload;
148 procedure Insert(Index: Integer; const Value: T);
150 procedure InsertRange(Index: Integer; const Values: array of T); overload
    [all...]
Antlr.Runtime.Collections.pas 63 procedure Push(const Item: T);
94 constructor Create(const AHashList: THashList<TKey, TValue>);
104 function GetItem(const Key: TKey): TValue;
105 procedure SetItem(const Key: TKey; const Value: TValue);
108 procedure Add(const Key: TKey; const Value: TValue);
109 procedure Remove(const Key: TKey);
112 function TryGetValue(const Key: TKey; out Value: TValue): Boolean;
113 procedure AddOrSetValue(const Key: TKey; const Value: TValue)
    [all...]
  /external/v8/test/mjsunit/harmony/
block-let-declaration.js 37 const z = 4;
43 const z = 5;
76 // Test const declarations with initialisers in statement positions.
77 TestLocalThrows("if (true) const x = 1;", SyntaxError);
78 TestLocalThrows("if (true) {} else const x = 1;", SyntaxError);
79 TestLocalThrows("do const x = 1; while (false)", SyntaxError);
80 TestLocalThrows("while (false) const x = 1;", SyntaxError);
81 TestLocalThrows("label: const x = 1;", SyntaxError);
82 TestLocalThrows("for (;false;) const x = 1;", SyntaxError);
83 TestLocalThrows("switch (true) { case true: const x = 1; }", SyntaxError)
    [all...]
block-scoping.js 50 const u = one + 4;
53 const v = one + 5;
69 const u = one + 4;
72 const v = one + 5;
89 const u = one + 4;
92 const v = one + 5;
110 const u = one + 4;
113 const v = one + 5;
130 const u = 3;
133 const v = 4
    [all...]
block-const-assign.js 37 // Function local const.
39 return "(function() { const constvar = 1; " + use + "; });";
44 return "(function() { " + use + "; const constvar = 1; });";
48 // Function local const, assign from eval.
51 return "(function() { const constvar = 1; " + use + "; })();";
57 return "(function() { " + use + "; const constvar = 1; })();";
61 // Block local const.
63 return "(function() { { const constvar = 1; " + use + "; } });";
68 return "(function() { { " + use + "; const constvar = 1; } });";
72 // Block local const, assign from eval
    [all...]
block-conflicts.js 86 "const x = 0",
87 "const x = undefined",
88 "const x = function() {}",
89 "const x = 2, y = 3",
90 "const y = 4, x = 5",
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
TreeConstants.as 6 public static const INVALID_NODE:CommonTree = CommonTree.createFromToken(TokenConstants.INVALID_TOKEN);
  /external/v8/test/mjsunit/compiler/
regress-const.js 30 // Test const initialization and assignments.
34 const y = x;
40 const x = 42;
59 const X = 42;
  /external/valgrind/main/massif/tests/
deep-B.stderr.exp 14 Massif: operator new(unsigned, std::nothrow_t const&)
15 Massif: operator new[](unsigned, std::nothrow_t const&)
16 Massif: operator new(unsigned long, std::nothrow_t const&)
17 Massif: operator new[](unsigned long, std::nothrow_t const&)
realloc.stderr.exp 14 Massif: operator new(unsigned, std::nothrow_t const&)
15 Massif: operator new[](unsigned, std::nothrow_t const&)
16 Massif: operator new(unsigned long, std::nothrow_t const&)
17 Massif: operator new[](unsigned long, std::nothrow_t const&)
deep-C.stderr.exp 14 Massif: operator new(unsigned, std::nothrow_t const&)
15 Massif: operator new[](unsigned, std::nothrow_t const&)
16 Massif: operator new(unsigned long, std::nothrow_t const&)
17 Massif: operator new[](unsigned long, std::nothrow_t const&)
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DebugGrammarLexer.cs 19 public const int EOF=-1;
20 public const int T__10=10;
21 public const int T__11=11;
22 public const int T__12=12;
23 public const int T__13=13;
24 public const int T__14=14;
25 public const int T__15=15;
26 public const int T__16=16;
27 public const int T__17=17;
28 public const int CALL=4
    [all...]
ProfileGrammarLexer.cs 19 public const int EOF=-1;
20 public const int T__10=10;
21 public const int T__11=11;
22 public const int T__12=12;
23 public const int T__13=13;
24 public const int T__14=14;
25 public const int T__15=15;
26 public const int T__16=16;
27 public const int T__17=17;
28 public const int CALL=4
    [all...]
  /external/zlib/src/contrib/pascal/
zlibpas.pas 12 const
67 const
116 function deflateSetDictionary(var strm: z_stream; const dictionary: PChar;
127 function inflateSetDictionary(var strm: z_stream; const dictionary: PChar;
145 const source: PChar; sourceLen: LongInt): Integer;
147 const source: PChar; sourceLen: LongInt;
151 const source: PChar; sourceLen: LongInt): Integer;
154 function adler32(adler: LongInt; const buf: PChar; len: Integer): LongInt;
156 function crc32(crc: LongInt; const buf: PChar; len: Integer): LongInt;
161 const version: PChar; stream_size: Integer): Integer
    [all...]
  /external/libvpx/vp8/common/arm/neon/
loopfilter_neon.asm 26 ; const signed char *flimit,
27 ; const signed char *limit,
28 ; const signed char *thresh,
32 ; r2 const signed char *flimit
33 ; r3 const signed char *limit
34 ; sp const signed char *thresh,
65 ; const signed char *flimit,
66 ; const signed char *limit,
67 ; const signed char *thresh,
71 ; r2 const signed char *flimit
    [all...]
mbloopfilter_neon.asm 26 ; const signed char *flimit,
27 ; const signed char *limit,
28 ; const signed char *thresh,
32 ; r2 const signed char *flimit,
33 ; r3 const signed char *limit,
34 ; sp const signed char *thresh,
71 ; const signed char *flimit,
72 ; const signed char *limit,
73 ; const signed char *thresh,
77 ; r2 const signed char *flimit
    [all...]
  /external/linux-tools-perf/config/
feature-tests.mak 41 const char *version = gnu_get_libc_version();
110 extern char *cplus_demangle(const char *, int);
121 extern size_t strlcpy(char *dest, const char *src, size_t size);
  /external/libvpx/vp8/encoder/x86/
sad_sse4.asm 159 ; const unsigned char *src_ptr,
161 ; const unsigned char *ref_ptr,
200 ; const unsigned char *src_ptr,
202 ; const unsigned char *ref_ptr,
238 ; const unsigned char *src_ptr,
240 ; const unsigned char *ref_ptr,
276 ; const unsigned char *src_ptr,
278 ; const unsigned char *ref_ptr,
317 ; const unsigned char *src_ptr,
319 ; const unsigned char *ref_ptr
    [all...]
  /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/";

Completed in 592 milliseconds

1 2 3 4 5