/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowPorterDuffColorFilter.java | 18 private PorterDuff.Mode mode; field in class:ShadowPorterDuffColorFilter 23 protected void __constructor__(int color, PorterDuff.Mode mode) { 28 this.mode = mode; 33 ClassParameter.from(PorterDuff.Mode.class, mode)); 42 protected void setMode(PorterDuff.Mode mode) { [all...] |
/external/selinux/libselinux/utils/ |
matchpathcon.c | 22 static int printmatchpathcon(const char *path, int header, int mode) 25 int rc = matchpathcon(path, mode, &buf); 87 fprintf(stderr, "%s: mode %s is invalid\n", argv[0], optarg); 147 int rc, mode = 0; local 155 mode = buf.st_mode; 157 mode = force_mode; 160 rc = selinux_file_context_verify(path, mode); 185 printmatchpathcon(path, 0, mode); 191 printmatchpathcon(path, 0, mode); 195 error |= printmatchpathcon(path, header, mode); [all...] |
selabel_lookup_best_match.c | 13 "usage: %s [-v] [-r] -p path [-m mode] [-f file] [link...]\n\n" 18 "-m Optional mode (b, c, d, p, l, s or f) Defaults to 0.\n\t" 56 int raw = 0, mode = 0, rc, opt, i, num_links, string_len; local 84 mode = string_to_mode(optarg); 127 (const char **)links, mode); 130 (const char **)links, mode); 142 "failed to validate context, or path / mode "
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
IntrinsicSizeFrameLayout.java | 79 final int mode = MeasureSpec.getMode(measureSpec); local 81 if (mode == MeasureSpec.UNSPECIFIED) { 84 } else if (mode == MeasureSpec.AT_MOST) {
|
/external/skia/gm/ |
localmatriximageshader.cpp | 49 SkShader::TileMode mode[2]; local 51 SkImage* image = redLocalMatrixShader->isAImage(&matrix, mode); 52 paint.setShader(image->makeShader(mode[0], mode[1], &matrix)); 54 image = blueLocalMatrixShader->isAImage(&matrix, mode); 55 paint.setShader(image->makeShader(mode[0], mode[1], &matrix));
|
xfermodeimagefilter.cpp | 95 // Test arithmetic mode as image filter 104 // Test nullptr mode 170 SkBlendMode mode = SkBlendMode::kScreen; variable 173 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, cropped, background, nullptr)); 181 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background, cropped, nullptr)); 189 // This tests that SkXfermodeImageFilter correctly applies the compositing mode to 191 mode = SkBlendMode::kSrcIn; 193 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background,
|
/external/skia/src/core/ |
SkModeColorFilter.cpp | 27 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) { 29 fMode = mode; 32 bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const { 36 if (mode) { 37 *mode = fMode; 61 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); local 62 return SkColorFilter::MakeModeFilter(color, mode); 118 sk_sp<SkColorFilter> SkColorFilter::MakeModeFilter(SkColor color, SkBlendMode mode) { 119 if (!SkIsValidMode(mode)) { 127 if (SkBlendMode::kClear == mode) { [all...] |
/external/skia/src/gpu/effects/ |
GrConstColorProcessor.h | 22 static OptimizationFlags OptFlags(const SkPMColor4f& color, InputMode mode) { 24 if (mode != InputMode::kIgnore) { 42 SK_ABORT("Unexpected mode"); 46 const InputMode& mode() const { return fMode; } function in class:GrConstColorProcessor::InputMode 47 static std::unique_ptr<GrFragmentProcessor> Make(SkPMColor4f color, InputMode mode) { 48 return std::unique_ptr<GrFragmentProcessor>(new GrConstColorProcessor(color, mode)); 55 GrConstColorProcessor(SkPMColor4f color, InputMode mode) 56 : INHERITED(kGrConstColorProcessor_ClassID, (OptimizationFlags)OptFlags(color, mode)) 58 , fMode(mode) {}
|
/external/skqp/gm/ |
localmatriximageshader.cpp | 49 SkShader::TileMode mode[2]; local 51 SkImage* image = redLocalMatrixShader->isAImage(&matrix, mode); 52 paint.setShader(image->makeShader(mode[0], mode[1], &matrix)); 54 image = blueLocalMatrixShader->isAImage(&matrix, mode); 55 paint.setShader(image->makeShader(mode[0], mode[1], &matrix));
|
xfermodeimagefilter.cpp | 95 // Test arithmetic mode as image filter 104 // Test nullptr mode 170 SkBlendMode mode = SkBlendMode::kScreen; variable 173 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, cropped, background, nullptr)); 181 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background, cropped, nullptr)); 189 // This tests that SkXfermodeImageFilter correctly applies the compositing mode to 191 mode = SkBlendMode::kSrcIn; 193 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background,
|
/external/skqp/src/core/ |
SkModeColorFilter.cpp | 27 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) { 29 fMode = mode; 32 bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const { 36 if (mode) { 37 *mode = fMode; 61 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); local 62 return SkColorFilter::MakeModeFilter(color, mode); 118 sk_sp<SkColorFilter> SkColorFilter::MakeModeFilter(SkColor color, SkBlendMode mode) { 119 if (!SkIsValidMode(mode)) { 127 if (SkBlendMode::kClear == mode) { [all...] |
/external/skqp/src/gpu/effects/ |
GrConstColorProcessor.h | 22 static OptimizationFlags OptFlags(const SkPMColor4f& color, InputMode mode) { 24 if (mode != InputMode::kIgnore) { 42 SK_ABORT("Unexpected mode"); 46 const InputMode& mode() const { return fMode; } function in class:GrConstColorProcessor::InputMode 47 static std::unique_ptr<GrFragmentProcessor> Make(SkPMColor4f color, InputMode mode) { 48 return std::unique_ptr<GrFragmentProcessor>(new GrConstColorProcessor(color, mode)); 55 GrConstColorProcessor(SkPMColor4f color, InputMode mode) 56 : INHERITED(kGrConstColorProcessor_ClassID, (OptimizationFlags)OptFlags(color, mode)) 58 , fMode(mode) {}
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/ |
TelephonyTestProvider.java | 82 Log.d(String.format("Entered ParcelFileDescriptor: Uri(%s), Mode(%s)", uri.toString(), 88 int mode = (TextUtils.equals(fileMode, "r") ? ParcelFileDescriptor.MODE_READ_ONLY : local 94 ParcelFileDescriptor descriptor = ParcelFileDescriptor.open(file, mode);
|
/external/squashfs-tools/squashfs-tools/ |
pseudo.h | 28 unsigned int mode; member in struct:pseudo_dev
|
/external/strace/ |
bpf_filter.c | 56 const struct xlat *mode = extended ? ebpf_mode : bpf_mode; local 81 printxval(mode, BPF_MODE(code), "BPF_???");
|
stat.h | 39 unsigned long long mode; member in struct:strace_stat
|
/external/swiftshader/third_party/LLVM/lib/Archive/ |
ArchiveInternals.h | 50 char mode[8]; ///< file mode in ASCII octal member in class:llvm::ArchiveMemberHeader 63 memset(mode,' ',8);
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
val_modes_test.cpp | 68 "points require either the LocalSize execution mode or an " 115 "execution mode must not be used.")); 132 "execution mode must not be used.")); 180 "OriginUpperLeft or OriginLowerLeft execution mode.")); 529 const std::string mode = std::get<3>(GetParam()); local 545 if (mode.find("LocalSizeId") == 0 || mode.find("LocalSizeHintId") == 0 || 546 mode.find("SubgroupsPerWorkgroupId") == 0) { 547 sstr << "OpExecutionModeId %main " << mode << "\n"; local 549 sstr << "OpExecutionMode %main " << mode << "\n" local [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
mirror_pad_op.cc | 32 const MirrorPadMode mode, 37 // - [1, 2, 3, 2, 1] in reflect mode 38 // - [1, 2, 3, 3, 2] in symmetric mode. 39 int64 excluded_edges = mode == MirrorPadMode::REFLECT ? 1 : 0; 68 MirrorPadMode mode; variable 69 OP_REQUIRES_OK(ctx, GetNodeAttr(def(), "mode", &mode)); 71 ctx, mode == MirrorPadMode::REFLECT || mode == MirrorPadMode::SYMMETRIC, 72 xla::Unimplemented("Unsupported MirrorPad mode. Only SYMMETRIC and [all...] |
/external/tensorflow/tensorflow/contrib/distribute/python/ |
input_lib_test.py | 103 mode=["graph", "eager"], variable in class:InputIteratorSingleWorkerTest 115 mode=["graph", "eager"], 128 mode=["graph", "eager"], 147 mode=["graph", "eager"], 160 mode=["graph", "eager"], 204 mode=["graph"], 214 mode=["graph"], 225 mode=["graph"], 243 mode=["graph"], input_type=["input_fn", "dataset"], required_gpus=1)) 255 mode=["graph"], input_type=["input_fn"], required_gpus=1) [all...] |
one_device_strategy_test.py | 32 mode=["eager", "graph"])) variable
|
/external/toybox/toys/other/ |
makedevs.c | 21 <name> <type> <mode> <uid> <gid> <major> <minor> <start> <increment> <count> 57 unsigned int mode = 0755, major = 0, minor = 0, cnt = 0, incr = 0, local 71 sscanf(ptr, "%c %o %63s %63s %u %u %u %u %u", &type, &mode, 79 } else mode |= (mode_t[]){S_IFIFO, S_IFCHR, S_IFBLK, 0, 0}[i]; 93 if (mkpathat(AT_FDCWD, ptr, mode, MKPATHAT_MKLAST | MKPATHAT_MAKE)) { 102 } else if (mknod(ptr, mode, dev_makedev(major, minor + i*incr))) { 107 if (chown(ptr, uid, gid) || chmod(ptr, mode))
|
/external/u-boot/arch/mips/mach-ath79/ar934x/ |
ddr.c | 26 u32 mode; member in struct:ar934x_mem_config 101 writel(memcfg->mode | 0x100, ddr_regs + AR71XX_DDR_REG_MODE); 108 writel(memcfg->mode | 0x100, ddr_regs + AR71XX_DDR_REG_EMR); 126 writel(memcfg->mode, ddr_regs + AR71XX_DDR_REG_MODE);
|
/external/u-boot/arch/x86/cpu/intel_common/ |
report_platform.c | 17 const char *mode[] = {"NOT ", ""}; local 37 mode[aes], mode[txt], mode[vt]);
|
/external/u-boot/arch/x86/cpu/ivybridge/ |
sata.c | 43 const char *mode; local 54 mode = fdt_getprop(blob, node, "intel,sata-mode", NULL); 55 if (!mode || !strcmp(mode, "ahci")) { 58 debug("SATA: Controller in AHCI mode\n"); 98 } else if (!strcmp(mode, "combined")) { 99 debug("SATA: Controller in combined mode\n"); 123 debug("SATA: Controller in plain-ide mode\n"); 134 * Native mode capable on both primary and secondary (0xa 195 const char *mode; local [all...] |