Searched defs:behavior (Results 1 - 25 of 43) sorted by relevance

12

/external/skia/gm/
H A Dencode-alpha-jpeg.cpp55 SkTransferFunctionBehavior behavior = canvas->imageInfo().colorSpace() ? variable
60 behavior);
62 SkJpegEncoder::AlphaOption::kBlendOnBlack, behavior);
69 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore, behavior);
71 behavior);
80 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore, behavior);
82 behavior);
89 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore, behavior);
91 behavior);
H A Dmakecolorspace.cpp15 sk_sp<SkImage> make_raster_image(const char* path, SkTransferFunctionBehavior behavior) { argument
24 opts.fPremulBehavior = behavior;
30 SkTransferFunctionBehavior behavior) {
31 sk_sp<SkImage> xform = orig->makeColorSpace(colorSpace, behavior);
56 SkTransferFunctionBehavior behavior = canvas->imageInfo().colorSpace() ? variable
67 canvas->drawImage(make_color_space(opaqueImage, wideGamut, behavior), 128.0f, 0.0f);
68 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear, behavior), 256.0f, 0.0f);
70 canvas->drawImage(make_color_space(premulImage, wideGamut, behavior), 128.0f, 128.0f);
71 canvas->drawImage(make_color_space(premulImage, wideGamutLinear, behavior), 256.0f, 128.0f);
75 opaqueImage = make_raster_image("mandrill_128.png", behavior);
29 make_color_space(sk_sp<SkImage> orig, sk_sp<SkColorSpace> colorSpace, SkTransferFunctionBehavior behavior) argument
[all...]
H A Dencode-srgb.cpp76 SkTransferFunctionBehavior behavior = bitmap.colorSpace() local
78 pngOptions.fUnpremulBehavior = behavior;
79 webpOptions.fUnpremulBehavior = behavior;
/external/skia/src/core/
H A DSkImageGenerator.cpp69 SkTransferFunctionBehavior behavior) {
74 return this->onGenerateTexture(ctx, info, origin, behavior);
67 generateTexture(GrContext* ctx, const SkImageInfo& info, const SkIPoint& origin, SkTransferFunctionBehavior behavior) argument
H A DSkPictureImageGenerator.cpp105 SkTransferFunctionBehavior behavior) {
107 bool useXformCanvas = SkTransferFunctionBehavior::kIgnore == behavior && info.colorSpace();
103 onGenerateTexture( GrContext* ctx, const SkImageInfo& info, const SkIPoint& origin, SkTransferFunctionBehavior behavior) argument
H A DSkConvertPixels.cpp92 SkTransferFunctionBehavior behavior) {
97 SkTransferFunctionBehavior::kIgnore == behavior)) {
123 size_t srcRB, SkTransferFunctionBehavior behavior) {
151 SkColorSpaceXform_Base::New(srcInfo.colorSpace(), dstInfo.colorSpace(), behavior);
166 SkColorTable* ctable, SkTransferFunctionBehavior behavior) {
173 nullptr, behavior);
186 SkColorTable* ctable, SkTransferFunctionBehavior behavior) {
190 behavior);
195 behavior);
200 behavior);
91 optimized_color_xform(const SkImageInfo& dstInfo, const SkImageInfo& srcInfo, SkTransferFunctionBehavior behavior) argument
121 apply_color_xform(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, SkTransferFunctionBehavior behavior) argument
164 do_index8(const SkImageInfo& dstInfo, T* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const uint8_t* srcPixels, size_t srcRB, SkColorTable* ctable, SkTransferFunctionBehavior behavior) argument
184 convert_from_index8(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const uint8_t* srcPixels, size_t srcRB, SkColorTable* ctable, SkTransferFunctionBehavior behavior) argument
264 convert_with_pipeline(const SkImageInfo& dstInfo, void* dstRow, size_t dstRB, const SkImageInfo& srcInfo, const void* srcRow, size_t srcRB, bool isColorAware, SkTransferFunctionBehavior behavior) argument
391 SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, SkColorTable* ctable, SkTransferFunctionBehavior behavior) argument
[all...]
H A DSkBitmap.cpp508 int x, int y, SkTransferFunctionBehavior behavior) const {
513 return src.readPixels(requestedDstInfo, dstPixels, dstRB, x, y, behavior);
521 SkTransferFunctionBehavior behavior) {
534 nullptr, behavior);
520 writePixels(const SkPixmap& src, int dstX, int dstY, SkTransferFunctionBehavior behavior) argument
/external/skia/src/sfnt/
H A DSkOTTable_gasp.h31 union behavior { union in struct:SkOTTableGridAndScanProcedure::GaspRange
/external/swiftshader/src/OpenGL/compiler/
H A DDirectiveHandler.cpp98 const std::string& behavior)
102 TBehavior behaviorVal = getBehavior(behavior);
106 "behavior", name, "invalid");
116 "cannot have 'require' behavior");
122 "cannot have 'enable' behavior");
96 handleExtension(const pp::SourceLocation& loc, const std::string& name, const std::string& behavior) argument
H A DParseHelper.cpp1110 // In GLSL ES, an extension's default behavior is "disable".
1168 void TParseContext::handleExtensionDirective(const TSourceLoc &line, const char* extName, const char* behavior) argument
1171 mDirectiveHandler.handleExtension(loc, extName, behavior);
/external/r8/src/test/java/com/android/tools/r8/
H A DRunExamplesAndroidNTest.java55 TestRunner withInterfaceMethodDesugaring(OffOrAuto behavior) { argument
56 return withOptionConsumer(o -> o.interfaceMethodDesugaring = behavior);
H A DRunExamplesAndroidOTest.java92 TestRunner withInterfaceMethodDesugaring(OffOrAuto behavior) { argument
93 return withOptionConsumer(o -> o.interfaceMethodDesugaring = behavior);
96 TestRunner withTryWithResourcesDesugaring(OffOrAuto behavior) { argument
97 return withOptionConsumer(o -> o.tryWithResourcesDesugaring = behavior);
/external/easymock/src/org/easymock/internal/
H A DMocksControl.java30 private IMocksBehavior behavior; field in class:MocksControl
74 behavior = new MocksBehavior(type == MockType.NICE);
75 behavior.checkOrder(type == MockType.STRICT);
76 state = new RecordState(behavior);
98 state = new ReplayState(behavior);
H A DRecordState.java37 private final IMocksBehavior behavior; field in class:RecordState
66 public RecordState(IMocksBehavior behavior) { argument
67 this.behavior = behavior;
137 behavior.addStub(lastInvocation, Result.createReturnResult(value));
149 behavior.addStub(
156 requireMethodCall("stub behavior");
158 behavior.addStub(lastInvocation, Result.createReturnResult(null));
166 behavior.addStub(
178 behavior
[all...]
H A DReplayState.java28 private final IMocksBehavior behavior; field in class:ReplayState
32 public ReplayState(IMocksBehavior behavior) { argument
33 this.behavior = behavior;
38 behavior.checkThreadSafety();
40 if (behavior.isThreadSafe()) {
57 Result result = behavior.addActual(invocation);
72 behavior.verify();
/external/swiftshader/src/OpenGL/compiler/preprocessor/
H A DDirectiveParser.cpp593 std::string name, behavior; local
625 if (valid) behavior = token->text;
645 mDirectiveHandler->handleExtension(token->location, name, behavior);
/external/deqp/framework/opengl/
H A DgluES3PlusWrapperContext.cpp389 const std::string behavior = line.substr(behaviorPos); local
391 const bool validBehavior = behavior == "require" || behavior == "enable" || behavior == "warn" || behavior == "disable";
455 // Emulate ES behavior where sRGB conversion is only controlled by color buffer format.
/external/skia/src/image/
H A DSkImage_Lazy.cpp103 int srcX, int srcY, SkTransferFunctionBehavior behavior) const;
143 * space, and return "ignore" behavior, indicating legacy mode. If generatorImageInfo has a
144 * color space set, return "respect" behavior, indicating linear blending mode.
428 SkTransferFunctionBehavior behavior) const {
437 // TODO: This should respect the behavior argument.
452 SkTransferFunctionBehavior behavior) {
477 opts.fBehavior = behavior;
492 SkTransferFunctionBehavior behavior) const {
518 if (!generate_pixels(generator, pmap, fOrigin.x(), fOrigin.y(), behavior)) {
546 SkTransferFunctionBehavior behavior local
451 generate_pixels(SkImageGenerator* gen, const SkPixmap& pmap, int originX, int originY, SkTransferFunctionBehavior behavior) argument
576 SkTransferFunctionBehavior behavior = getGeneratorBehaviorAndInfo(&genPixelsInfo); local
762 SkTransferFunctionBehavior behavior = getGeneratorBehaviorAndInfo(&genPixelsInfo); local
[all...]
/external/selinux/libsepol/src/
H A Dkernel_to_cil.c2537 const char *behavior; local
2542 switch (fsuse->v.behavior) {
2543 case SECURITY_FS_USE_XATTR: behavior = "xattr"; break;
2544 case SECURITY_FS_USE_TRANS: behavior = "trans"; break;
2545 case SECURITY_FS_USE_TASK: behavior = "task"; break;
2547 sepol_log_err("Unknown fsuse behavior: %i", fsuse->v.behavior);
2559 sepol_printf(out, "(fsuse %s %s %s)\n", behavior, name, ctx);
H A Dkernel_to_conf.c2397 const char *behavior; local
2402 switch (fsuse->v.behavior) {
2403 case SECURITY_FS_USE_XATTR: behavior = "xattr"; break;
2404 case SECURITY_FS_USE_TRANS: behavior = "trans"; break;
2405 case SECURITY_FS_USE_TASK: behavior = "task"; break;
2407 sepol_log_err("Unknown fsuse behavior: %i", fsuse->v.behavior);
2419 sepol_printf(out, "fs_use_%s %s %s;\n", behavior, name, ctx);
H A Dservices.c2185 * fixed labeling behavior like transition SIDs or task SIDs.
2235 unsigned int *behavior, sepol_security_id_t * sid)
2248 *behavior = c->v.behavior;
2260 *behavior = SECURITY_FS_USE_NONE;
2263 *behavior = SECURITY_FS_USE_GENFS;
2234 sepol_fs_use(const char *fstype, unsigned int *behavior, sepol_security_id_t * sid) argument
/external/selinux/checkpolicy/
H A Dpolicy_define.c5292 int define_fs_use(int behavior) argument
5319 newc->v.behavior = behavior;
/external/guice/lib/build/
H A Deasymock.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/easymock/ org/easymock/AbstractMatcher.class AbstractMatcher. ...
/external/mdnsresponder/mDNSWindows/
H A DmDNSWin32.c2918 BOOL behavior = FALSE; local
2944 // Not sure why, but the default behavior for sockets is to behave incorrectly
2953 // incorrect behavior, but should be harmless. However, after receiving a port unreachable error, WinSock
2954 // will no longer receive any packets from that socket, which is not harmless. This behavior is only
2960 err = WSAIoctl( sock, SIO_UDP_CONNRESET, &behavior, sizeof(behavior), NULL, 0, &bytesReturned, NULL, NULL );
/external/selinux/libsepol/include/sepol/policydb/
H A Dpolicydb.h364 uint32_t behavior; /* labeling behavior for fs_use */ member in union:ocontext::__anon17871
572 fixed labeling behavior. */

Completed in 2051 milliseconds

12