Home | History | Annotate | Download | only in cctest

Lines Matching defs:cast

633   Local<String> cons = Local<String>::Cast(CompileRun(
636 Local<String> slice = Local<String>::Cast(CompileRun(
1176 CHECK_EQ(0, v8::String::Cast(*value)->Length());
1224 void* ptr = v8::External::Cast(*args.Data())->Value();
2614 CHECK(v8::Symbol::Cast(*sym_val)->Equals(sym2));
2622 CHECK(v8::SymbolObject::Cast(*sym_obj)->Equals(sym_obj));
2623 CHECK(v8::SymbolObject::Cast(*sym_obj)->ValueOf()->Equals(sym2));
2737 Local<v8::ArrayBuffer> ab1 = Local<v8::ArrayBuffer>::Cast(result);
2822 v8::Handle<v8::TypedArray>::Cast(CompileRun(name));
2909 Local<v8::ArrayBuffer>::Cast(CompileRun("ab"));
2912 v8::Handle<v8::DataView>::Cast(CompileRun("dv"));
3062 char* char_ptr = reinterpret_cast<char*>(v8::External::Cast(*zero)->Value());
3064 char_ptr = reinterpret_cast<char*>(v8::External::Cast(*one)->Value());
3066 char_ptr = reinterpret_cast<char*>(v8::External::Cast(*two)->Value());
3068 char_ptr = reinterpret_cast<char*>(v8::External::Cast(*three)->Value());
3180 v8::Persistent<Value>::Cast(global_string);
3183 v8::Persistent<Value>::Cast(global_string);
3186 CHECK(global_string == v8::Persistent<String>::Cast(global_value));
3618 v8::Object::Cast(*data)->GetHiddenValue(v8_str("hidden key"));
3632 v8::Object::Cast(*error)->SetHiddenValue(v8_str("hidden key"),
3907 Local<Function>::Cast(context->Global()->Get(v8_str("Foo")));
3910 Local<v8::Array> a0 = Local<v8::Array>::Cast(Foo->Call(Foo, 0, args0));
3914 Local<v8::Array> a1 = Local<v8::Array>::Cast(Foo->Call(Foo, 1, args1));
3920 Local<v8::Array> a2 = Local<v8::Array>::Cast(Foo->Call(Foo, 2, args2));
3928 Local<v8::Array> a3 = Local<v8::Array>::Cast(Foo->Call(Foo, 3, args3));
3938 Local<v8::Array> a4 = Local<v8::Array>::Cast(Foo->Call(Foo, 4, args4));
4062 Local<Function>::Cast(context->Global()->Get(v8_str("Foo")));
4065 Local<v8::Array> a0 = Local<v8::Array>::Cast(Foo->NewInstance(0, args0));
4069 Local<v8::Array> a1 = Local<v8::Array>::Cast(Foo->NewInstance(1, args1));
4075 Local<v8::Array> a2 = Local<v8::Array>::Cast(Foo->NewInstance(2, args2));
4083 Local<v8::Array> a3 = Local<v8::Array>::Cast(Foo->NewInstance(3, args3));
4093 Local<v8::Array> a4 = Local<v8::Array>::Cast(Foo->NewInstance(4, args4));
4653 Local<Function>::Cast(context->Global()->Get(v8_str("JSThrowCountDown")));
4696 v8::Handle<v8::Array> result = v8::Handle<v8::Array>::Cast(CompileRun(
5003 return v8::Handle<v8::Object>::Cast((*context)->Global()->Get(v8_str(name)));
5425 info.GetReturnValue().Set(Local<v8::Array>::Cast(result));
5466 Local<Object>::Cast(indexed_property_names_script->Run());
5467 // Have to populate the handle manually, as it's not Cast-able.
6602 static_cast<Whammy*>(v8::Handle<v8::External>::Cast(info.Data())->Value());
6910 v8::Handle<v8::Array> result = v8::Handle<v8::Array>::Cast(CompileRun(
7340 Local<v8::Array>::Cast(context->Global()->Get(v8_str(name)));
7342 Local<v8::Array>::Cast(context->Global()->Get(v8_str(lengths_name)));
7345 Local<v8::String>::Cast(a->Get(i));
7347 Local<v8::Number>::Cast(alens->Get(i));
7356 v8::Utils::OpenHandle(String::Cast(*str));
7367 Local<v8::Array>::Cast(context->Global()->Get(v8_str(name)));
7369 Local<v8::Array>::Cast(context->Global()->Get(v8_str(lengths_name)));
7374 Local<v8::String>::Cast(b->Get(i));
7376 Local<v8::Number>::Cast(alens->Get(i));
7542 CHECK(SameSymbol(sym0, Handle<String>::Cast(s0)));
7543 CHECK(SameSymbol(sym0b, Handle<String>::Cast(s0b)));
7544 CHECK(SameSymbol(sym1, Handle<String>::Cast(s1)));
7545 CHECK(SameSymbol(sym2, Handle<String>::Cast(s2)));
7546 CHECK(SameSymbol(sym3, Handle<String>::Cast(s3)));
7547 CHECK(SameSymbol(sym4, Handle<String>::Cast(s4)));
7701 Function::Cast(*trouble_callee)->Call(arg_this, 0, NULL));
7737 Function::Cast(*trouble_caller)->Call(global, 0, NULL);
7770 Function::Cast(*trouble)->Call(global, 0, NULL);
7891 Local<Value> result = Function::Cast(*spy)->Call(env2->Global(), 0, NULL);
7901 Function::Cast(*spy2)->Call(env2->Global(), 0, NULL);
8121 Local<Value> r = Function::Cast(*get_prop)->Call(global1, 0, NULL);
8669 v8::Handle<v8::Array> result_array = v8::Handle<v8::Array>::Cast(result);
9535 Local<v8::Object>::Cast(context->Global()->Get(v8_str("x")));
9612 Local<Object> object1 = Local<Object>::Cast(value_obj1);
9629 Local<Object> object2 = Local<Object>::Cast(value_obj2);
9645 Local<Object> object3 = Local<Object>::Cast(value_obj3);
9655 Local<Object> object4 = Local<Object>::Cast(value_obj4);
9664 Local<Object> object5 = Local<Object>::Cast(value_obj5);
10983 reinterpret_cast<int*>(v8::External::Cast(*info.Data())->Value());
12883 bar_func_ = i::Handle<i::JSFunction>::cast(
12888 i::Handle<i::JSFunction>::cast(
12894 CHECK_EQ(9801.0, v8::Number::Cast(*value)->Value());
12900 CHECK_EQ(9801.0, v8::Number::Cast(*value)->Value());
13156 i::Handle<i::Code> bar_code(i::Handle<i::JSFunction>::cast(
13158 i::Handle<i::Code> foo_code(i::Handle<i::JSFunction>::cast(
13216 static int64_t cast(intptr_t x) { return static_cast<int64_t>(x); }
13225 int64_t baseline = cast(isolate->AdjustAmountOfExternalAllocatedMemory(0));
13226 CHECK_EQ(baseline + cast(kSize),
13227 cast(isolate->AdjustAmountOfExternalAllocatedMemory(kSize)));
13229 cast(isolate->AdjustAmountOfExternalAllocatedMemory(-kSize)));
13577 i::FunctionTemplateInfo::cast(internal_template->constructor()));
13607 Local<Function>::Cast(context->Global()->Get(v8_str("f1")));
13609 Local<Function>::Cast(context->Global()->Get(v8_str("f2")));
13611 Local<Function>::Cast(context->Global()->Get(v8_str("g1")));
13613 Local<Function>::Cast(context->Global()->Get(v8_str("g2")));
13615 Local<Function>::Cast(context->Global()->Get(v8_str("h")));
13660 v8::Utils::OpenHandle(String::Cast(*name));
13695 f1 = Local<Function>::Cast(context->Global()->Get(v8_str("f1")));
13696 f2 = Local<Function>::Cast(context->Global()->Get(v8_str("f2")));
13697 g1 = Local<Function>::Cast(context->Global()->Get(v8_str("g1")));
13698 g2 = Local<Function>::Cast(context->Global()->Get(v8_str("g2")));
13699 h = Local<Function>::Cast(context->Global()->Get(v8_str("h")));
13737 f1 = Local<Function>::Cast(context->Global()->Get(v8_str("f1")));
13738 f2 = Local<Function>::Cast(context->Global()->Get(v8_str("f2")));
13739 g1 = Local<Function>::Cast(context->Global()->Get(v8_str("g1")));
13740 g2 = Local<Function>::Cast(context->Global()->Get(v8_str("g2")));
14264 i::ExternalTwoByteString::cast(string);
14272 i::ExternalAsciiString::cast(string);
14521 v8::Handle<v8::Object>::Cast(global->Get(v8_str("__proto__")));
14913 i::Handle<i::ExternalPixelArray>::cast(
14934 CHECK_EQ(1, i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value());
14991 CHECK_EQ(2, i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value());
14998 i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value());
15004 CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value());
15011 CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(0)->ToObjectChecked())->value());
15012 CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value());
15014 i::Smi::cast(jsobj->GetElement(2)->ToObjectChecked())->value());
15016 i::Smi::cast(jsobj->GetElement(3)->ToObjectChecked())->value());
15018 i::Smi::cast(jsobj->GetElement(4)->ToObjectChecked())->value());
15020 i::Smi::cast(jsobj->GetElement(5)->ToObjectChecked())->value());
15022 i::Smi::cast(jsobj->GetElement(6)->ToObjectChecked())->value());
15024 i::Smi::cast(jsobj->GetElement(7)->ToObjectChecked())->value());
15037 CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(0)->ToObjectChecked())->value());
15038 CHECK_EQ(1, i::Smi::cast(jsobj->GetElement(1)->ToObjectChecked())->value());
15039 CHECK_EQ(2, i::Smi::cast(jsobj->GetElement(2)->ToObjectChecked())->value());
15040 CHECK_EQ(3, i::Smi::cast(jsobj->GetElement(3)->ToObjectChecked())->value());
15041 CHECK_EQ(4, i::Smi::cast(jsobj->GetElement(4)->ToObjectChecked())->value());
15042 CHECK_EQ(6, i::Smi::cast(jsobj->GetElement(5)->ToObjectChecked())->value());
15043 CHECK_EQ(7, i::Smi::cast(jsobj->GetElement(6)->ToObjectChecked())->value());
15044 CHECK_EQ(8, i::Smi::cast(jsobj->GetElement(7)->ToObjectChecked())->value());
15051 CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(7)->ToObjectChecked())->value());
15058 CHECK_EQ(2, i::Smi::cast(jsobj->GetElement(6)->ToObjectChecked())->value());
15065 CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(5)->ToObjectChecked())->value());
15073 i::Smi::cast(jsobj->GetElement(8)->ToObjectChecked())->value());
15080 CHECK_EQ(0, i::Smi::cast(jsobj->GetElement(9)->ToObjectChecked())->value());
15097 CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value());
15103 CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value());
15104 CHECK_EQ(23, v8::Object::Cast(*result)->Get(v8_str("1"))->Int32Value());
15334 i::Handle<i::ExternalPixelArray>::cast(
15567 i::Smi::cast(jsobj->GetElement(5)->ToObjectChecked())->value());
15580 i::Smi::cast(jsobj->GetElement(5)->ToObjectChecked())->value());
15591 i::Smi::cast(jsobj->GetElement(5)->ToObjectChecked())->value());
15628 ExternalArrayClass::cast(jsobj->elements()));
15678 CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value());
15684 CHECK_EQ(77, v8::Object::Cast(*result)->Get(v8_str("0"))->Int32Value());
15685 CHECK_EQ(23, v8::Object::Cast(*result)->Get(v8_str("1"))->Int32Value());
15704 i::Handle<ExternalArrayClass>::cast(
16371 Function::Cast(*trouble)->Call(global, 0, NULL);
17175 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast(
17177 v8::Local<v8::Function> g = v8::Local<v8::Function>::Cast(
17197 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast(
17210 v8::Local<v8::Function> f = v8::Local<v8::Function>::Cast(
17212 v8::Local<v8::Function> g = v8::Local<v8::Function>::Cast(
17227 v8::Local<v8::Function> foo = v8::Local<v8::Function>::Cast(
17229 v8::Local<v8::Function> bar = v8::Local<v8::Function>::Cast(
17245 v8::Local<v8::Function> foo = v8::Local<v8::Function>::Cast(
17247 v8::Local<v8::Function> bar = v8::Local<v8::Function>::Cast(
17314 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
17321 v8::Handle<v8::Object> c2 = v8::Handle<v8::Object>::Cast(script->Run());
17365 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
17372 v8::Handle<v8::Object> c2 = v8::Handle<v8::Object>::Cast(script->Run());
17401 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
17418 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
17612 i::Handle<i::String> string = v8::Utils::OpenHandle(String::Cast(*result));
17641 i::ConsString* cons = i::ConsString::cast(*string);
18450 CHECK_EQ(Handle<Object>::Cast(handle), object);
18623 v8::Handle<v8::Array> result = v8::Handle<v8::Array>::Cast(CompileRun(
19028 i::MapCache::cast(i::Isolate::Current()->context()->map_cache());
19037 i::MapCache* map_cache = i::MapCache::cast(raw_map_cache);
19338 Local<Function>::Cast(env->Global()->Get(v8_str("recursion")));
19887 Local<Object> set_object(Local<Object>::Cast(set_value));
19890 Local<Object> map_object(Local<Object>::Cast(map_value));