/external/webkit/Source/WebCore/bindings/v8/ |
H A D | ScriptState.cpp | 49 ScriptState::ScriptState(v8::Handle<v8::Context> context) argument 50 : m_context(v8::Persistent<v8::Context>::New(context)) 61 ScriptState* ScriptState::forContext(v8::Local<v8::Context> context) argument 63 v8::Context::Scope contextScope(context); 65 v8::Local<v8::Object> global = context->Global(); 67 // an object whose lifetime consides with that of the inspected context. 75 ScriptState* state = new ScriptState(context); 83 v8::Local<v8::Context> context = v8::Context::GetCurrent(); local 84 if (context.IsEmpty()) { 88 return ScriptState::forContext(context); 126 v8::Local<v8::Context> context = proxy->context(); local [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
H A D | V8XMLHttpRequestConstructor.cpp | 52 ScriptExecutionContext* context = getScriptExecutionContext(); 53 if (!context) 54 return throwError("XMLHttpRequest constructor's associated context is not available", V8Proxy::ReferenceError); 55 RefPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context);
|
H A D | V8CustomApplicationInstalledCallback.cpp | 51 v8::Handle<v8::Context> context = V8Proxy::context(m_frame.get()); local 52 if (context.IsEmpty()) 55 v8::Context::Scope scope(context);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | ShaderChromium.cpp | 45 bool VertexShaderPosTex::init(GraphicsContext3D* context, unsigned program) argument 47 m_matrixLocation = context->getUniformLocation(program, "matrix"); 73 bool VertexShaderPosTexYUVStretch::init(GraphicsContext3D* context, unsigned program) argument 75 m_matrixLocation = context->getUniformLocation(program, "matrix"); 76 m_yWidthScaleFactorLocation = context->getUniformLocation(program, "y_widthScaleFactor"); 77 m_uvWidthScaleFactorLocation = context->getUniformLocation(program, "uv_widthScaleFactor"); 106 bool VertexShaderPos::init(GraphicsContext3D* context, unsigned program) argument 108 m_matrixLocation = context->getUniformLocation(program, "matrix"); 130 bool VertexShaderPosTexTransform::init(GraphicsContext3D* context, unsigned program) argument 132 m_matrixLocation = context 159 init(GraphicsContext3D* context, unsigned program) argument 219 init(GraphicsContext3D* context, unsigned program) argument 255 init(GraphicsContext3D* context, unsigned program) argument 298 init(GraphicsContext3D* context, unsigned program) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | GraphicsContextCGWin.cpp | 56 CGContextRef context = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelData.size().height(), 8, local 60 CGContextTranslateCTM(context, 0, pixelData.size().height()); 61 CGContextScaleCTM(context, 1, -1); 66 return context; 82 // Make sure the context starts in sync with our state. 152 CGContextRef context = platformContext(); local 153 CGContextSaveGState(context); 155 CGContextBeginPath(context); 156 CGContextAddPath(context, focusRingPath); 158 wkDrawFocusRing(context, colorRe 166 setCGStrokeColor(CGContextRef context, const Color& color) argument 208 CGContextRef context = platformContext(); local [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | RenderSVGResourceGradient.cpp | 77 static inline bool createMaskAndSwapContextForTextGradient(GraphicsContext*& context, argument 97 GraphicsContext* maskImageContext = maskImage->context(); 104 savedContext = context; 105 context = maskImageContext; 110 static inline AffineTransform clipToTextMask(GraphicsContext* context, argument 128 SVGImageBufferTools::clipToImageBuffer(context, absoluteTransform, clampedAbsoluteTargetRect, imageBuffer); 141 bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) argument 145 ASSERT(context); 201 context->save(); 205 if (!createMaskAndSwapContextForTextGradient(context, m_savedContex 232 postApplyResource(RenderObject* object, GraphicsContext*& context, unsigned short resourceMode, const Path* path) argument [all...] |
/external/webkit/Source/WebKit2/UIProcess/API/C/ |
H A D | WKPluginSiteDataManager.h | 38 WK_EXPORT void WKPluginSiteDataManagerGetSitesWithData(WKPluginSiteDataManagerRef manager, void* context, WKPluginSiteDataManagerGetSitesWithDataFunction function); 48 WK_EXPORT void WKPluginSiteDataManagerClearSiteData(WKPluginSiteDataManagerRef manager, WKArrayRef sites, WKClearSiteDataFlags flags, uint64_t maxAgeInSeconds, void* context, WKPluginSiteDataManagerClearSiteDataFunction function); 49 WK_EXPORT void WKPluginSiteDataManagerClearAllSiteData(WKPluginSiteDataManagerRef manager, void* context, WKPluginSiteDataManagerClearSiteDataFunction function);
|
/external/webkit/Source/JavaScriptCore/parser/ |
H A D | JSParser.cpp | 222 template <class TreeBuilder> ALWAYS_INLINE TreeConstDeclList parseConstDeclarationList(TreeBuilder& context); 652 ASTBuilder context(m_globalData, m_lexer); 656 SourceElements* sourceElements = parseSourceElements<CheckForStrictMode>(context); 661 CodeFeatures features = context.features(); 671 m_globalData->parser->didFinishParsing(sourceElements, context.varDeclarations(), context.funcDeclarations(), features, 672 m_lastLine, context.numConstants(), capturedVariables); 681 template <JSParser::SourceElementsMode mode, class TreeBuilder> TreeSourceElements JSParser::parseSourceElements(TreeBuilder& context) argument 683 TreeSourceElements sourceElements = context.createSourceElements(); 688 while (TreeStatement statement = parseStatement(context, directiv 711 parseVarDeclaration(TreeBuilder& context) argument 727 parseConstDeclaration(TreeBuilder& context) argument 739 parseDoWhileStatement(TreeBuilder& context) argument 760 parseWhileStatement(TreeBuilder& context) argument 778 parseVarDeclarationList(TreeBuilder& context, int& declarations, const Identifier*& lastIdent, TreeExpression& lastInitializer, int& identStart, int& initStart, int& initEnd) argument 814 parseConstDeclarationList(TreeBuilder& context) argument 839 parseForStatement(TreeBuilder& context) argument 948 parseBreakStatement(TreeBuilder& context) argument 971 parseContinueStatement(TreeBuilder& context) argument 996 parseReturnStatement(TreeBuilder& context) argument 1021 parseThrowStatement(TreeBuilder& context) argument 1039 parseWithStatement(TreeBuilder& context) argument 1061 parseSwitchStatement(TreeBuilder& context) argument 1088 parseSwitchClauses(TreeBuilder& context) argument 1115 parseSwitchDefaultClause(TreeBuilder& context) argument 1126 parseTryStatement(TreeBuilder& context) argument 1171 parseDebuggerStatement(TreeBuilder& context) argument 1183 parseBlockStatement(TreeBuilder& context) argument 1199 parseStatement(TreeBuilder& context, const Identifier*& directive) argument 1262 parseFormalParameters(TreeBuilder& context) argument 1280 parseFunctionBody(TreeBuilder& context) argument 1291 parseFunctionInfo(TreeBuilder& context, const Identifier*& name, TreeFormalParameterList& parameters, TreeFunctionBody& body, int& openBracePos, int& closeBracePos, int& bodyStartLine) argument 1362 parseFunctionDeclaration(TreeBuilder& context) argument 1391 parseExpressionOrLabelStatement(TreeBuilder& context) argument 1453 parseExpressionStatement(TreeBuilder& context) argument 1462 parseIfStatement(TreeBuilder& context) argument 1539 parseExpression(TreeBuilder& context) argument 1562 parseAssignmentExpression(TreeBuilder& context) argument 1623 parseConditionalExpression(TreeBuilder& context) argument 1652 parseBinaryExpression(TreeBuilder& context) argument 1697 parseProperty(TreeBuilder& context) argument 1745 parseObjectLiteral(TreeBuilder& context) argument 1784 parseStrictObjectLiteral(TreeBuilder& context) argument 1831 parseArrayLiteral(TreeBuilder& context) argument 1873 parsePrimaryExpression(TreeBuilder& context) argument 1950 parseArguments(TreeBuilder& context) argument 1972 parseMemberExpression(TreeBuilder& context) argument 2053 parseUnaryExpression(TreeBuilder& context) argument [all...] |
/external/webkit/Source/WebCore/websockets/ |
H A D | WorkerThreadableWebSocketChannel.cpp | 52 WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(WorkerContext* context, WebSocketChannelClient* client, const String& taskMode, const KURL& url, const String& protocol) argument 53 : m_workerContext(context) 111 WorkerThreadableWebSocketChannel::Peer::Peer(RefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy, ScriptExecutionContext* context, const String& taskMode, const KURL& url, const String& protocol) argument 114 , m_mainWebSocketChannel(WebSocketChannel::create(context, this, url, protocol)) 135 static void workerContextDidSend(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, bool sent) argument 137 ASSERT_UNUSED(context, context->isWorkerContext()); 150 static void workerContextDidGetBufferedAmount(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long bufferedAmount) argument 152 ASSERT_UNUSED(context, context 199 workerContextDidConnect(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper) argument 211 workerContextDidReceiveMessage(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, const String& message) argument 223 workerContextDidClose(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long unhandledBufferedAmount) argument 236 setWebSocketChannel(ScriptExecutionContext* context, Bridge* thisPtr, Peer* peer, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper) argument 243 mainThreadCreateWebSocketChannel(ScriptExecutionContext* context, Bridge* thisPtr, RefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, const String& taskMode, const KURL& url, const String& protocol) argument 271 mainThreadConnect(ScriptExecutionContext* context, Peer* peer) argument 287 mainThreadSend(ScriptExecutionContext* context, Peer* peer, const String& message) argument 309 mainThreadBufferedAmount(ScriptExecutionContext* context, Peer* peer) argument 333 mainThreadClose(ScriptExecutionContext* context, Peer* peer) argument 348 mainThreadDestroy(ScriptExecutionContext* context, Peer* peer) argument 368 mainThreadSuspend(ScriptExecutionContext* context, Peer* peer) argument 383 mainThreadResume(ScriptExecutionContext* context, Peer* peer) argument [all...] |
/external/webkit/Source/WebCore/svg/ |
H A D | SVGLength.cpp | 155 float SVGLength::value(const SVGElement* context) const 158 return value(context, ec); 161 float SVGLength::value(const SVGElement* context, ExceptionCode& ec) const argument 170 return convertValueFromPercentageToUserUnits(m_valueInSpecifiedUnits / 100, context, ec); 172 return convertValueFromEMSToUserUnits(m_valueInSpecifiedUnits, context, ec); 174 return convertValueFromEXSToUserUnits(m_valueInSpecifiedUnits, context, ec); 193 void SVGLength::setValue(float value, const SVGElement* context, ExceptionCode& ec) argument 203 float result = convertValueFromUserUnitsToPercentage(value, context, ec); 209 float result = convertValueFromUserUnitsToEMS(value, context, ec); 215 float result = convertValueFromUserUnitsToEXS(value, context, e 291 convertToSpecifiedUnits(unsigned short type, const SVGElement* context, ExceptionCode& ec) argument 312 determineViewport(const SVGElement* context, float& width, float& height) const argument 358 convertValueFromUserUnitsToPercentage(float value, const SVGElement* context, ExceptionCode& ec) const argument 380 convertValueFromPercentageToUserUnits(float value, const SVGElement* context, ExceptionCode& ec) const argument 402 convertValueFromUserUnitsToEMS(float value, const SVGElement* context, ExceptionCode& ec) const argument 419 convertValueFromEMSToUserUnits(float value, const SVGElement* context, ExceptionCode& ec) const argument 430 convertValueFromUserUnitsToEXS(float value, const SVGElement* context, ExceptionCode& ec) const argument 450 convertValueFromEXSToUserUnits(float value, const SVGElement* context, ExceptionCode& ec) const argument [all...] |
/external/icu4c/samples/layout/ |
H A D | cgnomelayout.c | 80 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local 92 if (context->paragraph != NULL) { 93 pf_close(context->paragraph); 96 context->paragraph = newPara; 100 pf_breakLines(context->paragraph, context->width, context->height); 195 static gint eventConfigure(GtkWidget *widget, GdkEventConfigure *event, Context *context) argument 197 if (context 209 eventExpose(GtkWidget *widget, GdkEvent *event, Context *context) argument 226 Context *context = NEW_ARRAY(Context, 1); local 240 gtk_object_set_data(GTK_OBJECT(app), "context", context); local 265 context); local 270 context); local 281 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); local [all...] |
/external/webkit/Source/WebCore/inspector/ |
H A D | DOMNodeHighlighter.cpp | 60 void drawOutlinedQuad(GraphicsContext& context, const FloatQuad& quad, const Color& fillColor) argument 70 context.save(); 71 context.clipOut(quadPath); 73 context.setStrokeThickness(outlineThickness); 74 context.setStrokeColor(outlineColor, ColorSpaceDeviceRGB); 75 context.strokePath(quadPath); 77 context.restore(); 81 context.setFillColor(fillColor, ColorSpaceDeviceRGB); 82 context.fillPath(quadPath); 85 void drawOutlinedQuadWithClip(GraphicsContext& context, cons argument 94 drawHighlightForBox(GraphicsContext& context, const FloatQuad& contentQuad, const FloatQuad& paddingQuad, const FloatQuad& borderQuad, const FloatQuad& marginQuad) argument 111 drawHighlightForLineBoxesOrSVGRenderer(GraphicsContext& context, const Vector<FloatQuad>& lineBoxQuads) argument 125 drawElementTitle(GraphicsContext& context, Node* node, const IntRect& boundingBox, const IntRect& anchorBox, const FloatRect& overlayRect, WebCore::Settings* settings) argument 215 DrawNodeHighlight(GraphicsContext& context, Node* node) argument [all...] |
/external/webkit/Source/WebCore/loader/ |
H A D | WorkerThreadableLoader.cpp | 105 void WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader(ScriptExecutionContext* context, MainThreadBridge* thisPtr, PassOwnPtr<CrossThreadResourceRequestData> requestData, ThreadableLoaderOptions options, const String& outgoingReferrer) argument 108 ASSERT(context->isDocument()); 109 Document* document = static_cast<Document*>(context); 119 void WorkerThreadableLoader::MainThreadBridge::mainThreadDestroy(ScriptExecutionContext* context, MainThreadBridge* thisPtr) argument 122 ASSERT_UNUSED(context, context->isDocument()); 128 // Ensure that no more client callbacks are done in the worker context's thread. 135 void WorkerThreadableLoader::MainThreadBridge::mainThreadCancel(ScriptExecutionContext* context, MainThreadBridge* thisPtr) argument 138 ASSERT_UNUSED(context, context 165 workerContextDidSendData(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) argument 176 workerContextDidReceiveResponse(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<CrossThreadResourceResponseData> responseData) argument 188 workerContextDidReceiveData(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData) argument 201 workerContextDidReceiveCachedMetadata(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData) argument 214 workerContextDidFinishLoading(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, unsigned long identifier, double finishTime) argument 225 workerContextDidFail(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, const ResourceError& error) argument 236 workerContextDidFailRedirectCheck(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper) argument 247 workerContextDidReceiveAuthenticationCancellation(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<CrossThreadResourceResponseData> responseData) argument [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
H A D | RewriteCardinalityException.cs | 71 protected RewriteCardinalityException(SerializationInfo info, StreamingContext context) argument 72 : base(info, context) { 79 public override void GetObjectData(SerializationInfo info, StreamingContext context) { argument 83 base.GetObjectData(info, context);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
H A D | RewriteCardinalityException.cs | 78 protected RewriteCardinalityException(SerializationInfo info, StreamingContext context) argument 79 : base(info, context) 87 public override void GetObjectData(SerializationInfo info, StreamingContext context) argument 92 base.GetObjectData(info, context);
|
/external/apache-http/src/org/apache/http/ |
H A D | HttpRequestInterceptor.java | 47 * <!-- empty lines above to avoid 'svn diff' context problems --> 61 * @param context the context for the request 66 void process(HttpRequest request, HttpContext context) argument
|
H A D | HttpResponseInterceptor.java | 46 * <!-- empty lines above to avoid 'svn diff' context problems --> 60 * @param context the context for the request 65 void process(HttpResponse response, HttpContext context) argument
|
/external/apache-http/src/org/apache/http/client/ |
H A D | HttpRequestRetryHandler.java | 59 * @param context the context for the request execution 64 boolean retryRequest(IOException exception, int executionCount, HttpContext context); argument
|
/external/apache-http/src/org/apache/http/protocol/ |
H A D | HttpRequestExecutor.java | 106 final HttpContext context) 114 if (context == null) { 115 throw new IllegalArgumentException("HTTP context may not be null"); 119 HttpResponse response = doSendRequest(request, conn, context); 121 response = doReceiveResponse(request, conn, context); 141 * @param context the context for sending the request 149 final HttpContext context) 157 if (context == null) { 158 throw new IllegalArgumentException("HTTP context ma 103 execute( final HttpRequest request, final HttpClientConnection conn, final HttpContext context) argument 146 preProcess( final HttpRequest request, final HttpProcessor processor, final HttpContext context) argument 183 doSendRequest( final HttpRequest request, final HttpClientConnection conn, final HttpContext context) argument 259 doReceiveResponse( final HttpRequest request, final HttpClientConnection conn, final HttpContext context) argument 305 postProcess( final HttpResponse response, final HttpProcessor processor, final HttpContext context) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncQname.java | 39 * @param xctxt The current execution context. 47 int context = getArg0AsNode(xctxt); 50 if (DTM.NULL != context) 52 DTM dtm = xctxt.getDTM(context); 53 String qname = dtm.getNodeNameX(context);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
H A D | UiPlugin.java | 40 public void start(BundleContext context) throws Exception { argument 41 super.start(context); 47 public void stop(BundleContext context) throws Exception { argument 48 super.stop(context);
|
/external/icu4c/test/intltest/ |
H A D | ucdtest.h | 11 U_CFUNC void U_CALLCONV unicodeDataLineFn(void *context, 16 derivedPropsLineFn(void *context, 43 friend void U_CALLCONV unicodeDataLineFn(void *context, 48 derivedPropsLineFn(void *context,
|
/external/libsepol/src/ |
H A D | context.h | 6 #include <sepol/policydb/context.h> 10 /* Create a context structure from high level representation */ 18 const context_struct_t * context, 21 /* Create a context structure from string representation */ 27 /* Check if the provided context is valid for this policy */ 29 const context_struct_t * context); 31 /* Extract the context as string */ 34 const context_struct_t * context,
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | TouchFilter.java | 26 public boolean supportsMultitouch(Context context) { argument
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | PlatformPathCairo.h | 35 cairo_t* context() { return m_cr.get(); } function in class:WebCore::CairoPath
|