HomeSort by relevance Sort by last modified time
    Searched refs:isolate (Results 251 - 275 of 843) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8BlobCustomHelpers.cpp 70 bool ParsedProperties::parseBlobPropertyBag(v8::Local<v8::Value> propertyBag, const char* blobClassName, ExceptionState& exceptionState, v8::Isolate* isolate)
72 TONATIVE_DEFAULT(Dictionary, dictionary, Dictionary(propertyBag, isolate), false);
109 bool processBlobParts(v8::Local<v8::Object> blobParts, uint32_t blobPartsLength, bool normalizeLineEndingsToNative, BlobData& blobData, v8::Isolate* isolate)
112 v8::Local<v8::Value> item = blobParts->Get(v8::Uint32::New(isolate, i));
116 if (V8ArrayBuffer::hasInstance(item, isolate)) {
120 } else if (V8ArrayBufferView::hasInstance(item, isolate)) {
124 } else if (V8Blob::hasInstance(item, isolate)) {
V8CanvasRenderingContext2DCustom.cpp 49 static v8::Handle<v8::Value> toV8Object(CanvasStyle* style, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
52 return toV8(style->canvasGradient(), creationContext, isolate);
55 return toV8(style->canvasPattern(), creationContext, isolate);
57 return v8String(isolate, style->color());
60 static PassRefPtr<CanvasStyle> toCanvasStyle(v8::Handle<v8::Value> value, v8::Isolate* isolate)
62 RefPtr<CanvasStyle> canvasStyle = CanvasStyle::createFromGradient(V8CanvasGradient::toNativeWithTypeCheck(isolate, value));
65 return CanvasStyle::createFromPattern(V8CanvasPattern::toNativeWithTypeCheck(isolate, value));
  /external/chromium_org/v8/src/
func-name-inferrer.cc 14 FuncNameInferrer::FuncNameInferrer(Isolate* isolate, Zone* zone)
15 : isolate_(isolate),
28 isolate()->runtime_state(), name->Get(0))) {
36 !String::Equals(isolate()->factory()->prototype_string(), name)) {
44 !String::Equals(isolate()->factory()->dot_result_string(), name)) {
51 return MakeNameFromStackHelper(0, isolate()->factory()->empty_string());
67 Factory* factory = isolate()->factory();
compilation-cache.h 18 CompilationSubCache(Isolate* isolate, int generations)
19 : isolate_(isolate),
59 Isolate* isolate() { return isolate_; }
62 Isolate* isolate_;
73 CompilationCacheScript(Isolate* isolate, int generations);
113 CompilationCacheEval(Isolate* isolate, int generations
    [all...]
messages.h 71 Isolate* isolate,
78 static void ReportMessage(Isolate* isolate,
82 static void DefaultMessageReport(Isolate* isolate,
85 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
86 static SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
    [all...]
execution.h 27 Isolate* isolate,
58 Isolate* isolate, Handle<Object> obj);
62 Isolate* isolate, Handle<Object> obj);
66 Isolate* isolate, Handle<Object> obj);
70 Isolate* isolate, Handle<Object> obj)
    [all...]
