/external/v8/src/ |
code-factory.h | 35 static Callable LoadIC(Isolate* isolate, TypeofMode typeof_mode, 37 static Callable LoadICInOptimizedCode(Isolate* isolate, 41 static Callable KeyedLoadIC(Isolate* isolate, LanguageMode language_mode); 43 Isolate* isolate, LanguageMode language_mode, 45 static Callable CallIC(Isolate* isolate, int argc [all...] |
d8-windows.cc | 11 void Shell::AddOSMethods(Isolate* isolate, Local<ObjectTemplate> os_templ) {}
|
code-factory.cc | 15 Callable CodeFactory::LoadIC(Isolate* isolate, TypeofMode typeof_mode, 19 isolate, LoadICState(typeof_mode, language_mode).GetExtraICState()), 20 LoadDescriptor(isolate)); 26 Isolate* isolate, TypeofMode typeof_mode, LanguageMode language_mode, 29 isolate, LoadICState(typeof_mode, language_mode).GetExtraICState(), 31 return Callable(code, LoadWithVectorDescriptor(isolate)); 36 Callable CodeFactory::KeyedLoadIC(Isolate* isolate, [all...] |
arguments.cc | 16 v8::Local<V> CustomArguments<T>::GetReturnValue(Isolate* isolate) { 26 Isolate* isolate = this->isolate(); local 27 VMState<EXTERNAL> state(isolate); 28 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); 34 return GetReturnValue<v8::Value>(isolate); 40 Isolate* isolate = this->isolate(); [all...] |
typing-reset.cc | 17 TypingReseter::TypingReseter(Isolate* isolate, FunctionLiteral* root) 18 : AstExpressionVisitor(isolate, root) {}
|
/external/v8/src/runtime/ |
runtime-date.cc | 11 #include "src/isolate-inl.h" 18 SealHandleScope shs(isolate); 21 return isolate->heap()->ToBoolean(obj->IsJSDate()); 26 HandleScope scope(isolate); 28 THROW_NEW_ERROR_RETURN_FAILURE(isolate, 34 HandleScope scope(isolate); 36 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate));
|
runtime-observe.cc | 9 #include "src/isolate-inl.h" 15 SealHandleScope shs(isolate); 18 if (!args[0]->IsJSReceiver()) return isolate->heap()->false_value(); 21 return isolate->heap()->ToBoolean(obj->map()->is_observed()); 26 HandleScope scope(isolate); 30 if (obj->IsJSProxy()) return isolate->heap()->undefined_value(); 35 return isolate->heap()->undefined_value(); 40 HandleScope scope(isolate); 43 isolate->EnqueueMicrotask(microtask); 44 return isolate->heap()->undefined_value() [all...] |
runtime-operators.cc | 6 #include "src/isolate-inl.h" 13 HandleScope scope(isolate); 18 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, 19 Object::Multiply(isolate, lhs, rhs)); 25 HandleScope scope(isolate); 31 isolate, result, Object::Multiply(isolate, lhs, rhs, Strength::STRONG)); 37 HandleScope scope(isolate); 42 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, 43 Object::Divide(isolate, lhs, rhs)) [all...] |
runtime-test.cc | 17 HandleScope scope(isolate); 20 if (!function->IsOptimized()) return isolate->heap()->undefined_value(); 25 return isolate->heap()->undefined_value(); 30 return isolate->heap()->undefined_value(); 35 HandleScope scope(isolate); 42 JavaScriptFrameIterator it(isolate); 49 if (function.is_null()) return isolate->heap()->undefined_value(); 51 if (!function->IsOptimized()) return isolate->heap()->undefined_value(); 56 return isolate->heap()->undefined_value(); 61 return isolate->heap()->undefined_value() [all...] |
runtime-classes.cc | 13 #include "src/isolate-inl.h" 22 HandleScope scope(isolate); 25 isolate, NewReferenceError(MessageTemplate::kNonMethod)); 30 HandleScope scope(isolate); 33 isolate, NewReferenceError(MessageTemplate::kUnsupportedSuper)); 38 HandleScope scope(isolate); 41 Handle<Object> name(constructor->shared()->name(), isolate); 43 isolate, NewTypeError(MessageTemplate::kConstructorNonCallable, name)); 48 HandleScope scope(isolate); 51 isolate, NewTypeError(MessageTemplate::kArrayNotSubclassable)) [all...] |
runtime-interpreter.cc | 8 #include "src/isolate-inl.h" 15 HandleScope scope(isolate); 21 return isolate->heap()->ToBoolean(result.FromJust()); 23 return isolate->heap()->exception(); 29 HandleScope scope(isolate); 35 return isolate->heap()->ToBoolean(!result.FromJust()); 37 return isolate->heap()->exception(); 43 HandleScope scope(isolate); 49 return isolate->heap()->ToBoolean(result.FromJust()); 51 return isolate->heap()->exception() [all...] |
runtime-forin.cc | 14 SealHandleScope scope(isolate); 20 return isolate->heap()->ToBoolean(index == length); 25 HandleScope scope(isolate); 31 if (!Object::ToName(isolate, key).ToHandle(&name)) { 32 return isolate->heap()->exception(); 35 if (!result.IsJust()) return isolate->heap()->exception(); 37 return isolate->heap()->undefined_value(); 42 HandleScope scope(isolate); 48 Handle<Object> key = handle(cache_array->get(index), isolate); 56 if (!Object::ToName(isolate, key).ToHandle(&name)) [all...] |
runtime-maths.cc | 19 HandleScope scope(isolate); \ 21 isolate->counters()->math_##name()->Increment(); \ 23 return *isolate->factory()->NewHeapNumber(std::name(x)); \ 34 HandleScope scope(isolate); 40 return *isolate->factory()->NewNumber(signed32); 45 HandleScope scope(isolate); 51 return *isolate->factory()->NewNumber(signed32); 56 HandleScope scope(isolate); 61 return *isolate->factory()->NewNumber(uint64_to_double(result)); 66 SealHandleScope shs(isolate); [all...] |
runtime-futex.cc | 21 HandleScope scope(isolate); 28 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); 33 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); 35 return FutexEmulation::Wait(isolate, array_buffer, addr, value, timeout); 40 HandleScope scope(isolate); 46 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); 50 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); 52 return FutexEmulation::Wake(isolate, array_buffer, addr, count); 57 HandleScope scope(isolate); 65 RUNTIME_ASSERT(index1 < NumberToSize(isolate, sta->length())) [all...] |
runtime-internal.cc | 13 #include "src/isolate-inl.h" 21 SealHandleScope shs(isolate); 23 RUNTIME_ASSERT(isolate->bootstrapper()->IsActive()); 24 return isolate->heap()->undefined_value(); 29 HandleScope scope(isolate); 32 RUNTIME_ASSERT(isolate->bootstrapper()->IsActive()); 35 Bootstrapper::ExportFromRuntime(isolate, container); 42 HandleScope scope(isolate); 45 RUNTIME_ASSERT(isolate->bootstrapper()->IsActive()); 48 Bootstrapper::ExportExperimentalFromRuntime(isolate, container) [all...] |
runtime-json.cc | 9 #include "src/isolate-inl.h" 18 HandleScope scope(isolate); 23 isolate, result, BasicJsonStringifier::StringifyString(isolate, string)); 29 HandleScope scope(isolate); 32 BasicJsonStringifier stringifier(isolate); 34 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, 41 HandleScope scope(isolate); 45 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, source, 46 Object::ToString(isolate, object)) [all...] |
runtime-symbol.cc | 8 #include "src/isolate-inl.h" 16 HandleScope scope(isolate); 20 Handle<Symbol> symbol = isolate->factory()->NewSymbol(); 27 HandleScope scope(isolate); 31 Handle<Symbol> symbol = isolate->factory()->NewPrivateSymbol(); 38 SealHandleScope shs(isolate); 46 HandleScope scope(isolate); 49 IncrementalStringBuilder builder(isolate); 52 builder.AppendString(handle(String::cast(symbol->name()), isolate)); 56 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, builder.Finish()) [all...] |
runtime-scopes.cc | 13 #include "src/isolate-inl.h" 19 static Object* ThrowRedeclarationError(Isolate* isolate, Handle<String> name) { 20 HandleScope scope(isolate); 22 isolate, NewTypeError(MessageTemplate::kVarRedeclaration, name)); 27 HandleScope scope(isolate); 28 THROW_NEW_ERROR_RETURN_FAILURE(isolate, 34 static Object* DeclareGlobals(Isolate* isolate, Handle<JSGlobalObject> global, 43 return ThrowRedeclarationError(isolate, name) 750 Isolate* isolate = scope_info->GetIsolate(); local [all...] |
/external/pdfium/fpdfsdk/src/jsapi/ |
fxjs_v8_embeddertest.cpp | 17 v8::Isolate::Scope isolate_scope(isolate()); 19 v8::Locker locker(isolate()); 21 v8::HandleScope handle_scope(isolate()); 25 int sts = FXJS_Execute(isolate(), nullptr, kScript, &error); 28 v8::Local<v8::Object> This = FXJS_GetThisObj(isolate()); 29 v8::Local<v8::Value> fred = FXJS_GetObjectElement(isolate(), This, L"fred");
|
/external/v8/src/ia32/ |
simulator-ia32.h | 15 #define CALL_GENERATED_CODE(isolate, entry, p0, p1, p2, p3, p4) \ 20 const byte*, int*, int, Address, int, Isolate*); 24 #define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \ 34 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, 36 USE(isolate); 40 static inline uintptr_t RegisterCTryCatch(v8::internal::Isolate* isolate, 42 USE(isolate); 46 static inline void UnregisterCTryCatch(v8::internal::Isolate* isolate) [all...] |
/external/v8/src/wasm/ |
wasm-js.h | 21 static void Install(Isolate* isolate, Handle<JSGlobalObject> global_object); 22 static void InstallWasmFunctionMap(Isolate* isolate, Handle<Context> context);
|
/external/v8/src/x87/ |
simulator-x87.h | 15 #define CALL_GENERATED_CODE(isolate, entry, p0, p1, p2, p3, p4) \ 20 const byte*, int*, int, Address, int, Isolate*); 24 #define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \ 34 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, 36 USE(isolate); 40 static inline uintptr_t RegisterCTryCatch(Isolate* isolate, 42 USE(isolate); 46 static inline void UnregisterCTryCatch(Isolate* isolate) { USE(isolate); [all...] |
/external/v8/test/cctest/ |
test-api-accessors.cc | 23 v8::experimental::FastAccessorBuilder* FastAccessor(v8::Isolate* isolate) { 24 auto builder = v8::experimental::FastAccessorBuilder::New(isolate); 31 v8::Isolate* isolate = CcTest::isolate(); local 32 v8::HandleScope scope(isolate); 43 v8::Local<v8::FunctionTemplate> parent = v8::FunctionTemplate::New(isolate); 45 auto signature = v8::Signature::New(isolate, parent); 50 v8::FunctionTemplate::New(isolate, CppAccessor42 [all...] |
test-decls.cc | 55 Isolate* isolate = CcTest::isolate(); local 56 HandleScope scope(isolate); 57 Local<Context> context = Local<Context>::New(isolate, context_); 97 v8::Isolate* isolate() const { return CcTest::isolate(); } function in class:DeclarationContext 119 Isolate* isolate = CcTest::isolate() 281 v8::Isolate* isolate = CcTest::isolate(); local 616 v8::Isolate* isolate = CcTest::isolate(); local 657 v8::Isolate* isolate = CcTest::isolate(); local 671 v8::Isolate* isolate = CcTest::isolate(); local 691 v8::Isolate* isolate = CcTest::isolate(); local 833 v8::Isolate* isolate = CcTest::isolate(); local 854 v8::Isolate* isolate = CcTest::isolate(); local [all...] |
/external/v8/src/x64/ |
simulator-x64.h | 16 #define CALL_GENERATED_CODE(isolate, entry, p0, p1, p2, p3, p4) \ 20 const byte*, int*, int, Address, int, Isolate*); 24 #define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \ 33 static inline uintptr_t JsLimitFromCLimit(Isolate* isolate, 38 static inline uintptr_t RegisterCTryCatch(Isolate* isolate, 40 USE(isolate); 44 static inline void UnregisterCTryCatch(Isolate* isolate) { USE(isolate); [all...] |