HomeSort by relevance Sort by last modified time
    Searched refs:pIsolate (Results 1 - 15 of 15) sorted by null

  /external/pdfium/xfa/src/fxjse/src/
runtime.cpp 35 static void FXJSE_Runtime_DisposeCallback(v8::Isolate* pIsolate) {
37 v8::Locker locker(pIsolate);
38 if (FXJS_PerIsolateData* pData = FXJS_PerIsolateData::Get(pIsolate)) {
43 pIsolate->Dispose();
56 v8::Isolate* pIsolate = v8::Isolate::New(params);
57 ASSERT(pIsolate && CFXJSE_RuntimeData::g_RuntimeList);
58 CFXJSE_RuntimeData::g_RuntimeList->AppendRuntime(pIsolate);
59 return reinterpret_cast<FXJSE_HRUNTIME>(pIsolate);
62 v8::Isolate* pIsolate = reinterpret_cast<v8::Isolate*>(hRuntime);
63 if (pIsolate) {
    [all...]
runtime.h 12 CFXJSE_RuntimeData(v8::Isolate* pIsolate) : m_pIsolate(pIsolate){};
15 static CFXJSE_RuntimeData* Create(v8::Isolate* pIsolate);
16 static CFXJSE_RuntimeData* Get(v8::Isolate* pIsolate);
36 void AppendRuntime(v8::Isolate* pIsolate);
37 void RemoveRuntime(v8::Isolate* pIsolate,
scope_inline.h 19 explicit CFXJSE_ScopeUtil_IsolateHandle(v8::Isolate* pIsolate)
20 : m_isolate(pIsolate),
21 m_locker(pIsolate),
22 m_iscope(pIsolate),
23 m_hscope(pIsolate) {}
37 explicit CFXJSE_ScopeUtil_IsolateHandleRootContext(v8::Isolate* pIsolate)
38 : m_parent(pIsolate),
40 pIsolate,
41 CFXJSE_RuntimeData::Get(pIsolate)->m_hRootContext)) {}
81 v8::Isolate* pIsolate,
    [all...]
context.h 13 CFXJSE_Context(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {}
16 static CFXJSE_Context* Create(v8::Isolate* pIsolate,
39 v8::Local<v8::Object> FXJSE_CreateReturnValue(v8::Isolate* pIsolate,
context.cpp 70 v8::Local<v8::Object> FXJSE_CreateReturnValue(v8::Isolate* pIsolate,
72 v8::Local<v8::Object> hReturnValue = v8::Object::New(pIsolate);
79 v8::String::NewFromUtf8(pIsolate, "name"));
83 hReturnValue->Set(0, v8::String::NewFromUtf8(pIsolate, "Error"));
86 v8::String::NewFromUtf8(pIsolate, "message"));
93 hReturnValue->Set(0, v8::String::NewFromUtf8(pIsolate, "Error"));
97 hReturnValue->Set(3, v8::Integer::New(pIsolate, hMessage->GetLineNumber()));
100 v8::Integer::New(pIsolate, hMessage->GetStartColumn()));
101 hReturnValue->Set(6, v8::Integer::New(pIsolate, hMessage->GetEndColumn()));
112 v8::Isolate* pIsolate = lpValue->GetIsolate();
    [all...]
dynprop.cpp 52 v8::Isolate* pIsolate = lpValue->GetIsolate();
53 v8::HandleScope hscope(pIsolate);
63 pIsolate, reinterpret_cast<const char*>(szPropName.GetPtr()),
164 v8::Isolate* pIsolate = info.GetIsolate();
165 v8::HandleScope scope(pIsolate);
176 v8::Local<v8::Object> hPropDescriptor = v8::Object::New(pIsolate);
178 v8::String::NewFromUtf8(pIsolate, "get"),
179 v8::Function::New(pIsolate,
183 v8::String::NewFromUtf8(pIsolate, "set"),
184 v8::Function::New(pIsolate,
    [all...]
class.cpp 31 v8::Isolate* pIsolate = lpContext->GetRuntime();
36 v8::String::NewFromUtf8(pIsolate, lpFunctions[i].name),
38 pIsolate, FXJSE_V8FunctionCallback_Wrapper,
39 v8::External::New(pIsolate,
240 v8::Isolate* pIsolate = lpContext->m_pIsolate;
244 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(pIsolate);
246 pIsolate, bIsJSGlobal ? 0 : FXJSE_V8ConstructorCallback_Wrapper,
247 v8::External::New(pIsolate, const_cast<FXJSE_CLASS*>(lpClassDefinition)));
249 v8::String::NewFromUtf8(pIsolate, lpClassDefinition->name));
253 SetUpNamedPropHandler(pIsolate, hObjectTemplate, lpClassDefinition);
    [all...]
class.h 30 v8::Isolate* pIsolate,
value.h 12 CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {}
230 static CFXJSE_Value* Create(v8::Isolate* pIsolate);
value.cpp 243 v8::Isolate* pIsolate = v8::Isolate::GetCurrent();
244 ASSERT(pIsolate);
245 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(pIsolate);
247 pIsolate, utf8Message.GetCStr(), v8::String::kNormalString,
262 v8::String::NewFromUtf8(pIsolate, "name"),
263 v8::String::NewFromUtf8(pIsolate, utf8Name.GetCStr(),
268 pIsolate->ThrowException(hError);
270 CFXJSE_Value* CFXJSE_Value::Create(v8::Isolate* pIsolate) {
271 return new CFXJSE_Value(pIsolate);
  /external/pdfium/fpdfsdk/src/jsapi/
fxjs_v8.cpp 42 static int MaxID(v8::Isolate* pIsolate) {
43 return FXJS_PerIsolateData::Get(pIsolate)->m_ObjectDefnArray.size();
46 static CFXJS_ObjDefinition* ForID(v8::Isolate* pIsolate, int id) {
48 return FXJS_PerIsolateData::Get(pIsolate)->m_ObjectDefnArray[id];
101 v8::Isolate* pIsolate) {
102 int maxID = CFXJS_ObjDefinition::MaxID(pIsolate);
104 CFXJS_ObjDefinition* pObjDef = CFXJS_ObjDefinition::ForID(pIsolate, i);
110 g_DefaultGlobalObjectTemplate->Reset(pIsolate,
111 v8::ObjectTemplate::New(pIsolate));
113 return g_DefaultGlobalObjectTemplate->Get(pIsolate);
    [all...]
  /external/pdfium/fpdfsdk/include/jsapi/
fxjs_v8.h 50 static void SetUp(v8::Isolate* pIsolate);
51 static FXJS_PerIsolateData* Get(v8::Isolate* pIsolate);
85 void FXJS_Initialize(unsigned int embedderDataSlot, v8::Isolate* pIsolate);
98 void FXJS_PrepareIsolate(v8::Isolate* pIsolate);
102 void JS_PrepareIsolate(v8::Isolate* pIsolate);
105 int FXJS_DefineObj(v8::Isolate* pIsolate,
111 void FXJS_DefineObjMethod(v8::Isolate* pIsolate,
115 void FXJS_DefineObjProperty(v8::Isolate* pIsolate,
120 void FXJS_DefineObjAllProperties(v8::Isolate* pIsolate,
126 void FXJS_DefineObjConst(v8::Isolate* pIsolate,
    [all...]
  /external/pdfium/fpdfsdk/src/javascript/
JS_Define.h 187 static void DefineJSObjects(v8::Isolate* pIsolate, FXJSOBJTYPE eObjType);
201 void js_class_name::DefineJSObjects(v8::Isolate* pIsolate, \
203 g_nObjDefnID = FXJS_DefineObj(pIsolate, js_class_name::g_pClassName, \
205 DefineConsts(pIsolate); \
210 static void DefineConsts(v8::Isolate* pIsolate);
213 void js_class_name::DefineConsts(v8::Isolate* pIsolate) { \
216 pIsolate, g_nObjDefnID, JS_Class_Consts[i].pName, \
218 ? FXJS_NewNumber(pIsolate, JS_Class_Consts[i].number) \
219 : FXJS_NewString(pIsolate, JS_Class_Consts[i].string)); \
239 void js_class_name::DefineJSObjects(v8::Isolate* pIsolate, \
    [all...]
JS_Runtime.cpp 308 v8::Isolate* pIsolate = GetIsolate();
309 v8::Locker lock(pIsolate);
310 v8::Isolate::Scope isolate_scope(pIsolate);
311 v8::HandleScope handle_scope(pIsolate);
313 v8::Local<v8::Context>::New(pIsolate, m_context);
321 v8::String::NewFromUtf8(pIsolate, name, v8::String::kNormalString,
JS_Value.cpp 792 v8::Isolate* pIsolate = v8::Isolate::GetCurrent();
793 v8::Isolate::Scope isolate_scope(pIsolate);
794 v8::HandleScope scope(pIsolate);
796 v8::Local<v8::Context> context = pIsolate->GetCurrentContext();
801 ->Get(context, v8::String::NewFromUtf8(pIsolate, "Date",
807 v = o->Get(context, v8::String::NewFromUtf8(pIsolate, "parse",
814 v8::Local<v8::String> timeStr = FXJS_WSToJSString(pIsolate, string);

Completed in 1023 milliseconds