/third_party/rust/crates/rustix/tests/fs/ |
D | openat2.rs | 2 use rustix::fs::{cwd, mkdirat, openat, openat2, symlinkat, Mode, OFlags, ResolveFlags}; 10 mode: Mode, in openat2_more() argument 26 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_openat2() 33 Mode::empty(), in test_openat2() 46 Mode::RUSR, in test_openat2() 57 Mode::empty(), in test_openat2() 65 Mode::empty(), in test_openat2() 73 Mode::empty(), in test_openat2() 83 Mode::empty(), in test_openat2() 91 Mode::empty(), in test_openat2() [all …]
|
D | invalid_offset.rs | 16 use rustix::fs::{cwd, openat, seek, Mode, OFlags}; in invalid_offset_seek() 18 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_seek() 23 Mode::RUSR | Mode::WUSR, in invalid_offset_seek() 45 use rustix::fs::{cwd, fallocate, openat, FallocateFlags, Mode, OFlags}; in invalid_offset_fallocate() 47 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_fallocate() 52 Mode::RUSR | Mode::WUSR, in invalid_offset_fallocate() 75 use rustix::fs::{cwd, fadvise, openat, Advice, Mode, OFlags}; in invalid_offset_fadvise() 77 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_fadvise() 82 Mode::RUSR | Mode::WUSR, in invalid_offset_fadvise() 106 use rustix::fs::{cwd, openat, Mode, OFlags}; in invalid_offset_pread() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | enumFromExternalModule.types | 6 var x = f.Mode.Open; 7 >x : f.Mode 8 >f.Mode.Open : f.Mode 9 >f.Mode : typeof f.Mode 11 >Mode : typeof f.Mode 12 >Open : f.Mode 15 export enum Mode { Open } 16 >Mode : Mode 17 >Open : Mode.Open
|
D | enumFromExternalModule.js | 4 export enum Mode { Open } 10 var x = f.Mode.Open; 16 exports.Mode = void 0; 17 var Mode; variable 18 (function (Mode) { argument 19 Mode[Mode["Open"] = 0] = "Open"; 20 })(Mode = exports.Mode || (exports.Mode = {})); 26 var x = f.Mode.Open;
|
D | enumFromExternalModule.symbols | 6 var x = f.Mode.Open; 8 >f.Mode.Open : Symbol(f.Mode.Open, Decl(enumFromExternalModule_0.ts, 0, 18)) 9 >f.Mode : Symbol(f.Mode, Decl(enumFromExternalModule_0.ts, 0, 0)) 11 >Mode : Symbol(f.Mode, Decl(enumFromExternalModule_0.ts, 0, 0)) 12 >Open : Symbol(f.Mode.Open, Decl(enumFromExternalModule_0.ts, 0, 18)) 15 export enum Mode { Open } 16 >Mode : Symbol(Mode, Decl(enumFromExternalModule_0.ts, 0, 0)) 17 >Open : Symbol(Mode.Open, Decl(enumFromExternalModule_0.ts, 0, 18))
|
D | moduleAliasInterface.js | 7 export class Mode { 21 constructor(p1: modes.IMode, p2: modes.Mode) { }// should be an error on p2 - it's not exported argument 34 …constructor(p1: modesOuter.IMode, p2: modesOuter.Mode) { }// no error here, since modesOuter is de… argument 41 constructor(p1: Foo.Bar, p2: modesOuter.Mode) { } argument 61 var Mode = /** @class */ (function () { class 62 function Mode() { class in anonymousFunction391d82390100.Mode 64 return Mode; 66 _modes.Mode = Mode;
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeBlend.cpp | 18 this->setMode(SkSVGAttributeParser::parse<SkSVGFeBlend::Mode>("mode", name, value)); in parseAndSetAttribute() 21 static SkBlendMode GetBlendMode(SkSVGFeBlend::Mode mode) { in GetBlendMode() 23 case SkSVGFeBlend::Mode::kNormal: in GetBlendMode() 25 case SkSVGFeBlend::Mode::kMultiply: in GetBlendMode() 27 case SkSVGFeBlend::Mode::kScreen: in GetBlendMode() 29 case SkSVGFeBlend::Mode::kDarken: in GetBlendMode() 31 case SkSVGFeBlend::Mode::kLighten: in GetBlendMode() 49 bool SkSVGAttributeParser::parse<SkSVGFeBlend::Mode>( in parse() 50 SkSVGFeBlend::Mode* mode) { in parse() 51 static constexpr std::tuple<const char*, SkSVGFeBlend::Mode> gMap[] = { in parse() [all …]
|
/third_party/rust/crates/clap/examples/tutorial_builder/ |
D | 04_01_enum.rs | 4 enum Mode { enum 10 impl ValueEnum for Mode { implementation 12 &[Mode::Fast, Mode::Slow] in value_variants() 17 Mode::Fast => PossibleValue::new("fast").help("Run swiftly"), in to_possible_value() 18 Mode::Slow => PossibleValue::new("slow").help("Crawl slowly but steadily"), in to_possible_value() 23 impl std::fmt::Display for Mode { implementation 32 impl std::str::FromStr for Mode { implementation 50 .value_parser(value_parser!(Mode)), in main() 56 .get_one::<Mode>("MODE") in main() 59 Mode::Fast => { in main() [all …]
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrTextureDomain.h | 30 enum Mode { enum 56 GrTextureDomain(GrTextureProxy*, const SkRect& domain, Mode modeX, Mode modeY, int index = -1); 61 Mode modeX() const { return fModeX; } in modeX() 62 Mode modeY() const { return fModeY; } in modeY() 68 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode mode) { in MakeTexelDomain() 72 static const SkRect MakeTexelDomain(const SkIRect& texelRect, Mode modeX, Mode modeY) { in MakeTexelDomain() 85 Mode modeX, Mode modeY) { in IsDecalSampled() 92 static bool IsDecalSampled(const GrSamplerState::WrapMode wraps[2], Mode modeX, Mode modeY) { in IsDecalSampled() 96 static bool IsDecalSampled(const GrSamplerState& sampler, Mode modeX, Mode modeY) { in IsDecalSampled() 165 SkDEBUGCODE(Mode fModeX;) [all …]
|
/third_party/flutter/skia/bench/ |
D | ClipStrategyBench.cpp | 15 enum class Mode { enum in ClipStrategyBench 20 ClipStrategyBench(Mode mode, size_t count) in ClipStrategyBench() 25 if (fMode == Mode::kClipPath) { in ClipStrategyBench() 51 if (fMode == Mode::kClipPath) { in onDraw() 75 Mode fMode; 83 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 1 );) 84 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 5 );) 85 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 10 );) 86 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 100);) 88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );) [all …]
|
/third_party/skia/bench/ |
D | ClipStrategyBench.cpp | 15 enum class Mode { enum in ClipStrategyBench 20 ClipStrategyBench(Mode mode, size_t count) in ClipStrategyBench() 25 if (fMode == Mode::kClipPath) { in ClipStrategyBench() 51 if (fMode == Mode::kClipPath) { in onDraw() 75 Mode fMode; 83 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 1 );) 84 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 5 );) 85 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 10 );) 86 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kClipPath, 100);) 88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );) [all …]
|
/third_party/rust/crates/nix/test/ |
D | test_mq.rs | 8 use nix::sys::stat::Mode; 36 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_send_and_receive() 65 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_getattr() 90 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_setattr() 140 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_set_nonblocking() 167 let mode = Mode::S_IWUSR | Mode::S_IRUSR | Mode::S_IRGRP | Mode::S_IROTH; in test_mq_unlink()
|
D | test_mount.rs | 21 use nix::sys::stat::{self, Mode}; 49 .mode((Mode::S_IRWXU | Mode::S_IRWXG | Mode::S_IRWXO).bits()) in test_mount_tmpfs_without_flags_allows_rwx() 139 .mode((Mode::S_IRWXU | Mode::S_IRWXG | Mode::S_IRWXO).bits()) in test_mount_noexec_disallows_exec() 145 let mode = stat::Mode::from_bits_truncate( in test_mount_noexec_disallows_exec() 152 mode.contains(Mode::S_IXUSR | Mode::S_IXGRP | Mode::S_IXOTH), in test_mount_noexec_disallows_exec() 190 .mode((Mode::S_IRWXU | Mode::S_IRWXG | Mode::S_IRWXO).bits()) in test_mount_bind()
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrSegmentAdvanced.java | 32 import io.nayuki.qrcodegen.QrSegment.Mode; 97 Mode[] charModes = computeCharacterModes(codePoints, version); in makeSegmentsOptimally() 103 private static Mode[] computeCharacterModes(int[] codePoints, int version) { in computeCharacterModes() 108 …final Mode[] modeTypes = {Mode.BYTE, Mode.ALPHANUMERIC, Mode.NUMERIC, Mode.KANJI}; // Do not modi… in computeCharacterModes() 121 Mode[][] charModes = new Mode[codePoints.length][numModes]; in computeCharacterModes() 169 Mode curMode = null; in computeCharacterModes() 178 Mode[] result = new Mode[charModes.length]; in computeCharacterModes() 194 private static List<QrSegment> splitIntoSegments(int[] codePoints, Mode[] charModes) { in splitIntoSegments() 200 Mode curMode = charModes[0]; in splitIntoSegments() 206 if (curMode == Mode.BYTE) in splitIntoSegments() [all …]
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrSegmentAdvanced.java | 32 import io.nayuki.fastqrcodegen.QrSegment.Mode; 97 Mode[] charModes = computeCharacterModes(codePoints, version); in makeSegmentsOptimally() 103 private static Mode[] computeCharacterModes(int[] codePoints, int version) { in computeCharacterModes() 106 …final Mode[] modeTypes = {Mode.BYTE, Mode.ALPHANUMERIC, Mode.NUMERIC, Mode.KANJI}; // Do not modi… in computeCharacterModes() 117 Mode[][] charModes = new Mode[codePoints.length][numModes]; in computeCharacterModes() 161 Mode curMode = null; in computeCharacterModes() 170 Mode[] result = new Mode[charModes.length]; in computeCharacterModes() 186 private static List<QrSegment> splitIntoSegments(int[] codePoints, Mode[] charModes) { in splitIntoSegments() 192 Mode curMode = charModes[0]; in splitIntoSegments() 198 if (curMode == Mode.BYTE) in splitIntoSegments() [all …]
|
/third_party/rust/crates/rustix/tests/io/ |
D | read_write.rs | 9 use rustix::fs::{cwd, openat, Mode, OFlags}; in test_readwrite_pv() 13 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_pv() 18 Mode::RUSR | Mode::WUSR, in test_readwrite_pv() 47 use rustix::fs::{cwd, openat, Mode, OFlags}; in test_readwrite_p() 51 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_p() 56 Mode::RUSR | Mode::WUSR, in test_readwrite_p() 72 use rustix::fs::{cwd, openat, seek, Mode, OFlags}; in test_readwrite_v() 76 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_v() 81 Mode::RUSR | Mode::WUSR, in test_readwrite_v() 98 use rustix::fs::{cwd, openat, seek, Mode, OFlags}; in test_readwrite() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | FileOutputBuffer.cpp | 79 unsigned Mode) in InMemoryBuffer() argument 81 Mode(Mode) {} in InMemoryBuffer() 102 openFileForWrite(FinalPath, FD, CD_CreateAlways, OF_None, Mode)) in commit() 113 unsigned Mode; member in __anone2d0b9910111::InMemoryBuffer 118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() argument 124 return std::make_unique<InMemoryBuffer>(Path, MB, Size, Mode); in createInMemoryBuffer() 128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() argument 130 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode); in createOnDiskBuffer() 157 return createInMemoryBuffer(Path, Size, Mode); in createOnDiskBuffer() 171 unsigned Mode = fs::all_read | fs::all_write; in create() local [all …]
|
/third_party/skia/src/gpu/ |
D | GrWindowRectsState.h | 15 enum class Mode : bool { enum 20 GrWindowRectsState() : fMode(Mode::kExclusive) {} in GrWindowRectsState() 21 GrWindowRectsState(const GrWindowRectangles& windows, Mode mode) in GrWindowRectsState() 26 bool enabled() const { return Mode::kInclusive == fMode || !fWindows.empty(); } in enabled() 27 Mode mode() const { return fMode; } in mode() 32 fMode = Mode::kExclusive; in setDisabled() 36 void set(const GrWindowRectangles& windows, Mode mode) { in set() 50 Mode fMode;
|
/third_party/flutter/skia/src/gpu/ |
D | GrWindowRectsState.h | 15 enum class Mode : bool { enum 20 GrWindowRectsState() : fMode(Mode::kExclusive) {} in GrWindowRectsState() 21 GrWindowRectsState(const GrWindowRectangles& windows, Mode mode) in GrWindowRectsState() 26 bool enabled() const { return Mode::kInclusive == fMode || !fWindows.empty(); } in enabled() 27 Mode mode() const { return fMode; } in mode() 32 fMode = Mode::kExclusive; in setDisabled() 36 void set(const GrWindowRectangles& windows, Mode mode) { in set() 50 Mode fMode;
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
D | event.h | 30 enum class Mode : uint8_t { enum 43 MARL_NO_EXPORT inline Event(Mode mode = Mode::Auto, 94 MARL_NO_EXPORT inline static Event any(Mode mode, 108 Mode mode, 124 const Mode mode; 131 Event::Shared::Shared(Allocator* allocator, Mode mode, bool initialState) in Shared() 140 if (mode == Mode::Auto) { in signal() 153 if (mode == Mode::Auto) { in wait() 165 if (mode == Mode::Auto) { in wait_for() 178 if (mode == Mode::Auto) { in wait_until() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIModeRegister.cpp | 43 unsigned Mode; member 45 Status() : Mask(0), Mode(0){}; in Status() 47 Status(unsigned NewMask, unsigned NewMode) : Mask(NewMask), Mode(NewMode) { in Status() 48 Mode &= Mask; in Status() 54 return Status((Mask | S.Mask), ((Mode & ~S.Mask) | (S.Mode & S.Mask))); in merge() 60 return Status(Mask & ~newMask, Mode & ~newMask); in mergeUnknown() 66 unsigned NewMask = (Mask & S.Mask) & (Mode ^ ~S.Mode); in intersect() 67 unsigned NewMode = (Mode & NewMask); in intersect() 73 return Status((S.Mask & (Mode ^ S.Mode)) | (~Mask & S.Mask), S.Mode); in delta() 77 return (Mask == S.Mask) && (Mode == S.Mode); in operator ==() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | event_test.cpp | 33 for (auto mode : {marl::Event::Mode::Manual, marl::Event::Mode::Auto}) { in TEST_P() 45 auto event = marl::Event(marl::Event::Mode::Auto); in TEST_P() 53 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P() 62 auto event = marl::Event(marl::Event::Mode::Auto); in TEST_P() 63 auto done = marl::Event(marl::Event::Mode::Auto); in TEST_P() 87 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P() 102 for (auto mode : {marl::Event::Mode::Manual, marl::Event::Mode::Auto}) { in TEST_P() 131 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P() 145 auto event = marl::Event(marl::Event::Mode::Auto); in TEST_P() 162 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | RemarkSerializer.cpp | 21 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer() argument 28 return std::make_unique<YAMLRemarkSerializer>(OS, Mode); in createRemarkSerializer() 30 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode); in createRemarkSerializer() 32 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode); in createRemarkSerializer() 38 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer() argument 45 return std::make_unique<YAMLRemarkSerializer>(OS, Mode, std::move(StrTab)); in createRemarkSerializer() 47 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode, in createRemarkSerializer() 50 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode, in createRemarkSerializer()
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | MergePaths.cpp | 18 sksg::Merge::Mode mode) { in MergeGeometry() 24 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in MergeGeometry() 33 static constexpr sksg::Merge::Mode gModes[] = { in AttachMergeGeometryEffect() 34 sksg::Merge::Mode::kMerge, // "mm": 1 in AttachMergeGeometryEffect() 35 sksg::Merge::Mode::kUnion, // "mm": 2 in AttachMergeGeometryEffect() 36 sksg::Merge::Mode::kDifference, // "mm": 3 in AttachMergeGeometryEffect() 37 sksg::Merge::Mode::kIntersect, // "mm": 4 in AttachMergeGeometryEffect() 38 sksg::Merge::Mode::kXOR , // "mm": 5 in AttachMergeGeometryEffect()
|
/third_party/mesa3d/src/tool/pps/ |
D | pps_config.cc | 38 enum class Mode { enum 87 Mode mode = Mode::Help; in main() 96 mode = Mode::Info; in main() 100 mode = Mode::Dump; in main() 126 mode = Mode::Groups; in main() 130 mode = Mode::Counters; in main() 134 if (mode == Mode::Help) { in main() 141 case Mode::Info: { in main() 155 case Mode::Dump: { in main() 195 case Mode::Groups: { in main() [all …]
|