Home
last modified time | relevance | path

Searched refs:is_block_file (Results 1 – 17 of 17) sorted by relevance

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/
Dis_block_file.pass.cpp35 ASSERT_NOEXCEPT(is_block_file(s)); in TEST_CASE()
36 ASSERT_NOEXCEPT(is_block_file(p, ec)); in TEST_CASE()
37 ASSERT_NOT_NOEXCEPT(is_block_file(p)); in TEST_CASE()
60 TEST_CHECK(is_block_file(s) == TC.expect); in TEST_CASE()
67 TEST_CHECK(is_block_file(p) == false); in TEST_CASE()
78 TEST_CHECK(is_block_file(file, ec) == false); in TEST_CASE()
81 TEST_CHECK_THROW(filesystem_error, is_block_file(file)); in TEST_CASE()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/
Dis_block_file.pass.cpp32 ASSERT_NOEXCEPT(is_block_file(s)); in signature_test()
33 ASSERT_NOEXCEPT(is_block_file(p, ec)); in signature_test()
34 ASSERT_NOT_NOEXCEPT(is_block_file(p)); in signature_test()
57 assert(is_block_file(s) == TC.expect); in is_block_file_status_test()
65 assert(is_block_file(p) == false); in test_exist_not_found()
85 assert(is_block_file(p, ec) == false); in test_is_block_file_fails()
88 TEST_THROWS_TYPE(filesystem_error, is_block_file(p)); in test_is_block_file_fails()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dfile_type_obs.pass.cpp44 TEST_FUNC(is_block_file); in signatures()
74 assert(e.is_block_file() == is_block_file(st)); in test_without_ec()
123 assert(e.is_block_file(ec) == is_block_file(st)); in test_with_ec()
179 assert(e.is_block_file(ec) == is_block_file(st)); in test_with_ec_dne()
245 assert(e.is_block_file(ec) == is_block_file(st)); in test_with_ec_cannot_resolve()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dfile_type_obs.pass.cpp46 TEST_FUNC(is_block_file); in TEST_CASE()
77 TEST_CHECK(e.is_block_file() == is_block_file(st)); in TEST_CASE()
120 TEST_CHECK(e.is_block_file(ec) == is_block_file(st)); in TEST_CASE()
169 TEST_CHECK(e.is_block_file(ec) == is_block_file(st)); in TEST_CASE()
232 TEST_CHECK(e.is_block_file(ec) == is_block_file(st)); in TEST_CASE()
/external/cronet/net/disk_cache/blockfile/
Daddr.cc12 DCHECK(is_block_file()); in start_block()
17 DCHECK(is_block_file() || !value_); in num_blocks()
Dentry_impl.cc457 if (address.is_block_file()) in CreateEntry()
631 (stored->key_len >= kMaxBlockSize && key_addr.is_block_file()))) in SanityCheck()
665 if (data_size > kMaxBlockSize && data_addr.is_block_file()) in DataSanityCheck()
683 (data_size > kMaxBlockSize && data_addr.is_block_file()) || in FixForDelete()
800 if (address.is_block_file()) in GetKey()
1078 if (address.is_block_file()) { in InternalReadData()
1178 if (address.is_block_file()) { in InternalWriteData()
1338 if (address.is_block_file() && !MoveToLocalBuffer(index)) in PrepareTarget()
1442 if (address.is_block_file()) in CopyToLocalBuffer()
1533 if (address.is_block_file()) { in Flush()
Daddr.h96 bool is_block_file() const { in is_block_file() function
Dblock_files.cc296 DCHECK(address.is_block_file() || !address.is_initialized()); in GetFile()
Dsparse_control.cc120 DCHECK(address.is_block_file()); in ReadData()
Dbackend_impl.cc1481 if (!address.is_block_file()) { in InitStats()
2105 if (address.is_block_file()) in CheckEntry()
/external/cronet/buildtools/third_party/libc++/trunk/include/__filesystem/
Doperations.h112 inline _LIBCPP_HIDE_FROM_ABI bool is_block_file(file_status __s) noexcept { return __s.type() == fi… in is_block_file() function
113 inline _LIBCPP_HIDE_FROM_ABI bool is_block_file(const path& __p) { return is_block_file(__status(__… in is_block_file() function
114 inline _LIBCPP_HIDE_FROM_ABI bool is_block_file(const path& __p, error_code& __ec) noexcept { retur… in is_block_file() function
Ddirectory_entry.h117 bool is_block_file() const { return __get_ft() == file_type::block; } in is_block_file() function
120 bool is_block_file(error_code& __ec) const noexcept { in is_block_file() function
/external/libcxx/include/experimental/
Dfilesystem141 bool is_block_file(file_status s) noexcept;
142 bool is_block_file(const path& p);
143 bool is_block_file(const path& p, error_code& ec) noexcept;
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dfilesystem195 bool is_block_file() const;
196 bool is_block_file(error_code& ec) const noexcept;
334 bool is_block_file(file_status s) noexcept;
335 bool is_block_file(const path& p);
336 bool is_block_file(const path& p, error_code& ec) noexcept;
/external/libcxx/include/
Dfilesystem141 bool is_block_file(file_status s) noexcept;
142 bool is_block_file(const path& p);
143 bool is_block_file(const path& p, error_code& ec) noexcept;
1650 inline _LIBCPP_INLINE_VISIBILITY bool is_block_file(file_status __s) noexcept {
1654 inline _LIBCPP_INLINE_VISIBILITY bool is_block_file(const path& __p) {
1655 return is_block_file(__status(__p));
1658 inline _LIBCPP_INLINE_VISIBILITY bool is_block_file(const path& __p,
1660 return is_block_file(__status(__p, &__ec));
2015 bool is_block_file() const { return __get_ft() == file_type::block; }
2018 bool is_block_file(error_code& __ec) const noexcept {
/external/armnn/third-party/ghc/
Dfilesystem.hpp643 bool is_block_file() const;
644 bool is_block_file(std::error_code& ec) const noexcept;
874 GHC_FS_API bool is_block_file(file_status s) noexcept;
875 GHC_FS_API bool is_block_file(const path& p);
876 GHC_FS_API bool is_block_file(const path& p, std::error_code& ec) noexcept;
3745 GHC_INLINE bool is_block_file(file_status s) noexcept in is_block_file() function
3750 GHC_INLINE bool is_block_file(const path& p) in is_block_file() function
3752 return is_block_file(status(p)); in is_block_file()
3755 GHC_INLINE bool is_block_file(const path& p, std::error_code& ec) noexcept in is_block_file() function
3757 return is_block_file(status(p, ec)); in is_block_file()
[all …]
/external/cronet/net/tools/dump_cache/
Ddump_files.cc392 return address.is_initialized() && address.is_block_file(); in CanDump()