/external/v8/include/ |
D | v8.h | 111 template <class T> class Local; variable 216 class Local { 218 V8_INLINE Local() : val_(0) {} in Local() function 220 V8_INLINE Local(Local<S> that) in Local() function 251 V8_INLINE bool operator==(const Local<S>& that) const { 275 V8_INLINE bool operator!=(const Local<S>& that) const { 284 template <class S> V8_INLINE static Local<T> Cast(Local<S> that) { in Cast() 288 if (that.IsEmpty()) return Local<T>(); in Cast() 290 return Local<T>(T::Cast(*that)); in Cast() 294 template <class S> V8_INLINE Local<S> As() { in As() [all …]
|
D | v8-debug.h | 63 virtual Local<Object> GetExecutionState() const = 0; 64 virtual Local<Object> GetEventData() const = 0; 69 virtual Local<String> GetJSON() const = 0; 76 virtual Local<Context> GetEventContext() const = 0; 107 virtual Local<Object> GetExecutionState() const = 0; 108 virtual Local<Object> GetEventData() const = 0; 115 virtual Local<Context> GetEventContext() const = 0; 121 virtual Local<Value> GetCallbackData() const = 0; 159 Local<Value> data = Local<Value>()); 162 EventCallback that, Local<Value> data = Local<Value>())); [all …]
|
/external/pdfium/fpdfsdk/include/jsapi/ |
D | fxjs_v8.h | 81 using FXJS_CONSTRUCTOR = void (*)(IJS_Runtime* cc, v8::Local<v8::Object> obj); 82 using FXJS_DESTRUCTOR = void (*)(v8::Local<v8::Object> obj); 129 v8::Local<v8::Value> pDefault); 135 v8::Local<v8::Value> pDefault); 151 void FXJS_SetRuntimeForV8Context(v8::Local<v8::Context> v8Context, 161 v8::Local<v8::Object> FXJS_NewFxDynamicObj(v8::Isolate* pIsolate, 164 v8::Local<v8::Object> FXJS_GetThisObj(v8::Isolate* pIsolate); 165 int FXJS_GetObjDefnID(v8::Local<v8::Object> pObj); 166 const wchar_t* FXJS_GetTypeof(v8::Local<v8::Value> pObj); 169 v8::Local<v8::Object> pObj, [all …]
|
/external/v8/samples/ |
D | process.cc | 96 JsHttpRequestProcessor(Isolate* isolate, Local<String> script) in JsHttpRequestProcessor() 107 bool ExecuteScript(Local<String> script); 115 static Local<ObjectTemplate> MakeRequestTemplate(Isolate* isolate); 116 static Local<ObjectTemplate> MakeMapTemplate(Isolate* isolate); 119 static void GetPath(Local<String> name, 121 static void GetReferrer(Local<String> name, 123 static void GetHost(Local<String> name, 125 static void GetUserAgent(Local<String> name, 129 static void MapGet(Local<Name> name, const PropertyCallbackInfo<Value>& info); 130 static void MapSet(Local<Name> name, Local<Value> value, [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/pdfium/fpdfsdk/src/jsapi/ |
D | fxjs_v8.cpp | 64 v8::Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(isolate); in CFXJS_ObjDefinition() 68 v8::Local<v8::Signature> sig = v8::Signature::New(isolate, fun); in CFXJS_ObjDefinition() 78 v8::Local<v8::ObjectTemplate> GetInstanceTemplate() { in GetInstanceTemplate() 80 v8::Local<v8::FunctionTemplate> function = in GetInstanceTemplate() 85 v8::Local<v8::Signature> GetSignature() { in GetSignature() 100 static v8::Local<v8::ObjectTemplate> GetGlobalObjectTemplate( in GetGlobalObjectTemplate() 204 v8::FunctionTemplate::New(pIsolate, pMethodCall, v8::Local<v8::Value>(), in FXJS_DefineObjMethod() 242 v8::Local<v8::Value> pDefault) { in FXJS_DefineObjConst() 265 v8::Local<v8::Value> pDefault) { in FXJS_DefineGlobalConst() 288 v8::Local<v8::Context> v8Context = in FXJS_InitializeRuntime() [all …]
|
/external/v8/test/cctest/ |
D | cctest.h | 130 static v8::Local<v8::Object> global() { in EXTENSION_LIST() 158 static v8::Local<v8::Context> NewContext( in EXTENSION_LIST() 275 v8::Local<v8::ObjectTemplate> global_template = 276 v8::Local<v8::ObjectTemplate>(), 277 v8::Local<v8::Value> global_object = v8::Local<v8::Value>()) { 282 v8::Local<v8::ObjectTemplate> global_template = 283 v8::Local<v8::ObjectTemplate>(), 284 v8::Local<v8::Value> global_object = v8::Local<v8::Value>()) { 290 v8::Local<v8::Context>::New(isolate_, context_)->Exit(); in ~LocalContext() 300 v8::Local<v8::Context> local() { in local() [all …]
|
D | test-api-interceptors.cc | 28 using ::v8::Local; 52 void Return239Callback(Local<String> name, in Return239Callback() 61 void EmptyInterceptorGetter(Local<Name> name, in EmptyInterceptorGetter() 65 void EmptyInterceptorSetter(Local<Name> name, Local<Value> value, in EmptyInterceptorSetter() 69 void SimpleAccessorGetter(Local<String> name, in SimpleAccessorGetter() 71 Local<Object> self = Local<Object>::Cast(info.This()); in SimpleAccessorGetter() 77 void SimpleAccessorSetter(Local<String> name, Local<Value> value, in SimpleAccessorSetter() 79 Local<Object> self = Local<Object>::Cast(info.This()); in SimpleAccessorSetter() 86 void SymbolAccessorGetter(Local<Name> name, in SymbolAccessorGetter() 89 Local<Symbol> sym = Local<Symbol>::Cast(name); in SymbolAccessorGetter() [all …]
|
D | test-object-observe.cc | 35 inline int32_t ToInt32(v8::Local<v8::Value> value) { in ToInt32() 46 Local<Value> foo = v8_str("foo"); in TEST() 55 Local<Value> observer = CompileRun("observer"); in TEST() 56 Local<Value> obj = CompileRun("obj"); in TEST() 57 Local<Value> notify_fun1 = CompileRun("(function() { obj.foo = 'bar'; })"); in TEST() 58 Local<Value> notify_fun2; in TEST() 69 Local<Value> notify_fun3; in TEST() 268 Local<Value> obj = CompileRun("obj = {};"); in TEST() 269 Local<Value> observer = CompileRun( in TEST() 302 Local<Value> object; [all …]
|
D | test-accessors.cc | 40 using ::v8::Local; 47 static void handle_property(Local<String> name, in handle_property() 53 static void handle_property_2(Local<String> name, in handle_property_2() 71 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST() 73 Local<v8::FunctionTemplate> getter_templ = in THREADED_TEST() 81 Local<Function> fun = fun_templ->GetFunction(env.local()).ToLocalChecked(); in THREADED_TEST() 83 Local<Script> getter; in THREADED_TEST() 84 Local<Script> setter; in THREADED_TEST() 120 static void GetIntValue(Local<String> property, in GetIntValue() 124 static_cast<int*>(v8::Local<v8::External>::Cast(info.Data())->Value()); in GetIntValue() [all …]
|
D | test-api.cc | 65 using ::v8::Local; 97 v8::Local<v8::String> profile_name = v8_str("my_profile1"); in RunWithProfiler() 107 static Local<Value> signature_expected_receiver; 120 v8::Local<v8::Array> result = in IncrementingSignatureCallback() 155 Local<Context> local_env; in THREADED_TEST() 165 v8::Local<v8::Primitive> undef = v8::Undefined(CcTest::isolate()); in THREADED_TEST() 170 Local<Script> script = v8_compile(source); in THREADED_TEST() 179 v8::Local<Context> env = Context::New(CcTest::isolate()); in THREADED_TEST() 192 static void TestSignature(const char* loop_js, Local<Value> receiver, in TestSignature() 224 v8::Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(isolate); in THREADED_TEST() [all …]
|
D | test-decls.cc | 57 Local<Context> context = Local<Context>::New(isolate, context_); in ~DeclarationContext() 65 v8::Local<Value> value = Local<Value>()); 72 virtual v8::Local<Value> Get(Local<Name> key); 73 virtual v8::Local<Value> Set(Local<Name> key, Local<Value> value); 74 virtual v8::Local<Integer> Query(Local<Name> key); 80 virtual void PostInitializeContext(Local<Context> context) {} in PostInitializeContext() 84 virtual Local<ObjectTemplate> GetHolder(Local<FunctionTemplate> function) { in GetHolder() 90 static void HandleGet(Local<Name> key, 92 static void HandleSet(Local<Name> key, Local<Value> value, 94 static void HandleQuery(Local<Name> key, [all …]
|
D | test-func-name-inference.cc | 52 static void CheckFunctionName(v8::Local<v8::Script> script, in CheckFunctionName() 96 static v8::Local<v8::Script> Compile(v8::Isolate* isolate, const char* src) { in Compile() 109 v8::Local<v8::Script> script = Compile(CcTest::isolate(), in TEST() 121 v8::Local<v8::Script> script = in TEST() 134 v8::Local<v8::Script> script = in TEST() 149 v8::Local<v8::Script> script = in TEST() 164 v8::Local<v8::Script> script = in TEST() 181 v8::Local<v8::Script> script = in TEST() 200 v8::Local<v8::Script> script = Compile( in TEST() 219 v8::Local<v8::Script> script = in TEST() [all …]
|
D | test-javascript-arm64.cc | 47 using ::v8::Local; 61 static void ExpectBoolean(Local<Context> context, bool expected, in ExpectBoolean() 62 Local<Value> result) { in ExpectBoolean() 68 static void ExpectInt32(Local<Context> context, int32_t expected, in ExpectInt32() 69 Local<Value> result) { in ExpectInt32() 75 static void ExpectNumber(Local<Context> context, double expected, in ExpectNumber() 76 Local<Value> result) { in ExpectNumber() 82 static void ExpectUndefined(Local<Value> result) { in ExpectUndefined() 92 Local<Value> result = CompileRun("0x271828;"); in TEST() 100 Local<Value> result = CompileRun("var my_global_var = 0x123; my_global_var;"); in TEST() [all …]
|
D | test-debug.cc | 76 v8::Local<v8::ObjectTemplate> global_template = in DebugLocalContext() 77 v8::Local<v8::ObjectTemplate>(), in DebugLocalContext() 78 v8::Local<v8::Value> global_object = v8::Local<v8::Value>()) in DebugLocalContext() 86 v8::Local<v8::ObjectTemplate> global_template = in DebugLocalContext() 87 v8::Local<v8::ObjectTemplate>(), in DebugLocalContext() 88 v8::Local<v8::Value> global_object = v8::Local<v8::Value>()) in DebugLocalContext() 97 inline v8::Local<v8::Context> context() { return context_; } in context() 125 v8::Local<v8::Context> context_; 132 static v8::Local<v8::Function> CompileFunction(v8::Isolate* isolate, in CompileFunction() 136 v8::Local<v8::String> name = v8_str(isolate, function_name); in CompileFunction() [all …]
|
D | test-global-object.cc | 34 using ::v8::Local; 41 v8::Local<v8::String> var_name = v8_str("x"); in TEST() 44 v8::Local<v8::Script> script = v8_compile("\"use strict\"; x = 42;"); in TEST() 45 v8::Local<v8::Object> proto = v8::Object::New(CcTest::isolate()); in TEST() 46 v8::Local<v8::Object> global = in TEST() 62 v8::Local<Context> env2 = Context::New(env1->GetIsolate()); in TEST() 64 Local<Value> token = v8_str("foo"); in TEST() 79 Local<Array> result; in TEST() 80 result = Local<Array>::Cast(CompileRun("Object.keys(global2)")); in TEST() 92 Local<Array>::Cast(CompileRun("Object.getOwnPropertyNames(global2)")); in TEST() [all …]
|
D | test-cpu-profiler.cc | 54 static v8::Local<v8::Function> GetFunction(v8::Local<v8::Context> env, in GetFunction() 56 return v8::Local<v8::Function>::Cast( in GetFunction() 377 v8::Local<v8::String> name1 = v8_str("1"); in TEST() 386 v8::Local<v8::String> name2 = v8_str("2"); in TEST() 392 v8::Local<v8::String> name3 = v8_str("3"); in TEST() 414 v8::Local<v8::String> profile_name = v8_str("test"); in TEST() 421 static v8::CpuProfile* RunProfiler(v8::Local<v8::Context> env, in RunProfiler() 422 v8::Local<v8::Function> function, in RunProfiler() 423 v8::Local<v8::Value> argv[], int argc, in RunProfiler() 427 v8::Local<v8::String> profile_name = v8_str("my_profile"); in RunProfiler() [all …]
|
/external/pdfium/xfa/src/fxjse/src/ |
D | value.h | 25 v8::Local<v8::Value> hValue = in IsUndefined() 26 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsUndefined() 34 v8::Local<v8::Value> hValue = in IsNull() 35 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsNull() 43 v8::Local<v8::Value> hValue = in IsBoolean() 44 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsBoolean() 52 v8::Local<v8::Value> hValue = in IsString() 53 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsString() 61 v8::Local<v8::Value> hValue = in IsNumber() 62 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsNumber() [all …]
|
D | context.cpp | 70 v8::Local<v8::Object> FXJSE_CreateReturnValue(v8::Isolate* pIsolate, in FXJSE_CreateReturnValue() 72 v8::Local<v8::Object> hReturnValue = v8::Object::New(pIsolate); in FXJSE_CreateReturnValue() 74 v8::Local<v8::Value> hException = trycatch.Exception(); in FXJSE_CreateReturnValue() 75 v8::Local<v8::Message> hMessage = trycatch.Message(); in FXJSE_CreateReturnValue() 77 v8::Local<v8::Value> hValue; in FXJSE_CreateReturnValue() 114 v8::Local<v8::Value> hValue = in FXJSE_ReturnValue_GetMessage() 115 v8::Local<v8::Value>::New(pIsolate, lpValue->DirectGetValue()); in FXJSE_ReturnValue_GetMessage() 136 v8::Local<v8::Value> hValue = in FXJSE_ReturnValue_GetLineInfo() 137 v8::Local<v8::Value>::New(pIsolate, lpValue->DirectGetValue()); in FXJSE_ReturnValue_GetLineInfo() 151 v8::Local<v8::ObjectTemplate> hObjectTemplate; in Create() [all …]
|
D | value.cpp | 246 v8::Local<v8::String> hMessage = v8::String::NewFromUtf8( in FXJSE_ThrowMessage() 249 v8::Local<v8::Value> hError; in FXJSE_ThrowMessage() 276 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToObject() 323 v8::Local<v8::Value> hValue = v8::Number::New(m_pIsolate, FXJSE_ftod(fFloat)); in SetFloat() 329 v8::Local<v8::FunctionTemplate> hClass = in SetHostObject() 330 v8::Local<v8::FunctionTemplate>::New(m_pIsolate, lpClass->m_hTemplate); in SetHostObject() 331 v8::Local<v8::Object> hObject = hClass->InstanceTemplate()->NewInstance(); in SetHostObject() 337 v8::Local<v8::Array> hArrayObject = v8::Array::New(m_pIsolate, uValueCount); in SetArray() 341 hArrayObject->Set(i, v8::Local<v8::Value>::New( in SetArray() 350 v8::Local<v8::Value> hDate = v8::Date::New(m_pIsolate, dDouble); in SetDate() [all …]
|
/external/tcpdump/tests/ |
D | ospf3_mp-vv.out | 43 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 45 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 47 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 49 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.6 51 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.5 53 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4 55 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0 57 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1 59 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2 61 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.6 [all …]
|
D | ospf3_nbma-vv.out | 30 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 32 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 34 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 36 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.6 38 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4 40 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3 42 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2 44 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3 46 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4 48 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.6 [all …]
|
D | ospf3_bc-vv.out | 43 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 45 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0 47 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1 49 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2 51 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3 53 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.5 55 Intra-Area Prefix LSA (9), Area Local Scope, LSA-ID 0.0.0.0 60 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 62 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0 64 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1 [all …]
|
D | ospf3_ah-vv.out | 71 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 73 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0 75 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.5 77 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.5 79 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.6 81 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.7 83 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.8 85 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1 87 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2 89 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3 [all …]
|
/external/v8/src/ |
D | api.h | 188 static Local<FunctionTemplate> ToFunctionTemplate(NeanderObject obj); 189 static Local<ObjectTemplate> ToObjectTemplate(NeanderObject obj); 191 static inline Local<Context> ToLocal( 193 static inline Local<Value> ToLocal( 195 static inline Local<Name> ToLocal( 197 static inline Local<String> ToLocal( 199 static inline Local<Symbol> ToLocal( 201 static inline Local<RegExp> ToLocal( 203 static inline Local<Object> ToLocal( 205 static inline Local<Object> ToLocal( [all …]
|