/third_party/ntfs-3g/include/ntfs-3g/ |
D | unistr.h | 29 extern BOOL ntfs_names_are_equal(const ntfschar *s1, size_t s1_len, 30 const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, 31 const ntfschar *upcase, const u32 upcase_size); 33 extern int ntfs_names_full_collate(const ntfschar *name1, const u32 name1_len, 34 const ntfschar *name2, const u32 name2_len, 36 const ntfschar *upcase, const u32 upcase_len); 38 extern int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n); 40 extern int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, 41 const ntfschar *upcase, const u32 upcase_size); 43 extern u32 ntfs_ucsnlen(const ntfschar *s, u32 maxlen); [all …]
|
D | dir.h | 55 extern ntfschar NTFS_INDEX_I30[5]; 56 extern ntfschar NTFS_INDEX_SII[5]; 57 extern ntfschar NTFS_INDEX_SDH[5]; 58 extern ntfschar NTFS_INDEX_O[3]; 59 extern ntfschar NTFS_INDEX_Q[3]; 60 extern ntfschar NTFS_INDEX_R[3]; 63 const ntfschar *uname, const int uname_len); 71 const ntfschar *name, u8 name_len, mode_t type); 73 const ntfschar *name, u8 name_len, mode_t type, dev_t dev); 75 const ntfschar *name, u8 name_len, const ntfschar *target, [all …]
|
D | attrib.h | 40 extern ntfschar AT_UNNAMED[]; 41 extern ntfschar STREAM_SDS[]; 44 extern ntfschar TXF_DATA[10]; 102 extern int ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, 190 ntfschar *name; 296 ntfschar *name, u32 name_len); 306 ntfschar *name, u32 name_len, s64 *data_size); 329 const ntfschar *name, u8 name_len, const u8 *val, u32 size, 332 const ntfschar *name, u8 name_len, VCN lowest_vcn, 337 ntfschar *name, u8 name_len, const u8 *val, s64 size); [all …]
|
D | plugin.h | 161 le32 securid, ntfschar *name, int name_len, 172 ntfs_inode *ni, ntfschar *name, int name_len); 181 ntfs_inode *ni, ntfschar *name, int name_len);
|
D | reparse.h | 33 char *ntfs_get_abslink(ntfs_volume *vol, ntfschar *junction, 41 const ntfschar *target, int target_len);
|
D | index.h | 117 ntfschar *name; 138 ntfschar *name, u32 name_len);
|
D | volume.h | 250 ntfschar *upcase; /* Upper case equivalents of all 65536 2-byte 255 ntfschar *locase; /* Lower case equivalents of all 65536 2-byte 314 extern int ntfs_volume_rename(ntfs_volume *vol, const ntfschar *label,
|
/third_party/ntfs-3g/libntfs-3g/ |
D | unistr.c | 124 BOOL ntfs_names_are_equal(const ntfschar *s1, size_t s1_len, in ntfs_names_are_equal() 125 const ntfschar *s2, size_t s2_len, in ntfs_names_are_equal() 127 const ntfschar *upcase, const u32 upcase_size) in ntfs_names_are_equal() 165 int ntfs_names_full_collate(const ntfschar *name1, const u32 name1_len, in ntfs_names_full_collate() 166 const ntfschar *name2, const u32 name2_len, in ntfs_names_full_collate() 167 const IGNORE_CASE_BOOL ic, const ntfschar *upcase, in ntfs_names_full_collate() 259 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp() 301 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() 302 const ntfschar *upcase, const u32 upcase_size) in ntfs_ucsncasecmp() 340 u32 ntfs_ucsnlen(const ntfschar *s, u32 maxlen) in ntfs_ucsnlen() [all …]
|
D | dir.c | 77 ntfschar NTFS_INDEX_I30[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('I'), 80 ntfschar NTFS_INDEX_SII[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('S'), 83 ntfschar NTFS_INDEX_SDH[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('S'), 86 ntfschar NTFS_INDEX_O[3] = { const_cpu_to_le16('$'), const_cpu_to_le16('O'), 88 ntfschar NTFS_INDEX_Q[3] = { const_cpu_to_le16('$'), const_cpu_to_le16('Q'), 90 ntfschar NTFS_INDEX_R[3] = { const_cpu_to_le16('$'), const_cpu_to_le16('R'), 250 const ntfschar *uname, const int uname_len) in ntfs_inode_lookup_by_name() 334 (ntfschar*)&ie->key.file_name.file_name, in ntfs_inode_lookup_by_name() 455 (ntfschar*)&ie->key.file_name.file_name, in ntfs_inode_lookup_by_name() 534 ntfschar *uname = (ntfschar*)NULL; in ntfs_inode_lookup_by_mbsname() [all …]
|
D | reparse.c | 92 static const ntfschar dir_junction_head[] = { 99 static const ntfschar vol_junction_head[] = { 113 static ntfschar reparse_index_name[] = { const_cpu_to_le16('$'), 131 static u64 ntfs_fix_file_name(ntfs_inode *dir_ni, ntfschar *uname, in ntfs_fix_file_name() 146 ntfschar file_name[NTFS_MAX_NAME_LEN + 1]; in ntfs_fix_file_name() 220 static char *search_absolute(ntfs_volume *vol, ntfschar *path, in search_absolute() 290 static char *search_relative(ntfs_inode *ni, ntfschar *path, int count) in search_relative() 393 static int ntfs_drive_letter(ntfs_volume *vol, ntfschar letter) in ntfs_drive_letter() 559 static char *ntfs_get_fulllink(ntfs_volume *vol, ntfschar *junction, in ntfs_get_fulllink() 662 char *ntfs_get_abslink(ntfs_volume *vol, ntfschar *junction, int count, in ntfs_get_abslink() [all …]
|
D | efs.c | 58 static ntfschar logged_utility_stream_name[] = { 79 AT_LOGGED_UTILITY_STREAM,(ntfschar*)NULL, 0, in ntfs_get_efs_info() 156 (ntfschar*)((u8*)a + le16_to_cpu(a->name_offset)), in fixup_loop() 245 (ntfschar*)NULL,0)) { in ntfs_set_efs_info()
|
D | attrib.c | 68 ntfschar AT_UNNAMED[] = { const_cpu_to_le16('\0') }; 69 ntfschar STREAM_SDS[] = { const_cpu_to_le16('$'), 75 ntfschar TXF_DATA[] = { const_cpu_to_le16('$'), 334 const ATTR_TYPES type, ntfschar *name, const u32 name_len) in __ntfs_attr_init() 411 ntfschar *name, u32 name_len) in ntfs_attr_open() 415 ntfschar *newname = NULL; in ntfs_attr_open() 430 name = (ntfschar*)NULL; in ntfs_attr_open() 455 ntfschar *attr_name; in ntfs_attr_open() 457 attr_name = (ntfschar*)((u8*)a in ntfs_attr_open() 2825 static int ntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, [all …]
|
D | attrlist.c | 138 entry_len = (sizeof(ATTR_LIST_ENTRY) + sizeof(ntfschar) * in ntfs_attrlist_entry_add() 150 if (!ntfs_attr_lookup(attr->type, (attr->name_length) ? (ntfschar*) in ntfs_attrlist_entry_add() 200 attr->name_length * sizeof(ntfschar)); in ntfs_attrlist_entry_add()
|
D | collate.c | 230 (ntfschar*)&file_name_attr1->file_name, in ntfs_collate_file_name() 232 (ntfschar*)&file_name_attr2->file_name, in ntfs_collate_file_name()
|
D | ea.c | 207 ea_buf = ntfs_attr_readall(ni, AT_EA, (ntfschar*)NULL, 0, in ntfs_get_ntfs_ea() 313 (ntfschar*)NULL, 0, &old_ea_size); in ntfs_set_ntfs_ea() 368 (ntfschar*)NULL, 0, &old_ea_size); in ntfs_remove_ntfs_ea()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | utils.h | 130 ntfschar **outs, int outs_len); 133 static __inline__ ntfschar *ntfs_attr_get_name(ATTR_RECORD *attr) in ntfs_attr_get_name() 135 return (ntfschar*)((u8*)attr + le16_to_cpu(attr->name_offset)); in ntfs_attr_get_name()
|
D | ntfslabel.c | 377 ntfschar *new_label = NULL; in change_label() 386 else if (label_len*sizeof(ntfschar) > 0x100) { in change_label() 389 (unsigned)(0x100 / sizeof(ntfschar)), in change_label() 391 (0x100 / sizeof(ntfschar)))); in change_label() 392 label_len = 0x100 / sizeof(ntfschar); in change_label()
|
D | ntfsundelete.h | 66 ntfschar *uname; /* Filename in unicode */ 84 ntfschar *uname; /* Unicode stream name */
|
D | utils.c | 153 ntfschar **outs, int outs_len) in ntfs_mbstoucs_libntfscompat() 164 ntfschar *tmpstr = NULL; in ntfs_mbstoucs_libntfscompat() 173 ntfschar *re_outs = realloc(*outs, in ntfs_mbstoucs_libntfscompat() 174 sizeof(ntfschar)*(tmpstr_len + 1)); in ntfs_mbstoucs_libntfscompat() 184 sizeof(ntfschar)*(tmpstr_len + 1)); in ntfs_mbstoucs_libntfscompat() 686 if (ntfs_ucstombs((ntfschar *)((char *)attr in utils_attr_get_name()
|
D | ntfscat.h | 36 ntfschar *attr_name; /* Attribute name to display */
|
D | mkntfs.c | 1213 static int mkntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, in mkntfs_attr_find() 1218 ntfschar *upcase = g_vol->upcase; in mkntfs_attr_find() 1262 (ntfschar*)((char*)a + le16_to_cpu(a->name_offset)), in mkntfs_attr_find() 1267 (ntfschar*)((char*)a + in mkntfs_attr_find() 1283 (ntfschar*)((char*)a + in mkntfs_attr_find() 1398 static int mkntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, in mkntfs_attr_lookup() 1440 ntfschar *uname = NULL; in insert_positioned_attr_in_mft_record() 1631 ntfschar *uname = NULL; in insert_non_resident_attr_in_mft_record() 1818 ntfschar *uname = NULL; in insert_resident_attr_in_mft_record() 1962 (const ntfschar*)NULL, 0, CASE_SENSITIVE, in non_resident_unnamed_data() [all …]
|
D | ntfscluster.h | 57 ntfschar *name; /* Attribute name */
|
D | ntfsinfo.c | 396 ntfschar *ucs_attr_name; in ntfs_attr_get_name_mbs() 821 sizeof(ntfschar) * entry->name_length, in ntfs_dump_attr_list() 1154 ntfschar *ucs_vol_name = NULL; in ntfs_dump_attr_volume_name() 1160 ucs_vol_name = (ntfschar*)((u8*)attr + in ntfs_dump_attr_volume_name() 1165 sizeof(ntfschar), &mbs_vol_name, 0); in ntfs_dump_attr_volume_name() 1221 static ntfschar NTFS_DATA_SDS[5] = { const_cpu_to_le16('$'), 1251 ntfschar *name; in ntfs_dump_sds() 1266 name = (ntfschar *)((u8 *)attr + le16_to_cpu(attr->name_offset)); in ntfs_dump_sds() 1744 (ntfschar*)((char*)(attr) + le16_to_cpu((attr)->name_offset)), \ 1934 ntfschar *name; in ntfs_dump_attr_index_allocation() [all …]
|
D | ntfstruncate.c | 79 ntfschar *attr_name = NULL; 287 static int ucstos(char *dest, const ntfschar *src, int maxlen) in ucstos() 348 i = ucstos(buf, (ntfschar*)val, val_len); in dump_resident_attr_val() 572 if (ucstos(s, (ntfschar*)((char*)a + in dump_attr_record()
|
/third_party/ntfs-3g/src/ |
D | ntfs-3g.c | 550 ntfschar **stream_name) in ntfs_fuse_parse_path() 589 ntfschar *stream_name; in ntfs_macfuse_getxtimes() 811 ntfschar *stream_name; in ntfs_fuse_getattr() 963 + sizeof(ntfschar) * PATH_MAX in ntfs_fuse_getattr() 1012 sizeof(ntfschar), in ntfs_fuse_getattr() 1135 ntfschar *stream_name; in ntfs_fuse_readlink() 1218 sizeof(ntfschar) * PATH_MAX) { in ntfs_fuse_readlink() 1239 offsetof(INTX_FILE, target)) / sizeof(ntfschar), in ntfs_fuse_readlink() 1258 const ntfschar *name, const int name_len, const int name_type, in ntfs_fuse_filler() 1474 ntfschar *stream_name; in ntfs_fuse_open() [all …]
|