Lines Matching +full:auto +full:- +full:mode

1 /*-
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()
162 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
164 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
183 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
185 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
209 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
211 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
217 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
219 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
244 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
246 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
252 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
254 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
260 ResultOf([=](auto in) { in TEST_F()
264 ).WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
290 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
318 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
321 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
325 ASSERT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
330 * If lookup returns a non-zero entry timeout, then subsequent VOP_LOOKUPs
339 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
342 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
390 * If lookup returns a finite but non-zero entry cache timeout, then we should
400 .WillRepeatedly(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
403 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
422 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
424 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
446 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
448 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
452 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
454 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
461 ASSERT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
475 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
477 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
481 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
483 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
508 ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
510 out.body.entry.attr.mode = S_IFDIR | 0644; in TEST_F()
518 ResultOf([=](auto in) { in TEST_F()
525 .WillOnce(Invoke([=](auto in __unused, auto &out __unused) { })); in TEST_F()
537 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
539 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
559 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
561 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
567 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
569 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
576 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
578 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
606 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
608 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
614 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
616 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
622 ResultOf([=](auto in) { in TEST_F()
626 ).WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
631 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
633 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()
639 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F()
641 out.body.entry.attr.mode = S_IFDIR | 0755; in TEST_F()