/external/sepolicy/tools/ |
H A D | checkfc.c | 12 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 D | HairlinePathBench.cpp | 182 GrContext* context = canvas->getGrContext(); variable 184 if (NULL != context) { 186 context->getTestTarget(&tt);
|
H A D | benchmain.cpp | 148 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 D | SampleDrawingClient.cpp | 78 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 D | SampleDrawingServer.cpp | 52 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 D | TSearch.h | 71 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 D | SampleNetPipeReader.cpp | 46 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 D | SkSockets.cpp | 83 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 D | SkPdfReporter.cpp | 38 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 D | Global.cpp | 138 // 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 D | JsContext.cpp | 55 // 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 D | Path2D.cpp | 37 Handle<Context> context = gGlobal->getContext(); local 40 Context::Scope contextScope(context); 56 context->Global()->Set(String::NewFromUtf8(
|
H A D | SkV8Example.cpp | 46 SkV8ExampleWindow::SkV8ExampleWindow(void* hwnd, JsContext* context) argument 48 , fJsContext(context)
|
/external/skia/gm/ |
H A D | beziereffects.cpp | 67 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 D | convexpolyeffect.cpp | 110 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 D | discard.cpp | 40 GrContext* context = canvas->getGrContext(); variable 41 if (NULL == context) { 49 SkSurface* surface = SkSurface::NewRenderTarget(context, info);
|
H A D | rrects.cpp | 70 GrContext* context = rt ? rt->getContext() : NULL; variable 71 if (kEffect_Type == fType && NULL == context) { 110 context->getTestTarget(&tt);
|
H A D | texturedomaineffect.cpp | 78 GrContext* context = rt->getContext(); variable 79 if (NULL == context) { 84 context->getTestTarget(&tt); 92 GrTexture* texture = GrLockAndRefCachedBitmapTexture(context, fBmp, NULL);
|
H A D | xfermodes3.cpp | 128 GrContext* context = rt->getContext(); local 134 SkAutoTUnref<GrSurface> surface(context->createUncachedTexture(desc, NULL, 0));
|
/external/skia/include/core/ |
H A D | SkBitmap.h | 320 * 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 D | GrContext.h | 53 * 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 D | GrEffectUnitTest.h | 52 GrContext* context, 57 return factory->fCreateProc(random, context, caps, dummyTextures); 51 CreateStage(SkRandom* random, GrContext* context, const GrDrawTargetCaps& caps, GrTexture* dummyTextures[]) argument
|
H A D | SkGpuDevice.h | 70 GrContext* context() const { return fContext; } function in class:SkGpuDevice
|
/external/regex-re2/re2/ |
H A D | bitstate.cc | 38 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 D | dfa.cc | 63 // 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...] |