Searched defs:context (Results 151 - 175 of 3832) sorted by last modified time

1234567891011>>

/external/sepolicy/tools/
H A Dcheckfc.c12 char *context = *contextp; local
13 if (sepol_check_context(context) < 0) {
22 fprintf(stderr, "Parses a context file and checks for syntax errors.\n");
26 fprintf(stderr, " -p : context file represents a property_context file.\n");
59 fprintf(stderr, "Expected sepolicy file and context file as arguments.\n");
63 // remaining args are sepolicy file and context file
84 fprintf(stderr, "Error loading context file from %s\n", contextFile);
88 fprintf(stderr, "Invalid context file found in %s\n", contextFile);
/external/skia/bench/
H A DHairlinePathBench.cpp182 GrContext* context = canvas->getGrContext(); variable
184 if (NULL != context) {
186 context->getTestTarget(&tt);
H A Dbenchmain.cpp148 GrContext* context) {
160 surface = SkSurface::NewRenderTarget(context, info, sampleCount);
355 GrContext* context = gContextFactory.get(config.contextType); local
356 if (NULL == context) {
363 if (config.sampleCount > context->getMaxSampleCount()){
415 GrContext* context = gContextFactory.get(config.contextType); local
416 if (NULL == context) {
422 context->getResourceCacheLimits(&count, &bytes);
429 context->setResourceCacheLimits(count, bytes);
457 GrContext* context local
146 make_surface(SkColorType colorType, const SkIPoint& size, Benchmark::Backend backend, int sampleCount, GrContext* context) argument
[all...]
/external/skia/experimental/DrawingBoard/
H A DSampleDrawingClient.cpp78 SkSocket::DataType type, void* context) {
79 DrawingClientView* view = (DrawingClientView*)context;
77 readData(int cid, const void* data, size_t size, SkSocket::DataType type, void* context) argument
H A DSampleDrawingServer.cpp52 SkSocket::DataType type, void* context) {
53 DrawingServerView* view = (DrawingServerView*)context;
51 readData(int cid, const void* data, size_t size, SkSocket::DataType type, void* context) argument
/external/skia/experimental/Intersection/
H A DTSearch.h71 static T* QSort_Partition(S& context, T* left, T* right, T* pivot, argument
78 if (lessThan(context, *left, pivotValue)) {
89 void QSort(S& context, T* left, T* right, argument
96 pivot = QSort_Partition(context, left, right, pivot, lessThan);
97 QSort(context, left, pivot - 1, lessThan);
98 QSort(context, pivot + 1, right, lessThan);
/external/skia/experimental/Networking/
H A DSampleNetPipeReader.cpp46 SkSocket::DataType type, void* context) {
47 NetPipeReaderView* view = (NetPipeReaderView*)context;
45 readData(int cid, const void* data, size_t size, SkSocket::DataType type, void* context) argument
H A DSkSockets.cpp83 void*), void* context) {
84 if (!fConnected || !fReady || NULL == onRead || NULL == context
154 onRead(i, NULL, 0, h.type, context);
162 onRead(i, data->data(), data->size(), h.type, context);
82 readPacket(void (*onRead)(int, const void*, size_t, DataType, void*), void* context) argument
/external/skia/experimental/PdfViewer/
H A DSkPdfReporter.cpp38 const char* context,
42 printf("%s: %s\n", getSeverityName(sev), context);
48 const char* context,
54 SkPdfReport(sev, issue, context, obj, pdfContext);
58 const char* context,
62 printf("%s: %s\n", getSeverityName(sev), context);
37 SkPdfReport(SkPdfIssueSeverity sev, SkPdfIssue issue, const char* context, const SkPdfNativeObject* obj, SkPdfContext* pdfContext) argument
46 SkPdfReportIf(bool report, SkPdfIssueSeverity sev, SkPdfIssue issue, const char* context, const SkPdfNativeObject* obj, SkPdfContext* pdfContext) argument
57 SkPdfReportUnexpectedType(SkPdfIssueSeverity sev, const char* context, const SkPdfNativeObject* obj, int anyOfTypes, SkPdfContext* pdfContext) argument
/external/skia/experimental/SkV8Example/
H A DGlobal.cpp138 // Create a local context from our global context.
139 Local<Context> context = gGlobal->getContext(); local
141 // Enter the context so all the remaining operations take place there.
142 Context::Scope contextScope(context);
156 Handle<Value> result = onTimeout->Call(context->Global(), argc, NULL);
197 // Create a new context.
198 Handle<Context> context = this->createRootContext(); local
200 // Make the context persistent.
201 fContext.Reset(fIsolate, context);
216 Handle<Context> context = this->getContext(); local
[all...]
H A DJsContext.cpp55 // Store the context pointer in the JavaScript wrapper.
72 // Create a local context from our global context.
73 Local<Context> context = fGlobal->getContext(); local
75 // Enter the context so all the remaining operations take place there.
76 Context::Scope contextScope(context);
90 Handle<Value> result = onDraw->Call(context->Global(), argc, argv);
109 // Fetch the onDraw function from the global context.
115 // Create a local context from our global context
116 Local<Context> context = fGlobal->getContext(); local
[all...]
H A DPath2D.cpp37 Handle<Context> context = gGlobal->getContext(); local
40 Context::Scope contextScope(context);
56 context->Global()->Set(String::NewFromUtf8(
H A DSkV8Example.cpp46 SkV8ExampleWindow::SkV8ExampleWindow(void* hwnd, JsContext* context) argument
48 , fJsContext(context)
/external/skia/gm/
H A Dbeziereffects.cpp67 GrContext* context = rt->getContext(); variable
68 if (NULL == context) {
99 context->getTestTarget(&tt);
168 context->getTestTarget(&tt);
178 tt.target()->setIndexSourceToBuffer(context->getQuadIndexBuffer());
225 GrContext* context = rt->getContext(); variable
226 if (NULL == context) {
257 context->getTestTarget(&tt);
323 context->getTestTarget(&tt);
333 tt.target()->setIndexSourceToBuffer(context
416 GrContext* context = rt->getContext(); variable
[all...]
H A Dconvexpolyeffect.cpp110 GrContext* context = rt->getContext(); variable
111 if (NULL == context) {
124 context->getTestTarget(&tt);
155 tt.target()->setIndexSourceToBuffer(context->getQuadIndexBuffer());
182 context->getTestTarget(&tt);
208 tt.target()->setIndexSourceToBuffer(context->getQuadIndexBuffer());
H A Ddiscard.cpp40 GrContext* context = canvas->getGrContext(); variable
41 if (NULL == context) {
49 SkSurface* surface = SkSurface::NewRenderTarget(context, info);
H A Drrects.cpp70 GrContext* context = rt ? rt->getContext() : NULL; variable
71 if (kEffect_Type == fType && NULL == context) {
110 context->getTestTarget(&tt);
H A Dtexturedomaineffect.cpp78 GrContext* context = rt->getContext(); variable
79 if (NULL == context) {
84 context->getTestTarget(&tt);
92 GrTexture* texture = GrLockAndRefCachedBitmapTexture(context, fBmp, NULL);
H A Dxfermodes3.cpp128 GrContext* context = rt->getContext(); local
134 SkAutoTUnref<GrSurface> surface(context->createUncachedTexture(desc, NULL, 0));
/external/skia/include/core/
H A DSkBitmap.h320 * optional ReleaseProc and context. When the pixels are no longer
322 * pixels and context as parameters.
326 void (*releaseProc)(void* addr, void* context), void* context);
330 void (*releaseProc)(void* addr, void* context),
331 void* context) {
332 return this->installPixels(info, pixels, rowBytes, NULL, releaseProc, context);
329 installPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, void (*releaseProc)(void* addr, void* context), void* context) argument
/external/skia/include/gpu/
H A DGrContext.h53 * Creates a GrContext for a backend context.
61 * within the underlying 3D API's context/device/whatever. This call informs
62 * the context that the state was modified and it should resend. Shouldn't
65 * context, either GL or D3D (possible in future).
73 typedef void (*PFCleanUpFunc)(const GrContext* context, void* info);
77 * This gives classes a chance to free resources held on a per context basis.
89 * if you have lost the associated GPU context, and thus internal texture,
103 * the graphics context is destroyed first.
164 * Frees GPU created by the context. Can be called to reduce GPU memory
355 * context
726 AutoRenderTarget(GrContext* context, GrRenderTarget* target) argument
732 AutoRenderTarget(GrContext* context) argument
771 setPreConcat(GrContext* context, const SkMatrix& preConcat, GrPaint* paint = NULL) argument
785 setIdentity(GrContext* context, GrPaint* paint = NULL) argument
805 set(GrContext* context, const SkMatrix& newMatrix, GrPaint* paint = NULL) argument
864 AutoClip(GrContext* context, InitialClip initialState) argument
873 AutoClip(GrContext* context, const SkRect& newClipRect) argument
1067 GrAutoScratchTexture(GrContext* context, const GrTextureDesc& desc, GrContext::ScratchTexMatch match = GrContext::kApprox_ScratchTexMatch) argument
1118 set(GrContext* context, const GrTextureDesc& desc, GrContext::ScratchTexMatch match = GrContext::kApprox_ScratchTexMatch) argument
[all...]
H A DGrEffectUnitTest.h52 GrContext* context,
57 return factory->fCreateProc(random, context, caps, dummyTextures);
51 CreateStage(SkRandom* random, GrContext* context, const GrDrawTargetCaps& caps, GrTexture* dummyTextures[]) argument
H A DSkGpuDevice.h70 GrContext* context() const { return fContext; } function in class:SkGpuDevice
/external/regex-re2/re2/
H A Dbitstate.cc38 bool Search(const StringPiece& text, const StringPiece& context,
51 StringPiece context_; // greater context of text being searched
292 // Search text (within context) for prog_.
293 bool BitState::Search(const StringPiece& text, const StringPiece& context, argument
298 context_ = context;
350 const StringPiece& context,
371 if (!b.Search(text, context, anchored, longest, match, nmatch))
349 SearchBitState(const StringPiece& text, const StringPiece& context, Anchor anchor, MatchKind kind, StringPiece* match, int nmatch) argument
H A Ddfa.cc63 // as a subsection of context for the purposes of interpreting flags
75 bool Search(const StringPiece& text, const StringPiece& context,
189 kStartBeginText = 0, // text at beginning of context
252 SearchParams(const StringPiece& text, const StringPiece& context, argument
254 : text(text), context(context),
266 StringPiece context; member in struct:re2::DFA::SearchParams
572 // Textbooks also typically do not consider context-aware empty string operators
1469 if (params->text.end() == params->context.end())
1474 if (params->text.begin() == params->context
1613 const StringPiece& context = params->context; local
1747 Search(const StringPiece& text, const StringPiece& context, bool anchored, bool want_earliest_match, bool run_forward, bool* failed, const char** epp, vector<int>* matches) argument
1874 StringPiece context = const_context; local
[all...]

Completed in 1369 milliseconds

1234567891011>>