/external/pdfium/fpdfsdk/include/jsapi/ |
D | fxjs_v8.h | 17 typedef v8::Local<v8::Object> JSObject; 18 typedef v8::Local<v8::Object> JSFXObject; 52 typedef void (*LP_CONSTRUCTOR)(IFXJS_Context* cc, v8::Local<v8::Object> obj, v8::Local<v8::Object> … 53 typedef void (*LP_DESTRUCTOR)(v8::Local<v8::Object> obj); 60 …t(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sConstName, v8::Local<v8::Value> pDefaul… 62 int JS_DefineGlobalConst(IJS_Runtime* pJSRuntime, const wchar_t* sConstName, v8::Local<v8::V… 70 v8::Local<v8::Object> JS_NewFxDynamicObj(IJS_Runtime* pJSRuntime, IFXJS_Context* pJSContext, int … 71 v8::Local<v8::Object> JS_GetStaticObj(IJS_Runtime* pJSRuntime, int nObjDefnID); 73 v8::Local<v8::Object> JS_GetThisObj(IJS_Runtime * pJSRuntime); 74 int JS_GetObjDefnID(v8::Local<v8::Object> pObj); [all …]
|
/external/pdfium/fpdfsdk/src/jsapi/ |
D | fxjs_v8.cpp | 49 v8::Local<v8::ObjectTemplate> objTemplate = v8::ObjectTemplate::New(isolate); in CJS_ObjDefintion() 107 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjMethod() 127 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjProperty() 144 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjAllProperties() 150 int JS_DefineObjConst(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sConstName, v8::Local… in JS_DefineObjConst() 164 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjConst() 197 v8::Local<v8::FunctionTemplate> funTempl = v8::FunctionTemplate::New(isolate, pMethodCall); in JS_DefineGlobalMethod() 198 v8::Local<v8::ObjectTemplate> objTemp; in JS_DefineGlobalMethod() 204 objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, globalObjTemp); in JS_DefineGlobalMethod() 212 int JS_DefineGlobalConst(IJS_Runtime* pJSRuntime, const wchar_t* sConstName, v8::Local<v8::Value> p… in JS_DefineGlobalConst() [all …]
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
D | Code.java | 195 private final Local<?> thisLocal; 201 private final List<Local<?>> parameters = new ArrayList<Local<?>>(); 202 private final List<Local<?>> locals = new ArrayList<Local<?>>(); 213 thisLocal = Local.get(this, method.declaringType); in Code() 217 parameters.add(Local.get(this, parameter)); in Code() 228 public <T> Local<T> newLocal(TypeId<T> type) { in newLocal() 232 Local<T> result = Local.get(this, type); in newLocal() 241 public <T> Local<T> getParameter(int index, TypeId<T> type) { in getParameter() 252 public <T> Local<T> getThis(TypeId<T> type) { in getThis() 260 private <T> Local<T> coerce(Local<?> local, TypeId<T> expectedType) { in coerce() [all …]
|
/external/v8/test/cctest/ |
D | test-decls.cc | 57 Local<Context> context = Local<Context>::New(isolate, context_); in ~DeclarationContext() 66 v8::Handle<Value> value = Local<Value>()); 73 virtual v8::Handle<Value> Get(Local<String> key); 74 virtual v8::Handle<Value> Set(Local<String> key, Local<Value> value); 75 virtual v8::Handle<Integer> Query(Local<String> key); 85 virtual Local<ObjectTemplate> GetHolder(Local<FunctionTemplate> function) { in GetHolder() 91 static void HandleGet(Local<String> key, 93 static void HandleSet(Local<String> key, 94 Local<Value> value, 96 static void HandleQuery(Local<String> key, [all …]
|
D | test-javascript-arm64.cc | 49 using ::v8::Local; 63 static void ExpectBoolean(bool expected, Local<Value> result) { in ExpectBoolean() 69 static void ExpectInt32(int32_t expected, Local<Value> result) { in ExpectInt32() 75 static void ExpectNumber(double expected, Local<Value> result) { in ExpectNumber() 81 static void ExpectUndefined(Local<Value> result) { in ExpectUndefined() 91 Local<Value> result = CompileRun("0x271828;"); in TEST() 99 Local<Value> result = CompileRun("var my_global_var = 0x123; my_global_var;"); in TEST() 107 Local<Value> result = CompileRun( in TEST() 117 Local<Value> result = CompileRun( in TEST() 139 Local<Value> result = CompileRun(buffer); in if_comparison_testcontext_helper() [all …]
|
D | test-api.cc | 65 using ::v8::Local; 94 v8::Local<v8::String> profile_name = in RunWithProfiler() 105 static Local<Value> signature_expected_receiver; 151 Local<Context> local_env; in THREADED_TEST() 166 Local<Script> script = v8_compile(source); in THREADED_TEST() 188 static void TestSignature(const char* loop_js, Local<Value> receiver) { in TestSignature() 219 isolate, IncrementingSignatureCallback, Local<Value>(), sig); in THREADED_TEST() 234 Local<Value> fun_instance = fun->InstanceTemplate()->NewInstance(); in THREADED_TEST() 235 Local<Value> sub_fun_instance = sub_fun->InstanceTemplate()->NewInstance(); in THREADED_TEST() 269 Local<Value> test_object = CompileRun(source.start()); in THREADED_TEST() [all …]
|
D | cctest.h | 145 static v8::Local<v8::Object> global() { in global() 164 static v8::Local<v8::Context> NewContext( 296 v8::Local<v8::Context>::New(isolate_, context_)->Exit(); in ~LocalContext() 306 v8::Local<v8::Context> local() { in local() 307 return v8::Local<v8::Context>::New(isolate_, context_); in local() 316 v8::Local<v8::Context> context = v8::Context::New(isolate, in Initialize() 339 static inline v8::Local<v8::Value> v8_num(double x) { in v8_num() 344 static inline v8::Local<v8::String> v8_str(const char* x) { in v8_str() 349 static inline v8::Local<v8::Script> v8_compile(const char* x) { in v8_compile() 354 static inline v8::Local<v8::Script> v8_compile(v8::Local<v8::String> x) { in v8_compile() [all …]
|
D | test-accessors.cc | 40 using ::v8::Local; 46 static void handle_property(Local<String> name, in handle_property() 52 static void handle_property_2(Local<String> name, in handle_property_2() 70 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST() 72 Local<v8::FunctionTemplate> getter_templ = in THREADED_TEST() 80 Local<Function> fun = fun_templ->GetFunction(); in THREADED_TEST() 82 Local<Script> getter; in THREADED_TEST() 83 Local<Script> setter; in THREADED_TEST() 101 static void GetIntValue(Local<String> property, in GetIntValue() 110 static void SetIntValue(Local<String> property, in SetIntValue() [all …]
|
D | test-js-arm64-variables.cc | 51 using ::v8::Local; 65 static void ExpectInt32(int32_t expected, Local<Value> result) { in ExpectInt32() 75 Local<Value> result = CompileRun( in TEST() 87 Local<Value> result = CompileRun( in TEST() 98 Local<Value> result = CompileRun( in TEST() 109 Local<Value> result = CompileRun( in TEST() 123 Local<Value> result = CompileRun( in TEST() 137 Local<Value> result = CompileRun( in TEST()
|
D | test-log-stack-tracer.cc | 45 using v8::Local; 65 static bool IsAddressWithinFuncCode(v8::Local<v8::Context> context, in IsAddressWithinFuncCode() 68 v8::Local<v8::Value> func = context->Global()->Get(v8_str(func_name)); in IsAddressWithinFuncCode() 105 void CreateFramePointerGrabberConstructor(v8::Local<v8::Context> context, in CreateFramePointerGrabberConstructor() 107 Local<v8::FunctionTemplate> constructor_template = in CreateFramePointerGrabberConstructor() 110 Local<Function> fun = constructor_template->GetFunction(); in CreateFramePointerGrabberConstructor() 118 static void CreateTraceCallerFunction(v8::Local<v8::Context> context, in CreateTraceCallerFunction() 150 v8::Local<v8::Context> context = CcTest::NewContext(TRACE_EXTENSION); in TEST() 156 Local<Value> result = CompileRun( in TEST() 198 v8::Local<v8::Context> context = CcTest::NewContext(TRACE_EXTENSION); in TEST() [all …]
|
D | test-cpu-profiler.cc | 118 *v8::Local<v8::Function>::Cast( in CreateCode() 356 v8::Local<v8::String> name1 = v8::String::NewFromUtf8(env->GetIsolate(), "1"); in TEST() 365 v8::Local<v8::String> name2 = v8::String::NewFromUtf8(env->GetIsolate(), "2"); in TEST() 371 v8::Local<v8::String> name3 = v8::String::NewFromUtf8(env->GetIsolate(), "3"); in TEST() 393 v8::Local<v8::String> profile_name = in TEST() 406 v8::Local<v8::String> profile_name = in RunProfiler() 547 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast( in TEST() 625 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast( in TEST() 662 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast( in TEST() 714 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast( in TEST() [all …]
|
/external/v8/include/ |
D | v8.h | 102 template <class T> class Local; variable 303 template<class F> friend class Local; variable 334 template <class T> class Local : public Handle<T> { 336 V8_INLINE Local(); 337 template <class S> V8_INLINE Local(Local<S> that) in Local() function 348 template <class S> V8_INLINE static Local<T> Cast(Local<S> that) { in Cast() 352 if (that.IsEmpty()) return Local<T>(); in Cast() 354 return Local<T>(T::Cast(*that)); in Cast() 356 template <class S> V8_INLINE Local(Handle<S> that) in Local() function 361 template <class S> V8_INLINE Local<S> As() { in As() [all …]
|
/external/pdfium/fpdfsdk/include/javascript/ |
D | JS_Define.h | 57 v8::Local<v8::String> property, in JSPropGetter() 60 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in JSPropGetter() 61 v8::Local<v8::Value> v = context->GetEmbedderData(1); in JSPropGetter() 62 v8::Local<v8::External> field = v8::Local<v8::External>::Cast(v); in JSPropGetter() 74 info.GetReturnValue().Set((v8::Local<v8::Value>)value); in JSPropGetter() 80 v8::Local<v8::String> property, in JSPropSetter() 81 v8::Local<v8::Value> value, in JSPropSetter() 84 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in JSPropSetter() 85 v8::Local<v8::Value> v = context->GetEmbedderData(1); in JSPropSetter() 86 v8::Local<v8::External> field = v8::Local<v8::External>::Cast(v); in JSPropSetter() [all …]
|
D | JS_Value.h | 22 CJS_Value(v8::Isolate* isolate, v8::Local<v8::Value> pValue,FXJSVALUETYPE t); 37 void Attach(v8::Local<v8::Value> pValue,FXJSVALUETYPE t); 49 v8::Local<v8::Object> ToV8Object() const; 50 v8::Local<v8::Array> ToV8Array() const; 51 v8::Local<v8::Value> ToV8Value() const; 59 void operator = (v8::Local<v8::Object>); 75 v8::Local<v8::Value> m_pValue; 121 operator v8::Local<v8::Value>() const; 134 void Attach(v8::Local<v8::Array> pArray); 139 operator v8::Local<v8::Array>(); [all …]
|
/external/v8/src/ |
D | api.h | 184 static Local<FunctionTemplate> ToFunctionTemplate(NeanderObject obj); 185 static Local<ObjectTemplate> ToObjectTemplate(NeanderObject obj); 187 static inline Local<Context> ToLocal( 189 static inline Local<Value> ToLocal( 191 static inline Local<Function> ToLocal( 193 static inline Local<Name> ToLocal( 195 static inline Local<String> ToLocal( 197 static inline Local<Symbol> ToLocal( 199 static inline Local<RegExp> ToLocal( 201 static inline Local<Object> ToLocal( [all …]
|
D | accessors.cc | 141 v8::Local<v8::Name> name, Handle<Object> value) { in SetPropertyOnInstanceIfInherited() 164 v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) { in ArgumentsIteratorGetter() 174 v8::Local<v8::Name> name, v8::Local<v8::Value> val, in ArgumentsIteratorSetter() 219 v8::Local<v8::Name> name, in ArrayLengthGetter() 231 v8::Local<v8::Name> name, in ArrayLengthSetter() 232 v8::Local<v8::Value> val, in ArrayLengthSetter() 293 v8::Local<v8::Name> name, in StringLengthGetter() 304 Object* value = *Utils::OpenHandle(*v8::Local<v8::Value>(info.This())); in StringLengthGetter() 316 v8::Local<v8::Name> name, in StringLengthSetter() 317 v8::Local<v8::Value> value, in StringLengthSetter() [all …]
|
D | d8-debug.cc | 31 Local<String> to_json_fun_name = in HandleDebugEvent() 34 Local<Function> to_json_fun = in HandleDebugEvent() 35 Local<Function>::Cast(event_data->Get(to_json_fun_name)); in HandleDebugEvent() 36 Local<Value> event_json = to_json_fun->Call(event_data, 0, NULL); in HandleDebugEvent() 57 Local<String> fun_name = in HandleDebugEvent() 60 Local<Function> fun = Local<Function>::Cast(exec_state->Get(fun_name)); in HandleDebugEvent() 61 Local<Object> cmd_processor = in HandleDebugEvent() 62 Local<Object>::Cast(fun->Call(exec_state, 0, NULL)); in HandleDebugEvent()
|
/external/v8/test/mjsunit/ |
D | debug-scopes.js | 132 if (scopes[i] == debug.ScopeType.Local || 195 if (scope.scopeType() == debug.ScopeType.Local || 217 CheckScopeChain([debug.ScopeType.Local, 233 CheckScopeChain([debug.ScopeType.Local, 250 CheckScopeChain([debug.ScopeType.Local, 268 CheckScopeChain([debug.ScopeType.Local, 285 CheckScopeChain([debug.ScopeType.Local, 302 CheckScopeChain([debug.ScopeType.Local, 323 CheckScopeChain([debug.ScopeType.Local, 342 debug.ScopeType.Local, [all …]
|
D | arguments-apply.js | 49 function Local() { class 54 assertEquals(0, Local().length); 55 assertEquals(1, Local(1).length); 56 assertEquals(2, Local(2)[0]); 57 assertEquals(2, Local(3, 4).length); 58 assertEquals(3, Local(3, 4)[0]); 59 assertEquals(4, Local(3, 4)[1]);
|
/external/v8/samples/ |
D | process.cc | 109 static void GetPath(Local<String> name, 111 static void GetReferrer(Local<String> name, 113 static void GetHost(Local<String> name, 115 static void GetUserAgent(Local<String> name, 119 static void MapGet(Local<String> name, 121 static void MapSet(Local<String> name, 122 Local<Value> value, 246 v8::Local<v8::Context> context = in InstallMaps() 247 v8::Local<v8::Context>::New(GetIsolate(), context_); in InstallMaps() 265 v8::Local<v8::Context> context = in Process() [all …]
|
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
D | ProxyBuilder.java | 24 import com.google.dexmaker.Local; 424 Local<G> localThis = code.getThis(generatedType); in generateCodeForAllMethods() 425 Local<InvocationHandler> localHandler = code.newLocal(handlerType); in generateCodeForAllMethods() 426 Local<Object> invokeResult = code.newLocal(TypeId.OBJECT); in generateCodeForAllMethods() 427 Local<Integer> intValue = code.newLocal(TypeId.INT); in generateCodeForAllMethods() 428 Local<Object[]> args = code.newLocal(objectArrayType); in generateCodeForAllMethods() 429 Local<Integer> argsLength = code.newLocal(TypeId.INT); in generateCodeForAllMethods() 430 Local<Object> temp = code.newLocal(TypeId.OBJECT); in generateCodeForAllMethods() 431 Local<?> resultHolder = code.newLocal(resultType); in generateCodeForAllMethods() 432 Local<Method[]> methodArray = code.newLocal(methodArrayType); in generateCodeForAllMethods() [all …]
|
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
D | FibonacciMaker.java | 24 import com.google.dexmaker.Local; 42 Local<Integer> i = code.getParameter(0, TypeId.INT); in main() 43 Local<Integer> constant1 = code.newLocal(TypeId.INT); in main() 44 Local<Integer> constant2 = code.newLocal(TypeId.INT); in main() 45 Local<Integer> a = code.newLocal(TypeId.INT); in main() 46 Local<Integer> b = code.newLocal(TypeId.INT); in main() 47 Local<Integer> c = code.newLocal(TypeId.INT); in main() 48 Local<Integer> d = code.newLocal(TypeId.INT); in main() 49 Local<Integer> result = code.newLocal(TypeId.INT); in main()
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
D | p3-generic-lambda-1y.cpp | 46 struct Local { in main() struct 50 static Local localfi(int) { return Local{}; } in main() argument 53 l4(&Local::ifi); in main() 54 l4(&Local::cfi); in main() 55 l4(&Local::dfi); in main() 56 l4(&Local::localfi); //expected-note{{in instantiation of function template specialization}} in main()
|
/external/chromium-libpac/src/ |
D | proxy_resolver_v8.cc | 172 v8::Local<v8::String> ASCIIStringToV8String(v8::Isolate* isolate, const std::string& s) { in ASCIIStringToV8String() 176 v8::Local<v8::String> UTF16StringToV8String(v8::Isolate* isolate, const android::String16& s) { in UTF16StringToV8String() 183 v8::Local<v8::String> ASCIILiteralToV8String(v8::Isolate* isolate, const char* ascii) { in ASCIILiteralToV8String() 200 v8::Local<v8::String> str_object = object->ToString(); in V8ObjectToUTF16String() 368 v8::Local<v8::Context> context = in ResolveProxy() 369 v8::Local<v8::Context>::New(isolate_, v8_context_); in ResolveProxy() 372 v8::Local<v8::Value> function; in ResolveProxy() 384 v8::Local<v8::Value> ret = v8::Function::Cast(*function)->Call( in ResolveProxy() 420 v8::Local<v8::External> v8_this = in InitV8() 421 v8::Local<v8::External>::New(isolate_, v8_this_); in InitV8() [all …]
|
/external/dexmaker/src/test/java/com/google/dexmaker/ |
D | DexMakerTest.java | 92 Local<Long> localA = code.getParameter(0, TypeId.LONG); in testNewInstance() 93 Local<Boolean> localB = code.getParameter(1, TypeId.BOOLEAN); in testNewInstance() 96 Local<Constructable> localResult = code.newLocal(constructable); in testNewInstance() 140 Local<Integer> localA = code.getParameter(0, TypeId.INT); in testInvokeStatic() 141 Local<Integer> localResult = code.newLocal(TypeId.INT); in testInvokeStatic() 159 Local<Method> localMethod = code.newLocal(methodType); in testCreateLocalMethodAsNull() 185 Local<DexMakerTest> localInstance = code.getParameter(0, TEST_TYPE); in testInvokeVirtual() 186 Local<Integer> localA = code.getParameter(1, TypeId.INT); in testInvokeVirtual() 187 Local<Integer> localResult = code.newLocal(TypeId.INT); in testInvokeVirtual() 217 Local<Integer> localA = directCode.newLocal(TypeId.INT); in testInvokeDirect() [all …]
|