Searched refs:context (Results 151 - 175 of 2231) sorted by relevance

1234567891011>>

/external/v8/test/benchmarks/
H A Dtestcfg.py43 def __init__(self, path, context, mode):
44 super(BenchmarkTestCase, self).__init__(context, split(path), mode)
62 result = self.context.GetVmCommand(self, self.mode)
73 os.chdir(self.context.buildspace)
84 def __init__(self, context, root):
85 super(BenchmarkTestConfiguration, self).__init__(context, root)
88 path = self.context.workspace
90 test = BenchmarkTestCase(path, self.context, mode)
99 def GetConfiguration(context, root):
100 return BenchmarkTestConfiguration(context, roo
[all...]
/external/webkit/Source/WebKit2/UIProcess/
H A DWebHistoryClient.cpp37 void WebHistoryClient::didNavigateWithNavigationData(WebContext* context, WebPageProxy* page, const WebNavigationDataStore& navigationDataStore, WebFrameProxy* frame) argument
43 m_client.didNavigateWithNavigationData(toAPI(context), toAPI(page), toAPI(navigationData.get()), toAPI(frame), m_client.clientInfo);
46 void WebHistoryClient::didPerformClientRedirect(WebContext* context, WebPageProxy* page, const String& sourceURL, const String& destinationURL, WebFrameProxy* frame) argument
51 m_client.didPerformClientRedirect(toAPI(context), toAPI(page), toURLRef(sourceURL.impl()), toURLRef(destinationURL.impl()), toAPI(frame), m_client.clientInfo);
54 void WebHistoryClient::didPerformServerRedirect(WebContext* context, WebPageProxy* page, const String& sourceURL, const String& destinationURL, WebFrameProxy* frame) argument
59 m_client.didPerformServerRedirect(toAPI(context), toAPI(page), toURLRef(sourceURL.impl()), toURLRef(destinationURL.impl()), toAPI(frame), m_client.clientInfo);
62 void WebHistoryClient::didUpdateHistoryTitle(WebContext* context, WebPageProxy* page, const String& title, const String& url, WebFrameProxy* frame) argument
67 m_client.didUpdateHistoryTitle(toAPI(context), toAPI(page), toAPI(title.impl()), toURLRef(url.impl()), toAPI(frame), m_client.clientInfo);
70 void WebHistoryClient::populateVisitedLinks(WebContext* context) argument
75 m_client.populateVisitedLinks(toAPI(context), m_clien
[all...]
/external/webkit/Tools/DumpRenderTree/
H A DGCController.cpp45 static JSValueRef collectCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument
49 return JSValueMakeUndefined(context);
52 static JSValueRef collectOnAlternateThreadCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument
56 waitUntilDone = JSValueToBoolean(context, arguments[0]);
61 return JSValueMakeUndefined(context);
64 static JSValueRef getJSObjectCountCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument
69 return JSValueMakeNumber(context, jsObjectCount);
74 void GCController::makeWindowObject(JSContextRef context, JSObjectRef windowObject, JSValueRef* exception) argument
79 JSValueRef gcControllerObject = JSObjectMake(context, classRef, this);
82 JSObjectSetProperty(context, windowObjec
[all...]
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp92 wxGCDC* context; member in class:WebCore::GraphicsContextPlatformPrivate
94 wxWindowDC* context; member in class:WebCore::GraphicsContextPlatformPrivate
102 context(0),
114 void GraphicsContext::platformInit(PlatformGraphicsContext* context) argument
117 setPaintingDisabled(!context);
119 if (context) {
120 // Make sure the context starts in sync with our state.
125 m_data->context = (wxGCDC*)context;
127 m_data->context
[all...]
/external/webkit/Source/WebCore/platform/gtk/
H A DRenderThemeGtk3.cpp87 GRefPtr<GtkStyleContext> context = adoptGRef(gtk_style_context_new()); local
88 gtk_style_context_set_path(context.get(), path);
91 result.first->second = context;
92 return context.get();
126 static void adjustRectForFocus(GtkStyleContext* context, IntRect& rect) argument
129 gtk_style_context_get_style(context,
137 GtkStyleContext* context = 0; local
143 context = getStyleContext(part == CheckboxPart ? GTK_TYPE_CHECK_BUTTON : GTK_TYPE_RADIO_BUTTON);
146 gtk_style_context_get_style(context, "indicator-spacing", &indicatorSpacing, NULL);
152 context
179 setToggleSize(GtkStyleContext* context, RenderStyle* style) argument
200 GtkStyleContext* context = getStyleContext(widgetType); local
258 renderButton(RenderTheme* theme, GtkStyleContext* context, RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect) argument
326 GtkStyleContext* context = getStyleContext(GTK_TYPE_BUTTON); local
559 GtkStyleContext* context = getStyleContext(GTK_TYPE_ENTRY); local
601 GtkStyleContext* context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE); local
636 GtkStyleContext* context = getStyleContext(part == SliderThumbHorizontalPart ? GTK_TYPE_HSCALE : GTK_TYPE_VSCALE); local
726 spinButtonArrowSize(GtkStyleContext* context) argument
737 GtkStyleContext* context = getStyleContext(GTK_TYPE_SPIN_BUTTON); local
747 paintSpinArrowButton(RenderTheme* theme, GtkStyleContext* context, RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect, GtkArrowType arrowType) argument
815 GtkStyleContext* context = getStyleContext(GTK_TYPE_SPIN_BUTTON); local
839 GtkStyleContext* context = getStyleContext(widgetType); local
[all...]
/external/icu4c/samples/layout/
H A Dclayout.c51 void InitParagraph(HWND hwnd, Context *context) argument
55 if (context->paragraph != NULL) {
58 if (context->width > 0 && context->height > 0) {
59 pf_breakLines(context->paragraph, context->width, context->height);
65 si.nMax = pf_getLineCount(context->paragraph) - 1;
66 si.nPage = context->height / pf_getLineHeight(context
121 Context *context; local
[all...]
H A Dlayout.cpp50 void InitParagraph(HWND hwnd, Context *context) argument
54 if (context->paragraph != NULL) {
57 if (context->width > 0 && context->height > 0) {
58 context->paragraph->breakLines(context->width, context->height);
64 si.nMax = context->paragraph->getLineCount() - 1;
65 si.nPage = context->height / context
120 Context *context; local
[all...]
/external/qemu/
H A Dcpu-exec.c303 /* prepare setjmp context for exception handling */
855 # define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->ss.eip))
856 # define TRAP_sig(context) ((context)->uc_mcontext->es.trapno)
857 # define ERROR_sig(context) ((context)->uc_mcontext->es.err)
858 # define MASK_sig(context) ((context)->uc_sigmask)
862 # define EIP_sig(context) ((contex
[all...]
/external/chromium/chrome/browser/autofill/
H A Dautofill_xml_parser.cc18 buzz::XmlParseContext* context, const char* text, int len) {
21 void AutofillXmlParser::EndElement(buzz::XmlParseContext* context, argument
25 void AutofillXmlParser::Error(buzz::XmlParseContext* context, argument
41 void AutofillQueryXmlParser::StartElement(buzz::XmlParseContext* context, argument
44 buzz::QName qname = context->ResolveQName(name, false);
55 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true);
72 context->RaiseError(XML_ERROR_ABORTED);
79 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true);
83 int value = GetIntValue(context, attrs[1]);
95 int AutofillQueryXmlParser::GetIntValue(buzz::XmlParseContext* context, argument
17 CharacterData( buzz::XmlParseContext* context, const char* text, int len) argument
115 StartElement(buzz::XmlParseContext* context, const char* name, const char** attrs) argument
135 GetDoubleValue(buzz::XmlParseContext* context, const char* attribute) argument
[all...]
H A Dautofill_xml_parser.h29 // |context| is a parsing context used to resolve element/attribute names.
31 virtual void EndElement(buzz::XmlParseContext* context, const char* name);
34 // |context| is a parsing context used to resolve element/attribute names.
38 virtual void CharacterData(buzz::XmlParseContext* context, const char* text,
42 // |context| is a parsing context used to resolve names.
44 virtual void Error(buzz::XmlParseContext* context, XML_Error error_code);
73 // |context| i
[all...]
/external/webkit/Source/WebCore/webaudio/
H A DAudioNode.cpp38 AudioNode::AudioNode(AudioContext* context, double sampleRate) argument
41 , m_context(context)
114 AudioContext::AutoLocker locker(context());
132 // Let context know that a connection has been made.
133 context()->incrementConnectionCount();
141 AudioContext::AutoLocker locker(context());
148 ASSERT(context()->isAudioThread());
157 double currentTime = context()->currentTime();
167 ASSERT(context()->isAudioThread());
204 // The actually work for deref happens completely within the audio context'
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncNamespace.java39 * @param xctxt The current execution context.
47 int context = getArg0AsNode(xctxt);
50 if(context != DTM.NULL)
52 DTM dtm = xctxt.getDTM(context);
53 int t = dtm.getNodeType(context);
56 s = dtm.getNamespaceURI(context);
64 s = dtm.getNodeName(context);
68 s = dtm.getNamespaceURI(context);
/external/v8/src/
H A Dcontexts.cc59 // Fast case: the global object for this context has been set. In
61 // context.
67 // have to search the context chain to find the global context.
72 current = Context::cast(closure->context());
93 Handle<Context> context(this, isolate);
108 PrintF(" - looking in context %p", reinterpret_cast<void*>(*context));
109 if (context->IsGlobalContext()) PrintF(" (global context)");
256 Object* context = GetHeap()->global_contexts_list(); local
[all...]
H A Disolate-inl.h40 if (isolate->context() != NULL) {
41 context_ = Handle<Context>(isolate->context());
43 dummy_ = Handle<Context>(isolate->context());
/external/webkit/Source/WebCore/storage/
H A DSQLCallbackWrapper.h44 // - by unwrapping and then dereferencing normally - on context thread only
61 ScriptExecutionContext* context; local
74 context = m_scriptExecutionContext.release().leakRef();
77 context->postTask(createCallbackTask(&safeRelease, callback));
92 static void safeRelease(ScriptExecutionContext* context, T* callback) argument
94 ASSERT(callback && context && context->isContextThread());
96 context->deref();
/external/skia/src/gpu/
H A DGrRenderTarget.cpp19 // go through context so that all necessary flushing occurs
20 GrContext* context = this->getContext(); local
21 if (NULL == context) {
24 return context->readRenderTargetPixels(this,
33 // go through context so that all necessary flushing occurs
34 GrContext* context = this->getContext(); local
35 if (NULL == context) {
38 context->writeRenderTargetPixels(this,
45 // go through context so that all necessary flushing occurs
46 GrContext* context local
[all...]
/external/webkit/Source/WebCore/bridge/jni/
H A Djni_jsobject.mm102 static void dispatchToJavaScriptThread(JSObjectCallContext *context)
119 context->originatingLoop = currentRunLoop;
120 CFRunLoopSourceContext sourceContext = {0, context, NULL, NULL, NULL, NULL, NULL, NULL, NULL, completedJavaScriptAccess};
177 jvalue JavaJSObject::invoke(JSObjectCallContext *context)
184 // Send the call context to the thread that is allowed to
186 dispatchToJavaScriptThread(context);
187 result = context->result;
190 jlong nativeHandle = context->nativeHandle;
195 if (context->type == CreateNative) {
201 LOG_ERROR("Attempt to access JavaScript from destroyed applet, type %d.", context
[all...]
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp77 static void setCGFillColor(CGContextRef context, const Color& color, ColorSpace colorSpace) argument
79 CGContextSetFillColorWithColor(context, cachedCGColor(color, colorSpace));
82 static void setCGStrokeColor(CGContextRef context, const Color& color, ColorSpace colorSpace) argument
84 CGContextSetStrokeColorWithColor(context, cachedCGColor(color, colorSpace));
120 // Make sure the context starts in sync with our state.
141 // save of the secondary context (in GraphicsContextPlatformPrivateCG.h).
149 // restore of the secondary context (in GraphicsContextPlatformPrivateCG.h).
163 CGContextRef context = platformContext();
165 CGContextFillRect(context, rect);
171 setCGFillColor(context, strokeColo
238 CGContextRef context = platformContext(); local
540 fillPathWithFillRule(CGContextRef context, WindRule fillRule) argument
881 CGContextRef context = platformContext(); local
925 CGContextRef context = platformContext(); local
1357 CGContextRef context = platformContext(); local
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-template.rb16 example "creating an empty context" do
17 context = Template::Context.new
18 context.instance_variables.should be_empty
21 example "creating a context with a variable map" do
22 context = Template::Context.new(
26 vars = context.instance_variables.map { | i | i.to_s }
30 context.instance_variable_get( '@a' ).should == 1
31 context.instance_variable_get( '@b' ).should == 2
35 context = Template::Context.new(
39 context[
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
H A DFunctionPattern.java92 * @param xctxt XPath runtime context.
102 public XObject execute(XPathContext xctxt, int context) argument
106 DTMIterator nl = m_functionExpr.asIterator(xctxt, context);
115 score = (n == context) ? SCORE_OTHER : SCORE_NONE;
119 context = n;
135 * @param xctxt XPath runtime context.
145 public XObject execute(XPathContext xctxt, int context, argument
150 DTMIterator nl = m_functionExpr.asIterator(xctxt, context);
159 score = (n == context) ? SCORE_OTHER : SCORE_NONE;
163 context
[all...]
/external/chromium/chrome/browser/sync/engine/
H A Dsyncer_command.cc24 syncable::ScopedDirLookup dir(session->context()->directory_manager(),
25 session->context()->account_name());
35 session->context()->NotifyListeners(event);
/external/dbus/dbus/
H A Ddbus-md5.h35 * A context used to store the state of the MD5 algorithm
44 void _dbus_md5_init (DBusMD5Context *context);
45 void _dbus_md5_update (DBusMD5Context *context,
47 dbus_bool_t _dbus_md5_final (DBusMD5Context *context,
H A Ddbus-sha.h45 void _dbus_sha_init (DBusSHAContext *context);
46 void _dbus_sha_update (DBusSHAContext *context,
48 dbus_bool_t _dbus_sha_final (DBusSHAContext *context,
/external/v8/test/cctest/
H A Dtest-random.cc51 Handle<Context> context,
55 Handle<JSObject> global(context->global());
56 Handle<ByteArray> seeds(context->random_seed());
66 V8::FillHeapNumberWithRandom(*value, *context);
79 Handle<Context> context(Isolate::Current()->context());
80 Handle<JSObject> global(context->global());
81 Handle<ByteArray> seeds(context->random_seed());
88 context->global()->GetProperty(String::cast(symbol));
97 TestSeeds(fun, context,
50 TestSeeds(Handle<JSFunction> fun, Handle<Context> context, uint32_t state0, uint32_t state1) argument
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DMainThread.h43 void callOnMainThread(MainThreadFunction*, void* context);
44 void callOnMainThreadAndWait(MainThreadFunction*, void* context);
45 void cancelCallOnMainThread(MainThreadFunction*, void* context);

Completed in 511 milliseconds

1234567891011>>