Home
last modified time | relevance | path

Searched refs:Mode (Results 1 - 25 of 440) sorted by relevance

12345678910>>...18

/third_party/rust/crates/rustix/tests/fs/
H A Dopenat2.rs2 use rustix::fs::{cwd, mkdirat, openat, openat2, symlinkat, Mode, OFlags, ResolveFlags};
10 mode: Mode, in openat2_more()
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 in test_openat2()
[all...]
H A Dinvalid_offset.rs16 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 in invalid_offset_fadvise()
[all...]
H A Drenameat.rs12 use rustix::fs::{cwd, openat, renameat, statat, AtFlags, Mode, OFlags}; in test_renameat()
19 Mode::empty(), in test_renameat()
23 let _ = openat(&dir, "foo", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat()
35 use rustix::fs::{cwd, openat, renameat, statat, AtFlags, Mode, OFlags}; in test_renameat_overwrite()
42 Mode::empty(), in test_renameat_overwrite()
46 let _ = openat(&dir, "foo", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat_overwrite()
47 let _ = openat(&dir, "bar", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat_overwrite()
57 use rustix::fs::{cwd, openat, renameat_with, statat, AtFlags, Mode, OFlags, RenameFlags}; in test_renameat_with()
64 Mode::empty(), in test_renameat_with()
68 let _ = openat(&dir, "foo", OFlags::CREATE | OFlags::WRONLY, Mode in test_renameat_with()
[all...]
H A Dlong_paths.rs4 use rustix::fs::{cwd, mkdirat, openat, Mode, OFlags}; in test_long_paths()
7 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_long_paths()
14 mkdirat(&dir, "a", Mode::RUSR | Mode::XUSR | Mode::WUSR).unwrap(); in test_long_paths()
26 let _ = openat(&dir, &long_path, OFlags::RDONLY, Mode::empty()).unwrap(); in test_long_paths()
27 let _ = openat(&dir, &too_long_path, OFlags::RDONLY, Mode::empty()).unwrap_err(); in test_long_paths()
/third_party/skia/modules/svg/src/
H A DSkSVGFeBlend.cpp18 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> gMa in parse()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DenumFromExternalModule.js4 export enum Mode { Open }
10 var x = f.Mode.Open;
16 exports.Mode = void 0;
17 var Mode; variable
18 (function (Mode) {
19 Mode[Mode["Open"] = 0] = "Open";
20 })(Mode = exports.Mode || (exports.Mode
[all...]
H A DmoduleAliasInterface.js7 export class Mode {
21 constructor(p1: modes.IMode, p2: modes.Mode) { }// should be an error on p2 - it's not exported
34 constructor(p1: modesOuter.IMode, p2: modesOuter.Mode) { }// no error here, since modesOuter is declared externally
41 constructor(p1: Foo.Bar, p2: modesOuter.Mode) { }
61 var Mode = /** @class */ (function () {
62 function Mode() {
64 return Mode;
66 _modes.Mode = Mode;
H A DmoduleVisibilityTest3.js7 class Mode {
21 constructor(p1: modes, p2: modes.Mode) {// should be an error on p2 - it's not exported
22 var x:modes.Mode;
32 var Mode = /** @class */ (function () {
33 function Mode() {
35 return Mode;
/third_party/node/deps/v8/src/codegen/
H A Dreloc-info.h53 enum Mode : int8_t {
116 RelocInfo(Address pc, Mode rmode, intptr_t data, Code host, in RelocInfo()
127 static constexpr bool IsRealRelocMode(Mode mode) { in IsRealRelocMode()
131 static constexpr bool IsGCRelocMode(Mode mode) { in IsGCRelocMode()
134 static constexpr bool IsShareableRelocMode(Mode mode) { in IsShareableRelocMode()
138 static constexpr bool IsCodeTarget(Mode mode) { return mode == CODE_TARGET; } in IsCodeTarget()
139 static constexpr bool IsCodeTargetMode(Mode mode) { in IsCodeTargetMode()
142 static constexpr bool IsRelativeCodeTarget(Mode mode) { in IsRelativeCodeTarget()
145 static constexpr bool IsFullEmbeddedObject(Mode mode) { in IsFullEmbeddedObject()
148 static constexpr bool IsCompressedEmbeddedObject(Mode mod in IsFullEmbeddedObject()
[all...]
/third_party/skia/bench/
H A DClipStrategyBench.cpp15 enum class Mode { class in ClipStrategyBench
20 ClipStrategyBench(Mode mode, size_t count) in ClipStrategyBench()
25 if (fMode == Mode::kClipPath) { in ClipStrategyBench()
51 if (fMode == Mode::kClipPath) {
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
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileOutputBuffer.cpp79 unsigned Mode) in InMemoryBuffer()
81 Mode(Mode) {} in InMemoryBuffer()
102 openFileForWrite(FinalPath, FD, CD_CreateAlways, OF_None, Mode))
113 unsigned Mode; member in __anon24317::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()
78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, unsigned Mode) InMemoryBuffer() argument
171 unsigned Mode = fs::all_read | fs::all_write; create() local
[all...]
/third_party/rust/crates/clap/examples/tutorial_builder/
H A D04_01_enum.rs4 enum Mode { enum
10 impl ValueEnum for Mode {
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 {
32 impl std::str::FromStr for Mode { in fmt()
50 .value_parser(value_parser!(Mode)), in main()
56 .get_one::<Mode>("MOD in main()
[all...]
/third_party/rust/crates/nix/test/
H A Dtest_mq.rs8 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 in test_mq_setattr()
[all...]
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
H A DQrSegmentAdvanced.java32 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 modify in computeCharacterModes()
121 Mode[][] charModes = new Mode[codePoint in computeCharacterModes()
[all...]
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrSegmentAdvanced.java32 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 modify in computeCharacterModes()
117 Mode[][] charModes = new Mode[codePoint in computeCharacterModes()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp1 //===-- SIModeRegister.cpp - Mode Register --------------------------------===//
9 /// This pass inserts changes to the Mode register settings as required.
40 // Mask is a bitmask where a '1' indicates the corresponding Mode bit has a
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 in mergeUnknown()
267 unsigned Mode = (Val << Offset) & Mask; processBlockPhase1() local
[all...]
/third_party/rust/crates/rustix/tests/io/
H A Dread_write.rs9 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 in test_readwrite_v()
[all...]
/third_party/skia/src/gpu/
H A DGrWindowRectsState.h15 enum class Mode : bool { class in GrWindowRectsState
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/
H A Devent.h30 enum class Mode : uint8_t { class in marl::Event
43 MARL_NO_EXPORT inline Event(Mode mode = Mode::Auto,
54 // If the event was constructed with the Auto Mode, then only one
62 // If the event is signalled and event was constructed with the Auto Mode,
72 // If the event is signalled and event was constructed with the Auto Mode,
80 // If the event is signalled and was constructed with the Auto Mode
86 // constructed with the Auto Mode.
94 MARL_NO_EXPORT inline static Event any(Mode mode,
108 Mode mod
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
H A DRemarkSerializer.cpp21 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/third_party/externals/swiftshader/third_party/marl/src/
H A Devent_test.cpp33 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 in TEST_P()
[all...]
/third_party/qrcodegen/cpp/
H A Dqrcodegen.hpp53 public: class Mode final {
57 public: static const Mode NUMERIC;
58 public: static const Mode ALPHANUMERIC;
59 public: static const Mode BYTE;
60 public: static const Mode KANJI;
61 public: static const Mode ECI;
75 private: Mode(int mode, int cc0, int cc1, int cc2);
154 private: const Mode *mode;
173 public: QrSegment(const Mode &md, int numCh, const std::vector<bool> &dt);
181 public: QrSegment(const Mode
[all...]
/third_party/skia/src/gpu/tessellate/shaders/
H A DGrStrokeTessellationShader.cpp16 Mode mode, in GrStrokeTessellationShader()
23 (mode == Mode::kHardwareTessellation) in GrStrokeTessellationShader()
26 (mode == Mode::kHardwareTessellation) ? 1 : 0, viewMatrix, color) in GrStrokeTessellationShader()
34 if (fMode == Mode::kHardwareTessellation) { in GrStrokeTessellationShader()
38 if (fMode == Mode::kHardwareTessellation) { in GrStrokeTessellationShader()
62 if (fMode == Mode::kLog2Indirect) { in GrStrokeTessellationShader()
71 SkASSERT(fMode == Mode::kFixedCount); in GrStrokeTessellationShader()
93 if (fMode == Mode::kHardwareTessellation) { in GrStrokeTessellationShader()
385 if (shader.mode() == GrStrokeTessellationShader::Mode::kFixedCount) { in setData()
410 bool keyNeedsJoin = (fMode != Mode in addToKey()
[all...]
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DMergePaths.cpp18 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/
H A Dpps_config.cc38 enum class Mode { class
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 in main()
[all...]

Completed in 9 milliseconds

12345678910>>...18