Searched refs:context (Results 126 - 150 of 2231) sorted by relevance

1234567891011>>

/external/flac/libFLAC/include/private/
H A Dmd5.h39 void FLAC__MD5Init(FLAC__MD5Context *context);
40 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context);
/external/webkit/Source/JavaScriptCore/wtf/chromium/
H A DMainThreadChromium.cpp52 void callOnMainThread(MainThreadFunction* function, void* context) argument
54 ChromiumThreading::callOnMainThread(function, context);
/external/webkit/Source/WebCore/page/
H A DPositionCallback.h38 PositionCallback(ScriptExecutionContext* context) : ActiveDOMObject(context, this) { } argument
H A DPositionErrorCallback.h38 PositionErrorCallback(ScriptExecutionContext* context) : ActiveDOMObject(context, this) { } argument
H A DDOMTimer.cpp65 DOMTimer::DOMTimer(ScriptExecutionContext* context, PassOwnPtr<ScheduledAction> action, int interval, bool singleShot) argument
66 : SuspendableTimer(context)
75 double intervalMilliseconds = intervalClampedToMinimum(interval, context->minimumTimerInterval());
88 int DOMTimer::install(ScriptExecutionContext* context, PassOwnPtr<ScheduledAction> action, int timeout, bool singleShot) argument
90 // DOMTimer constructor links the new timer into a list of ActiveDOMObjects held by the 'context'.
91 // The timer is deleted when context is deleted (DOMTimer::contextDestroyed) or explicitly via DOMTimer::removeById(),
93 DOMTimer* timer = new DOMTimer(context, action, timeout, singleShot);
95 InspectorInstrumentation::didInstallTimer(context, timer->m_timeoutId, timeout, singleShot);
100 void DOMTimer::removeById(ScriptExecutionContext* context, int timeoutId) argument
108 InspectorInstrumentation::didRemoveTimer(context, timeoutI
115 ScriptExecutionContext* context = scriptExecutionContext(); local
[all...]
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DSolidFillShader.cpp42 SolidFillShader::SolidFillShader(GraphicsContext3D* context, unsigned program) argument
43 : Shader(context, program)
45 m_matrixLocation = context->getUniformLocation(program, "matrix");
46 m_colorLocation = context->getUniformLocation(program, "color");
47 m_positionLocation = context->getAttribLocation(program, "position");
50 PassOwnPtr<SolidFillShader> SolidFillShader::create(GraphicsContext3D* context) argument
52 unsigned program = loadProgram(context,
57 return new SolidFillShader(context, program);
H A DSolidFillShader.h40 static PassOwnPtr<SolidFillShader> create(GraphicsContext3D* context);
44 SolidFillShader(GraphicsContext3D* context, unsigned program);
H A DTexShader.h40 static PassOwnPtr<TexShader> create(GraphicsContext3D* context);
44 TexShader(GraphicsContext3D* context, unsigned program);
H A DLoopBlinnShader.cpp34 LoopBlinnShader::LoopBlinnShader(GraphicsContext3D* context, unsigned program) argument
35 : Shader(context, program)
37 m_worldViewProjectionLocation = context->getUniformLocation(program, "worldViewProjection");
38 m_positionLocation = context->getAttribLocation(program, "position");
39 m_klmLocation = context->getAttribLocation(program, "klm");
H A DShader.cpp81 unsigned Shader::loadShader(GraphicsContext3D* context, unsigned type, const String& shaderSource) argument
83 unsigned shader = context->createShader(type);
87 context->shaderSource(shader, shaderSource);
88 context->compileShader(shader);
90 context->getShaderiv(shader, GraphicsContext3D::COMPILE_STATUS, &compileStatus);
92 String infoLog = context->getShaderInfoLog(shader);
94 context->deleteShader(shader);
101 unsigned Shader::loadProgram(GraphicsContext3D* context, const String& vertexShaderSource, const String& fragmentShaderSource) argument
103 unsigned vertexShader = loadShader(context, GraphicsContext3D::VERTEX_SHADER, vertexShaderSource);
106 unsigned fragmentShader = loadShader(context, GraphicsContext3
124 Shader(GraphicsContext3D* context, unsigned program) argument
[all...]
/external/webkit/Source/WebCore/webaudio/
H A DDelayNode.cpp33 DelayNode::DelayNode(AudioContext* context, double sampleRate) argument
34 : AudioBasicProcessorNode(context, sampleRate)
/external/webkit/Source/WebKit/chromium/src/
H A DStorageInfoChromium.cpp61 void StorageInfo::queryUsageAndQuota(ScriptExecutionContext* context, int storageType, PassRefPtr<StorageInfoUsageCallback> successCallback, PassRefPtr<StorageInfoErrorCallback> errorCallback) argument
63 ASSERT(context);
69 if (context->isDocument()) {
70 Document* document = static_cast<Document*>(context);
79 void StorageInfo::requestQuota(ScriptExecutionContext* context, int storageType, unsigned long long newQuotaInBytes, PassRefPtr<StorageInfoQuotaCallback> successCallback, PassRefPtr<StorageInfoErrorCallback> errorCallback) argument
81 ASSERT(context);
87 if (context->isDocument()) {
88 Document* document = static_cast<Document*>(context);
/external/webkit/Source/WebKit2/Platform/cg/
H A DCGUtilities.cpp33 void paintImage(CGContextRef context, CGImageRef image, CGPoint destination, CGRect source) argument
35 CGContextSaveGState(context);
37 CGContextClipToRect(context, CGRectMake(destination.x, destination.y, source.size.width, source.size.height));
38 CGContextScaleCTM(context, 1, -1);
46 CGContextDrawImage(context, CGRectMake(destX, destY, imageWidth, imageHeight), image);
47 CGContextRestoreGState(context);
50 void paintBitmapContext(CGContextRef context, CGContextRef bitmapContext, CGPoint destination, CGRect source) argument
53 paintImage(context, image.get(), destination, source);
/external/webkit/Source/WebKit2/Shared/API/c/
H A DWKSerializedScriptValue.h38 WK_EXPORT WKSerializedScriptValueRef WKSerializedScriptValueCreate(JSContextRef context, JSValueRef value, JSValueRef* exception);
39 WK_EXPORT JSValueRef WKSerializedScriptValueDeserialize(WKSerializedScriptValueRef scriptValue, JSContextRef context, JSValueRef* exception);
/external/webkit/Tools/TestWebKitAPI/
H A DJavaScriptTest.cpp48 JavaScriptCallbackContext* context = static_cast<JavaScriptCallbackContext*>(ctx); local
59 context->didFinish = true;
60 context->didMatchExpectedString = JSStringIsEqualToUTF8CString(scriptString, context->expectedString);
75 JavaScriptCallbackContext context(expectedResult);
76 WKPageRunJavaScriptInMainFrame(page, wk(script).get(), &context, javaScriptCallback);
77 Util::run(&context.didFinish);
78 return context.didMatchExpectedString;
/external/webkit/Source/JavaScriptCore/API/tests/
H A Dminidom.c37 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
46 JSGlobalContextRef context = JSGlobalContextCreateInGroup(NULL, NULL); local
47 JSObjectRef globalObject = JSContextGetGlobalObject(context);
50 JSObjectSetProperty(context, globalObject, printIString, JSObjectMakeFunctionWithCallback(context, printIString, print), kJSPropertyAttributeNone, NULL);
54 JSObjectSetProperty(context, globalObject, node, JSObjectMakeConstructor(context, JSNode_class(context), JSNode_construct), kJSPropertyAttributeNone, NULL);
60 JSValueRef result = JSEvaluateScript(context, script, NULL, NULL, 1, &exception);
65 JSStringRef exceptionIString = JSValueToStringCopy(context, exceptio
82 print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DMainThread.cpp45 void* context; member in struct:WTF::FunctionWithContext
48 FunctionWithContext(MainThreadFunction* function = 0, void* context = 0, ThreadCondition* syncFlag = 0)
50 , context(context)
57 && context == o.context
155 invocation.function(invocation.context);
170 void callOnMainThread(MainThreadFunction* function, void* context) argument
177 functionQueue().append(FunctionWithContext(function, context));
183 void callOnMainThreadAndWait(MainThreadFunction* function, void* context) argument
201 cancelCallOnMainThread(MainThreadFunction* function, void* context) argument
[all...]
/external/webkit/Source/WebCore/bindings/v8/
H A DV8WorkerContextEventListener.cpp45 static WorkerContextExecutionProxy* workerProxy(ScriptExecutionContext* context) argument
47 ASSERT(context->isWorkerContext());
48 WorkerContext* workerContext = static_cast<WorkerContext*>(context);
57 void V8WorkerContextEventListener::handleEvent(ScriptExecutionContext* context, Event* event) argument
59 if (!context)
68 WorkerContextExecutionProxy* proxy = workerProxy(context);
72 v8::Handle<v8::Context> v8Context = proxy->context();
76 // Enter the V8 context in which to perform the event handling.
82 invokeEventHandler(context, event, jsEvent);
85 v8::Local<v8::Value> V8WorkerContextEventListener::callListenerFunction(ScriptExecutionContext* context, v argument
101 getReceiverObject(ScriptExecutionContext* context, Event* event) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGradientCG.cpp106 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) argument
108 context->clip(rect);
109 paint(context);
112 void Gradient::paint(GraphicsContext* context) argument
114 CGContextRef ctx = context->platformContext();
118 void Gradient::paint(CGContextRef context) argument
121 CGContextDrawShading(context, platformGradient());
127 CGContextSaveGState(context);
131 CGContextTranslateCTM(context, m_p0.x(), m_p0.y());
132 CGContextScaleCTM(context,
[all...]
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLBlock.cpp82 if (info.context->paintingDisabled() || info.phase != PaintPhaseForeground)
88 info.context->save();
90 info.context->setStrokeThickness(1.0f);
91 info.context->setStrokeStyle(SolidStroke);
92 info.context->setStrokeColor(Color(0, 0, 255), ColorSpaceSRGB);
94 info.context->drawLine(IntPoint(tx, ty), IntPoint(tx + offsetWidth(), ty));
95 info.context->drawLine(IntPoint(tx + offsetWidth(), ty), IntPoint(tx + offsetWidth(), ty + offsetHeight()));
96 info.context->drawLine(IntPoint(tx, ty + offsetHeight()), IntPoint(tx + offsetWidth(), ty + offsetHeight()));
97 info.context->drawLine(IntPoint(tx, ty), IntPoint(tx, ty + offsetHeight()));
101 info.context
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncLocalPart.java39 * @param xctxt The current execution context.
47 int context = getArg0AsNode(xctxt);
48 if(DTM.NULL == context)
50 DTM dtm = xctxt.getDTM(context);
51 String s = (context != DTM.NULL) ? dtm.getLocalName(context) : "";
/external/libsepol/src/
H A Dmls.h27 #include <sepol/policydb/context.h>
40 const context_struct_t * context);
44 const context_struct_t * context,
50 char **scontext, context_struct_t * context);
56 policydb_t * newp, context_struct_t * context);
/external/webkit/Source/WebCore/page/qt/
H A DFrameQt.cpp53 GraphicsContext* context = buffer->context();
54 context->translate(-paintingRect.x(), -paintingRect.y());
55 context->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY()));
59 m_view->paintContents(context, paintingRect);
/external/webkit/Source/WebCore/platform/
H A DLanguage.cpp41 void addLanguageChangeObserver(void* context, LanguageChangeObserverFunction customObserver) argument
43 observerMap().set(context, customObserver);
46 void removeLanguageChangeObserver(void* context) argument
48 ASSERT(observerMap().contains(context));
49 observerMap().remove(context);
/external/webkit/Source/WebKit2/Shared/qt/
H A DShareableBitmapQt.cpp45 GraphicsContext* context = new GraphicsContext(new QPainter(image)); local
46 context->takeOwnershipOfPlatformContext();
47 return context;
50 void ShareableBitmap::paint(GraphicsContext& context, const IntPoint& dstPoint, const IntRect& srcRect) argument
53 QPainter* painter = context.platformContext();

Completed in 317 milliseconds

1234567891011>>