OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:cons2
(Results
1 - 2
of
2
) sorted by null
/external/v8/test/cctest/
test-compiler.cc
251
"function
Cons2
(x, y) { this.sum = x + y; }\n"
252
"if (new
Cons2
(3,4).sum == 7) r+=256;"; // 256
test-api.cc
230
v8::Handle<v8::FunctionTemplate>
cons2
= v8::FunctionTemplate::New();
local
231
cons2
->SetClassName(v8_str("
Cons2
"));
235
v8::Handle<v8::FunctionTemplate> args[3] = { cons1,
cons2
, cons3 };
242
env->Global()->Set(v8_str("
Cons2
"),
cons2
->GetFunction());
246
"Fun2(new Cons1(), new
Cons2
(), new Cons3()) =="
247
"'[object Cons1],[object
Cons2
],[object Cons3]'");
251
"Fun2(new Cons1(), new
Cons2
(), 5) == '[object Cons1],[object
Cons2
],'");
[
all
...]
Completed in 68 milliseconds