Home
last modified time | relevance | path

Searched +full:auto +full:- +full:mode (Results 1 – 25 of 1052) sorted by relevance

12345678910>>...43

/freebsd/tests/sys/fs/fusefs/
H A Dcreate.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
43 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() argument
49 ResultOf([=](auto in) { in expect_create()
53 in.body.create.mode == mode && in expect_create()
71 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() argument
74 ResultOf([=](auto in) { in expect_create()
78 in.body.create.mode == mode && in expect_create()
95 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) in expect_create() argument
98 ResultOf([=](auto in) { in expect_create()
[all …]
H A Dnfs.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
78 const mode_t mode = S_IFDIR | 0755; in TEST_F() local
83 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
85 out.body.entry.attr.mode = mode; in TEST_F()
94 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
96 out.body.entry.attr.mode = mode; in TEST_F()
104 ASSERT_EQ(-1, fhstat(&fhp, &sb)); in TEST_F()
116 const mode_t mode = S_IFDIR | 0755; in TEST_F() local
120 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
[all …]
H A Dmkdir.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
57 mode_t mode = 0755; in TEST_F() local
63 ResultOf([=](auto in) { in TEST_F()
67 in.body.mkdir.mode == (S_IFDIR | mode) && in TEST_F()
73 ASSERT_NE(1, mkdir(FULLPATH, mode)); in TEST_F()
84 mode_t mode = 0755; in TEST_F() local
98 ResultOf([=](auto in) { in TEST_F()
102 in.body.mkdir.mode == (S_IFDIR | mode) && in TEST_F()
106 ).WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
[all …]
H A Dsetattr.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
77 * If setattr returns a non-zero cache timeout, then subsequent VOP_GETATTRs
89 .WillRepeatedly(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
91 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
97 ResultOf([](auto in) { in TEST_F()
102 ).WillOnce(Invoke(ReturnImmediate([](auto in __unused, auto& out) { in TEST_F()
105 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()
109 ResultOf([](auto in) { in TEST_F()
123 /* Change the mode of a file */
[all …]
H A Dlink.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 void expect_link(uint64_t ino, const char *relpath, mode_t mode, uint32_t nlink) in expect_link() argument
45 ResultOf([=](auto in) { in expect_link()
53 ).WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in expect_link()
56 out.body.entry.attr.mode = mode; in expect_link()
76 void expect_link(uint64_t ino, const char *relpath, mode_t mode, uint32_t nlink) in expect_link() argument
79 ResultOf([=](auto in) { in expect_link()
87 ).WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in expect_link()
90 out.body.entry.attr.mode = mode; in expect_link()
[all …]
H A Dlookup.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
63 * If lookup returns a non-zero cache timeout, then subsequent VOP_GETATTRs
75 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
80 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
117 * They're only supported as OS-specific extensions to OSX. For in TEST_F()
121 EXPECT_EQ(-1, sb.st_birthtim.tv_sec); in TEST_F()
127 * If lookup returns a finite but non-zero cache timeout, then we should discard
139 .WillRepeatedly(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
144 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
[all …]
H A Dinterrupt.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
49 /* Access mode used by all directories in these tests */
50 const mode_t MODE = 0755; variable
102 ResultOf([=](auto in) { in expect_mkdir()
106 ).WillOnce(Invoke([=](auto in, auto &out __unused) { in expect_mkdir()
119 ResultOf([=](auto in) { in expect_read()
124 ).WillOnce(Invoke([=](auto in, auto &out __unused) { in expect_read()
137 ResultOf([=](auto in) { in expect_write()
142 ).WillOnce(Invoke([=](auto in, auto &out __unused) { in expect_write()
[all …]
H A Dgetattr.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
44 void expect_lookup(const char *relpath, uint64_t ino, mode_t mode, in expect_lookup() argument
49 .WillRepeatedly(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in expect_lookup()
51 out.body.entry.attr.mode = mode; in expect_lookup()
71 * If getattr returns a non-zero cache timeout, then subsequent VOP_GETATTRs
82 .WillRepeatedly(Invoke(ReturnImmediate([=](auto i __unused, auto& out) { in TEST_F()
84 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
89 ResultOf([](auto in) { in TEST_F()
94 ).WillOnce(Invoke(ReturnImmediate([](auto i __unused, auto& out) { in TEST_F()
[all …]
H A Ddefault_permissions.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
62 /* With -o default_permissions, FUSE_ACCESS should never be called */ in SetUp()
64 ResultOf([=](auto in) { in SetUp()
72 void expect_chmod(uint64_t ino, mode_t mode, uint64_t size = 0) in expect_chmod() argument
75 ResultOf([=](auto in) { in expect_chmod()
79 in.body.setattr.mode == mode); in expect_chmod()
82 ).WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in expect_chmod()
85 out.body.attr.attr.mode = S_IFREG | mode; in expect_chmod()
94 ResultOf([=](auto in) { in expect_create()
[all …]
H A Dforget.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
65 mode_t mode = S_IFREG | 0755; in TEST_F() local
73 ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
75 out.body.entry.attr.mode = mode; in TEST_F()
111 ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
113 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
128 ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
130 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
157 mode_t mode = S_IFREG | 0755; in TEST_F() local
[all …]
H A Ddefault_permissions_privileged.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
60 /* With -o default_permissions, FUSE_ACCESS should never be called */ in SetUp()
62 ResultOf([=](auto in) { in SetUp()
70 void expect_getattr(uint64_t ino, mode_t mode, uint64_t attr_valid, int times, in expect_getattr() argument
74 ResultOf([=](auto in) { in expect_getattr()
80 .WillRepeatedly(Invoke(ReturnImmediate([=](auto i __unused, auto& out) { in expect_getattr()
83 out.body.attr.attr.mode = mode; in expect_getattr()
91 void expect_lookup(const char *relpath, uint64_t ino, mode_t mode, in expect_lookup() argument
94 FuseTest::expect_lookup(relpath, ino, mode, 0, 1, attr_valid, uid, gid); in expect_lookup()
[all …]
H A Dutils.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
55 * individual filesystems can lower it. The "- 4096" was added in
58 const uint32_t libfuse_max_write = 32 * getpagesize() + 0x1000 - 4096;
164 * each test case would be super-annoying. Instead, set a in SetUp()
171 ResultOf([=](auto in) { in SetUp()
185 ResultOf([=](auto i in SetUp()
228 expect_fallocate(uint64_t ino,uint64_t offset,uint64_t length,uint32_t mode,int error,int times) expect_fallocate() argument
304 expect_lookup(const char * relpath,uint64_t ino,mode_t mode,uint64_t size,int times,uint64_t attr_valid,uid_t uid,gid_t gid) expect_lookup() argument
322 expect_lookup_7_8(const char * relpath,uint64_t ino,mode_t mode,uint64_t size,int times,uint64_t attr_valid,uid_t uid,gid_t gid) expect_lookup_7_8() argument
[all...]
H A Dmknod.cc1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
44 #define VNOVAL (-1) /* Defined in sys/vnode.h */
70 /* Test an OK creation of a file with the given mode and device number */
72 mode_t mode, dev_t dev) in expect_mknod() argument
75 ResultOf([=](auto in) { in expect_mknod()
80 in.body.mknod.mode == mode && in expect_mknod()
86 ).WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in expect_mknod()
88 out.body.entry.attr.mode = mode; in expect_mknod()
113 /* Test an OK creation of a file with the given mode and device number */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp1 //===- Debugify.cpp - Check debug info preservation in optimizations ------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 /// \file In the `synthetic` mode, the `-debugify` attaches synthetic debug info
11 /// preservation. In addition, when using the `original` mode, it can check
12 /// original debug info preservation. The `synthetic` mode is default one.
14 //===----------------------------------------------------------------------===//
38 cl::opt<bool> Quiet("debugify-quiet",
42 "debugify-func-limit",
52 "debugify-level", cl::desc("Kind of debug info to add"),
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.cpp1 //===- VarLenCodeEmitterGen.cpp - CEG for variable-length insts -----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // The CodeEmitterGen component for variable-length instructions.
11 // The basic CodeEmitterGen is almost exclusively designed for fixed-
30 // encoding for variable-length instructions.
50 //===----------------------------------------------------------------------===//
74 // Mode identifier when only one encoding is defined.
75 const AltEncodingTy Universal = -1;
86 CodeGenTarget &Target, AltEncodingTy Mode);
[all …]
H A DInfoByHwMode.cpp1 //===--- InfoByHwMode.cpp -------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
25 std::string llvm::getModeName(unsigned Mode) { in getModeName() argument
26 if (Mode == DefaultMode) in getModeName()
28 return (Twine('m') + Twine(Mode)).str(); in getModeName()
34 auto I = Map.insert({P.first, MVT(llvm::getValueType(P.second))}); in ValueTypeByHwMode()
38 if (R->isSubClassOf("PtrValueType")) in ValueTypeByHwMode()
39 PtrAddrSpace = R->getValueAsInt("AddrSpace"); in ValueTypeByHwMode()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nvidia/
H A Dtegra124-apalis-emc.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016-2019 Toradex AG
7 #include <dt-bindings/clock/tegra124-car.h>
11 emc-timings-1 {
12 nvidia,ram-code = <1>;
14 timing-12750000 {
15 clock-frequency = <12750000>;
16 nvidia,parent-clock-frequency = <408000000>;
18 clock-names = "emc-parent";
21 timing-20400000 {
[all …]
H A Dtegra124-jetson-tk1-emc.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/clock/tegra124-car.h>
7 emc-timings-3 {
8 nvidia,ram-code = <3>;
10 timing-12750000 {
11 clock-frequency = <12750000>;
12 nvidia,parent-clock-frequency = <408000000>;
14 clock-names = "emc-parent";
17 timing-20400000 {
18 clock-frequency = <20400000>;
[all …]
H A Dtegra124-nyan-blaze-emc.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/clock/tegra124-car.h>
7 emc-timings-1 {
8 nvidia,ram-code = <1>;
10 timing-12750000 {
11 clock-frequency = <12750000>;
12 nvidia,parent-clock-frequency = <408000000>;
14 clock-names = "emc-parent";
17 timing-20400000 {
18 clock-frequency = <20400000>;
[all …]
H A Dtegra30-asus-tf300t.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-asus-transformer-common.dtsi"
5 #include "tegra30-asus-lvds-display.dtsi"
12 tf300t-init-hog {
13 gpio-hog;
15 output-low;
27 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
35 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
43 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
[all …]
/freebsd/contrib/bsnmp/tests/
H A Dconstbuf.h2 * Copyright (c) 2019-2020 Hartmut Brandt.
36 #pragma clang diagnostic ignored "-Wgnu-string-literal-operator-template"
56 count_comment(A c, Constbuf_mode &mode) in count_comment() argument
59 mode = Constbuf_mode::BIN; in count_comment()
65 count_hex(A c, Constbuf_mode &mode, std::size_t &bits) in count_hex() argument
76 mode = Constbuf_mode::BIN; in count_hex()
82 handle_hex(A c, Constbuf_mode &mode, std::size_t &bit, U &n) in handle_hex() argument
85 n[bit / 8] |= ((c - '0') << 4) >> (bit % 8); in handle_hex()
90 n[bit / 8] |= ((c - 'a' + 10) << 4) >> (bit % 8); in handle_hex()
95 n[bit / 8] |= ((c - 'A' + 10) << 4) >> (bit % 8); in handle_hex()
[all …]
/freebsd/contrib/tnftp/src/
H A Dftp.14 .\" Copyright (c) 1996-2008 The NetBSD Foundation, Inc.
70 .Bk -words
73 .Bk -words
76 .Bk -words
79 .Bk -words
82 .Bk -words
86 .Bk -words
87 .\" [-T dir,max[,inc]]
98 .Bk -words
105 .Bk -words
[all …]
/freebsd/sys/dev/mii/
H A Dbmtphyreg.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
48 #define AUX_CTL_FEF_EN 0x0020 /* far-end fault enable */
51 #define AUX_STS_FX_MODE 0x0400 /* 100base-FX mode (strap pin) */
63 #define MII_BMTPHY_RXERROR_CTR 0x12 /* 100base-X Rx error counter */
66 #define MII_BMTPHY_FCS_CTR 0x13 /* 100base-X false carrier counter */
69 #define MII_BMTPHY_DIS_CTR 0x14 /* 100base-X disconnect counter */
81 #define AUX_CSR_ANEG 0x0008 /* auto-negotiation activated */
84 #define AUX_CSR_FDX 0x0001 /* full-duplex */
87 #define AUX_SS_ACOMP 0x8000 /* auto-negotiation complete */
[all …]
/freebsd/sys/contrib/ncsw/inc/
H A Denet_ext.h1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
45 #define ENET_NUM_OCTETS_PER_ADDRESS 6 /**< Number of octets (8-bit bytes) in an ethernet addres…
65 @Description Ethernet MAC-PHY Interface
83 auto-negotiation between MAC and phy
85 Note: 1000BaseX auto-negotiation relates
87 SGMII phy can still synchronize with far-end phy
91 @Description Ethernet Duplex Mode
95 e_ENET_HALF_DUPLEX, /**< Half-Duplex mode */
96 e_ENET_FULL_DUPLEX /**< Full-Duplex mode */
112 @Description Ethernet mode (combination of MAC-PHY interface and speed)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp1 //===- VPlanSLP.cpp - SLP Analysis based on VPlan -------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 /// Look-ahead SLP: auto-vectorization in the presence of commutative
15 //===----------------------------------------------------------------------===//
37 #define DEBUG_TYPE "vplan-slp"
39 // Number of levels to look ahead when re-ordering multi node operands.
51 return cast<VPInstruction>(V)->getUnderlyingInstr(); in addCombined()
55 Type *T = cast<VPInstruction>(V)->getUnderlyingInstr()->getType(); in addCombined()
56 assert(!T->isVectorTy() && "Only scalar types supported for now"); in addCombined()
[all …]

12345678910>>...43