assert-scope.h 15 class Isolate;
89 friend class Isolate;
122 static uint32_t GetData(Isolate* isolate);
123 static void SetData(Isolate* isolate, uint32_t data);
130 explicit PerIsolateAssertScope(Isolate* isolate) : isolate_(isolate) {
140 static bool IsAllowed(Isolate* isolate)
    [all...]
handles-inl.h 12 #include "src/isolate.h"
24 Handle<T>::Handle(T* obj, Isolate* isolate) {
25 location_ = HandleScope::CreateHandle(isolate, obj);
77 return !heap->isolate()->IsDeferredHandle(handle);
85 HandleScope::HandleScope(Isolate* isolate) {
86 HandleScopeData* current = isolate->handle_scope_data();
87 isolate_ = isolate;
99 void HandleScope::CloseScope(Isolate* isolate
    [all...]
uri.h 41 MUST_USE_RESULT static MaybeHandle<String> Unescape(Isolate* isolate,
49 Isolate* isolate, Handle<String> string, int start_index);
72 MaybeHandle<String> URIUnescape::Unescape(Isolate* isolate,
76 StringSearch<uint8_t, Char> search(isolate, STATIC_ASCII_VECTOR("%"));
80 return UnescapeSlow<Char>(isolate, source, index);
86 Isolate* isolate, Handle<String> string, int start_index)
    [all...]
  /external/chromium_org/v8/tools/
parser-shell.cc 48 const char* fname, Encoding encoding, int repeat, v8::Isolate* isolate,
56 isolate, reinterpret_cast<const char*>(source));
61 isolate, reinterpret_cast<const uint16_t*>(source),
66 source_handle = v8::String::NewFromOneByte(isolate, source);
71 Handle<Script> script = Isolate::Current()->factory()->NewScript(
131 v8::Isolate* isolate = v8::Isolate::New(); local
133 v8::Isolate::Scope isolate_scope(isolate)
    [all...]
lexer-shell.cc 53 Isolate* isolate,
67 Handle<String> result = isolate->factory()->NewStringFromTwoByte(
76 Handle<String> result = isolate->factory()->NewStringFromOneByte(
131 Isolate* isolate,
137 BaselineScanner scanner(fname, isolate, encoding, &timer, repeat);
164 Isolate* isolate,
170 HandleScope handle_scope(isolate);
209 v8::Isolate* isolate = v8::Isolate::New(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
callback_interface.cpp 21 m_callback.set(scriptState->isolate(), callback);
36 v8::Isolate* isolate = m_scriptState->isolate(); variable
65 return invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), {{this_handle_parameter}}{{method.arguments | length}}, argv);
67 invokeCallback(m_scriptState.get(), m_callback.newLocal(isolate), {{this_handle_parameter}}{{method.arguments | length}}, argv);
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
V8ValueCache.h 57 static void Dispose(v8::Isolate*, v8::UniquePersistent<v8::String> value, StringImpl* key);
63 StringCache(v8::Isolate* isolate) : m_stringCache(isolate) { }
66 v8::Handle<v8::String> v8ExternalString(StringImpl* stringImpl, v8::Isolate* isolate)
70 return m_lastV8String.NewLocal(isolate);
71 return v8ExternalStringSlow(stringImpl, isolate);
86 v8::Handle<v8::String> v8ExternalStringSlow(StringImpl*, v8::Isolate*);
88 v8::Local<v8::String> createStringAndInsertIntoCache(StringImpl*, v8::Isolate*);
    [all...]
V8Binding.cpp 75 v8::Handle<v8::Value> throwError(V8ErrorType errorType, const String& message, v8::Isolate* isolate)
77 return V8ThrowException::throwError(errorType, message, isolate);
80 v8::Handle<v8::Value> throwError(v8::Handle<v8::Value> exception, v8::Isolate* isolate)
82 return V8ThrowException::throwError(exception, isolate);
85 v8::Handle<v8::Value> throwTypeError(const String& message, v8::Isolate* isolate)
87 return V8ThrowException::throwTypeError(message, isolate);
90 void throwArityTypeErrorForMethod(const char* method, const char* type, const char* valid, unsigned provided, v8::Isolate* isolate
92 throwTypeError(ExceptionMessages::failedToExecute(method, type, ExceptionMessages::invalidArity(valid, provided)), isolate); local
97 throwTypeError(ExceptionMessages::failedToConstruct(type, ExceptionMessages::invalidArity(valid, provided)), isolate); local
108 throwTypeError(ExceptionMessages::failedToExecute(method, type, ExceptionMessages::notEnoughArguments(expected, providedLeastNumMandatoryParams)), isolate); local
113 throwTypeError(ExceptionMessages::failedToConstruct(type, ExceptionMessages::notEnoughArguments(expected, providedLeastNumMandatoryParams)), isolate); local
911 v8::Isolate* V8TestingScope::isolate() const function in class:WebCore::V8TestingScope
    [all...]
V8PerIsolateData.cpp 48 ASSERT(V8RecursionScope::properlyUsed(v8::Isolate::GetCurrent()));
52 V8PerIsolateData::V8PerIsolateData(v8::Isolate* isolate)
53 : m_isolate(isolate)
68 isolate->AddCallCompletedCallback(&assertV8RecursionScope);
72 PageScriptDebugServer::setMainThreadIsolate(isolate);
84 v8::Isolate* V8PerIsolateData::mainThreadIsolate()
88 return mainThreadPerIsolateData->isolate();
91 void V8PerIsolateData::ensureInitialized(v8::Isolate* isolate)
    [all...]
  /external/chromium_org/v8/test/cctest/
test-platform.cc 79 v8::Isolate* isolate = CcTest::isolate(); local
80 v8::HandleScope handle_scope(isolate);
82 v8::ObjectTemplate::New(isolate);
84 v8::FunctionTemplate::New(isolate, GetStackPointer));
test-alloc.cc 100 v8::HandleScope scope(CcTest::isolate());
101 v8::Handle<v8::Context> env = v8::Context::New(CcTest::isolate());
112 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); local
113 HandleScope scope(isolate);
127 Isolate* isolate, PropertyAttributes attributes) {
128 Handle<String> name = isolate->factory()->NewStringFromStaticAscii("get");
129 return Accessors::MakeAccessor(isolate, name, &TestGetter, &TestSetter
135 Isolate* isolate = CcTest::i_isolate(); local
    [all...]
trace-extension.cc 44 v8::Isolate* isolate, v8::Handle<v8::String> name) {
45 if (name->Equals(v8::String::NewFromUtf8(isolate, "trace"))) {
46 return v8::FunctionTemplate::New(isolate, TraceExtension::Trace);
47 } else if (name->Equals(v8::String::NewFromUtf8(isolate, "js_trace"))) {
48 return v8::FunctionTemplate::New(isolate, TraceExtension::JSTrace);
49 } else if (name->Equals(v8::String::NewFromUtf8(isolate, "js_entry_sp"))) {
50 return v8::FunctionTemplate::New(isolate, TraceExtension::JSEntrySP);
51 } else if (name->Equals(v8::String::NewFromUtf8(isolate,
53 return v8::FunctionTemplate::New(isolate, TraceExtension::JSEntrySPLevel2)
    [all...]
  /external/chromium_org/gin/
array_buffer.cc 64 static scoped_refptr<Private> From(v8::Isolate* isolate,
73 Private(v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> array);
81 v8::Isolate* isolate_;
87 v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> array) {
95 return make_scoped_refptr(new Private(isolate, array));
98 ArrayBuffer::Private::Private(v8::Isolate* isolate,
    [all...]
  /external/chromium_org/v8/src/extensions/
statistics-extension.cc 15 v8::Isolate* isolate,
18 return v8::FunctionTemplate::New(isolate, StatisticsExtension::GetCounters);
22 static void AddCounter(v8::Isolate* isolate,
27 object->Set(v8::String::NewFromUtf8(isolate, name),
28 v8::Number::New(isolate, *counter->GetInternalPointer()));
32 static void AddNumber(v8::Isolate* isolate,
36 object->Set(v8::String::NewFromUtf8(isolate, name)
52 Isolate* isolate = reinterpret_cast<Isolate*>(args.GetIsolate()); local
    [all...]
  /external/chromium_org/chrome/renderer/
external_extension.cc 47 v8::Isolate* isolate,
71 v8::Isolate* isolate,
73 if (name->Equals(v8::String::NewFromUtf8(isolate, "NativeAddSearchProvider")))
74 return v8::FunctionTemplate::New(isolate, AddSearchProvider);
77 isolate, "NativeIsSearchProviderInstalled"))) {
78 return v8::FunctionTemplate::New(isolate, IsSearchProviderInstalled);
156 v8::Isolate* isolate = args.GetIsolate() local
    [all...]
  /external/chromium_org/content/renderer/
web_ui_extension.cc 64 v8::Isolate* isolate = blink::mainThreadIsolate(); local
65 v8::HandleScope handle_scope(isolate);
74 global->Get(gin::StringToV8(isolate, "chrome"))->ToObject();
76 chrome = v8::Object::New(isolate);
77 global->Set(gin::StringToSymbol(isolate, "chrome"), chrome);
79 chrome->Set(gin::StringToSymbol(isolate, "send"),
81 isolate, base::Bind(&WebUIExtension::Send))->GetFunction());
82 chrome->Set(gin::StringToSymbol(isolate, "getVariableValue"),
84 isolate, base::Bind(&WebUIExtension::GetVariableValue)
    [all...]
  /external/chromium_org/extensions/renderer/
messaging_bindings.cc 184 v8::Isolate* isolate) {
185 GCCallback* cb = new GCCallback(object, callback, isolate);
203 v8::Isolate* isolate)
204 : object_(object), callback_(callback), isolate_(isolate) {}
219 v8::Isolate* isolate_;
248 v8::Isolate* isolate = script_context->isolate(); local
319 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local
347 v8::Isolate* isolate = script_context->isolate(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
V8TestNode.cpp 137 v8::Isolate* isolate = info.GetIsolate(); local
141 V8DOMWrapper::associateObjectWithWrapper<V8TestNode>(impl.release(), &V8TestNode::wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Dependent);
169 static void configureV8TestNodeTemplate(v8::Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate)
174 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "TestNode", V8Node::domTemplate(isolate), V8TestNode::internalFieldCount,
178 isolate);
185 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
188 v8::Handle<v8::FunctionTemplate> V8TestNode::domTemplate(v8::Isolate* isolate
    [all...]
  /external/chromium_org/chrome/renderer/extensions/
webstore_bindings.cc 206 v8::Isolate* isolate = context()->isolate(); local
207 v8::HandleScope handle_scope(isolate);
210 v8::Integer::New(isolate, install_id),
211 v8::Boolean::New(isolate, success),
212 v8::String::NewFromUtf8(isolate, error.c_str())
230 v8::Isolate* isolate = context()->isolate(); local
240 v8::Isolate* isolate = context()->isolate(); local
    [all...]

Completed in 696 milliseconds

<<11121314151617181920>>