Home
last modified time | relevance | path

Searched refs:file_type (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/f2fs-tools/fsck/
Dsload.c54 if (de[i].file_type == F2FS_FT_DIR) in f2fs_make_directory()
56 else if (de[i].file_type == F2FS_FT_REG_FILE) in f2fs_make_directory()
58 else if (de[i].file_type == F2FS_FT_SYMLINK) in f2fs_make_directory()
126 fs_config_func(mnt_path, de->file_type == F2FS_FT_DIR, in set_perms_and_caps()
153 de->file_type = F2FS_FT_REG_FILE; in set_inode_metadata()
155 de->file_type = F2FS_FT_DIR; in set_inode_metadata()
157 de->file_type = F2FS_FT_CHRDEV; in set_inode_metadata()
159 de->file_type = F2FS_FT_BLKDEV; in set_inode_metadata()
161 de->file_type = F2FS_FT_FIFO; in set_inode_metadata()
163 de->file_type = F2FS_FT_SOCK; in set_inode_metadata()
[all …]
Ddir.c197 static void f2fs_update_dentry(nid_t ino, int file_type, in f2fs_update_dentry() argument
212 de->file_type = file_type; in f2fs_update_dentry()
222 int file_type, block_t p_blkaddr, int inc_link) in f2fs_add_link() argument
291 f2fs_update_dentry(ino, file_type, &d, name, name_len, dentry_hash, bit_pos); in f2fs_add_link()
306 if (inc_link && (file_type == F2FS_FT_DIR)){ in f2fs_add_link()
353 dent_blk->dentry[0].file_type = F2FS_FT_DIR; in make_empty_dir()
359 dent_blk->dentry[1].file_type = F2FS_FT_DIR; in make_empty_dir()
470 if (de->file_type == F2FS_FT_DIR) { in init_inode_block()
475 } else if (de->file_type == F2FS_FT_REG_FILE) { in init_inode_block()
478 } else if (de->file_type == F2FS_FT_SYMLINK) { in init_inode_block()
[all …]
/third_party/boost/boost/filesystem/
Dfile_status.hpp40 enum file_type enum
135 explicit BOOST_CONSTEXPR file_status(file_type v) BOOST_NOEXCEPT : in file_status()
139 BOOST_CONSTEXPR file_status(file_type v, perms prms) BOOST_NOEXCEPT : in file_status()
162 …m_value(static_cast< file_type&& >(rhs.m_value)), m_perms(static_cast< enum perms&& >(rhs.m_perms)) in file_status()
167 m_value = static_cast< file_type&& >(rhs.m_value); in operator =()
174 BOOST_CONSTEXPR file_type type() const BOOST_NOEXCEPT { return m_value; } in type()
178 BOOST_CXX14_CONSTEXPR void type(file_type v) BOOST_NOEXCEPT { m_value = v; } in type()
191 file_type m_value;
/third_party/libxkbcommon/src/xkbcomp/
Dinclude.c279 enum xkb_file_type file_type) in ProcessIncludeFile() argument
285 file = FindFileInXkbPath(ctx, stmt->file, file_type, NULL, &offset); in ProcessIncludeFile()
294 if (xkb_file->file_type != file_type) { in ProcessIncludeFile()
298 xkb_file_type_to_string(file_type), in ProcessIncludeFile()
299 xkb_file_type_to_string(xkb_file->file_type), stmt->file); in ProcessIncludeFile()
308 file = FindFileInXkbPath(ctx, stmt->file, file_type, NULL, &offset); in ProcessIncludeFile()
Dkeymap.c244 if (file->file_type < FIRST_KEYMAP_FILE_TYPE || in CompileKeymap()
245 file->file_type > LAST_KEYMAP_FILE_TYPE) { in CompileKeymap()
246 if (file->file_type == FILE_TYPE_GEOMETRY) { in CompileKeymap()
251 xkb_file_type_to_string(file->file_type)); in CompileKeymap()
256 if (files[file->file_type]) { in CompileKeymap()
260 xkb_file_type_to_string(file->file_type)); in CompileKeymap()
264 files[file->file_type] = file; in CompileKeymap()
Dxkbcomp.c38 if (file->file_type != FILE_TYPE_KEYMAP) { in compile_keymap_file()
41 xkb_file_type_to_string(file->file_type)); in compile_keymap_file()
Dinclude.h41 enum xkb_file_type file_type);
/third_party/gn/src/base/files/
Dfile_enumerator_posix.cc60 int file_type) in FileEnumerator() argument
63 file_type, in FileEnumerator()
69 int file_type, in FileEnumerator() argument
73 file_type, in FileEnumerator()
79 int file_type, in FileEnumerator() argument
85 file_type_(file_type), in FileEnumerator()
Dfile_enumerator_win.cc66 int file_type) in FileEnumerator() argument
69 file_type, in FileEnumerator()
75 int file_type, in FileEnumerator() argument
79 file_type, in FileEnumerator()
85 int file_type, in FileEnumerator() argument
89 file_type_(file_type), in FileEnumerator()
Dfile_enumerator.h114 FileEnumerator(const FilePath& root_path, bool recursive, int file_type);
117 int file_type,
121 int file_type,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h66 enum class file_type { enum
175 file_type Type = file_type::status_error;
181 explicit basic_file_status(file_type Type) : Type(Type) {} in basic_file_status()
184 basic_file_status(file_type Type, perms Perms, time_t ATime, in basic_file_status()
192 basic_file_status(file_type Type, perms Perms, uint32_t LastAccessTimeHigh, in basic_file_status()
204 file_type type() const { return Type; } in type()
241 void type(file_type v) { Type = v; } in type()
263 explicit file_status(file_type Type) : basic_file_status(Type) {} in file_status()
266 file_status(file_type Type, perms Perms, dev_t Dev, nlink_t Links, ino_t Ino, in file_status()
274 file_status(file_type Type, perms Perms, uint32_t LinkCount, in file_status()
[all …]
DVirtualFileSystem.h52 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::status_error;
63 uint64_t Size, llvm::sys::fs::file_type Type,
76 llvm::sys::fs::file_type getType() const { return Type; } in getType()
129 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::type_unknown;
133 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry()
137 llvm::sys::fs::file_type type() const { return Type; } in type()
425 Optional<llvm::sys::fs::file_type> Type,
442 Optional<llvm::sys::fs::file_type> Type = None,
468 Optional<llvm::sys::fs::file_type> Type = None,
/third_party/glib/gio/
Dglocalfileenumerator.c303 next_file_helper (GLocalFileEnumerator *local, GFileType *file_type) in next_file_helper() argument
355 *file_type = local->entries[local->entries_pos].type; in next_file_helper()
374 GFileType file_type; in g_local_file_enumerator_next_file() local
386 file_type = G_FILE_TYPE_UNKNOWN; in g_local_file_enumerator_next_file()
388 filename = next_file_helper (local, &file_type); in g_local_file_enumerator_next_file()
396 if (file_type == G_FILE_TYPE_UNKNOWN || in g_local_file_enumerator_next_file()
397 … (file_type == G_FILE_TYPE_SYMBOLIC_LINK && !(local->flags & G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS))) in g_local_file_enumerator_next_file()
415 g_file_info_set_file_type (info, file_type); in g_local_file_enumerator_next_file()
416 if (file_type == G_FILE_TYPE_SYMBOLIC_LINK) in g_local_file_enumerator_next_file()
/third_party/boost/boost/wave/
Dcpp_iteration_context.hpp97 enum file_type enum
114 file_type type_ = main_file) in base_iteration_context()
131 file_type type; // the type of the handled file
154 typename base_type::file_type type = base_type::main_file) in iteration_context()
/third_party/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf644 attribute file_type;
847 type default_t, file_type, mountpoint;
848 type etc_t, file_type;
849 type etc_runtime_t, file_type;
850 type file_t, file_type, mountpoint;
851 type home_root_t, file_type, mountpoint;
852 type lost_found_t, file_type;
853 type mnt_t, file_type, mountpoint;
855 type no_access_t, file_type;
856 type poly_t, file_type;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileOutputBuffer.cpp187 case fs::file_type::directory_file: in create()
189 case fs::file_type::regular_file: in create()
190 case fs::file_type::file_not_found: in create()
191 case fs::file_type::status_error: in create()
DVirtualFileSystem.cpp61 using llvm::sys::fs::file_type;
72 uint32_t User, uint32_t Group, uint64_t Size, file_type Type, in Status()
94 bool Status::isDirectory() const { return Type == file_type::directory_file; } in isDirectory()
96 bool Status::isRegularFile() const { return Type == file_type::regular_file; } in isRegularFile()
102 bool Status::isSymlink() const { return Type == file_type::symlink_file; } in isSymlink()
104 bool Status::isStatusKnown() const { return Type != file_type::status_error; } in isStatusKnown()
107 return isStatusKnown() && Type != file_type::file_not_found; in exists()
181 llvm::sys::fs::file_type::status_error, {}),
682 0, llvm::sys::fs::file_type::directory_file, in InMemoryFileSystem()
696 Optional<llvm::sys::fs::file_type> Type, in addFile()
[all …]
DFileCollector.cpp143 if (Stat.type() == sys::fs::file_type::directory_file) { in copyFiles()
222 if (It->type() == sys::fs::file_type::regular_file || in dir_begin()
223 It->type() == sys::fs::file_type::directory_file || in dir_begin()
224 It->type() == sys::fs::file_type::symlink_file) { in dir_begin()
DMemoryBuffer.cpp384 sys::fs::file_type Type = Status.type(); in getReadWriteFile()
385 if (Type != sys::fs::file_type::regular_file && in getReadWriteFile()
386 Type != sys::fs::file_type::block_file) in getReadWriteFile()
436 sys::fs::file_type Type = Status.type(); in getOpenFileImpl()
437 if (Type != sys::fs::file_type::regular_file && in getOpenFileImpl()
438 Type != sys::fs::file_type::block_file) in getOpenFileImpl()
/third_party/protobuf/python/google/protobuf/internal/
Dgenerator_test.py244 file_type = unittest_pb2.DESCRIPTOR
247 file_type.message_types_by_name[unittest_pb2._TESTALLTYPES.name])
253 file_type.message_types_by_name)
256 file_type = unittest_pb2.DESCRIPTOR
259 file_type.enum_types_by_name[unittest_pb2._FOREIGNENUM.name])
262 file_type = unittest_pb2.DESCRIPTOR
265 file_type.extensions_by_name[unittest_pb2.my_extension_string.name])
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h55 enum class file_type { enum
164 file_type Type;
172 Type(file_type::status_error), Perms(perms_not_known) {} in file_status()
174 file_status(file_type Type) in file_status()
179 file_status(file_type Type, perms Perms, dev_t Dev, ino_t Ino, time_t ATime, in file_status()
189 Type(file_type::status_error), Perms(perms_not_known) {}
191 file_status(file_type Type)
197 file_status(file_type Type, uint32_t LastAccessTimeHigh,
211 file_type type() const { return Type; } in type()
234 void type(file_type v) { Type = v; } in type()
/third_party/glib/gio/tests/
Dlive-g-file.c66 GFileType file_type; member
274 && (item.file_type == G_FILE_TYPE_SYMBOLIC_LINK))) in test_create_structure()
278 switch (item.file_type) in test_create_structure()
397 g_assert_cmpint (ftype, ==, item.file_type); in test_attributes()
409 if (item.file_type != G_FILE_TYPE_SYMBOLIC_LINK) in test_attributes()
459 item.file_type == G_FILE_TYPE_SYMBOLIC_LINK); in test_attributes()
463 if ((item.file_type == G_FILE_TYPE_SYMBOLIC_LINK) && (posix_compat)) in test_attributes()
515 if (((!posix_compat) && (item.file_type == G_FILE_TYPE_SYMBOLIC_LINK)) in test_initial_structure()
707 if ((!posix_compat) && (item.file_type == G_FILE_TYPE_SYMBOLIC_LINK)) in test_enumerate()
887 if ((!posix_compat) && (item.file_type == G_FILE_TYPE_SYMBOLIC_LINK)) in test_copy_move()
[all …]
/third_party/boost/boost/asio/ssl/impl/
Dcontext.ipp717 int file_type;
721 file_type = SSL_FILETYPE_ASN1;
724 file_type = SSL_FILETYPE_PEM;
735 if (::SSL_CTX_use_certificate_file(handle_, filename.c_str(), file_type) != 1)
990 int file_type;
994 file_type = SSL_FILETYPE_ASN1;
997 file_type = SSL_FILETYPE_PEM;
1008 if (::SSL_CTX_use_PrivateKey_file(handle_, filename.c_str(), file_type) != 1)
1032 int file_type;
1036 file_type = SSL_FILETYPE_ASN1;
[all …]
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dgenerator_test.py233 file_type = unittest_pb2.DESCRIPTOR
236 file_type.message_types_by_name[unittest_pb2._TESTALLTYPES.name])
242 file_type.message_types_by_name)
/third_party/curl/lib/vtls/
Dmesalink.c182 int file_type = do_file_type(SSL_SET_OPTION(cert_type)); in mesalink_connect_step1() local
186 file_type) != 1) { in mesalink_connect_step1()
192 file_type = do_file_type(SSL_SET_OPTION(key_type)); in mesalink_connect_step1()
194 file_type) != 1) { in mesalink_connect_step1()

1234