Go to the source code of this file.
◆ FDSC
◆ FD_TYPE
Enumerator |
---|
fdt_none | |
fdt_drop | |
fdt_undelete | |
Definition at line 28 of file file.h.
◆ file_add()
Definition at line 142 of file file.c.
143{
146 char *here;
147
150 die(
"%s: Absolute path required.",
path);
152 while (1) {
154 *here = 0;
160 &&
164 + 1,
166 - 1))))
167 die(
"Ambiguous name: \"%s\"",
path);
169 break;
170 if (!walk) {
177 }
179 if (!here)
180 break;
181 *here = '/';
183 }
184}
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
char * strchr(const char *String, int ch)
GLuint GLuint GLsizei GLenum type
struct task_struct * current
int file_cvt(unsigned char *name, unsigned char *fixed)
◆ file_cd()
Definition at line 186 of file file.c.
187{
189
190 if (!curr || !*curr)
192 for (walk = curr; *walk; walk = &(*walk)->
next)
194 return &(*walk)->first;
196}
ios_base &_STLP_CALL fixed(ios_base &__s)
Referenced by subdirs().
◆ file_cvt()
Definition at line 84 of file file.c.
85{
88
93 if (
c <
' ' ||
c > 0x7e ||
strchr(
"*?<>|\"/",
c)) {
94 printf(
"Invalid character in name. Use \\ooo for special "
95 "characters.\n");
96 return 0;
97 }
100 printf(
"Duplicate dots in name.\n");
101 return 0;
102 }
108 continue;
109 }
113 for (cnt = 3; cnt; cnt--) {
115 printf(
"Expected three octal digits.\n");
116 return 0;
117 }
118 c =
c * 8 + *
name++ -
'0';
119 }
121 }
127 }
129 }
131 return 0;
136 }
139 return 1;
140}
static const WCHAR *const ext[]
Referenced by file_add(), and rename_file().
◆ file_modify()
Definition at line 230 of file file.c.
231{
233
235 die(
"Internal error: file_find failed");
236 switch ((*this)->type) {
240 break;
242 *
fixed = *(*this)->name;
244 break;
245 default:
246 die(
"Internal error: file_modify");
247 }
248 next = (*this)->next;
251}
static unsigned __int64 next
static FDSC ** file_find(FDSC **dir, char *fixed)
Referenced by add_file().
◆ file_name()
Construct the "pretty-printed" representation of the name in a short directory entry.
- Parameters
-
[in] | fixed | Pointer to name[0] of a DIR_ENT |
- Returns
- Pointer to static string containing pretty "8.3" equivalent of the name in the directory entry.
Definition at line 58 of file file.c.
59{
63
65 for (
i =
j = 0;
i < 8;
i++)
70 }
73 for (
i =
j = 0;
i < 3;
i++)
78 }
79 }
82}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
static void put_char(char **p, unsigned char c)
◆ file_type()
Definition at line 221 of file file.c.
222{
224
226 return (*this)->
type;
228}
Referenced by add_file(), CVfdShExt::DoVfdDrop(), map_acemask(), map_dacl_2_nfs4acl(), OnImage(), OnTarget(), Open(), PrintImageInfo(), Save(), UpdateImageInfo(), VfdImageTip(), and VfdOpenImage().
◆ file_unused()
Definition at line 269 of file file.c.
270{
272}
static void report_unused(FDSC *this)
Referenced by VfatChkdsk().
◆ fp_root