Lines Matching refs:v8
53 class V8TemplateMapTraits : public v8::StdMapTraits<void*, v8::Object> {
55 typedef v8::GlobalValueMap<void*, v8::Object, V8TemplateMapTraits> MapType;
59 WeakCallbackParameter(MapType* map, void* key, v8::Local<v8::Object> value) { in WeakCallbackParameter()
63 const v8::WeakCallbackInfo<WeakCallbackDataType>&);
66 const v8::WeakCallbackInfo<WeakCallbackDataType>& data) { in KeyFromWeakCallbackInfo()
69 static const v8::PersistentContainerCallbackType kCallbackType =
70 v8::kWeakWithInternalFields;
72 const v8::WeakCallbackInfo<WeakCallbackDataType>& data) {} in DisposeWeak()
74 const v8::WeakCallbackInfo<WeakCallbackDataType>& data) {} in OnWeakCallback()
75 static void Dispose(v8::Isolate* isolate,
76 v8::Global<v8::Object> value,
83 typedef v8::GlobalValueMap<void*, v8::Object, V8TemplateMapTraits> MapType;
85 explicit V8TemplateMap(v8::Isolate* isolate);
88 void set(void* key, v8::Local<v8::Object> handle);
100 static void SetUp(v8::Isolate* pIsolate);
101 static FXJS_PerIsolateData* Get(v8::Isolate* pIsolate);
110 explicit FXJS_PerIsolateData(v8::Isolate* pIsolate);
113 class FXJS_ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
120 void FXJS_Initialize(unsigned int embedderDataSlot, v8::Isolate* pIsolate);
126 bool FXJS_GetIsolate(v8::Isolate** pResultIsolate);
133 explicit CFXJS_Engine(v8::Isolate* pIsolate);
137 v8::Local<v8::Object> obj);
138 using Destructor = void (*)(CFXJS_Engine* pEngine, v8::Local<v8::Object> obj);
140 static CFXJS_Engine* CurrentEngineFromIsolate(v8::Isolate* pIsolate);
141 static int GetObjDefnID(v8::Local<v8::Object> pObj);
151 v8::FunctionCallback pMethodCall);
154 v8::AccessorGetterCallback pPropGet,
155 v8::AccessorSetterCallback pPropPut);
157 v8::NamedPropertyQueryCallback pPropQurey,
158 v8::NamedPropertyGetterCallback pPropGet,
159 v8::NamedPropertySetterCallback pPropPut,
160 v8::NamedPropertyDeleterCallback pPropDel);
163 v8::Local<v8::Value> pDefault);
165 v8::FunctionCallback pMethodCall);
167 v8::FunctionCallback pConstGetter);
176 v8::Local<v8::Object> GetThisObj();
178 v8::Local<v8::Object> NewFxDynamicObj(int nObjDefnID, bool bStatic = false);
181 void SetObjectPrivate(v8::Local<v8::Object> pObj, void* p);
182 void* GetObjectPrivate(v8::Local<v8::Object> pObj);
184 static void FreeObjectPrivate(v8::Local<v8::Object> pObj);
192 std::vector<v8::Global<v8::Object>*> m_StaticObjects;