New 298 include/v8.h inline static Local<T> New(Handle<T> that); New 374 include/v8.h inline static Persistent<T> New(Handle<T> that); New 547 include/v8.h static ScriptData* New(const char* data, int length); New 609 include/v8.h static Local<Script> New(Handle<String> source, New 624 include/v8.h static Local<Script> New(Handle<String> source, New 1011 include/v8.h static inline Handle<Boolean> New(bool value); New 1205 include/v8.h V8EXPORT static Local<String> New(const char* data, int length = -1); New 1208 include/v8.h V8EXPORT static Local<String> New(const uint16_t* data, int length = -1); New 1355 include/v8.h V8EXPORT static Local<Number> New(double value); New 1368 include/v8.h V8EXPORT static Local<Integer> New(int32_t value); New 1700 include/v8.h V8EXPORT static Local<Object> New(); New 1734 include/v8.h V8EXPORT static Local<Array> New(int length = 0); New 1790 include/v8.h V8EXPORT static Local<Value> New(double time); New 1824 include/v8.h V8EXPORT static Local<Value> New(double value); New 1843 include/v8.h V8EXPORT static Local<Value> New(bool value); New 1862 include/v8.h V8EXPORT static Local<Value> New(Handle<String> value); New 1902 include/v8.h V8EXPORT static Local<RegExp> New(Handle<String> pattern, New 1939 include/v8.h V8EXPORT static Local<External> New(void* value); New 2231 include/v8.h static Local<FunctionTemplate> New( New 2330 include/v8.h static Local<ObjectTemplate> New(); New 2469 include/v8.h static Local<ObjectTemplate> New(Handle<FunctionTemplate> constructor); New 2480 include/v8.h static Local<Signature> New(Handle<FunctionTemplate> receiver = New 2495 include/v8.h static Local<AccessorSignature> New(Handle<FunctionTemplate> receiver = New 2508 include/v8.h static Local<TypeSwitch> New(Handle<FunctionTemplate> type); New 2509 include/v8.h static Local<TypeSwitch> New(int argc, Handle<FunctionTemplate> types[]); New 2812 include/v8.h static Isolate* New(); New 3575 include/v8.h static Persistent<Context> New( New 4068 include/v8.h Local<T> Local<T>::New(Handle<T> that) { New 4081 include/v8.h Persistent<T> Persistent<T>::New(Handle<T> that) { New 4208 include/v8.h Handle<Boolean> Boolean::New(bool value) { New 4214 include/v8.h Set(v8::String::New(name), value); New 171 samples/lineprocessor.cc script_source = v8::String::New(argv[i + 1]); New 172 samples/lineprocessor.cc script_name = v8::String::New("unnamed"); New 178 samples/lineprocessor.cc script_name = v8::String::New(str); New 197 samples/lineprocessor.cc v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); New 200 samples/lineprocessor.cc global->Set(v8::String::New("print"), v8::FunctionTemplate::New(Print)); New 204 samples/lineprocessor.cc global->Set(v8::String::New("read_line"), New 205 samples/lineprocessor.cc v8::FunctionTemplate::New(ReadLine)); New 210 samples/lineprocessor.cc v8::Handle<v8::Context> context = v8::Context::New(NULL, global); New 215 samples/lineprocessor.cc debug_message_context = v8::Persistent<v8::Context>::New(context); New 271 samples/lineprocessor.cc v8::Handle<v8::String> fun_name = v8::String::New("ProcessLine"); New 346 samples/lineprocessor.cc v8::Handle<v8::String> result = v8::String::New(chars, size); New 411 samples/lineprocessor.cc return v8::ThrowException(v8::String::New("Unexpected arguments")); New 438 samples/lineprocessor.cc return v8::String::New(buffer); New 154 samples/process.cc Handle<ObjectTemplate> global = ObjectTemplate::New(); New 155 samples/process.cc global->Set(String::New("log"), FunctionTemplate::New(LogCallback)); New 162 samples/process.cc context_ = Context::New(NULL, global); New 178 samples/process.cc Handle<String> process_name = String::New("Process"); New 190 samples/process.cc process_ = Persistent<Function>::New(process_fun); New 234 samples/process.cc context_->Global()->Set(String::New("options"), opts_obj); New 237 samples/process.cc context_->Global()->Set(String::New("output"), output_obj); New 299 samples/process.cc map_template_ = Persistent<ObjectTemplate>::New(raw_template); New 308 samples/process.cc Handle<External> map_ptr = External::New(obj); New 354 samples/process.cc return String::New(value.c_str(), static_cast<int>(value.length())); New 379 samples/process.cc Handle<ObjectTemplate> result = ObjectTemplate::New(); New 404 samples/process.cc request_template_ = Persistent<ObjectTemplate>::New(raw_template); New 413 samples/process.cc Handle<External> request_ptr = External::New(request); New 446 samples/process.cc return String::New(path.c_str(), static_cast<int>(path.length())); New 454 samples/process.cc return String::New(path.c_str(), static_cast<int>(path.length())); New 462 samples/process.cc return String::New(path.c_str(), static_cast<int>(path.length())); New 470 samples/process.cc return String::New(path.c_str(), static_cast<int>(path.length())); New 477 samples/process.cc Handle<ObjectTemplate> result = ObjectTemplate::New(); New 564 samples/process.cc Handle<String> result = String::New(chars, size); New 99 samples/shell.cc v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); New 101 samples/shell.cc global->Set(v8::String::New("print"), v8::FunctionTemplate::New(Print)); New 103 samples/shell.cc global->Set(v8::String::New("read"), v8::FunctionTemplate::New(Read)); New 105 samples/shell.cc global->Set(v8::String::New("load"), v8::FunctionTemplate::New(Load)); New 107 samples/shell.cc global->Set(v8::String::New("quit"), v8::FunctionTemplate::New(Quit)); New 109 samples/shell.cc global->Set(v8::String::New("version"), v8::FunctionTemplate::New(Version)); New 111 samples/shell.cc return v8::Context::New(NULL, global); New 142 samples/shell.cc return v8::ThrowException(v8::String::New("Bad parameters")); New 146 samples/shell.cc return v8::ThrowException(v8::String::New("Error loading file")); New 150 samples/shell.cc return v8::ThrowException(v8::String::New("Error loading file")); New 164 samples/shell.cc return v8::ThrowException(v8::String::New("Error loading file")); New 168 samples/shell.cc return v8::ThrowException(v8::String::New("Error loading file")); New 170 samples/shell.cc if (!ExecuteString(source, v8::String::New(*file), false, false)) { New 171 samples/shell.cc return v8::ThrowException(v8::String::New("Error executing file")); New 192 samples/shell.cc return v8::String::New(v8::V8::GetVersion()); New 212 samples/shell.cc v8::Handle<v8::String> result = v8::String::New(chars, size); New 232 samples/shell.cc v8::Handle<v8::String> file_name = v8::String::New("unnamed"); New 233 samples/shell.cc v8::Handle<v8::String> source = v8::String::New(argv[++i]); New 237 samples/shell.cc v8::Handle<v8::String> file_name = v8::String::New(str); New 256 samples/shell.cc v8::Local<v8::String> name(v8::String::New("(shell)")); New 263 samples/shell.cc ExecuteString(v8::String::New(str), name, true, true); New 37 src/allocation-inl.h void* PreallocatedStorageAllocationPolicy::New(size_t size) { New 44 src/allocation.h void* operator new(size_t size) { return New(size); } New 48 src/allocation.h static void* New(size_t size); New 107 src/allocation.h INLINE(void* New(size_t size)) { return Malloced::New(size); } New 135 src/allocation.h INLINE(void* New(size_t size)); New 909 src/api.cc array.add(Utils::OpenHandle(*v8::Integer::New(attribute))); New 929 src/api.cc result = Utils::OpenHandle(*ObjectTemplate::New()); New 1002 src/api.cc return TypeSwitch::New(1, types); New 1124 src/api.cc ObjectTemplate::New(v8::Handle<FunctionTemplate>(this)); New 1248 src/api.cc return New(Local<FunctionTemplate>()); New 1277 src/api.cc Local<FunctionTemplate> templ = FunctionTemplate::New(); New 1557 src/api.cc return New(source, &origin); New 1569 src/api.cc Local<Script> generic = New(source, origin, pre_data, script_data); New 1687 src/api.cc v8::Local<v8::Value> exc = v8::Local<v8::Value>::New(Exception()); New 2996 src/api.cc return v8::String::New("[object ]"); New 3001 src/api.cc return v8::String::New("[object Object]"); New 3028 src/api.cc Local<String> result = v8::String::New(buf.start(), buf_len); New 3595 src/api.cc i::Execution::New(fun, argc, args, &has_pending_exception); New 3635 src/api.cc i::Execution::New(function, argc, args, &has_pending_exception); New 3692 src/api.cc v8::Integer::New(script->line_offset()->value()), New 3693 src/api.cc v8::Integer::New(script->column_offset()->value())); New 4316 src/api.cc Local<FunctionTemplate> constructor = FunctionTemplate::New(); New 4349 src/api.cc proxy_template = ObjectTemplate::New(); New 5133 src/api.cc return Integer::New(static_cast<int32_t>(value)); New 121 src/arm/lithium-codegen-arm.cc Vector<char> copy = Vector<char>::New(length + 1); New 892 src/assembler.cc Redirect(isolate, FUNCTION_ADDR(Deoptimizer::New))); New 206 src/ast.h return zone->New(static_cast<int>(size)); New 2721 src/ast.h NodeType* New##NodeType(ZoneStringList* labels) { \ New 67 src/d8-debug.cc Local<String> to_json_fun_name = String::New("toJSONProtocol"); New 83 src/d8-debug.cc String::Utf8Value str(details->Get(String::New("text"))); New 91 src/d8-debug.cc Local<String> fun_name = String::New("debugCommandProcessor"); New 115 src/d8-debug.cc Shell::DebugCommandToJSONRequest(String::New(command)); New 136 src/d8-debug.cc fun_name = String::New("processDebugRequest"); New 152 src/d8-debug.cc String::Utf8Value text_str(response_details->Get(String::New("text"))); New 157 src/d8-debug.cc response_details->Get(String::New("running"))->ToBoolean()->Value(); New 282 src/d8-debug.cc Shell::DebugMessageDetails(Handle<String>::Cast(String::New(message))); New 288 src/d8-debug.cc String::Utf8Value str(details->Get(String::New("text"))); New 299 src/d8-debug.cc bool is_running = details->Get(String::New("running"))->ToBoolean()->Value(); New 311 src/d8-debug.cc Shell::DebugCommandToJSONRequest(String::New(command)); New 196 src/d8-posix.cc ThrowException(String::New(message)); New 205 src/d8-posix.cc Handle<Value> arg(command_args->Get(Integer::New(j))); New 211 src/d8-posix.cc ThrowException(String::New(message)); New 248 src/d8-posix.cc ThrowException(String::New("system: Argument 4 must be a number")); New 256 src/d8-posix.cc ThrowException(String::New("system: Argument 3 must be a number")); New 301 src/d8-posix.cc ThrowException(String::New(strerror(err))); New 321 src/d8-posix.cc return ThrowException(String::New(strerror(errno))); New 336 src/d8-posix.cc return ThrowException(String::New("Timed out waiting for output")); New 349 src/d8-posix.cc Handle<String> addition = String::New(buffer, length); New 395 src/d8-posix.cc ThrowException(String::New("Timed out waiting for process to terminate")); New 406 src/d8-posix.cc ThrowException(String::New(message)); New 415 src/d8-posix.cc ThrowException(String::New(message)); New 430 src/d8-posix.cc ThrowException(String::New(message)); New 440 src/d8-posix.cc ThrowException(String::New(message)); New 459 src/d8-posix.cc return ThrowException(String::New("system: Argument 2 must be an array")); New 463 src/d8-posix.cc command_args = Array::New(0); New 466 src/d8-posix.cc return ThrowException(String::New("Too many arguments to system()")); New 469 src/d8-posix.cc return ThrowException(String::New("Too few arguments to system()")); New 483 src/d8-posix.cc return ThrowException(String::New("pipe syscall failed.")); New 486 src/d8-posix.cc return ThrowException(String::New("pipe syscall failed.")); New 528 src/d8-posix.cc return ThrowException(String::New(message)); New 533 src/d8-posix.cc return ThrowException(String::New(message)); New 536 src/d8-posix.cc return ThrowException(String::New(strerror(errno))); New 545 src/d8-posix.cc return ThrowException(String::New(message)); New 550 src/d8-posix.cc return Number::New(previous); New 553 src/d8-posix.cc return ThrowException(String::New(message)); New 562 src/d8-posix.cc ThrowException(String::New(strerror(errno))); New 566 src/d8-posix.cc ThrowException(String::New(strerror(EEXIST))); New 581 src/d8-posix.cc ThrowException(String::New(strerror(errno))); New 592 src/d8-posix.cc ThrowException(String::New(strerror(errno))); New 595 src/d8-posix.cc ThrowException(String::New(strerror(errno))); New 608 src/d8-posix.cc return ThrowException(String::New(message)); New 612 src/d8-posix.cc return ThrowException(String::New(message)); New 617 src/d8-posix.cc return ThrowException(String::New(message)); New 627 src/d8-posix.cc return ThrowException(String::New(message)); New 632 src/d8-posix.cc return ThrowException(String::New(message)); New 642 src/d8-posix.cc return ThrowException(String::New(message)); New 649 src/d8-posix.cc return ThrowException(String::New(message)); New 654 src/d8-posix.cc return ThrowException(String::New(message)); New 664 src/d8-posix.cc return ThrowException(String::New(message)); New 670 src/d8-posix.cc return ThrowException(String::New(message)); New 678 src/d8-posix.cc os_templ->Set(String::New("system"), FunctionTemplate::New(System)); New 679 src/d8-posix.cc os_templ->Set(String::New("chdir"), FunctionTemplate::New(ChangeDirectory)); New 680 src/d8-posix.cc os_templ->Set(String::New("setenv"), FunctionTemplate::New(SetEnvironment)); New 681 src/d8-posix.cc os_templ->Set(String::New("unsetenv"), New 682 src/d8-posix.cc FunctionTemplate::New(UnsetEnvironment)); New 683 src/d8-posix.cc os_templ->Set(String::New("umask"), FunctionTemplate::New(SetUMask)); New 684 src/d8-posix.cc os_templ->Set(String::New("mkdirp"), FunctionTemplate::New(MakeDirectory)); New 685 src/d8-posix.cc os_templ->Set(String::New("rmdir"), FunctionTemplate::New(RemoveDirectory)); New 104 src/d8-readline.cc return String::New(result); New 139 src/d8-readline.cc Local<String> full_text = String::New(rl_line_buffer, rl_point); New 141 src/d8-readline.cc Shell::GetCompletions(String::New(text), full_text); New 142 src/d8-readline.cc current_completions = Persistent<Array>::New(completions); New 147 src/d8-readline.cc Handle<Integer> index = Integer::New(current_index); New 229 src/d8.cc return ThrowException(String::New("Error loading file")); New 233 src/d8.cc return ThrowException(String::New("Error loading file")); New 242 src/d8.cc Handle<String> accumulator = String::New(""); New 258 src/d8.cc accumulator = String::Concat(accumulator, String::New(buffer, length)); New 261 src/d8.cc accumulator = String::Concat(accumulator, String::New(buffer, length-1)); New 263 src/d8.cc return String::Concat(accumulator, String::New(buffer, length-1)); New 274 src/d8.cc return ThrowException(String::New("Error loading file")); New 278 src/d8.cc return ThrowException(String::New("Error loading file")); New 280 src/d8.cc if (!ExecuteString(source, String::New(*file), false, true)) { New 281 src/d8.cc return ThrowException(String::New("Error executing file")); New 311 src/d8.cc ThrowException(String::New("Array length must not be negative.")); New 321 src/d8.cc String::New("Array length exceeds maximum length.")); New 338 src/d8.cc return ThrowException(String::New("ArrayBuffer exceeds maximum size (2G)")); New 342 src/d8.cc return ThrowException(String::New("Memory allocation failed")); New 346 src/d8.cc buffer->SetHiddenValue(String::New(kArrayBufferMarkerPropName), True()); New 347 src/d8.cc Persistent<Object> persistent_array = Persistent<Object>::New(buffer); New 354 src/d8.cc buffer->Set(String::New("byteLength"), Int32::New(length), ReadOnly); New 371 src/d8.cc String::New("ArrayBuffer constructor must have one argument")); New 397 src/d8.cc array->SetHiddenValue(String::New(kArrayMarkerPropName), Int32::New(type)); New 398 src/d8.cc array->Set(String::New("byteLength"), Int32::New(byteLength), ReadOnly); New 399 src/d8.cc array->Set(String::New("byteOffset"), Int32::New(byteOffset), ReadOnly); New 400 src/d8.cc array->Set(String::New("length"), Int32::New(length), ReadOnly); New 401 src/d8.cc array->Set(String::New("BYTES_PER_ELEMENT"), Int32::New(element_size)); New 402 src/d8.cc array->Set(String::New("buffer"), buffer, ReadOnly); New 437 src/d8.cc String::New("Array constructor must have at least one argument")); New 441 src/d8.cc String::New(kArrayBufferMarkerPropName)).IsEmpty()) { New 445 src/d8.cc convertToUint(buffer->Get(String::New("byteLength")), &try_catch); New 454 src/d8.cc return ThrowException(String::New("byteOffset out of bounds")); New 458 src/d8.cc String::New("byteOffset must be multiple of element size")); New 467 src/d8.cc String::New("buffer size must be multiple of element size")); New 474 src/d8.cc return ThrowException(String::New("length out of bounds")); New 479 src/d8.cc args[0]->ToObject()->Has(String::New("length"))) { New 482 src/d8.cc args[0]->ToObject()->Get(String::New("length")), &try_catch); New 494 src/d8.cc Handle<Value> array_buffer = global->Get(String::New("ArrayBuffer")); New 496 src/d8.cc Handle<Value> buffer_args[] = { Uint32::New(byteLength) }; New 520 src/d8.cc String::New("'slice' invoked on non-object receiver")); New 525 src/d8.cc self->GetHiddenValue(String::New(kArrayBufferMarkerPropName)); New 528 src/d8.cc String::New("'slice' invoked on wrong receiver type")); New 532 src/d8.cc convertToUint(self->Get(String::New("byteLength")), &try_catch); New 537 src/d8.cc String::New("'slice' must have at least one argument")); New 558 src/d8.cc Handle<Value> new_args[] = { Uint32::New(end - begin) }; New 577 src/d8.cc String::New("'subarray' invoked on non-object receiver")); New 581 src/d8.cc Local<Value> marker = self->GetHiddenValue(String::New(kArrayMarkerPropName)); New 584 src/d8.cc String::New("'subarray' invoked on wrong receiver type")); New 587 src/d8.cc Handle<Object> buffer = self->Get(String::New("buffer"))->ToObject(); New 590 src/d8.cc convertToUint(self->Get(String::New("length")), &try_catch); New 593 src/d8.cc convertToUint(self->Get(String::New("byteOffset")), &try_catch); New 596 src/d8.cc convertToUint(self->Get(String::New("BYTES_PER_ELEMENT")), &try_catch); New 601 src/d8.cc String::New("'subarray' must have at least one argument")); New 626 src/d8.cc buffer, Uint32::New(byteOffset), Uint32::New(length) New 637 src/d8.cc String::New("'set' invoked on non-object receiver")); New 641 src/d8.cc Local<Value> marker = self->GetHiddenValue(String::New(kArrayMarkerPropName)); New 644 src/d8.cc String::New("'set' invoked on wrong receiver type")); New 647 src/d8.cc convertToUint(self->Get(String::New("length")), &try_catch); New 650 src/d8.cc convertToUint(self->Get(String::New("BYTES_PER_ELEMENT")), &try_catch); New 655 src/d8.cc String::New("'set' must have at least one argument")); New 658 src/d8.cc !args[0]->ToObject()->Has(String::New("length"))) { New 660 src/d8.cc String::New("'set' invoked with non-array argument")); New 664 src/d8.cc convertToUint(source->Get(String::New("length")), &try_catch); New 675 src/d8.cc return ThrowException(String::New("offset or source length out of bounds")); New 679 src/d8.cc if (source->GetHiddenValue(String::New(kArrayMarkerPropName)).IsEmpty()) { New 683 src/d8.cc convertToUint(source->Get(String::New("BYTES_PER_ELEMENT")), &try_catch); New 690 src/d8.cc Handle<Object> buffer = self->Get(String::New("buffer"))->ToObject(); New 693 src/d8.cc source->Get(String::New("buffer"))->ToObject(); New 696 src/d8.cc convertToUint(self->Get(String::New("byteOffset")), &try_catch); New 699 src/d8.cc convertToUint(source->Get(String::New("byteOffset")), &try_catch); New 715 src/d8.cc Handle<Object> buffer = self->Get(String::New("buffer"))->ToObject(); New 718 src/d8.cc source->Get(String::New("buffer"))->ToObject(); New 726 src/d8.cc convertToUint(self->Get(String::New("byteOffset")), &try_catch); New 729 src/d8.cc convertToUint(source->Get(String::New("byteOffset")), &try_catch); New 776 src/d8.cc object->ToObject()->Get(String::New("byteLength"))->Uint32Value(); New 848 src/d8.cc return String::New(V8::GetVersion()); New 903 src/d8.cc Handle<Value> fun = global->Get(String::New("GetCompletions")); New 915 src/d8.cc Handle<Value> fun = global->Get(String::New("DebugMessageDetails")); New 926 src/d8.cc Handle<Value> fun = global->Get(String::New("DebugCommandToJSONRequest")); New 1057 src/d8.cc utility_context_->Global()->Set(String::New("$debug"), New 1068 src/d8.cc Handle<String> source = String::New(shell_source.start(), New 1070 src/d8.cc Handle<String> name = String::New(shell_source_name.start(), New 1124 src/d8.cc Handle<FunctionTemplate> buffer_template = FunctionTemplate::New(fun); New 1126 src/d8.cc proto_template->Set(String::New("slice"), New 1127 src/d8.cc FunctionTemplate::New(ArrayBufferSlice)); New 1133 src/d8.cc Handle<FunctionTemplate> array_template = FunctionTemplate::New(fun); New 1135 src/d8.cc proto_template->Set(String::New("set"), FunctionTemplate::New(ArraySet)); New 1136 src/d8.cc proto_template->Set(String::New("subarray"), New 1137 src/d8.cc FunctionTemplate::New(ArraySubArray)); New 1143 src/d8.cc Handle<ObjectTemplate> global_template = ObjectTemplate::New(); New 1144 src/d8.cc global_template->Set(String::New("print"), FunctionTemplate::New(Print)); New 1145 src/d8.cc global_template->Set(String::New("write"), FunctionTemplate::New(Write)); New 1146 src/d8.cc global_template->Set(String::New("read"), FunctionTemplate::New(Read)); New 1147 src/d8.cc global_template->Set(String::New("readbuffer"), New 1148 src/d8.cc FunctionTemplate::New(ReadBuffer)); New 1149 src/d8.cc global_template->Set(String::New("readline"), New 1150 src/d8.cc FunctionTemplate::New(ReadLine)); New 1151 src/d8.cc global_template->Set(String::New("load"), FunctionTemplate::New(Load)); New 1152 src/d8.cc global_template->Set(String::New("quit"), FunctionTemplate::New(Quit)); New 1153 src/d8.cc global_template->Set(String::New("version"), FunctionTemplate::New(Version)); New 1154 src/d8.cc global_template->Set(String::New("enableProfiler"), New 1155 src/d8.cc FunctionTemplate::New(EnableProfiler)); New 1156 src/d8.cc global_template->Set(String::New("disableProfiler"), New 1157 src/d8.cc FunctionTemplate::New(DisableProfiler)); New 1162 src/d8.cc global_template->Set(String::New("ArrayBuffer"), New 1164 src/d8.cc global_template->Set(String::New("Int8Array"), New 1166 src/d8.cc global_template->Set(String::New("Uint8Array"), New 1168 src/d8.cc global_template->Set(String::New("Int16Array"), New 1170 src/d8.cc global_template->Set(String::New("Uint16Array"), New 1172 src/d8.cc global_template->Set(String::New("Int32Array"), New 1174 src/d8.cc global_template->Set(String::New("Uint32Array"), New 1176 src/d8.cc global_template->Set(String::New("Float32Array"), New 1178 src/d8.cc global_template->Set(String::New("Float64Array"), New 1180 src/d8.cc global_template->Set(String::New("Uint8ClampedArray"), New 1184 src/d8.cc global_template->Set(String::New("lol_is_enabled"), True()); New 1186 src/d8.cc global_template->Set(String::New("lol_is_enabled"), False()); New 1190 src/d8.cc Handle<ObjectTemplate> os_templ = ObjectTemplate::New(); New 1192 src/d8.cc global_template->Set(String::New("os"), os_templ); New 1226 src/d8.cc utility_context_ = Context::New(NULL, global_template); New 1246 src/d8.cc Persistent<Context> context = Context::New(NULL, global_template); New 1261 src/d8.cc context->Global()->Set(String::New("arguments"), New 1378 src/d8.cc return ThrowException(String::New("Error loading file")); New 1383 src/d8.cc return ThrowException(String::New("Error reading file")); New 1385 src/d8.cc Handle<Object> buffer = Object::New(); New 1386 src/d8.cc buffer->SetHiddenValue(String::New(kArrayBufferMarkerPropName), True()); New 1387 src/d8.cc Persistent<Object> persistent_buffer = Persistent<Object>::New(buffer); New 1394 src/d8.cc buffer->Set(String::New("byteLength"), New 1395 src/d8.cc Int32::New(static_cast<int32_t>(length)), ReadOnly); New 1428 src/d8.cc Handle<String> result = String::New(chars); New 1438 src/d8.cc Handle<String> name = String::New("(d8)"); New 1505 src/d8.cc Shell::ExecuteString(str, String::New(filename), false, false); New 1533 src/d8.cc Handle<String> file_name = String::New("unnamed"); New 1534 src/d8.cc Handle<String> source = String::New(argv_[i + 1]); New 1544 src/d8.cc Handle<String> file_name = String::New(arg); New 1562 src/d8.cc Handle<String> result = String::New(chars, size); New 1579 src/d8.cc Isolate* isolate = Isolate::New(); New 2923 src/debug.cc v8::String::New("debugCommandProcessor"); New 2970 src/debug.cc fun_name = v8::String::New("processDebugRequest"); New 2973 src/debug.cc request = v8::String::New(command.text().start(), New 2986 src/debug.cc response = v8::String::New(""); New 2996 src/debug.cc fun_name = v8::String::New("isRunning"); New 3130 src/debug.cc CommandMessage message = CommandMessage::New( New 3163 src/debug.cc CommandMessage message = CommandMessage::New(Vector<uint16_t>(), client_data); New 697 src/debug.h static CommandMessage New(const Vector<uint16_t>& command, New 1605 src/deoptimizer.cc Vector<SlotRef>::New(height - 1); // Minus receiver. New 1619 src/deoptimizer.cc Vector<SlotRef>::New(formal_parameter_count); New 125 src/deoptimizer.h static Deoptimizer* New(JSFunction* function, New 739 src/execution.cc Handle<Object> value = New(cons, 0, NULL, exc); New 79 src/execution.h static Handle<Object> New(Handle<JSFunction> func, New 67 src/extensions/externalize-string-extension.cc return v8::FunctionTemplate::New(ExternalizeStringExtension::Externalize); New 70 src/extensions/externalize-string-extension.cc return v8::FunctionTemplate::New(ExternalizeStringExtension::IsAscii); New 78 src/extensions/externalize-string-extension.cc return v8::ThrowException(v8::String::New( New 86 src/extensions/externalize-string-extension.cc return v8::ThrowException(v8::String::New( New 93 src/extensions/externalize-string-extension.cc return v8::ThrowException(v8::String::New( New 118 src/extensions/externalize-string-extension.cc return v8::ThrowException(v8::String::New("externalizeString() failed.")); New 127 src/extensions/externalize-string-extension.cc return v8::ThrowException(v8::String::New( New 38 src/extensions/gc-extension.cc return v8::FunctionTemplate::New(GCExtension::GC); New 685 src/global-handles.cc object_groups_.Add(ObjectGroup::New(handles, length, info)); New 699 src/global-handles.cc implicit_ref_groups_.Add(ImplicitRefGroup::New(parent, children, length)); New 49 src/global-handles.h static ObjectGroup* New(Object*** handles, New 83 src/global-handles.h static ImplicitRefGroup* New(HeapObject** parent, New 279 src/hashmap.h map_ = reinterpret_cast<Entry*>(allocator.New(capacity * sizeof(Entry))); New 2336 src/hydrogen-instructions.cc HInstruction* HInstr::New##HInstr(Zone* zone, \ New 2441 src/hydrogen-instructions.cc HInstruction* HInstr::New##HInstr(Zone* zone, \ New 875 src/hydrogen.h return zone->New(static_cast<int>(size)); New 129 src/ia32/lithium-codegen-ia32.cc Vector<char> copy = Vector<char>::New(length + 1); New 259 src/isolate.cc return FreeStoreAllocationPolicy().New(size); New 406 src/json-parser.h Vector<char> buffer = Vector<char>::New(length); New 72 src/jsregexp.cc return Execution::New(constructor, ARRAY_SIZE(argv), argv, New 71 src/list.h return allocator.New(static_cast<int>(size)); New 173 src/list.h return static_cast<T*>(allocator.New(n * sizeof(T))); New 119 src/mips/lithium-codegen-mips.cc Vector<char> copy = Vector<char>::New(length + 1); New 308 src/mksnapshot.cc Persistent<Context> context = v8::Context::New(); New 341 src/mksnapshot.cc Local<String> source = String::New(chars); New 95 src/preparse-data.cc Vector<unsigned> data = Vector<unsigned>::New(total_size); New 151 src/preparse-data.cc Vector<unsigned> data = Vector<unsigned>::New(total_size); New 111 src/profile-generator.cc Vector<char> dst = Vector<char>::New(len + 1); New 142 src/profile-generator.cc Vector<char> str = Vector<char>::New(1024); New 489 src/regexp-macro-assembler-irregexp.cc buffer_ = Vector<byte>::New(old_buffer.length() * 2); New 8113 src/runtime.cc Execution::New(Handle<JSFunction>::cast(bound_function), New 236 src/scanner.h Vector<byte> new_store = Vector<byte>::New(NewCapacity(kInitialCapacity)); New 249 src/scanner.h new_store = Vector<byte>::New(NewCapacity(new_content_size)); New 72 src/scopes.h maps_[i] = new(zone->New(sizeof(VariableMap))) VariableMap(zone); New 67 src/splay-tree.h return allocator.New(static_cast<int>(size)); New 124 src/splay-tree.h return allocator.New(static_cast<int>(size)); New 38 src/utils.cc buffer_ = Vector<char>::New(size); New 369 src/utils.h static Vector<T> New(int length) { New 553 src/utils.h current_chunk_ = Vector<T>::New(initial_capacity); New 633 src/utils.h Vector<T> new_store = Vector<T>::New(size_); New 679 src/utils.h Vector<T> new_chunk = Vector<T>::New(new_capacity); New 748 src/utils.h Vector<T> new_chunk = Vector<T>::New(sequence_length + new_capacity); New 122 src/x64/lithium-codegen-x64.cc Vector<char> copy = Vector<char>::New(length + 1); New 42 src/zone-inl.h inline void* Zone::New(int size) { New 73 src/zone-inl.h return static_cast<T*>(New(length * sizeof(T))); New 98 src/zone-inl.h return zone->New(static_cast<int>(size)); New 101 src/zone-inl.h inline void* ZoneAllocationPolicy::New(size_t size) { New 103 src/zone-inl.h return zone_->New(static_cast<int>(size)); New 109 src/zone-inl.h return zone->New(static_cast<int>(size)); New 90 src/zone.cc Segment* result = reinterpret_cast<Segment*>(Malloced::New(size)); New 71 src/zone.h inline void* New(int size); New 170 src/zone.h INLINE(void* New(size_t size)); New 174 test/cctest/cctest.h : context_(v8::Context::New(extensions, global_template, global_object)) { New 188 test/cctest/cctest.h return v8::Local<v8::Context>::New(context_); New 197 test/cctest/cctest.h return v8::Number::New(x); New 202 test/cctest/cctest.h return v8::String::New(x); New 213 test/cctest/cctest.h return v8::Script::Compile(v8::String::New(source))->Run(); New 56 test/cctest/test-accessors.cc Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 92 test/cctest/test-accessors.cc v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 96 test/cctest/test-accessors.cc v8::External::New(&foo)); New 100 test/cctest/test-accessors.cc v8::External::New(&bar)); New 104 test/cctest/test-accessors.cc v8::External::New(&baz)); New 140 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 145 test/cctest/test-accessors.cc x_receiver = v8::Object::New(); New 157 test/cctest/test-accessors.cc v8::Handle<Value> entry = array->Get(v8::Integer::New(i)); New 158 test/cctest/test-accessors.cc CHECK_EQ(v8::Integer::New(i), entry); New 174 test/cctest/test-accessors.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 215 test/cctest/test-accessors.cc v8::String::New("foo"); New 216 test/cctest/test-accessors.cc return v8::String::New("foo"); New 222 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 227 test/cctest/test-accessors.cc context->Global()->Set(v8::String::New("obj"), inst); New 245 test/cctest/test-accessors.cc CHECK(info.Data()->Equals(v8::String::New("data"))); New 249 test/cctest/test-accessors.cc CHECK(info.Data()->Equals(v8::String::New("data"))); New 253 test/cctest/test-accessors.cc CHECK(info.Data()->Equals(v8::String::New("data"))); New 254 test/cctest/test-accessors.cc return v8::Integer::New(17); New 259 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 263 test/cctest/test-accessors.cc v8::String::New("data")); New 266 test/cctest/test-accessors.cc context->Global()->Set(v8::String::New("obj"), inst); New 267 test/cctest/test-accessors.cc Local<Script> scr = v8::Script::Compile(v8::String::New("obj.xxx")); New 285 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 286 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), EmptyGetter, NULL, v8::String::New("data")); New 289 test/cctest/test-accessors.cc context->Global()->Set(v8::String::New("obj"), inst); New 290 test/cctest/test-accessors.cc Local<Script> scr = v8::Script::Compile(v8::String::New("obj.xxx")); New 303 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 304 test/cctest/test-accessors.cc obj->SetAccessor(v8_str("xxx"), EmptyGetter, NULL, v8::String::New("data")); New 307 test/cctest/test-accessors.cc context->Global()->Set(v8::String::New("obj"), inst); New 308 test/cctest/test-accessors.cc Local<Script> scr = v8::Script::Compile(v8::String::New("obj.xxx")); New 315 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 319 test/cctest/test-accessors.cc v8::String::New("data")); New 322 test/cctest/test-accessors.cc context->Global()->Set(v8::String::New("obj"), inst); New 323 test/cctest/test-accessors.cc Local<Script> scr = v8::Script::Compile(v8::String::New("obj.xxx")); New 348 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 367 test/cctest/test-accessors.cc result = Script::Compile(String::New( New 379 test/cctest/test-accessors.cc return v8::Array::New(1000); New 385 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 389 test/cctest/test-accessors.cc Script::Compile(String::New( New 417 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 422 test/cctest/test-accessors.cc Script::Compile(String::New( New 435 test/cctest/test-accessors.cc v8::Local<v8::Value>::New(name); New 437 test/cctest/test-accessors.cc return v8::Integer::New(100); New 445 test/cctest/test-accessors.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 449 test/cctest/test-accessors.cc v8::Handle<v8::Value> result = Script::Compile(String::New( New 118 test/cctest/test-alloc.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 140 test/cctest/test-alloc.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 161 test/cctest/test-alloc.cc env->Global()->Set(v8::String::New("Foo"), v8::Utils::ToLocal(function)); New 164 test/cctest/test-alloc.cc v8::Script::Compile(v8::String::New("(new Foo).get"))->Run(); New 124 test/cctest/test-api.cc v8::Handle<v8::Array> result = v8::Array::New(args.Length()); New 126 test/cctest/test-api.cc result->Set(v8::Integer::New(i), args[i]); New 133 test/cctest/test-api.cc v8::Handle<v8::Array> result = v8::Array::New(args.Length()); New 135 test/cctest/test-api.cc result->Set(v8::Integer::New(i), args[i]); New 158 test/cctest/test-api.cc Local<String> source = String::New(c_source); New 169 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(); New 170 test/cctest/test-api.cc v8::Handle<v8::Signature> sig = v8::Signature::New(fun); New 173 test/cctest/test-api.cc v8::FunctionTemplate::New(IncrementingSignatureCallback, New 182 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> sub_fun = v8::FunctionTemplate::New(); New 198 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> unrel_fun = v8::FunctionTemplate::New(); New 213 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> cons = v8::FunctionTemplate::New(); New 216 test/cctest/test-api.cc v8::Signature::New(v8::Handle<v8::FunctionTemplate>(), 1, &cons); New 218 test/cctest/test-api.cc v8::FunctionTemplate::New(SignatureCallback, v8::Handle<Value>(), sig); New 231 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> cons1 = v8::FunctionTemplate::New(); New 233 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> cons2 = v8::FunctionTemplate::New(); New 235 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> cons3 = v8::FunctionTemplate::New(); New 240 test/cctest/test-api.cc v8::Signature::New(v8::Handle<v8::FunctionTemplate>(), 3, args); New 242 test/cctest/test-api.cc v8::FunctionTemplate::New(SignatureCallback, v8::Handle<Value>(), wsig); New 287 test/cctest/test-api.cc Local<v8::Object> obj = v8::Object::New(); New 302 test/cctest/test-api.cc Local<v8::Object> obj = v8::Object::New(); New 322 test/cctest/test-api.cc Local<String> source = String::New(c_source); New 439 test/cctest/test-api.cc Local<String> source = String::New(two_byte_source); New 494 test/cctest/test-api.cc Local<String> small_string = String::New(two_byte_string); New 506 test/cctest/test-api.cc small_string = String::New(two_byte_string); New 523 test/cctest/test-api.cc Local<String> large_string = String::New(two_byte_string); New 539 test/cctest/test-api.cc Local<String> small_string = String::New("s1"); New 548 test/cctest/test-api.cc small_string = String::New("small string 2"); New 561 test/cctest/test-api.cc Local<String> large_string = String::New(buf); New 726 test/cctest/test-api.cc Local<String> right = String::New(two_byte_source); New 740 test/cctest/test-api.cc right = String::New(two_byte_source); New 792 test/cctest/test-api.cc v8::FunctionTemplate::New(handle_call); New 801 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 811 test/cctest/test-api.cc v8::FunctionTemplate::New(construct_call); New 842 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 844 test/cctest/test-api.cc v8::FunctionTemplate::New(callback, data)->GetFunction()); New 905 test/cctest/test-api.cc Local<v8::FunctionTemplate> base = v8::FunctionTemplate::New(); New 906 test/cctest/test-api.cc Local<v8::FunctionTemplate> derived = v8::FunctionTemplate::New(); New 907 test/cctest/test-api.cc Local<v8::FunctionTemplate> other = v8::FunctionTemplate::New(); New 952 test/cctest/test-api.cc Local<v8::Integer> value_obj = v8::Integer::New(value); New 965 test/cctest/test-api.cc Local<v8::Integer> value_obj = v8::Integer::New(value); New 982 test/cctest/test-api.cc Local<v8::Integer> value_obj = v8::Integer::New(value); New 1059 test/cctest/test-api.cc v8::Handle<v8::Value> new_boxed_string = v8::StringObject::New(the_string); New 1081 test/cctest/test-api.cc v8::Handle<v8::Value> new_boxed_number = v8::NumberObject::New(43); New 1103 test/cctest/test-api.cc v8::Handle<v8::Value> boxed_true = v8::BooleanObject::New(true); New 1104 test/cctest/test-api.cc v8::Handle<v8::Value> boxed_false = v8::BooleanObject::New(false); New 1118 test/cctest/test-api.cc Local<v8::Number> pi_obj = v8::Number::New(PI); New 1139 test/cctest/test-api.cc Local<Value> date = v8::Date::New(PI); New 1141 test/cctest/test-api.cc date.As<v8::Date>()->Set(v8_str("property"), v8::Integer::New(42)); New 1161 test/cctest/test-api.cc CHECK(!v8::Number::New(0)->BooleanValue()); New 1162 test/cctest/test-api.cc CHECK(v8::Number::New(-1)->BooleanValue()); New 1163 test/cctest/test-api.cc CHECK(v8::Number::New(1)->BooleanValue()); New 1164 test/cctest/test-api.cc CHECK(v8::Number::New(42)->BooleanValue()); New 1183 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> func_templ = v8::FunctionTemplate::New(); New 1186 test/cctest/test-api.cc v8::FunctionTemplate::New(DummyCallHandler)); New 1201 test/cctest/test-api.cc Local<ObjectTemplate> templ1 = ObjectTemplate::New(); New 1209 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(); New 1237 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> super = v8::FunctionTemplate::New(); New 1239 test/cctest/test-api.cc v8::FunctionTemplate::New(GetFlabby)); New 1244 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> base1 = v8::FunctionTemplate::New(); New 1248 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> base2 = v8::FunctionTemplate::New(); New 1368 test/cctest/test-api.cc Handle<FunctionTemplate> parent = FunctionTemplate::New(); New 1369 test/cctest/test-api.cc Handle<FunctionTemplate> child = FunctionTemplate::New(); New 1385 test/cctest/test-api.cc Handle<FunctionTemplate> parent = FunctionTemplate::New(); New 1386 test/cctest/test-api.cc Handle<FunctionTemplate> child = FunctionTemplate::New(); New 1405 test/cctest/test-api.cc Handle<FunctionTemplate> parent = FunctionTemplate::New(); New 1406 test/cctest/test-api.cc Handle<FunctionTemplate> child = FunctionTemplate::New(); New 1424 test/cctest/test-api.cc Handle<FunctionTemplate> templ = FunctionTemplate::New(); New 1441 test/cctest/test-api.cc Handle<FunctionTemplate> templ = FunctionTemplate::New(); New 1458 test/cctest/test-api.cc Handle<FunctionTemplate> parent = FunctionTemplate::New(); New 1459 test/cctest/test-api.cc Handle<FunctionTemplate> child = FunctionTemplate::New(); New 1477 test/cctest/test-api.cc Handle<FunctionTemplate> parent = FunctionTemplate::New(); New 1478 test/cctest/test-api.cc Handle<FunctionTemplate> child = FunctionTemplate::New(); New 1496 test/cctest/test-api.cc Handle<FunctionTemplate> templ = FunctionTemplate::New(); New 1520 test/cctest/test-api.cc Handle<FunctionTemplate> templ = FunctionTemplate::New(); New 1544 test/cctest/test-api.cc Handle<FunctionTemplate> parent = FunctionTemplate::New(); New 1545 test/cctest/test-api.cc Handle<FunctionTemplate> child = FunctionTemplate::New(); New 1561 test/cctest/test-api.cc Handle<FunctionTemplate> parent = FunctionTemplate::New(); New 1562 test/cctest/test-api.cc Handle<FunctionTemplate> child = FunctionTemplate::New(); New 1579 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 1614 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 1718 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 1775 test/cctest/test-api.cc return v8::Integer::New(v8::None); New 1784 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> desc = v8::FunctionTemplate::New(); New 1817 test/cctest/test-api.cc args.This()->Set(v8_str("depth"), v8::Integer::New(depth + 1)); New 1830 test/cctest/test-api.cc args.This()->Set(v8_str("depth"), v8::Integer::New(depth + 1)); New 1839 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global = ObjectTemplate::New(); New 1841 test/cctest/test-api.cc v8::FunctionTemplate::New(CallScriptRecursivelyCall)); New 1843 test/cctest/test-api.cc v8::FunctionTemplate::New(CallFunctionRecursivelyCall)); New 1846 test/cctest/test-api.cc env->Global()->Set(v8_str("depth"), v8::Integer::New(0)); New 1851 test/cctest/test-api.cc env->Global()->Set(v8_str("depth"), v8::Integer::New(0)); New 1873 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 1889 test/cctest/test-api.cc Local<v8::FunctionTemplate> Foo = v8::FunctionTemplate::New(); New 1902 test/cctest/test-api.cc Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 1915 test/cctest/test-api.cc Local<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 1931 test/cctest/test-api.cc Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 1963 test/cctest/test-api.cc Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 2004 test/cctest/test-api.cc Local<v8::Object> obj = v8::Object::New(); New 2008 test/cctest/test-api.cc int hash2 = v8::Object::New()->GetIdentityHash(); New 2014 test/cctest/test-api.cc int hash3 = v8::Object::New()->GetIdentityHash(); New 2026 test/cctest/test-api.cc Local<v8::Object> o1 = v8::Object::New(); New 2027 test/cctest/test-api.cc Local<v8::Object> o2 = v8::Object::New(); New 2034 test/cctest/test-api.cc Local<v8::Object> o1 = v8::Object::New(); New 2035 test/cctest/test-api.cc Local<v8::Object> o2 = v8::Object::New(); New 2045 test/cctest/test-api.cc v8::Local<v8::Object> obj = v8::Object::New(); New 2055 test/cctest/test-api.cc CHECK(obj->SetHiddenValue(key, v8::Integer::New(1503))); New 2057 test/cctest/test-api.cc CHECK(obj->SetHiddenValue(key, v8::Integer::New(2002))); New 2067 test/cctest/test-api.cc CHECK(obj->Set(empty, v8::Integer::New(2003))); New 2075 test/cctest/test-api.cc CHECK(obj->Set(prop_name, v8::Integer::New(2008))); New 2096 test/cctest/test-api.cc v8::Local<v8::Object> obj = v8::Object::New(); New 2111 test/cctest/test-api.cc CHECK(obj->SetHiddenValue(key, v8::Integer::New(42))); New 2134 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 2139 test/cctest/test-api.cc CHECK(obj->SetHiddenValue(key, v8::Integer::New(2302))); New 2148 test/cctest/test-api.cc Local<v8::External> ext = v8::External::New(&x); New 2182 test/cctest/test-api.cc global = v8::Persistent<String>::New(str); New 2224 test/cctest/test-api.cc g1s1 = Persistent<Object>::New(Object::New()); New 2225 test/cctest/test-api.cc g1s2 = Persistent<Object>::New(Object::New()); New 2226 test/cctest/test-api.cc g1c1 = Persistent<Object>::New(Object::New()); New 2231 test/cctest/test-api.cc g2s1 = Persistent<Object>::New(Object::New()); New 2232 test/cctest/test-api.cc g2s2 = Persistent<Object>::New(Object::New()); New 2233 test/cctest/test-api.cc g2c1 = Persistent<Object>::New(Object::New()); New 2239 test/cctest/test-api.cc Persistent<Object> root = Persistent<Object>::New(g1s1); // make a root. New 2309 test/cctest/test-api.cc g1s1 = Persistent<Object>::New(Object::New()); New 2310 test/cctest/test-api.cc g1s2 = Persistent<Object>::New(Object::New()); New 2314 test/cctest/test-api.cc g2s1 = Persistent<Object>::New(Object::New()); New 2315 test/cctest/test-api.cc g2s2 = Persistent<Object>::New(Object::New()); New 2319 test/cctest/test-api.cc g3s1 = Persistent<Object>::New(Object::New()); New 2320 test/cctest/test-api.cc g3s2 = Persistent<Object>::New(Object::New()); New 2325 test/cctest/test-api.cc Persistent<Object> root = Persistent<Object>::New(g1s1); // make a root. New 2424 test/cctest/test-api.cc context->Global()->Set(v8::Integer::New(16), v8_num(32)); New 2434 test/cctest/test-api.cc CHECK_EQ(92, context->Global()->Get(v8::Integer::New(12))->Int32Value()); New 2437 test/cctest/test-api.cc CHECK_EQ(32, context->Global()->Get(v8::Integer::New(16))->Int32Value()); New 2440 test/cctest/test-api.cc CHECK_EQ(56, context->Global()->Get(v8::Integer::New(13))->Int32Value()); New 2493 test/cctest/test-api.cc Local<v8::Array> array = v8::Array::New(); New 2511 test/cctest/test-api.cc array = v8::Array::New(27); New 2513 test/cctest/test-api.cc array = v8::Array::New(-27); New 2521 test/cctest/test-api.cc Local<v8::Array> result = v8::Array::New(args.Length()); New 2530 test/cctest/test-api.cc Local<ObjectTemplate> global = ObjectTemplate::New(); New 2531 test/cctest/test-api.cc global->Set(v8_str("f"), v8::FunctionTemplate::New(HandleF)); New 2587 test/cctest/test-api.cc CHECK_EQ(1.1, a1->Get(v8::Integer::New(0))->NumberValue()); New 2593 test/cctest/test-api.cc CHECK_EQ(2.2, a2->Get(v8::Integer::New(0))->NumberValue()); New 2594 test/cctest/test-api.cc CHECK_EQ(3.3, a2->Get(v8::Integer::New(1))->NumberValue()); New 2601 test/cctest/test-api.cc CHECK_EQ(4.4, a3->Get(v8::Integer::New(0))->NumberValue()); New 2602 test/cctest/test-api.cc CHECK_EQ(5.5, a3->Get(v8::Integer::New(1))->NumberValue()); New 2603 test/cctest/test-api.cc CHECK_EQ(6.6, a3->Get(v8::Integer::New(2))->NumberValue()); New 2611 test/cctest/test-api.cc CHECK_EQ(7.7, a4->Get(v8::Integer::New(0))->NumberValue()); New 2612 test/cctest/test-api.cc CHECK_EQ(8.8, a4->Get(v8::Integer::New(1))->NumberValue()); New 2613 test/cctest/test-api.cc CHECK_EQ(9.9, a4->Get(v8::Integer::New(2))->NumberValue()); New 2614 test/cctest/test-api.cc CHECK_EQ(10.11, a4->Get(v8::Integer::New(3))->NumberValue()); New 2639 test/cctest/test-api.cc Script::Compile(String::New(js_code_causing_out_of_memory)); New 2654 test/cctest/test-api.cc Script::Compile(String::New(js_code_causing_out_of_memory)); New 2676 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 2678 test/cctest/test-api.cc v8::FunctionTemplate::New(ProvokeOutOfMemory)); New 2742 test/cctest/test-api.cc CHECK_EQ(1.1, a1->Get(v8::Integer::New(0))->NumberValue()); New 2748 test/cctest/test-api.cc CHECK_EQ(2.2, a2->Get(v8::Integer::New(0))->NumberValue()); New 2749 test/cctest/test-api.cc CHECK_EQ(3.3, a2->Get(v8::Integer::New(1))->NumberValue()); New 2756 test/cctest/test-api.cc CHECK_EQ(4.4, a3->Get(v8::Integer::New(0))->NumberValue()); New 2757 test/cctest/test-api.cc CHECK_EQ(5.5, a3->Get(v8::Integer::New(1))->NumberValue()); New 2758 test/cctest/test-api.cc CHECK_EQ(6.6, a3->Get(v8::Integer::New(2))->NumberValue()); New 2766 test/cctest/test-api.cc CHECK_EQ(7.7, a4->Get(v8::Integer::New(0))->NumberValue()); New 2767 test/cctest/test-api.cc CHECK_EQ(8.8, a4->Get(v8::Integer::New(1))->NumberValue()); New 2768 test/cctest/test-api.cc CHECK_EQ(9.9, a4->Get(v8::Integer::New(2))->NumberValue()); New 2769 test/cctest/test-api.cc CHECK_EQ(10.11, a4->Get(v8::Integer::New(3))->NumberValue()); New 2946 test/cctest/test-api.cc return v8::Boolean::New(try_catch.HasCaught()); New 2952 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 2954 test/cctest/test-api.cc v8::FunctionTemplate::New(ThrowFromC)); New 2970 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 2972 test/cctest/test-api.cc v8::FunctionTemplate::New(ThrowFromC)); New 2989 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 2991 test/cctest/test-api.cc v8::FunctionTemplate::New(CCatcher)); New 3025 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3026 test/cctest/test-api.cc templ->Set(v8_str("fail"), v8::FunctionTemplate::New(Fail)); New 3071 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3073 test/cctest/test-api.cc v8::FunctionTemplate::New(ThrowFromC)); New 3085 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3087 test/cctest/test-api.cc v8::FunctionTemplate::New(ThrowFromC)); New 3116 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3118 test/cctest/test-api.cc v8::FunctionTemplate::New(ThrowFromC)); New 3218 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3219 test/cctest/test-api.cc templ->Set(v8_str("check"), v8::FunctionTemplate::New(JSCheck)); New 3221 test/cctest/test-api.cc v8::FunctionTemplate::New(CThrowCountDown)); New 3282 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3283 test/cctest/test-api.cc templ->Set(v8_str("Throw"), v8::FunctionTemplate::New(ThrowValue)); New 3296 test/cctest/test-api.cc CHECK(result->Get(v8::Integer::New(0))->IsString()); New 3297 test/cctest/test-api.cc CHECK(result->Get(v8::Integer::New(1))->IsNumber()); New 3298 test/cctest/test-api.cc CHECK_EQ(1, result->Get(v8::Integer::New(1))->Int32Value()); New 3299 test/cctest/test-api.cc CHECK(result->Get(v8::Integer::New(2))->IsNumber()); New 3300 test/cctest/test-api.cc CHECK_EQ(0, result->Get(v8::Integer::New(2))->Int32Value()); New 3301 test/cctest/test-api.cc CHECK(result->Get(v8::Integer::New(3))->IsNull()); New 3302 test/cctest/test-api.cc CHECK(result->Get(v8::Integer::New(4))->IsUndefined()); New 3354 test/cctest/test-api.cc v8::FunctionTemplate::New(WithTryCatch)->GetFunction()); New 3392 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 3393 test/cctest/test-api.cc v8::Persistent<v8::Object> alias = v8::Persistent<v8::Object>::New(obj); New 3419 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3432 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3479 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3531 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3605 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3661 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3693 test/cctest/test-api.cc xValue = v8::Persistent<Value>::New(value); New 3699 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3724 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3738 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3769 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 3772 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3813 test/cctest/test-api.cc proto.As<v8::Object>()->Set(v8_str("x"), v8::Integer::New(23)); New 3822 test/cctest/test-api.cc Local<v8::FunctionTemplate> function_template = v8::FunctionTemplate::New(); New 3859 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3926 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 3978 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4004 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4025 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4048 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4073 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4102 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4125 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4164 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4193 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4223 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4253 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4277 test/cctest/test-api.cc v8::Handle<ObjectTemplate> templ = ObjectTemplate::New(); New 4278 test/cctest/test-api.cc templ->Set(v8_str("dummy"), v8::FunctionTemplate::New(DummyCallHandler)); New 4366 test/cctest/test-api.cc v8::FunctionTemplate::New(0, v8::Handle<Value>()); New 4410 test/cctest/test-api.cc v8::FunctionTemplate::New(0, v8::Handle<Value>()); New 4454 test/cctest/test-api.cc v8::FunctionTemplate::New(0, v8::Handle<Value>()); New 4465 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(42), script->Run()); New 4561 test/cctest/test-api.cc v8::Persistent<String> p_str = v8::Persistent<String>::New(str); New 4564 test/cctest/test-api.cc v8::Persistent<Script> p_scr = v8::Persistent<Script>::New(scr); New 4566 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 4568 test/cctest/test-api.cc v8::Persistent<ObjectTemplate>::New(templ); New 4581 test/cctest/test-api.cc Local<ObjectTemplate> global_template = ObjectTemplate::New(); New 4583 test/cctest/test-api.cc v8::FunctionTemplate::New(HandleLogDelegator)); New 4584 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(0, global_template); New 4602 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4605 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(4)); New 4621 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4637 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4641 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(54321), result); New 4673 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4676 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(42)); New 4678 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(42)); New 4706 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4709 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(87)); New 4711 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(87)); New 4720 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(); New 4723 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(4)); New 4739 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4756 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4777 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4780 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(3)); New 4794 test/cctest/test-api.cc return v8::FunctionTemplate::New(function_); New 4813 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&extensions); New 4816 test/cctest/test-api.cc CHECK_EQ(result, v8::Integer::New(42)); New 4828 test/cctest/test-api.cc v8::Handle<Context> context(Context::New(&extensions)); New 4843 test/cctest/test-api.cc v8::Handle<Context> context(Context::New(&extensions)); New 4852 test/cctest/test-api.cc CHECK_EQ(String::New(expected), context->Global()->Get(v8_str("loaded"))); New 4919 test/cctest/test-api.cc return v8::FunctionTemplate::New(CallFun, v8::Integer::New(8)); New 4921 test/cctest/test-api.cc return v8::FunctionTemplate::New(CallFun, v8::Integer::New(7)); New 4923 test/cctest/test-api.cc return v8::FunctionTemplate::New(CallFun, v8::Integer::New(6)); New 4937 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(8), Script::Compile(v8_str("Foo(0)"))->Run()); New 4938 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(7), Script::Compile(v8_str("Foo(1)"))->Run()); New 4939 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(6), Script::Compile(v8_str("Foo(2)"))->Run()); New 4952 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(8), New 4954 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(7), New 4956 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(6), New 4983 test/cctest/test-api.cc v8::Handle<Context> context = Context::New(&config); New 5008 test/cctest/test-api.cc Script::Compile(String::New(js_code_causing_huge_string_flattening)); New 5053 test/cctest/test-api.cc script_ = v8::Persistent<Script>::New(v8_compile("({}).blammo")); New 5077 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 5078 test/cctest/test-api.cc v8::Persistent<v8::Object> global = v8::Persistent<v8::Object>::New(obj); New 5091 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ= v8::ObjectTemplate::New(); New 5095 test/cctest/test-api.cc v8::External::New(whammy)); New 5098 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(&extensions); New 5127 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(); New 5134 test/cctest/test-api.cc object_a = v8::Persistent<v8::Object>::New(v8::Object::New()); New 5172 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(); New 5187 test/cctest/test-api.cc object = v8::Persistent<v8::Object>::New(v8::Object::New()); New 5206 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(); New 5212 test/cctest/test-api.cc object = v8::Persistent<v8::Object>::New(v8::Object::New()); New 5213 test/cctest/test-api.cc object->Set(v8_str("x"), v8::Integer::New(1)); New 5226 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(1), object->Get(v8_str("x"))); New 5239 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(1), args[0]); New 5240 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(2), args[1]); New 5241 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(3), args[2]); New 5251 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global = ObjectTemplate::New(); New 5252 test/cctest/test-api.cc global->Set(v8_str("f"), v8::FunctionTemplate::New(ArgumentsTestCallback)); New 5292 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 5336 test/cctest/test-api.cc v8::Handle<v8::Array> result = v8::Array::New(3); New 5337 test/cctest/test-api.cc result->Set(v8::Integer::New(0), v8_str("foo")); New 5338 test/cctest/test-api.cc result->Set(v8::Integer::New(1), v8_str("bar")); New 5339 test/cctest/test-api.cc result->Set(v8::Integer::New(2), v8_str("baz")); New 5346 test/cctest/test-api.cc v8::Handle<v8::Array> result = v8::Array::New(2); New 5347 test/cctest/test-api.cc result->Set(v8::Integer::New(0), v8_str("0")); New 5348 test/cctest/test-api.cc result->Set(v8::Integer::New(1), v8_str("1")); New 5355 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 5386 test/cctest/test-api.cc CHECK_EQ(v8_str("5"), result->Get(v8::Integer::New(0))); New 5387 test/cctest/test-api.cc CHECK_EQ(v8_str("10"), result->Get(v8::Integer::New(1))); New 5388 test/cctest/test-api.cc CHECK_EQ(v8_str("140000"), result->Get(v8::Integer::New(2))); New 5389 test/cctest/test-api.cc CHECK_EQ(v8_str("4294967295"), result->Get(v8::Integer::New(3))); New 5392 test/cctest/test-api.cc CHECK_EQ(v8_str("0"), result->Get(v8::Integer::New(4))); New 5393 test/cctest/test-api.cc CHECK_EQ(v8_str("1"), result->Get(v8::Integer::New(5))); New 5395 test/cctest/test-api.cc CHECK_EQ(v8_str("a"), result->Get(v8::Integer::New(6))); New 5396 test/cctest/test-api.cc CHECK_EQ(v8_str("b"), result->Get(v8::Integer::New(7))); New 5397 test/cctest/test-api.cc CHECK_EQ(v8_str("c"), result->Get(v8::Integer::New(8))); New 5398 test/cctest/test-api.cc CHECK_EQ(v8_str("4294967296"), result->Get(v8::Integer::New(9))); New 5399 test/cctest/test-api.cc CHECK_EQ(v8_str("d"), result->Get(v8::Integer::New(10))); New 5400 test/cctest/test-api.cc CHECK_EQ(v8_str("e"), result->Get(v8::Integer::New(11))); New 5401 test/cctest/test-api.cc CHECK_EQ(v8_str("30000000000"), result->Get(v8::Integer::New(12))); New 5402 test/cctest/test-api.cc CHECK_EQ(v8_str("f"), result->Get(v8::Integer::New(13))); New 5404 test/cctest/test-api.cc CHECK_EQ(v8_str("foo"), result->Get(v8::Integer::New(14))); New 5405 test/cctest/test-api.cc CHECK_EQ(v8_str("bar"), result->Get(v8::Integer::New(15))); New 5406 test/cctest/test-api.cc CHECK_EQ(v8_str("baz"), result->Get(v8::Integer::New(16))); New 5469 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 5482 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 5492 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 5997 test/cctest/test-api.cc v8::Handle<v8::Number> num = v8::Number::New(1); New 6001 test/cctest/test-api.cc num = v8::Number::New(-1); New 6004 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 6052 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); New 6065 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> templ1 = v8::FunctionTemplate::New(); New 6066 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> templ2 = v8::FunctionTemplate::New(); New 6067 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> templ3 = v8::FunctionTemplate::New(); New 6069 test/cctest/test-api.cc v8::Handle<v8::TypeSwitch> type_switch = v8::TypeSwitch::New(3, templs); New 6071 test/cctest/test-api.cc v8::Handle<v8::Object> obj0 = v8::Object::New(); New 6146 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(TroubleCallback); New 6185 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(TroubleCallback); New 6192 test/cctest/test-api.cc "};"), v8::String::New(script_resource_name))->Run(); New 6233 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 6238 test/cctest/test-api.cc Context::New(NULL, global_template); New 6254 test/cctest/test-api.cc Context::New(NULL, global_template); New 6296 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); New 6341 test/cctest/test-api.cc v8::Persistent<Context> other = Context::New(); New 6409 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); New 6442 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); New 6477 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); New 6510 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); New 6525 test/cctest/test-api.cc global2->Set(v8_str("prop"), v8::Integer::New(1)); New 6538 test/cctest/test-api.cc Context::New(0, v8::Handle<v8::ObjectTemplate>(), global2); New 6546 test/cctest/test-api.cc global3->Set(v8_str("prop"), v8::Integer::New(-1)); New 6547 test/cctest/test-api.cc global3->Set(v8_str("prop2"), v8::Integer::New(2)); New 6576 test/cctest/test-api.cc v8::Persistent<Context> env2 = Context::New(); New 6587 test/cctest/test-api.cc env2->Global()->Set(v8_str("p"), v8::Integer::New(42)); New 6609 test/cctest/test-api.cc Context::New(0, v8::Handle<v8::ObjectTemplate>(), global2); New 6618 test/cctest/test-api.cc env3->Global()->Set(v8_str("p"), v8::Integer::New(24)); New 6699 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 6718 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, global_template); New 6746 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 6943 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 6963 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, global_template); New 6968 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 7029 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj_template = v8::ObjectTemplate::New(); New 7031 test/cctest/test-api.cc obj_template->Set(v8_str("x"), v8::Integer::New(42)); New 7036 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, obj_template); New 7043 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 7071 test/cctest/test-api.cc v8::Handle<v8::Array> result = v8::Array::New(1); New 7079 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj_template = v8::ObjectTemplate::New(); New 7081 test/cctest/test-api.cc obj_template->Set(v8_str("x"), v8::Integer::New(42)); New 7104 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> func_template = v8::FunctionTemplate::New(); New 7124 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(NULL, global_template); New 7133 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 7183 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); New 7188 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> object_template = v8::ObjectTemplate::New(); New 7196 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 7332 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); New 7337 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> object_template = v8::ObjectTemplate::New(); New 7345 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 7366 test/cctest/test-api.cc return v8::Integer::New(42); New 7396 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); New 7402 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> object_template = v8::ObjectTemplate::New(); New 7414 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 7471 test/cctest/test-api.cc Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 7476 test/cctest/test-api.cc v8::FunctionTemplate::New(InstanceFunctionCallback)); New 7501 test/cctest/test-api.cc Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 7507 test/cctest/test-api.cc v8::FunctionTemplate::New(InstanceFunctionCallback)); New 7557 test/cctest/test-api.cc Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 7633 test/cctest/test-api.cc Local<ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 7636 test/cctest/test-api.cc Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 7643 test/cctest/test-api.cc Local<v8::Signature> signature = v8::Signature::New(t); New 7645 test/cctest/test-api.cc v8::FunctionTemplate::New(ShadowFunctionCallback, New 7678 test/cctest/test-api.cc Local<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(); New 7680 test/cctest/test-api.cc Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(); New 7683 test/cctest/test-api.cc Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(); New 7686 test/cctest/test-api.cc Local<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(); New 7722 test/cctest/test-api.cc Local<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(); New 7724 test/cctest/test-api.cc Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(); New 7727 test/cctest/test-api.cc Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(); New 7730 test/cctest/test-api.cc Local<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(); New 7783 test/cctest/test-api.cc Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(); New 7786 test/cctest/test-api.cc Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(); New 7789 test/cctest/test-api.cc t2->InstanceTemplate()->Set(v8_str("objects"), v8::Object::New()); New 7791 test/cctest/test-api.cc Local<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(); New 7794 test/cctest/test-api.cc Local<v8::FunctionTemplate> t4 = v8::FunctionTemplate::New(); New 7833 test/cctest/test-api.cc Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(); New 7834 test/cctest/test-api.cc t1->PrototypeTemplate()->Set(v8_str("x"), v8::Integer::New(42)); New 7847 test/cctest/test-api.cc Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(); New 7848 test/cctest/test-api.cc t2->PrototypeTemplate()->Set(v8_str("x"), v8::Integer::New(42)); New 7864 test/cctest/test-api.cc Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 7893 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); New 7895 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); New 7897 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); New 7899 test/cctest/test-api.cc x->Set(v8_str("set"), v8::Integer::New(8)); New 7907 test/cctest/test-api.cc Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 7925 test/cctest/test-api.cc This = Object::New(); New 7949 test/cctest/test-api.cc { Local<ObjectTemplate> instance_template = ObjectTemplate::New(); New 8025 test/cctest/test-api.cc { Local<ObjectTemplate> instance_template = ObjectTemplate::New(); New 8047 test/cctest/test-api.cc { Local<ObjectTemplate> instance_template = ObjectTemplate::New(); New 8071 test/cctest/test-api.cc FunctionTemplate::New(FakeConstructorCallback); New 8091 test/cctest/test-api.cc Local<ObjectTemplate> instance_template = ObjectTemplate::New(); New 8115 test/cctest/test-api.cc Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 8259 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); New 8260 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 8330 test/cctest/test-api.cc { Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 8383 test/cctest/test-api.cc { Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 8412 test/cctest/test-api.cc { Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(); New 8443 test/cctest/test-api.cc { Local<ObjectTemplate> instance_template = ObjectTemplate::New(); New 8452 test/cctest/test-api.cc { Local<ObjectTemplate> instance_template = ObjectTemplate::New(); New 8461 test/cctest/test-api.cc FunctionTemplate::New(call_as_function); New 8470 test/cctest/test-api.cc { Local<FunctionTemplate> function_template = FunctionTemplate::New(); New 8490 test/cctest/test-api.cc Local<v8::Number> n(v8::Integer::New(42)); New 8504 test/cctest/test-api.cc Local<v8::Number> n(v8::Integer::New(42)); New 8512 test/cctest/test-api.cc Local<v8::Number> n(v8::Integer::New(42)); New 8534 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 8566 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 8600 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 8616 test/cctest/test-api.cc return v8::Integer::New(42); New 8639 test/cctest/test-api.cc ? v8::Integer::New(42) : v8::Handle<v8::Value>(); New 8809 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 8838 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 8840 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_p = ObjectTemplate::New(); New 8871 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 8899 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 8901 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_p = ObjectTemplate::New(); New 8927 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 8929 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_p = ObjectTemplate::New(); New 8959 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 8961 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_p = ObjectTemplate::New(); New 8989 test/cctest/test-api.cc return v8::Integer::New(0); New 9011 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9026 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9056 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9075 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9103 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9123 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9150 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9182 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9216 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9246 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9276 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9301 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 9344 test/cctest/test-api.cc return v8::Integer::New(args[0]->Int32Value() + 1); New 9357 test/cctest/test-api.cc return v8::Integer::New(args[0]->Int32Value() + 1); New 9385 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> nativeobject_templ = v8::ObjectTemplate::New(); New 9387 test/cctest/test-api.cc v8::FunctionTemplate::New(DirectApiCallback)); New 9409 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> nativeobject_templ = v8::ObjectTemplate::New(); New 9411 test/cctest/test-api.cc v8::FunctionTemplate::New(ThrowingDirectApiCallback)); New 9440 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = v8::ObjectTemplate::New(); New 9462 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> obj = v8::ObjectTemplate::New(); New 9478 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9480 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_TrivialSignature, New 9505 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9507 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9509 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9535 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9537 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9539 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9571 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9573 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9575 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9607 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9609 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9611 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9646 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9648 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9650 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9684 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9686 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_TrivialSignature, New 9708 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9710 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9712 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9735 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9737 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9739 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9767 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); New 9769 test/cctest/test-api.cc v8::FunctionTemplate::New(FastApiCallback_SimpleSignature, New 9771 test/cctest/test-api.cc v8::Signature::New(fun_templ)); New 9817 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9841 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9868 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 9893 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 9917 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 9939 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ_o = ObjectTemplate::New(); New 9975 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 10022 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 10065 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 10083 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 10098 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = ObjectTemplate::New(); New 10112 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 10134 test/cctest/test-api.cc Local<FunctionTemplate> templ = FunctionTemplate::New(); New 10140 test/cctest/test-api.cc Local<Object> another = Object::New(); New 10226 test/cctest/test-api.cc FunctionTemplate::New(ThrowingCallbackWithTryCatch)->GetFunction(); New 10270 test/cctest/test-api.cc Local<v8::FunctionTemplate> parent_templ = v8::FunctionTemplate::New(); New 10276 test/cctest/test-api.cc Local<v8::FunctionTemplate> child_templ = v8::FunctionTemplate::New(); New 10324 test/cctest/test-api.cc return v8::Boolean::New(args.IsConstructCall()); New 10332 test/cctest/test-api.cc Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 10347 test/cctest/test-api.cc Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); New 10578 test/cctest/test-api.cc exception = Local<Value>::New(try_catch.Exception()); New 10607 test/cctest/test-api.cc Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(ThrowInJS); New 10629 test/cctest/test-api.cc v8::FunctionTemplate::New(ThrowInJSNoCatch); New 10666 test/cctest/test-api.cc v8::FunctionTemplate::New(UnlockForAMoment); New 10680 test/cctest/test-api.cc v8::FunctionTemplate::New(UnlockForAMoment); New 10757 test/cctest/test-api.cc bad_handle = v8::Persistent<v8::Object>::New(some_object); New 10768 test/cctest/test-api.cc some_object = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10769 test/cctest/test-api.cc handle1 = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10770 test/cctest/test-api.cc handle2 = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10797 test/cctest/test-api.cc handle1 = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10798 test/cctest/test-api.cc handle2 = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10811 test/cctest/test-api.cc v8::Persistent<v8::Object>::New(v8::Object::New()); New 10822 test/cctest/test-api.cc handle3 = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10823 test/cctest/test-api.cc handle2 = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10824 test/cctest/test-api.cc handle1 = v8::Persistent<v8::Object>::New(v8::Object::New()); New 10867 test/cctest/test-api.cc v8::Persistent<Context> env = Context::New(); New 10904 test/cctest/test-api.cc v8::Persistent<Context> env = Context::New(); New 10986 test/cctest/test-api.cc v8::Persistent<Context> env(Context::New()); New 10999 test/cctest/test-api.cc { v8::Persistent<v8::Context> inner = v8::Context::New(); New 11017 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> local = v8::ObjectTemplate::New(); New 11019 test/cctest/test-api.cc templ = v8::Persistent<v8::ObjectTemplate>::New(inner.Close(local)); New 11032 test/cctest/test-api.cc v8::Handle<v8::Script> script = v8::Script::Compile(v8::String::New( New 11068 test/cctest/test-api.cc v8::Handle<v8::String> source = v8::String::New( New 11086 test/cctest/test-api.cc script = v8::Script::Compile(source, v8::String::New(resource_name)); New 11090 test/cctest/test-api.cc v8::ScriptOrigin origin1(v8::String::New(resource_name)); New 11095 test/cctest/test-api.cc v8::ScriptOrigin origin2(v8::String::New(resource_name), v8::Integer::New(7)); New 11104 test/cctest/test-api.cc v8::Handle<v8::String> source0 = v8::String::New("1234"); New 11105 test/cctest/test-api.cc v8::Handle<v8::String> source1 = v8::String::New("1234"); New 11107 test/cctest/test-api.cc v8::Script::Compile(source0, v8::String::New("test.js")); New 11109 test/cctest/test-api.cc v8::Script::Compile(source1, v8::String::New("test.js")); New 11127 test/cctest/test-api.cc Local<ObjectTemplate> t = ObjectTemplate::New(); New 11128 test/cctest/test-api.cc t->Set(v8_str("asdf"), v8::FunctionTemplate::New(FunctionNameCallback)); New 11140 test/cctest/test-api.cc v8::Handle<v8::Value> date = v8::Date::New(1224744689038.0); New 11151 test/cctest/test-api.cc v8::String::Utf8Value elm(props->Get(v8::Integer::New(i))); New 11164 test/cctest/test-api.cc v8::String::Utf8Value elm(props->Get(v8::Integer::New(i))); New 11173 test/cctest/test-api.cc v8::Handle<v8::Value> obj = v8::Script::Compile(v8::String::New( New 11186 test/cctest/test-api.cc CheckProperties(elms->Get(v8::Integer::New(0)), elmc0, elmv0); New 11187 test/cctest/test-api.cc CheckOwnProperties(elms->Get(v8::Integer::New(0)), elmc0, elmv0); New 11190 test/cctest/test-api.cc CheckProperties(elms->Get(v8::Integer::New(1)), elmc1, elmv1); New 11191 test/cctest/test-api.cc CheckOwnProperties(elms->Get(v8::Integer::New(1)), elmc1, elmv1); New 11194 test/cctest/test-api.cc CheckProperties(elms->Get(v8::Integer::New(2)), elmc2, elmv2); New 11195 test/cctest/test-api.cc CheckOwnProperties(elms->Get(v8::Integer::New(2)), elmc2, elmv2); New 11198 test/cctest/test-api.cc CheckProperties(elms->Get(v8::Integer::New(3)), elmc3, elmv3); New 11201 test/cctest/test-api.cc CheckOwnProperties(elms->Get(v8::Integer::New(3)), elmc4, elmv4); New 11207 test/cctest/test-api.cc v8::Handle<v8::Value> obj = v8::Script::Compile(v8::String::New( New 11220 test/cctest/test-api.cc CheckProperties(elms->Get(v8::Integer::New(0)), elmc0, elmv0); New 11222 test/cctest/test-api.cc v8::Handle<v8::Value> val = elms->Get(v8::Integer::New(0)); New 11249 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 11280 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 11295 test/cctest/test-api.cc templ->Set(v8_str(buf), v8::Number::New(k)); New 11318 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 11327 test/cctest/test-api.cc v8::Persistent<Context> context0(Context::New(NULL, global_template)); New 11338 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 11343 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(NULL, global_template); New 11419 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 11424 test/cctest/test-api.cc v8::Persistent<Context> context = Context::New(NULL, global_template); New 11550 test/cctest/test-api.cc v8::ScriptData::New(serialized_data, serialized_data_length); New 11567 test/cctest/test-api.cc v8::ScriptData* sd = v8::ScriptData::New(data, invalid_size); New 11598 test/cctest/test-api.cc Local<String> source = String::New(script); New 11599 test/cctest/test-api.cc Local<Script> compiled_script = Script::New(source, NULL, sd); New 11614 test/cctest/test-api.cc compiled_script = Script::New(source, NULL, sd); New 11637 test/cctest/test-api.cc v8::String::New(cstring)); New 11684 test/cctest/test-api.cc v8::Persistent<Context> context0 = Context::New(); New 11685 test/cctest/test-api.cc v8::Persistent<Context> context1 = Context::New(); New 11776 test/cctest/test-api.cc Local<String> source = String::New(c_source); New 11789 test/cctest/test-api.cc Local<String> source = String::New(c_source); New 11901 test/cctest/test-api.cc Local<String> source = String::New(c_source); New 11963 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(123), obj->Get(v8_str("beta"))); New 11969 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(123), clone->Get(v8_str("beta"))); New 11973 test/cctest/test-api.cc clone->Set(v8_str("beta"), v8::Integer::New(456)); New 11974 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(123), obj->Get(v8_str("beta"))); New 11975 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(456), clone->Get(v8_str("beta"))); New 12086 test/cctest/test-api.cc CHECK_EQ(String::New(expected_cons), New 12088 test/cctest/test-api.cc CHECK_EQ(String::New(expected_slice), New 12090 test/cctest/test-api.cc CHECK_EQ(String::New(expected_slice_on_cons), New 12212 test/cctest/test-api.cc Local<String> source = String::New(c_source); New 12263 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New(); New 12268 test/cctest/test-api.cc global_proto->Set(v8_str("x"), v8::Integer::New(0), v8::ReadOnly); New 12269 test/cctest/test-api.cc global_proto->Set(v8_str("y"), v8::Integer::New(0), v8::ReadOnly); New 12273 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(0), res); New 12276 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(0), res); New 12279 test/cctest/test-api.cc CHECK_EQ(v8::Integer::New(0), res); New 12292 test/cctest/test-api.cc return v8::Int32::New(3); New 12316 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New(); New 12317 test/cctest/test-api.cc v8::Handle<v8::String> access_property = v8::String::New("a"); New 12323 test/cctest/test-api.cc v8::Handle<v8::String> simple_property = v8::String::New("p"); New 12324 test/cctest/test-api.cc global->Set(simple_property, v8::Int32::New(4), v8::ReadOnly); New 12327 test/cctest/test-api.cc global->Set(simple_property, v8::Int32::New(5)); New 12330 test/cctest/test-api.cc global->ForceSet(simple_property, v8::Int32::New(6)); New 12339 test/cctest/test-api.cc global->Set(access_property, v8::Int32::New(7)); New 12345 test/cctest/test-api.cc global->ForceSet(access_property, v8::Int32::New(8)); New 12357 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New(); New 12362 test/cctest/test-api.cc v8::Handle<v8::String> some_property = v8::String::New("a"); New 12368 test/cctest/test-api.cc global->Set(some_property, v8::Int32::New(7)); New 12381 test/cctest/test-api.cc global->ForceSet(some_property, v8::Int32::New(8)); New 12392 test/cctest/test-api.cc CHECK_EQ(3, global->Get(v8::String::New("b"))->Int32Value()); New 12400 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New(); New 12405 test/cctest/test-api.cc v8::Handle<v8::String> simple_property = v8::String::New("p"); New 12406 test/cctest/test-api.cc global->Set(simple_property, v8::Int32::New(4), v8::DontDelete); New 12438 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New(); New 12443 test/cctest/test-api.cc v8::Handle<v8::String> some_property = v8::String::New("a"); New 12444 test/cctest/test-api.cc global->Set(some_property, v8::Integer::New(42), v8::DontDelete); New 12491 test/cctest/test-api.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); New 12492 test/cctest/test-api.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); New 12508 test/cctest/test-api.cc v8::Handle<v8::String> G_property = v8::String::New("G"); New 12541 test/cctest/test-api.cc return v8::Integer::New(42); New 12548 test/cctest/test-api.cc calling_context0 = Context::New(); New 12549 test/cctest/test-api.cc calling_context1 = Context::New(); New 12550 test/cctest/test-api.cc calling_context2 = Context::New(); New 12561 test/cctest/test-api.cc v8::FunctionTemplate::New(GetCallingContextCallback); New 12614 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 12615 test/cctest/test-api.cc v8::Handle<v8::FunctionTemplate> func_templ = v8::FunctionTemplate::New(); New 12616 test/cctest/test-api.cc v8::Handle<v8::String> foo_string = v8::String::New("foo"); New 12619 test/cctest/test-api.cc obj_clone->Set(foo_string, v8::String::New("Hello")); New 12664 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 12670 test/cctest/test-api.cc obj->Set(v8_str("field"), v8::Int32::New(1503)); New 13036 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 13076 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New(); New 13150 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 13158 test/cctest/test-api.cc obj->Set(v8_str("field"), v8::Int32::New(1503)); New 13458 test/cctest/test-api.cc v8::Handle<v8::Object> large_obj = v8::Object::New(); New 13531 test/cctest/test-api.cc v8::Handle<v8::Object> obj2 = v8::Object::New(); New 13532 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field"), v8::Int32::New(256)); New 13533 test/cctest/test-api.cc obj2->Set(v8_str(""), v8::Int32::New(1503)); New 13545 test/cctest/test-api.cc v8::Handle<v8::Object> obj2 = v8::Object::New(); New 13546 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field_2"), v8::Int32::New(256)); New 13551 test/cctest/test-api.cc obj2->Set(v8_str(""), v8::Int32::New(1503)); New 13559 test/cctest/test-api.cc v8::Handle<v8::Object> obj2 = v8::Object::New(); New 13560 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field_2"), v8::Int32::New(256)); New 13573 test/cctest/test-api.cc v8::Handle<v8::Object> obj2 = v8::Object::New(); New 13575 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field3"), v8::Int32::New(256)); New 13584 test/cctest/test-api.cc v8::Handle<v8::Object> obj3 = v8::Object::New(); New 13585 test/cctest/test-api.cc obj3->Set(v8_str("ee_test_field3"), v8::Int32::New(256)); New 13596 test/cctest/test-api.cc v8::Handle<v8::Object> obj3 = v8::Object::New(); New 13597 test/cctest/test-api.cc obj3->Set(v8_str("ee_test_field4"), v8::Int32::New(256)); New 13604 test/cctest/test-api.cc v8::Handle<v8::Object> obj2 = v8::Object::New(); New 13605 test/cctest/test-api.cc obj2->Set(v8_str("ee_test_field4"), v8::Int32::New(256)); New 13704 test/cctest/test-api.cc v8::Handle<v8::Object> obj = v8::Object::New(); New 13733 test/cctest/test-api.cc v8::Handle<v8::Script> dep = v8::Script::Compile(v8::String::New(source)); New 13734 test/cctest/test-api.cc v8::Handle<v8::Script> indep = v8::Script::New(v8::String::New(source)); New 13735 test/cctest/test-api.cc c1->Global()->Set(v8::String::New("foo"), v8::Integer::New(100)); New 13739 test/cctest/test-api.cc c2->Global()->Set(v8::String::New("foo"), v8::Integer::New(101)); New 13750 test/cctest/test-api.cc v8::Handle<v8::String> src = v8::String::New(source); New 13751 test/cctest/test-api.cc v8::Handle<v8::String> origin = v8::String::New("stack-trace-test"); New 13752 test/cctest/test-api.cc v8::Script::New(src, origin)->Run(); New 13838 test/cctest/test-api.cc v8::Handle<v8::String> origin = v8::String::New("capture-stack-trace-test"); New 13839 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 13841 test/cctest/test-api.cc v8::FunctionTemplate::New(AnalyzeStackInNativeCode)); New 13855 test/cctest/test-api.cc v8::Handle<v8::String> overview_src = v8::String::New(overview_source); New 13857 test/cctest/test-api.cc v8::Script::New(overview_src, origin)->Run()); New 13870 test/cctest/test-api.cc v8::Handle<v8::String> detailed_src = v8::String::New(detailed_source); New 13872 test/cctest/test-api.cc v8::Handle<v8::Integer> line_offset = v8::Integer::New(3); New 13873 test/cctest/test-api.cc v8::Handle<v8::Integer> column_offset = v8::Integer::New(5); New 13876 test/cctest/test-api.cc v8::Script::New(detailed_src, &detailed_origin)); New 14086 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 14088 test/cctest/test-api.cc v8::FunctionTemplate::New(AnalyzeStackOfEvalWithSourceURL)); New 14185 test/cctest/test-api.cc v8::Persistent<v8::Context> ctx = v8::Context::New(); New 14241 test/cctest/test-api.cc v8::FunctionTemplate::New(GetStackLimitCallback); New 14266 test/cctest/test-api.cc v8::FunctionTemplate::New(GetStackLimitCallback); New 14424 test/cctest/test-api.cc v8::Handle<v8::Value> number = v8::Number::New(test_value); New 14442 test/cctest/test-api.cc v8::Handle<v8::Value> date = v8::Date::New(test_value); New 14479 test/cctest/test-api.cc v8::String::New("s"), New 14480 test/cctest/test-api.cc v8::FunctionTemplate::New(SpaghettiIncident)->GetFunction()); New 14511 test/cctest/test-api.cc other_context = Context::New(); New 14516 test/cctest/test-api.cc context = Context::New(); New 14521 test/cctest/test-api.cc Local<v8::String> obj = v8::String::New(""); New 14540 test/cctest/test-api.cc context = Context::New(); New 14562 test/cctest/test-api.cc context = Context::New(); New 14593 test/cctest/test-api.cc v8::ScriptOrigin origin = v8::ScriptOrigin(v8::String::New("test")); New 14594 test/cctest/test-api.cc v8::Handle<v8::String> script = v8::String::New( New 14598 test/cctest/test-api.cc env->Global()->Get(v8::String::New("f"))); New 14600 test/cctest/test-api.cc env->Global()->Get(v8::String::New("g"))); New 14614 test/cctest/test-api.cc v8::ScriptOrigin origin = v8::ScriptOrigin(v8::String::New("test")); New 14615 test/cctest/test-api.cc v8::Handle<v8::String> script = v8::String::New( New 14619 test/cctest/test-api.cc env->Global()->Get(v8::String::New("f"))); New 14626 test/cctest/test-api.cc v8::ScriptOrigin origin = v8::ScriptOrigin(v8::String::New("test")); New 14627 test/cctest/test-api.cc v8::Handle<v8::String> script = v8::String::New( New 14631 test/cctest/test-api.cc env->Global()->Get(v8::String::New("f"))); New 14633 test/cctest/test-api.cc env->Global()->Get(v8::String::New("g"))); New 14642 test/cctest/test-api.cc v8::ScriptOrigin origin = v8::ScriptOrigin(v8::String::New("test"), New 14643 test/cctest/test-api.cc v8::Integer::New(3), v8::Integer::New(2)); New 14644 test/cctest/test-api.cc v8::Handle<v8::String> script = v8::String::New( New 14648 test/cctest/test-api.cc env->Global()->Get(v8::String::New("foo"))); New 14650 test/cctest/test-api.cc env->Global()->Get(v8::String::New("bar"))); New 14659 test/cctest/test-api.cc v8::ScriptOrigin origin = v8::ScriptOrigin(v8::String::New("test"), New 14660 test/cctest/test-api.cc v8::Integer::New(3), v8::Integer::New(2)); New 14661 test/cctest/test-api.cc v8::Handle<v8::String> scriptSource = v8::String::New( New 14666 test/cctest/test-api.cc env->Global()->Get(v8::String::New("foo"))); New 14668 test/cctest/test-api.cc env->Global()->Get(v8::String::New("bar"))); New 14689 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 14739 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 14782 test/cctest/test-api.cc v8::Local<v8::Object> prototype = v8::Object::New(); New 14799 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 15095 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 15170 test/cctest/test-api.cc v8::Isolate* isolate = v8::Isolate::New(); New 15223 test/cctest/test-api.cc v8::Isolate* isolate = v8::Isolate::New(); New 15261 test/cctest/test-api.cc v8::Isolate* isolate = v8::Isolate::New(); New 15278 test/cctest/test-api.cc v8::Isolate* isolate1 = v8::Isolate::New(); New 15280 test/cctest/test-api.cc v8::Persistent<v8::Context> context1 = v8::Context::New(); New 15291 test/cctest/test-api.cc v8::Isolate* isolate2 = v8::Isolate::New(); New 15296 test/cctest/test-api.cc context2 = v8::Context::New(); New 15315 test/cctest/test-api.cc v8::Persistent<v8::Context> context_default = v8::Context::New(); New 15412 test/cctest/test-api.cc v8::Isolate* isolate1 = v8::Isolate::New(); New 15413 test/cctest/test-api.cc v8::Isolate* isolate2 = v8::Isolate::New(); New 15440 test/cctest/test-api.cc v8::Isolate* isolate = v8::Isolate::New(); New 15445 test/cctest/test-api.cc context = v8::Context::New(); New 15454 test/cctest/test-api.cc context = v8::Context::New(); New 15721 test/cctest/test-api.cc v8::Handle<v8::RegExp> re = v8::RegExp::New(v8_str("foo"), v8::RegExp::kNone); New 15726 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("bar"), New 15734 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("baz"), New 15757 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("foobar"), v8::RegExp::kNone); New 15762 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("foobarbaz"), New 15774 test/cctest/test-api.cc re->Set(v8_str("property"), v8::Integer::New(32)); New 15779 test/cctest/test-api.cc re = v8::RegExp::New(v8_str("foo["), v8::RegExp::kNone); New 15813 test/cctest/test-api.cc v8::Handle<v8::Array> result = v8::Array::New(); New 15824 test/cctest/test-api.cc v8::Handle<v8::ObjectTemplate> tmpl = v8::ObjectTemplate::New(); New 15853 test/cctest/test-api.cc Set(v8_str("context_id"), v8::Integer::New(id)); New 15864 test/cctest/test-api.cc Persistent<Context> context1 = Context::New(); New 15866 test/cctest/test-api.cc Persistent<Context> context2 = Context::New(); New 15868 test/cctest/test-api.cc Persistent<Context> context3 = Context::New(); New 15871 test/cctest/test-api.cc Local<v8::FunctionTemplate> tmpl = v8::FunctionTemplate::New(); New 15877 test/cctest/test-api.cc object1 = Object::New(); New 15885 test/cctest/test-api.cc object2 = Object::New(); New 15951 test/cctest/test-api.cc Persistent<Context> context = Context::New(); New 16033 test/cctest/test-api.cc Handle<ObjectTemplate> templ = ObjectTemplate::New(); New 16041 test/cctest/test-api.cc Handle<ObjectTemplate> templ = ObjectTemplate::New(); New 16049 test/cctest/test-api.cc Handle<ObjectTemplate> templ = ObjectTemplate::New(); New 16056 test/cctest/test-api.cc Handle<ObjectTemplate> templ = ObjectTemplate::New(); New 16063 test/cctest/test-api.cc Handle<ObjectTemplate> templ = ObjectTemplate::New(); New 16070 test/cctest/test-api.cc Handle<ObjectTemplate> templ = ObjectTemplate::New(); New 16160 test/cctest/test-api.cc Handle<FunctionTemplate> templ = v8::FunctionTemplate::New(NonObjectThis); New 16171 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 16238 test/cctest/test-api.cc Local<ObjectTemplate> no_proto_template = v8::ObjectTemplate::New(); New 16245 test/cctest/test-api.cc Local<FunctionTemplate> hidden_proto_template = v8::FunctionTemplate::New(); New 16249 test/cctest/test-api.cc v8::FunctionTemplate::New(); New 16256 test/cctest/test-api.cc Persistent<Context> context = v8::Context::New(); New 16260 test/cctest/test-api.cc Local<Object> simple_object = Object::New(); New 16278 test/cctest/test-api.cc Object::New(); New 16285 test/cctest/test-api.cc Object::New(); New 16292 test/cctest/test-api.cc Local<ObjectTemplate> global_template = ObjectTemplate::New(); New 16327 test/cctest/test-api.cc Handle<FunctionTemplate> intercept = FunctionTemplate::New(); New 16367 test/cctest/test-api.cc Persistent<Context> foreign_context = v8::Context::New(); New 16491 test/cctest/test-api.cc v8::FunctionTemplate::New(RecursiveCall); New 16500 test/cctest/test-api.cc v8::Script::Compile(v8::String::New("recursion(0)")); New 16792 test/cctest/test-api.cc Local<FunctionTemplate> templ = FunctionTemplate::New(); New 16799 test/cctest/test-api.cc v8::AccessorSignature::New(templ)); New 16820 test/cctest/test-api.cc Local<FunctionTemplate> templ = FunctionTemplate::New(); New 16828 test/cctest/test-api.cc v8::AccessorSignature::New(templ)); New 16849 test/cctest/test-api.cc Local<FunctionTemplate> templ = FunctionTemplate::New(); New 16856 test/cctest/test-api.cc v8::AccessorSignature::New(templ)); New 16927 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 16949 test/cctest/test-api.cc Local<ObjectTemplate> templ = ObjectTemplate::New(); New 51 test/cctest/test-assembler-arm.cc env = v8::Context::New(); New 52 test/cctest/test-assembler-ia32.cc env = v8::Context::New(); New 55 test/cctest/test-assembler-mips.cc env = v8::Context::New(); New 96 test/cctest/test-assembler-x64.cc env = v8::Context::New(); New 63 test/cctest/test-compiler.cc return v8::FunctionTemplate::New(PrintExtension::Print); New 95 test/cctest/test-compiler.cc env = v8::Context::New(&config); New 334 test/cctest/test-compiler.cc v8::ScriptOrigin origin = v8::ScriptOrigin(v8::String::New("test")); New 346 test/cctest/test-compiler.cc v8::Handle<v8::String> script_body = v8::String::New(buffer.start()); New 349 test/cctest/test-compiler.cc env->Global()->Get(v8::String::New("f"))); New 366 test/cctest/test-compiler.cc env->Global()->Set(v8::String::New("x"), v8::Integer::New(i)); New 32 test/cctest/test-cpu-profiler.cc if (env.IsEmpty()) env = v8::Context::New(); New 305 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> name1 = v8::String::New("1"); New 316 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> name2 = v8::String::New("2"); New 325 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> name3 = v8::String::New("3"); New 351 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> name1 = v8::String::New("1"); New 358 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> token1 = v8::String::New("token1"); New 370 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> name2 = v8::String::New("2"); New 372 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> token2 = v8::String::New("token2"); New 380 test/cctest/test-cpu-profiler.cc v8::Local<v8::String> name3 = v8::String::New("3"); New 173 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(source))->Run(); New 175 test/cctest/test-debug.cc (*env)->Global()->Get(v8::String::New(function_name))); New 182 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(source))->Run(); New 184 test/cctest/test-debug.cc v8::Context::GetCurrent()->Global()->Get(v8::String::New(function_name))); New 225 test/cctest/test-debug.cc v8::Handle<v8::String> str = v8::String::New(buffer.start()); New 247 test/cctest/test-debug.cc v8::Handle<v8::String> str = v8::String::New(buffer.start()); New 274 test/cctest/test-debug.cc v8::Handle<v8::String> str = v8::String::New(buffer.start()); New 297 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(buffer.start()))->Run(); New 307 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(buffer.start()))->Run(); New 317 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(buffer.start()))->Run(); New 328 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(buffer.start()))->Run(); New 339 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(buffer.start()))->Run(); New 355 test/cctest/test-debug.cc v8::String::New("debug.Debug.setBreakOnException()"))->Run(); New 358 test/cctest/test-debug.cc v8::String::New("debug.Debug.clearBreakOnException()"))->Run(); New 362 test/cctest/test-debug.cc v8::String::New("debug.Debug.setBreakOnUncaughtException()"))->Run(); New 365 test/cctest/test-debug.cc v8::String::New("debug.Debug.clearBreakOnUncaughtException()"))->Run(); New 664 test/cctest/test-debug.cc v8::Handle<v8::Value> argv[argc] = { exec_state, v8::Integer::New(0) }; New 777 test/cctest/test-debug.cc v8::Local<v8::String> fun_name = v8::String::New("uncaught"); New 833 test/cctest/test-debug.cc v8::String::New(checks[i].expr), New 907 test/cctest/test-debug.cc v8::Handle<v8::Value> argv[argc] = { exec_state, v8::Integer::New(0) }; New 1157 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function foo(){bar=0;}"))->Run(); New 1159 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 1189 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("bar=1"))->Run(); New 1190 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function foo(){var x=bar;}"))->Run(); New 1192 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 1222 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function bar(){}"))->Run(); New 1223 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function foo(){bar();}"))->Run(); New 1225 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 1255 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function bar(){return 1;}"))->Run(); New 1256 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function foo(){return bar();}"))->Run(); New 1258 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 1288 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function bar(){ this.x = 1;}"))->Run(); New 1289 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New( New 1292 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 1333 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function foo(){}"))->Run(); New 1335 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 1504 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function bar(){}"))->Run(); New 1505 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function foo(){bar();bar();}"))->Run(); New 1509 test/cctest/test-debug.cc v8::Local<v8::Script> foo = v8::Script::Compile(v8::String::New("foo()")); New 1561 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 1582 test/cctest/test-debug.cc v8::ScriptOrigin(v8::String::New("test")); New 1585 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1587 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("g"))); New 1665 test/cctest/test-debug.cc v8::Local<v8::String> source = v8::String::New( New 1686 test/cctest/test-debug.cc v8::ScriptOrigin(v8::String::New("test")); New 1690 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1692 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("g"))); New 1774 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 1781 test/cctest/test-debug.cc v8::ScriptOrigin(v8::String::New("test")); New 1784 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1808 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1831 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 1842 test/cctest/test-debug.cc v8::ScriptOrigin(v8::String::New("test")); New 1845 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1870 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1893 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 1900 test/cctest/test-debug.cc v8::ScriptOrigin(v8::String::New("test")); New 1903 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1925 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1949 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 1958 test/cctest/test-debug.cc v8::ScriptOrigin origin_1 = v8::ScriptOrigin(v8::String::New("1")); New 1959 test/cctest/test-debug.cc v8::ScriptOrigin origin_2 = v8::ScriptOrigin(v8::String::New("2")); New 1966 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1976 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 1985 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 2008 test/cctest/test-debug.cc v8::Local<v8::String> script_f = v8::String::New( New 2014 test/cctest/test-debug.cc v8::Local<v8::String> script_g = v8::String::New( New 2020 test/cctest/test-debug.cc v8::ScriptOrigin(v8::String::New("test")); New 2027 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 2029 test/cctest/test-debug.cc g = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("g"))); New 2074 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 2081 test/cctest/test-debug.cc v8::ScriptOrigin origin(v8::String::New("test.html"), New 2082 test/cctest/test-debug.cc v8::Integer::New(7)); New 2090 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 2135 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 2157 test/cctest/test-debug.cc v8::ScriptOrigin origin(v8::String::New("test.html"), v8::Integer::New(0)); New 2159 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 2160 test/cctest/test-debug.cc g = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("g"))); New 2234 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 2242 test/cctest/test-debug.cc v8::Script::Compile(script, v8::String::New("test.html"))->Run(); New 2244 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 2257 test/cctest/test-debug.cc v8::Script::Compile(script, v8::String::New("test.html"))->Run(); New 2262 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 2280 test/cctest/test-debug.cc v8::Local<v8::String> script_source = v8::String::New( New 2290 test/cctest/test-debug.cc v8::Script::Compile(script_source, v8::String::New("test.html"))->Run(); New 2336 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function bar(){debugger}"))->Run(); New 2337 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New( New 2340 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 2342 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("bar"))); New 2364 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function foo(){debugger;}"))->Run(); New 2366 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("foo"))); New 2406 test/cctest/test-debug.cc {"x", v8::String::New("Hello, world!")}, New 2411 test/cctest/test-debug.cc {"x", v8::String::New("Hello, world!")}, New 2412 test/cctest/test-debug.cc {"a", v8::String::New("Hello, world!")}, New 2432 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_foo[1] = { v8::String::New("Hello, world!") }; New 2474 test/cctest/test-debug.cc v8::Number::New(barbar_break_position) New 2482 test/cctest/test-debug.cc v8::String::New("Hello, world!"), New 2483 test/cctest/test-debug.cc v8::Number::New(barbar_break_position) New 2491 test/cctest/test-debug.cc v8::String::New("Hello, world!"), New 2492 test/cctest/test-debug.cc v8::Number::New(barbar_break_position + 1) New 2611 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(source))->Run(); New 2730 test/cctest/test-debug.cc v8::Local<v8::Array> a = v8::Array::New(10); New 2732 test/cctest/test-debug.cc a->Set(v8::Number::New(i), v8::Number::New(i)); New 2777 test/cctest/test-debug.cc v8::Local<v8::Array> a = v8::Array::New(10); New 2779 test/cctest/test-debug.cc a->Set(v8::Number::New(i), v8::Number::New(i)); New 3074 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_1[argc] = { v8::Number::New(1) }; New 3081 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_2[argc] = { v8::Number::New(2) }; New 3088 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_3[argc] = { v8::Number::New(3) }; New 3121 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(10) }; New 3128 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(100) }; New 3161 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(10) }; New 3168 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(100) }; New 3202 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(10) }; New 3209 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(100) }; New 3251 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(10) }; New 3259 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(100) }; New 3303 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(10) }; New 3311 test/cctest/test-debug.cc v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(100) }; New 3385 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("b"), v8::Object::New()); New 3720 test/cctest/test-debug.cc v8::ScriptOrigin origin(v8::String::New(script_name), v8::Integer::New(0)); New 3721 test/cctest/test-debug.cc v8::Handle<v8::Script> script = v8::Script::Compile(v8::String::New(src), New 3909 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("+++")); New 3916 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("x x")); New 3923 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("eval('+++')"))->Run(); New 3930 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("eval('x x')"))->Run(); New 4052 test/cctest/test-debug.cc v8::Handle<v8::Value> argv[] = { v8::Number::New(1), New 4053 test/cctest/test-debug.cc v8::Number::New(1), New 4054 test/cctest/test-debug.cc v8::Number::New(1), New 4055 test/cctest/test-debug.cc v8::Number::New(1) }; New 4143 test/cctest/test-debug.cc v8::Persistent<v8::Context> context = v8::Context::New(&extensions); New 4155 test/cctest/test-debug.cc v8::Handle<v8::Array> result = v8::Array::New(3); New 4156 test/cctest/test-debug.cc result->Set(v8::Integer::New(0), v8::String::New("a")); New 4157 test/cctest/test-debug.cc result->Set(v8::Integer::New(1), v8::String::New("b")); New 4158 test/cctest/test-debug.cc result->Set(v8::Integer::New(2), v8::String::New("c")); New 4164 test/cctest/test-debug.cc v8::Handle<v8::Array> result = v8::Array::New(2); New 4165 test/cctest/test-debug.cc result->Set(v8::Integer::New(0), v8::Number::New(1)); New 4166 test/cctest/test-debug.cc result->Set(v8::Integer::New(1), v8::Number::New(10)); New 4175 test/cctest/test-debug.cc return v8::String::New("AA"); New 4177 test/cctest/test-debug.cc return v8::String::New("BB"); New 4179 test/cctest/test-debug.cc return v8::String::New("CC"); New 4190 test/cctest/test-debug.cc return v8::Number::New(index + 1); New 4201 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> named = v8::ObjectTemplate::New(); New 4203 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("intercepted_named"), New 4207 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> indexed = v8::ObjectTemplate::New(); New 4213 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("intercepted_indexed"), New 4217 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> both = v8::ObjectTemplate::New(); New 4220 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("intercepted_both"), both->NewInstance()); New 4331 test/cctest/test-debug.cc v8::Handle<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(); New 4332 test/cctest/test-debug.cc t0->InstanceTemplate()->Set(v8::String::New("x"), v8::Number::New(0)); New 4333 test/cctest/test-debug.cc v8::Handle<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(); New 4335 test/cctest/test-debug.cc t1->InstanceTemplate()->Set(v8::String::New("y"), v8::Number::New(1)); New 4336 test/cctest/test-debug.cc v8::Handle<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(); New 4338 test/cctest/test-debug.cc t2->InstanceTemplate()->Set(v8::String::New("z"), v8::Number::New(2)); New 4339 test/cctest/test-debug.cc v8::Handle<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(); New 4340 test/cctest/test-debug.cc t3->InstanceTemplate()->Set(v8::String::New("u"), v8::Number::New(3)); New 4344 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("o0"), o0); New 4346 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("o1"), o1); New 4348 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("o2"), o2); New 4350 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("o3"), o3); New 4375 test/cctest/test-debug.cc o0->Set(v8::String::New("__proto__"), o1); New 4386 test/cctest/test-debug.cc o0->Set(v8::String::New("__proto__"), o2); New 4402 test/cctest/test-debug.cc o0->Set(v8::String::New("__proto__"), o3); New 4422 test/cctest/test-debug.cc return v8::Integer::New(10); New 4432 test/cctest/test-debug.cc v8::Handle<v8::String> name = v8::String::New("x"); New 4434 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> named = v8::ObjectTemplate::New(); New 4439 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("instance"), named->NewInstance()); New 4469 test/cctest/test-debug.cc v8::Handle<v8::String> name = v8::String::New("x"); New 4471 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> named = v8::ObjectTemplate::New(); New 4476 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("instance"), named->NewInstance()); New 4506 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(source))->Run(); New 4508 test/cctest/test-debug.cc env->Global()->Get(v8::String::New("obj"))); New 4510 test/cctest/test-debug.cc obj->SetHiddenValue(v8::String::New("v8::test-debug::a"), New 4511 test/cctest/test-debug.cc v8::Int32::New(11)); New 4527 test/cctest/test-debug.cc v8::Handle<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(); New 4528 test/cctest/test-debug.cc t0->InstanceTemplate()->Set(v8::String::New("b"), v8::Number::New(2)); New 4530 test/cctest/test-debug.cc v8::Handle<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(); New 4531 test/cctest/test-debug.cc t1->InstanceTemplate()->Set(v8::String::New("c"), v8::Number::New(3)); New 4536 test/cctest/test-debug.cc protoObj->SetHiddenValue(v8::String::New("v8::test-debug::b"), New 4537 test/cctest/test-debug.cc v8::Int32::New(12)); New 4538 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("protoObj"), protoObj); New 4540 test/cctest/test-debug.cc grandProtoObj->SetHiddenValue(v8::String::New("v8::test-debug::c"), New 4541 test/cctest/test-debug.cc v8::Int32::New(13)); New 4542 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("grandProtoObj"), grandProtoObj); New 4545 test/cctest/test-debug.cc protoObj->Set(v8::String::New("__proto__"), grandProtoObj); New 4546 test/cctest/test-debug.cc obj->Set(v8::String::New("__proto__"), protoObj); New 4898 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 4900 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 4902 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 4907 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 4909 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 4911 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 4913 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 4915 test/cctest/test-debug.cc queue.Put(CommandMessage::New(Vector<uint16_t>::empty(), New 5048 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 5049 test/cctest/test-debug.cc global_template->Set(v8::String::New("ThreadedAtBarrier1"), New 5050 test/cctest/test-debug.cc v8::FunctionTemplate::New(ThreadedAtBarrier1)); New 5051 test/cctest/test-debug.cc v8::Handle<v8::Context> context = v8::Context::New(NULL, global_template); New 5390 test/cctest/test-debug.cc v8::Handle<v8::String> data = v8::String::New("Test"); New 5418 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 5419 test/cctest/test-debug.cc global_template->Set(v8::String::New("CheckFrameCount"), New 5420 test/cctest/test-debug.cc v8::FunctionTemplate::New(CheckFrameCount)); New 5421 test/cctest/test-debug.cc global_template->Set(v8::String::New("CheckSourceLine"), New 5422 test/cctest/test-debug.cc v8::FunctionTemplate::New(CheckSourceLine)); New 5423 test/cctest/test-debug.cc global_template->Set(v8::String::New("CheckDataParameter"), New 5424 test/cctest/test-debug.cc v8::FunctionTemplate::New(CheckDataParameter)); New 5425 test/cctest/test-debug.cc global_template->Set(v8::String::New("CheckClosure"), New 5426 test/cctest/test-debug.cc v8::FunctionTemplate::New(CheckClosure)); New 5427 test/cctest/test-debug.cc v8::Handle<v8::Context> context = v8::Context::New(NULL, global_template); New 5431 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(frame_count_source))->Run(); New 5433 test/cctest/test-debug.cc context->Global()->Get(v8::String::New("frame_count"))); New 5436 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(frame_source_line_source))->Run(); New 5438 test/cctest/test-debug.cc context->Global()->Get(v8::String::New("frame_source_line"))); New 5441 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(debugger_call_with_data_source))->Run(); New 5443 test/cctest/test-debug.cc context->Global()->Get(v8::String::New("debugger_call_with_data"))); New 5448 test/cctest/test-debug.cc v8::String::New(debugger_call_with_closure_source))->Run()); New 5452 test/cctest/test-debug.cc CHECK_EQ(v8::Integer::New(0), v8::Debug::Call(frame_count)); New 5455 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("CheckFrameCount(1)"))->Run(); New 5456 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function f() {" New 5461 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("CheckSourceLine(0)"))->Run(); New 5462 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function f() {\n" New 5469 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("CheckDataParameter()"))->Run(); New 5472 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("CheckClosure()"))->Run(); New 5476 test/cctest/test-debug.cc v8::ScriptOrigin origin(v8::String::New("test"), New 5477 test/cctest/test-debug.cc v8::Integer::New(7)); New 5478 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("CheckSourceLine(7)"), &origin)->Run(); New 5479 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function f() {\n" New 5547 test/cctest/test-debug.cc env->Global()->Get(v8::String::New("foo")))); New 6045 test/cctest/test-debug.cc CHECK_GT((*env)->Global()->Get(v8::String::New("count"))->Int32Value(), 8); New 6071 test/cctest/test-debug.cc v8::Local<v8::String> script = v8::String::New( New 6076 test/cctest/test-debug.cc v8::ScriptOrigin origin1 = v8::ScriptOrigin(v8::String::New("name")); New 6078 test/cctest/test-debug.cc script1->SetData(v8::String::New("data")); New 6081 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 6091 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 6097 test/cctest/test-debug.cc v8::Local<v8::String> data_obj_source = v8::String::New( New 6103 test/cctest/test-debug.cc v8::ScriptOrigin origin2 = v8::ScriptOrigin(v8::String::New("new name")); New 6107 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 6115 test/cctest/test-debug.cc v8::String::New("in compile")); New 6118 test/cctest/test-debug.cc f = v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 6161 test/cctest/test-debug.cc context_1 = v8::Context::New(NULL, global_template, global_object); New 6162 test/cctest/test-debug.cc context_2 = v8::Context::New(NULL, global_template, global_object); New 6169 test/cctest/test-debug.cc v8::Handle<v8::String> data_1 = v8::String::New("1"); New 6170 test/cctest/test-debug.cc v8::Handle<v8::String> data_2 = v8::String::New("2"); New 6236 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 6238 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("g"))); New 6266 test/cctest/test-debug.cc v8::Handle<v8::Value> argv[argc] = { exec_state, v8::Integer::New(0) }; New 6304 test/cctest/test-debug.cc v8::Handle<v8::Value> argv[argc] = { v8::String::New(" /* xxx */ a=0;") }; New 6326 test/cctest/test-debug.cc context_1 = v8::Context::New(NULL, global_template); New 6332 test/cctest/test-debug.cc v8::Handle<v8::String> data_1 = v8::String::New("1"); New 6467 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("eval('a=1')"))->Run(); New 6468 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("eval('a=2')"))->Run(); New 6513 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("eval('a=1')"))->Run(); New 6514 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("eval('a=2')"))->Run(); New 6551 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(script))->Run(); New 6556 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(script))->Run(); New 6575 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(script))->Run(); New 6581 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 6614 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(script))->Run(); New 6619 test/cctest/test-debug.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 6649 test/cctest/test-debug.cc v8::String::New(resource_name), New 6650 test/cctest/test-debug.cc v8::Integer::New(10), New 6651 test/cctest/test-debug.cc v8::Integer::New(1)); New 6654 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(script), &origin)->Run(); New 6810 test/cctest/test-debug.cc v8::Handle<v8::String> void0 = v8::String::New("void(0)"); New 6828 test/cctest/test-debug.cc v8::Handle<v8::Value> obj = v8::Debug::GetMirror(v8::String::New("hodja")); New 6830 test/cctest/test-debug.cc v8::Script::New( New 6831 test/cctest/test-debug.cc v8::String::New( New 6891 test/cctest/test-debug.cc return v8::Int32::New(1); New 6932 test/cctest/test-debug.cc v8::Handle<v8::ObjectTemplate> named = v8::ObjectTemplate::New(); New 6933 test/cctest/test-debug.cc named->SetAccessor(v8::String::New("a"), New 6935 test/cctest/test-debug.cc env->Global()->Set(v8::String::New("obj"), New 6976 test/cctest/test-debug.cc expected_callback_data = v8::Int32::New(2010); New 6979 test/cctest/test-debug.cc expected_context = v8::Context::New(); New 6981 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("(function(){debugger;})();"))->Run(); New 7016 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("(function(x){return x;})(1);"))->Run(); New 7025 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("(function(x){return x+1;})(1);"))->Run(); New 7033 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("(function(x){return x+2;})(1);"))->Run(); New 7043 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("(function(x){return x+3;})(1);"))->Run(); New 7065 test/cctest/test-debug.cc v8::Handle<v8::Value> argv[argc] = { exec_state, v8::Integer::New(0) }; New 7107 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("function bar(){}; bar()"))->Run(); New 7111 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New("bar()"))->Run(); New 7127 test/cctest/test-debug.cc v8::Handle<v8::Value> argv[argc] = { exec_state, v8::Integer::New(i) }; New 7133 test/cctest/test-debug.cc CHECK(function_name->Equals(v8::String::New("loop"))); New 7138 test/cctest/test-debug.cc CHECK(argument_name->Equals(v8::String::New("count"))); New 7151 test/cctest/test-debug.cc CHECK(local_name->Equals(v8::String::New("local"))); New 7191 test/cctest/test-debug.cc v8::FunctionTemplate::New(ScheduleBreak); New 7202 test/cctest/test-debug.cc v8::Script::Compile(v8::String::New(src))->Run(); New 7347 test/cctest/test-debug.cc inline_script = v8::Script::Compile(v8::String::New(source)); New 117 test/cctest/test-decls.cc Local<FunctionTemplate> function = FunctionTemplate::New(); New 118 test/cctest/test-decls.cc Local<Value> data = External::New(this); New 124 test/cctest/test-decls.cc context_ = Context::New(0, function->InstanceTemplate(), Local<Value>()); New 142 test/cctest/test-decls.cc Local<Value> result = Script::Compile(String::New(source))->Run(); New 225 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 258 test/cctest/test-decls.cc return Integer::New(v8::None); New 280 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 304 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 334 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 394 test/cctest/test-decls.cc return Integer::New(v8::None); New 424 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 479 test/cctest/test-decls.cc return Integer::New(v8::None); New 518 test/cctest/test-decls.cc return Integer::New(v8::None); New 539 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(87)); New 555 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 571 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 609 test/cctest/test-decls.cc hidden_proto_ = FunctionTemplate::New(); New 616 test/cctest/test-decls.cc return Integer::New(v8::None); New 655 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 681 test/cctest/test-decls.cc EXPECT_RESULT, Number::New(0)); New 239 test/cctest/test-deoptimization.cc v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f"))); New 47 test/cctest/test-disasm-arm.cc env = v8::Context::New(); New 45 test/cctest/test-disasm-ia32.cc env = v8::Context::New(); New 49 test/cctest/test-disasm-mips.cc env = v8::Context::New(); New 45 test/cctest/test-disasm-x64.cc env = v8::Context::New(); New 55 test/cctest/test-func-name-inference.cc env = v8::Context::New(); New 107 test/cctest/test-func-name-inference.cc return v8::Script::Compile(v8::String::New(src)); New 226 test/cctest/test-hashing.cc if (env.IsEmpty()) env = v8::Context::New(); New 244 test/cctest/test-hashing.cc if (env.IsEmpty()) env = v8::Context::New(); New 182 test/cctest/test-heap-profiler.cc CHECK_EQ(v8::String::New("native_bind"), f->GetName()); New 336 test/cctest/test-heap-profiler.cc v8::Local<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); New 342 test/cctest/test-heap-profiler.cc v8::Local<v8::Object> obj = v8::Object::New(); New 813 test/cctest/test-heap-profiler.cc v8::Local<v8::Array> array = v8::Array::New(); New 890 test/cctest/test-heap-profiler.cc env->Global()->Get(v8::String::New("globalObject")); New 1055 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("AAA")); New 1058 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("BBB")); New 1061 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("CCC")); New 1112 test/cctest/test-heap-profiler.cc objects_[i] = v8::Persistent<v8::Object>::New(v8::Object::New()); New 1469 test/cctest/test-heap-profiler.cc v8::Handle<v8::Value> cHandle = env->Global()->Get(v8::String::New("c")); New 1517 test/cctest/test-heap-profiler.cc v8::Persistent<v8::Object>::New(v8::Object::New()); New 1598 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("AAA")); New 1602 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("BBB")); New 1606 test/cctest/test-heap-profiler.cc v8::Persistent<v8::String>::New(v8_str("CCC")); New 18 test/cctest/test-heap.cc if (env.IsEmpty()) env = v8::Context::New(); New 1024 test/cctest/test-heap.cc ctx[i] = v8::Context::New(); New 1155 test/cctest/test-heap.cc ctx[i] = v8::Context::New(); New 1367 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); New 1368 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); New 1386 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); New 1404 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); New 1405 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); New 1423 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); New 1439 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); New 1440 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); New 1458 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); New 1474 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx1 = v8::Context::New(); New 1475 test/cctest/test-heap.cc v8::Persistent<v8::Context> ctx2 = v8::Context::New(); New 1497 test/cctest/test-heap.cc ctx2->Global()->Set(v8_str("o"), v8::Int32::New(0)); New 98 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 104 test/cctest/test-lockers.cc context = v8::Context::New(); New 213 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 228 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 232 test/cctest/test-lockers.cc v8::Handle<v8::Context> context = v8::Context::New(); New 287 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 327 test/cctest/test-lockers.cc v8::Isolate* isolate1 = v8::Isolate::New(); New 328 test/cctest/test-lockers.cc v8::Isolate* isolate2 = v8::Isolate::New(); New 371 test/cctest/test-lockers.cc v8::Handle<v8::Context> context = v8::Context::New(); New 402 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 421 test/cctest/test-lockers.cc v8::Handle<v8::Context> context = v8::Context::New(); New 455 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 481 test/cctest/test-lockers.cc context1 = v8::Context::New(); New 493 test/cctest/test-lockers.cc context2 = v8::Context::New(); New 520 test/cctest/test-lockers.cc v8::Isolate* isolate1 = v8::Isolate::New(); New 521 test/cctest/test-lockers.cc v8::Isolate* isolate2 = v8::Isolate::New(); New 575 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 581 test/cctest/test-lockers.cc context = v8::Context::New(); New 630 test/cctest/test-lockers.cc context = v8::Context::New(); New 642 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 647 test/cctest/test-lockers.cc v8::Persistent<Context> context = v8::Context::New(); New 649 test/cctest/test-lockers.cc v8::Handle<String> source = v8::String::New("1+1"); New 674 test/cctest/test-lockers.cc v8::Isolate* isolate = v8::Isolate::New(); New 679 test/cctest/test-lockers.cc v8::Persistent<v8::Context> context = v8::Context::New(&extensions); New 117 test/cctest/test-log-stack-tracer.cc if (name->Equals(String::New("trace"))) { New 118 test/cctest/test-log-stack-tracer.cc return v8::FunctionTemplate::New(TraceExtension::Trace); New 119 test/cctest/test-log-stack-tracer.cc } else if (name->Equals(String::New("js_trace"))) { New 120 test/cctest/test-log-stack-tracer.cc return v8::FunctionTemplate::New(TraceExtension::JSTrace); New 121 test/cctest/test-log-stack-tracer.cc } else if (name->Equals(String::New("js_entry_sp"))) { New 122 test/cctest/test-log-stack-tracer.cc return v8::FunctionTemplate::New(TraceExtension::JSEntrySP); New 123 test/cctest/test-log-stack-tracer.cc } else if (name->Equals(String::New("js_entry_sp_level2"))) { New 124 test/cctest/test-log-stack-tracer.cc return v8::FunctionTemplate::New(TraceExtension::JSEntrySPLevel2); New 193 test/cctest/test-log-stack-tracer.cc env = v8::Context::New(&config); New 244 test/cctest/test-log-stack-tracer.cc v8::FunctionTemplate::New(construct_call); New 218 test/cctest/test-log.cc v8::Persistent<v8::Context> context = v8::Context::New(); New 344 test/cctest/test-log.cc v8::Handle<v8::Context> env = v8::Context::New(); New 350 test/cctest/test-log.cc v8::Handle<v8::String> origin = v8::String::New("issue-23768-test"); New 373 test/cctest/test-log.cc v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New()); New 376 test/cctest/test-log.cc v8::Local<v8::Signature> signature = v8::Signature::New(obj); New 378 test/cctest/test-log.cc v8::FunctionTemplate::New(ObjMethod1, New 423 test/cctest/test-log.cc v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New()); New 508 test/cctest/test-log.cc v8::Handle<v8::String> log_str = v8::String::New(log.start(), log.length()); New 512 test/cctest/test-log.cc v8::Handle<v8::String> source_str = v8::String::New( New 49 test/cctest/test-mark-compact.cc if (env.IsEmpty()) env = v8::Context::New(); New 177 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); New 216 test/cctest/test-parsing.cc v8::Script::New(script_source, NULL, preparse, v8::Local<v8::String>()); New 548 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); New 992 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); New 1009 test/cctest/test-parsing.cc i::Vector<char> program = i::Vector<char>::New(kProgramByteSize + 1); New 1208 test/cctest/test-parsing.cc v8::Persistent<v8::Context> context = v8::Context::New(); New 1226 test/cctest/test-parsing.cc i::Vector<char> program = i::Vector<char>::New(kProgramSize + 1); New 1249 test/cctest/test-parsing.cc v8::Context::Scope context_scope(v8::Context::New()); New 1258 test/cctest/test-parsing.cc v8::Script::Compile(v8::String::New(script)); New 40 test/cctest/test-profile-generator.cc v8::Local<v8::String> token1(v8::String::New("1x")); New 43 test/cctest/test-profile-generator.cc v8::Local<v8::String> token2(v8::String::New("2x")); New 49 test/cctest/test-profile-generator.cc v8::Local<v8::String> token3(v8::String::New("3x")); New 711 test/cctest/test-profile-generator.cc if (name->Equals(v8::String::New("startProfiling"))) { New 712 test/cctest/test-profile-generator.cc return v8::FunctionTemplate::New(ProfilerExtension::StartProfiling); New 713 test/cctest/test-profile-generator.cc } else if (name->Equals(v8::String::New("stopProfiling"))) { New 714 test/cctest/test-profile-generator.cc return v8::FunctionTemplate::New(ProfilerExtension::StopProfiling); New 727 test/cctest/test-profile-generator.cc v8::CpuProfiler::StartProfiling(v8::String::New("")); New 737 test/cctest/test-profile-generator.cc v8::CpuProfiler::StopProfiling(v8::String::New("")); New 765 test/cctest/test-profile-generator.cc env = v8::Context::New(&config); New 814 test/cctest/test-profile-generator.cc i::Vector<char> title = i::Vector<char>::New(16); New 73 test/cctest/test-random.cc if (env.IsEmpty()) env = v8::Context::New(); New 713 test/cctest/test-regexp.cc env_ = v8::Context::New(); New 217 test/cctest/test-serialize.cc Vector<char> name = Vector<char>::New(file_name_length + 1); New 245 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 300 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 313 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 326 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 330 test/cctest/test-serialize.cc v8::Local<v8::String> source = v8::String::New(c_source); New 343 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 347 test/cctest/test-serialize.cc v8::Local<v8::String> source = v8::String::New(c_source); New 359 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 374 test/cctest/test-serialize.cc v8::Local<v8::String> foo = v8::String::New("foo"); New 380 test/cctest/test-serialize.cc Vector<char> startup_name = Vector<char>::New(file_name_length + 1); New 409 test/cctest/test-serialize.cc Vector<char> name = Vector<char>::New(file_name_length + 1); New 444 test/cctest/test-serialize.cc Vector<char> startup_name = Vector<char>::New(file_name_length + 1); New 485 test/cctest/test-serialize.cc v8::Persistent<v8::Context> env = v8::Context::New(); New 499 test/cctest/test-serialize.cc Vector<char> startup_name = Vector<char>::New(file_name_length + 1); New 532 test/cctest/test-serialize.cc Vector<char> startup_name = Vector<char>::New(file_name_length + 1); New 39 test/cctest/test-strings.cc env = v8::Context::New(&config); New 312 test/cctest/test-strings.cc v8::String::New(ascii_string, New 328 test/cctest/test-strings.cc v8::Handle<v8::String> mixed = v8::String::New(mixed_string, 5); New 364 test/cctest/test-strings.cc v8::Array::New(kMaxLength + 1); New 366 test/cctest/test-strings.cc v8::Array::New(kMaxLength + 1); New 381 test/cctest/test-strings.cc ascii_external_strings->Set(v8::Integer::New(i), ascii_external_string); New 391 test/cctest/test-strings.cc non_ascii_external_strings->Set(v8::Integer::New(i), New 399 test/cctest/test-strings.cc global->Set(v8_str("max_length"), v8::Integer::New(kMaxLength)); New 476 test/cctest/test-strings.cc v8::Script::Compile(v8::String::New(line))->Run(); New 618 test/cctest/test-strings.cc v8::Script::Compile(v8::String::New(join_causing_out_of_memory)); New 58 test/cctest/test-thread-termination.cc v8::String::New("try { doloop(); fail(); } catch(e) { fail(); }"); New 69 test/cctest/test-thread-termination.cc v8::Script::Compile(v8::String::New("function f() {" New 94 test/cctest/test-thread-termination.cc v8::Script::Compile(v8::String::New("var term = true;" New 111 test/cctest/test-thread-termination.cc v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); New 112 test/cctest/test-thread-termination.cc global->Set(v8::String::New("terminate"), New 113 test/cctest/test-thread-termination.cc v8::FunctionTemplate::New(terminate)); New 114 test/cctest/test-thread-termination.cc global->Set(v8::String::New("fail"), v8::FunctionTemplate::New(Fail)); New 115 test/cctest/test-thread-termination.cc global->Set(v8::String::New("loop"), v8::FunctionTemplate::New(Loop)); New 116 test/cctest/test-thread-termination.cc global->Set(v8::String::New("doloop"), v8::FunctionTemplate::New(doloop)); New 127 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); New 132 test/cctest/test-thread-termination.cc v8::String::New("try { loop(); fail(); } catch(e) { fail(); }"); New 147 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); New 152 test/cctest/test-thread-termination.cc v8::String::New("try { loop(); fail(); } catch(e) { fail(); }"); New 186 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); New 191 test/cctest/test-thread-termination.cc v8::String::New("try { loop(); fail(); } catch(e) { fail(); }"); New 210 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); New 215 test/cctest/test-thread-termination.cc v8::String::New("try { loop(); fail(); } catch(e) { fail(); }"); New 277 test/cctest/test-thread-termination.cc v8::Local<v8::Object> result = v8::Object::New(); New 278 test/cctest/test-thread-termination.cc result->Set(v8::String::New("x"), v8::Integer::New(42)); New 286 test/cctest/test-thread-termination.cc v8::Script::Compile(v8::String::New("function f() {" New 310 test/cctest/test-thread-termination.cc v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); New 311 test/cctest/test-thread-termination.cc global->Set(v8::String::New("terminate_or_return_object"), New 312 test/cctest/test-thread-termination.cc v8::FunctionTemplate::New(TerminateOrReturnObject)); New 313 test/cctest/test-thread-termination.cc global->Set(v8::String::New("fail"), v8::FunctionTemplate::New(Fail)); New 314 test/cctest/test-thread-termination.cc global->Set(v8::String::New("loop"), New 315 test/cctest/test-thread-termination.cc v8::FunctionTemplate::New(LoopGetProperty)); New 317 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); New 322 test/cctest/test-thread-termination.cc v8::String::New("try { loop(); fail(); } catch(e) { fail(); }"); New 335 test/cctest/test-thread-termination.cc v8::Script::Compile(v8::String::New("function f() {" New 353 test/cctest/test-thread-termination.cc v8::Script::Compile(v8::String::New("function f() { fail(); } f()"))->Run(); New 363 test/cctest/test-thread-termination.cc v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); New 367 test/cctest/test-thread-termination.cc v8::String::New("try { loop(); fail(); } catch(e) { fail(); }"); New 371 test/cctest/test-thread-termination.cc CHECK(v8::Script::Compile(v8::String::New("function f() { return true; }" New 40 test/cctest/test-threads.cc v8::Context::Scope context_scope(v8::Context::New()); New 45 test/cctest/test-threads.cc v8::String::New("var count = 0; var obj = new Object(); count++;\n")); New 72 test/cctest/test-threads.cc v8::Context::Scope context_scope(v8::Context::New()); New 78 test/cctest/test-threads.cc v8::String::New( New 111 test/cctest/test-threads.cc v8::Context::Scope context_scope(v8::Context::New()); New 68 test/cctest/test-utils.cc Vector<char> buffer = Vector<char>::New(i + 1); New 110 test/cctest/test-utils.cc Vector<byte> buffer1 = Vector<byte>::New(N); New 111 test/cctest/test-utils.cc Vector<byte> buffer2 = Vector<byte>::New(N);