/external/v8/src/ |
D | contexts.cc | 37 JSBuiltinsObject* Context::builtins() { in builtins() 48 Context* Context::global_context() { in global_context() 59 Context* current = this; in global_context() 62 current = Context::cast(closure->context()); in global_context() 68 JSObject* Context::global_proxy() { in global_proxy() 72 void Context::set_global_proxy(JSObject* object) { in set_global_proxy() 77 Handle<Object> Context::Lookup(Handle<String> name, ContextLookupFlags flags, in Lookup() 79 Handle<Context> context(this); in Lookup() 191 context = Handle<Context>(Context::cast(context->closure()->context())); in Lookup() 193 context = Handle<Context>(context->previous()); in Lookup() [all …]
|
D | full-codegen.h | 248 void Apply(Expression::Context context, Register reg); 251 void Apply(Expression::Context context, Slot* slot); 253 void Apply(Expression::Context context, Literal* lit); 254 void ApplyTOS(Expression::Context context); 259 void DropAndApply(int count, Expression::Context context, Register reg); 263 void Apply(Expression::Context context, 270 void DoTest(Expression::Context context); 281 Expression::Context saved_context = context_; in VisitForEffect() 288 Expression::Context saved_context = context_; in VisitForValue() 298 Expression::Context saved_context = context_; in VisitForControl() [all …]
|
D | contexts.h | 92 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ 161 class Context: public FixedArray { 164 static Context* cast(Object* context) { in cast() 166 return reinterpret_cast<Context*>(context); in cast() 228 Context* fcontext() { return Context::cast(get(FCONTEXT_INDEX)); } in fcontext() 229 void set_fcontext(Context* context) { set(FCONTEXT_INDEX, context); } in set_fcontext() 231 Context* previous() { in previous() 234 return reinterpret_cast<Context*>(result); in previous() 236 void set_previous(Context* context) { set(PREVIOUS_INDEX, context); } in set_previous() 257 Context* global_context();
|
D | top.h | 83 Context* context_; 148 static Context* context() { return thread_local_.context_; } in context() 149 static void set_context(Context* context) { in set_context() 152 static Context** context_address() { return &thread_local_.context_; } in context_address() 335 static Handle<Context> global_context(); 339 static Handle<Context> GetCallingGlobalContext(); 413 Handle<Context> context() { return context_; } in context() 422 Handle<Context> context_; 424 Handle<Context> dummy_; 444 Handle<Context> context_;
|
/external/webkit/WebCore/bindings/v8/ |
D | V8Proxy.cpp | 83 v8::Persistent<v8::Context> V8Proxy::m_utilityContext; 264 v8::Local<v8::Context> context = v8::Context::GetCurrent(); in handleOutOfMemory() 329 v8::Local<v8::Context> context = v8::Local<v8::Context>::New(isolatedContext->context()); in evaluateInIsolatedWorld() 330 v8::Context::Scope context_scope(context); in evaluateInIsolatedWorld() 338 bool V8Proxy::setInjectedScriptContextDebugId(v8::Handle<v8::Context> targetContext) in setInjectedScriptContextDebugId() 341 v8::Context::Scope contextScope(targetContext); in setInjectedScriptContextDebugId() 342 v8::Handle<v8::Context> context = windowShell()->context(); in setInjectedScriptContextDebugId() 359 ASSERT(v8::Context::InContext()); in evaluate() 541 DOMWindow* V8Proxy::retrieveWindow(v8::Handle<v8::Context> context) in retrieveWindow() 550 Frame* V8Proxy::retrieveFrame(v8::Handle<v8::Context> context) in retrieveFrame() [all …]
|
D | NPV8Object.cpp | 157 v8::Handle<v8::Context> context = toV8Context(npp, npObject); in _NPN_Invoke() 161 v8::Context::Scope scope(context); in _NPN_Invoke() 217 v8::Handle<v8::Context> context = toV8Context(npp, npObject); in _NPN_InvokeDefault() 221 v8::Context::Scope scope(context); in _NPN_InvokeDefault() 262 v8::Handle<v8::Context> context = toV8Context(npp, npObject); in _NPN_EvaluateHelper() 269 v8::Context::Scope scope(context); in _NPN_EvaluateHelper() 294 v8::Handle<v8::Context> context = toV8Context(npp, npObject); in _NPN_GetProperty() 298 v8::Context::Scope scope(context); in _NPN_GetProperty() 325 v8::Handle<v8::Context> context = toV8Context(npp, npObject); in _NPN_SetProperty() 329 v8::Context::Scope scope(context); in _NPN_SetProperty() [all …]
|
D | V8DOMWindowShell.h | 51 v8::Handle<v8::Context> context() const { return m_context; } in context() 62 v8::Persistent<v8::Context> createNewContext(v8::Handle<v8::Object> global, int extensionGroup); 63 void setContext(v8::Handle<v8::Context>); 64 static bool installDOMWindow(v8::Handle<v8::Context> context, DOMWindow*); 74 static v8::Handle<v8::Value> getHiddenObjectPrototype(v8::Handle<v8::Context>); 76 static void installHiddenObjectPrototype(v8::Handle<v8::Context>); 115 v8::Persistent<v8::Context> m_context;
|
D | V8IsolatedContext.h | 87 if (!v8::Context::InContext()) in getEntered() 89 …return reinterpret_cast<V8IsolatedContext*>(getGlobalObject(v8::Context::GetEntered())->GetPointer… in getEntered() 92 v8::Handle<v8::Context> context() { return m_context->get(); } in context() 93 PassRefPtr<SharedPersistent<v8::Context> > sharedContext() { return m_context; } in sharedContext() 98 static v8::Handle<v8::Object> getGlobalObject(v8::Handle<v8::Context> context) in getGlobalObject() 109 RefPtr<SharedPersistent<v8::Context> > m_context;
|
D | ScheduledAction.cpp | 47 ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> func, in… in ScheduledAction() 110 v8::Handle<v8::Context> v8Context = v8::Local<v8::Context>::New(m_context.get()); in execute() 114 v8::Context::Scope scope(v8Context); in execute() 138 v8::Handle<v8::Context> v8Context = v8::Local<v8::Context>::New(m_context.get()); in execute() 140 v8::Context::Scope scope(v8Context); in execute()
|
D | V8Proxy.h | 231 static DOMWindow* retrieveWindow(v8::Handle<v8::Context>); 241 static Frame* retrieveFrame(v8::Handle<v8::Context>); 278 static v8::Local<v8::Context> context(Frame*); 279 static v8::Local<v8::Context> mainWorldContext(Frame*); 280 static v8::Local<v8::Context> currentContext(); 321 v8::Local<v8::Context> context(); 322 v8::Local<v8::Context> mainWorldContext(); 328 static int contextDebugId(v8::Handle<v8::Context>); 356 bool setInjectedScriptContextDebugId(v8::Handle<v8::Context> targetContext); 374 static v8::Local<v8::Context> utilityContext() in utilityContext() [all …]
|
D | ScriptController.cpp | 163 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(activeFrame); in processingUserGesture() 170 v8::Context::Scope scope(v8Context); in processingUserGesture() 229 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(m_proxy->frame()); in evaluate() 233 v8::Context::Scope scope(v8Context); in evaluate() 264 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(frame); in bindToWindowObject() 268 v8::Context::Scope scope(v8Context); in bindToWindowObject() 280 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(m_proxy->frame()); in collectGarbage() 284 v8::Context::Scope scope(v8Context); in collectGarbage() 389 v8::Handle<v8::Context> v8Context = V8Proxy::mainWorldContext(frame); in createScriptObject() 393 v8::Context::Scope scope(v8Context); in createScriptObject() [all …]
|
D | ScriptState.cpp | 45 ScriptState::ScriptState(v8::Handle<v8::Context> context) in ScriptState() 46 : m_context(v8::Persistent<v8::Context>::New(context)) in ScriptState() 57 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context) in forContext() 59 v8::Context::Scope contextScope(context); in forContext() 79 v8::Local<v8::Context> context = v8::Context::GetCurrent(); in current()
|
D | V8DOMWindowShell.cpp | 195 v8::Context::Scope contextScope(m_context); in clearForNavigation() 286 v8::Local<v8::Context> v8Context = v8::Local<v8::Context>::New(m_context); in initContextIfNeeded() 287 v8::Context::Scope contextScope(v8Context); in initContextIfNeeded() 331 v8::Persistent<v8::Context> V8DOMWindowShell::createNewContext(v8::Handle<v8::Object> global, int e… in createNewContext() 333 v8::Persistent<v8::Context> result; in createNewContext() 366 result = v8::Context::New(&extensionConfiguration, globalTemplate, global); in createNewContext() 371 void V8DOMWindowShell::setContext(v8::Handle<v8::Context> context) in setContext() 378 m_context = v8::Persistent<v8::Context>::New(context); in setContext() 381 bool V8DOMWindowShell::installDOMWindow(v8::Handle<v8::Context> context, DOMWindow* window) in installDOMWindow() 433 v8::Context::Scope contextScope(m_context); in updateDocumentWrapperCache() [all …]
|
D | ScriptState.h | 54 v8::Local<v8::Context> context() const in context() 56 return v8::Local<v8::Context>::New(m_context); in context() 59 static ScriptState* forContext(v8::Local<v8::Context>); 68 explicit ScriptState(v8::Handle<v8::Context>); 73 v8::Persistent<v8::Context> m_context;
|
D | WorkerContextExecutionProxy.cpp | 106 if (!v8::Context::InContext()) in retrieve() 108 v8::Handle<v8::Context> context = v8::Context::GetCurrent(); in retrieve() 145 m_context = v8::Context::New(0, globalTemplate); in initContextIfNeeded() 148 v8::Local<v8::Context> context = v8::Local<v8::Context>::New(m_context); in initContextIfNeeded() 149 v8::Context::Scope scope(context); in initContextIfNeeded() 193 v8::Context::Scope scope(m_context); in evaluate()
|
/external/chromium/net/proxy/ |
D | proxy_resolver_v8.cc | 102 class ProxyResolverV8::Context { class in net::ProxyResolverV8 104 explicit Context(ProxyResolverJSBindings* js_bindings) in Context() function in net::ProxyResolverV8::Context 109 ~Context() { in ~Context() 120 v8::Context::Scope function_scope(v8_context_); in ResolveProxy() 188 v8_context_ = v8::Context::New(NULL, global_template); in InitV8() 190 v8::Context::Scope ctx(v8_context_); in InitV8() 274 Context* context = in AlertCallback() 275 static_cast<Context*>(v8::External::Cast(*args.Data())->Value()); in AlertCallback() 293 Context* context = in MyIpAddressCallback() 294 static_cast<Context*>(v8::External::Cast(*args.Data())->Value()); in MyIpAddressCallback() [all …]
|
/external/v8/test/cctest/ |
D | test-thread-termination.cc | 119 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in TEST() 120 v8::Context::Scope context_scope(context); in TEST() 137 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in TEST() 138 v8::Context::Scope context_scope(context); in TEST() 166 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in TEST() 167 v8::Context::Scope context_scope(context); in TEST() 188 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in Run() 189 v8::Context::Scope context_scope(context); in Run() 279 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in TEST() 280 v8::Context::Scope context_scope(context); in TEST()
|
/external/v8/src/mips/ |
D | full-codegen-mips.cc | 51 void FullCodeGenerator::Apply(Expression::Context context, Register reg) { in Apply() 56 void FullCodeGenerator::Apply(Expression::Context context, Slot* slot) { in Apply() 60 void FullCodeGenerator::Apply(Expression::Context context, Literal* lit) { in Apply() 65 void FullCodeGenerator::ApplyTOS(Expression::Context context) { in ApplyTOS() 71 Expression::Context context, in DropAndApply() 77 void FullCodeGenerator::Apply(Expression::Context context, in Apply() 84 void FullCodeGenerator::DoTest(Expression::Context context) { in DoTest() 129 Expression::Context context) { in EmitVariableLoad() 160 Expression::Context context) { in EmitBinaryOp() 166 Expression::Context context) { in EmitVariableAssignment()
|
/external/icu4c/samples/layout/ |
D | cgnomelayout.c | 21 struct Context struct 28 typedef struct Context Context; argument 80 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in openOK() 195 static gint eventConfigure(GtkWidget *widget, GdkEventConfigure *event, Context *context) in eventConfigure() 209 static gint eventExpose(GtkWidget *widget, GdkEvent *event, Context *context) in eventExpose() 226 Context *context = NEW_ARRAY(Context, 1); in newSample() 281 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in closeSample()
|
D | clayout.c | 27 struct Context struct 34 typedef struct Context Context; argument 51 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() 121 Context *context; in WndProc() 145 context = NEW_ARRAY(Context, 1); in WndProc() 162 context = (Context *) GetWindowLongPtr(hwnd, 0); in WndProc() 219 context = (Context *) GetWindowLongPtr(hwnd, 0); in WndProc() 244 context = (Context *) GetWindowLongPtr(hwnd, 0); in WndProc() 302 context = (Context *) GetWindowLongPtr(hwnd, 0); in WndProc() 339 context = (Context *) GetWindowLongPtr(hwnd, 0); in WndProc()
|
D | gnomelayout.cpp | 33 struct Context struct 88 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in openOK() 203 gint eventConfigure(GtkWidget */*widget*/, GdkEventConfigure *event, Context *context) in eventConfigure() 217 gint eventExpose(GtkWidget *widget, GdkEvent */*event*/, Context *context) in eventExpose() 232 Context *context = new Context(); in newSample() 282 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in closeSample()
|
/external/libnfc-nxp/src/ |
D | phFriNfc_SmtCrdFmt.c | 68 CompletionRoutine(NdefSmtCrdFmt->CompletionRoutine->Context, Status); in phFriNfc_SmtCrdFmt_HCrHandler() 103 NdefSmtCrdFmt->CompletionRoutine[index].Context = NULL; in phFriNfc_NdefSmtCrd_Reset() 130 NdefSmtCrdFmt->SmtCrdFmtCompletionInfo.Context = NULL; in phFriNfc_NdefSmtCrd_Reset() 188 NdefSmtCrdFmt->CompletionRoutine[FunctionID].Context = CompletionRoutineContext; in phFriNfc_NdefSmtCrd_SetCR() 206 && (NdefSmtCrdFmt->CompletionRoutine->Context != NULL)) in phFriNfc_NdefSmtCrd_ConvertToReadOnly() 262 (NdefSmtCrdFmt->CompletionRoutine->Context != NULL)) in phFriNfc_NdefSmtCrd_Format() 423 void phFriNfc_NdefSmtCrd_Process(void *Context, in phFriNfc_NdefSmtCrd_Process() argument 426 if ( Context != NULL ) in phFriNfc_NdefSmtCrd_Process() 428 phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt = (phFriNfc_sNdefSmtCrdFmt_t *)Context; in phFriNfc_NdefSmtCrd_Process() 515 CompletionRoutine(NdefSmtCrdFmt->CompletionRoutine->Context, Status); in phFriNfc_NdefSmtCrd_Process()
|
D | phFriNfc_OvrHal.c | 341 OvrHal->TemporaryCompletionInfo.Context, in phFriNfc_OvrHal_CB_Transceive() 357 OvrHal->TemporarySndCompletionInfo.Context, in phFriNfc_OvrHal_CB_Send() 381 OvrHal->TemporaryRcvCompletionInfo.Context, in phFriNfc_OvrHal_CB_Receive() 408 OvrHal->TemporaryCompletionInfo.Context, status); in phFriNfc_OvrHal_CB_ConnectDisconnect() 424 OvrHal->TemporaryRcvCompletionInfo.Context = CompletionInfo->Context; in phFriNfc_OvrHal_SetComplInfo() 430 OvrHal->TemporarySndCompletionInfo.Context = CompletionInfo->Context; in phFriNfc_OvrHal_SetComplInfo() 436 OvrHal->TemporaryCompletionInfo.Context = CompletionInfo->Context; in phFriNfc_OvrHal_SetComplInfo()
|
/external/v8/samples/ |
D | lineprocessor.cc | 103 bool RunCppCycle(v8::Handle<v8::Script> script, v8::Local<v8::Context> context, 106 v8::Persistent<v8::Context> debug_message_context; 121 v8::Context::Scope scope(debug_message_context); in DispatchDebugMessages() 199 v8::Handle<v8::Context> context = v8::Context::New(NULL, global); in RunMain() 200 debug_message_context = v8::Persistent<v8::Context>::New(context); in RunMain() 204 v8::Context::Scope context_scope(context); in RunMain() 245 bool res = RunCppCycle(script, v8::Context::GetCurrent(), in RunMain() 255 bool RunCppCycle(v8::Handle<v8::Script> script, v8::Local<v8::Context> context, in RunCppCycle() 261 v8::Context::GetCurrent()->Global()->Get(fun_name); in RunCppCycle() 289 result = process_fun->Call(v8::Context::GetCurrent()->Global(), in RunCppCycle()
|
/external/bluetooth/glib/glib/ |
D | gi18n.h | 31 #define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1) argument 32 #define NC_(Context, String) (String) argument
|