Go to the source code of this file.
◆ eo
Value: ((
p)[0] ==
';' && (
p)[1] ==
'1' && (
p)[2] ==
'\0') || \
Definition at line 532 of file hash.c.
◆ HASH_FN
#define HASH_FN |
( |
|
DEV, |
|
|
|
INO |
|
) |
| ((DEV + INO + (INO >> 8) + (INO << 16)) % NR_HASH) |
◆ NR_HASH
◆ NR_NAME_HASH
◆ __PR() [1/6]
◆ __PR() [2/6]
◆ __PR() [3/6]
◆ __PR() [4/6]
◆ __PR() [5/6]
◆ __PR() [6/6]
◆ add_directory_hash()
◆ add_file_hash()
Definition at line 436 of file hash.c.
static int sum(int x_, int y_)
EXPORT void * e_malloc(size_t size)
struct directory_entry * de
Referenced by sort_n_finish().
◆ add_hash()
Definition at line 140 of file hash.c.
144 unsigned int hash_number = 0;
149 _(
"Non zero-length file '%s' assigned zero extent.\n"),
153 #ifdef DUPLICATES_ONCE 163 #ifdef DUPLICATES_ONCE 166 hash_number =
HASH_FN((
unsigned int) spnt->
dev,
167 (
unsigned int) spnt->
inode);
168 #ifdef DUPLICATES_ONCE 169 else if (duplicates_once &&
171 hash_number = UNIQUE_FILES_HASH_FN((
unsigned int) spnt->
size);
185 #if defined(SORTING) || defined(DUPLICATES_ONCE) unsigned int starting_block
unsigned int starting_block
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
struct iso_directory_record isorec
EXPORT void comerrno(int err, char *msg, va_alist)
EXPORT void * e_malloc(size_t size)
◆ delete_file_hash()
◆ find_directory_hash()
◆ find_file_hash()
Definition at line 461 of file hash.c.
467 register int sum = 0;
472 for (p1 =
name; *p1; p1++) {
483 p2 = nh->
de->isorec.name;
485 error(
_(
"Checking name '%s' isorec.name '%s'\n"), p1, p2);
489 if ((*p1 ==
'\0' || *p1 ==
';') ||
490 (*p2 ==
'\0' || *p2 ==
';') ||
500 error(
_(
"'%s' does NOT END OK\n"), p1);
502 error(
_(
"'%s' does NOT END OK\n"), p2);
508 if (*p1 ==
'\0' || *p2 ==
'\0')
511 if (*p1 ==
';' && *p2 ==
';') {
521 if ((*p1 ==
'\0' || *p1 ==
';') &&
522 (*p2 ==
'\0' || *p2 ==
';')) {
static int sum(int x_, int y_)
struct directory_entry * de
GLuint const GLchar * name
Referenced by sort_n_finish().
◆ find_hash()
Definition at line 192 of file hash.c.
195 unsigned int hash_number;
198 #ifdef DUPLICATES_ONCE 208 #ifdef DUPLICATES_ONCE 211 hash_number =
HASH_FN((
unsigned int) spnt->
dev,
212 (
unsigned int) spnt->
inode);
218 s_hash = s_hash->
next;
220 #ifdef DUPLICATES_ONCE 221 }
else if (duplicates_once &&
223 hash_number = UNIQUE_FILES_HASH_FN((
unsigned int) spnt->
size);
228 s_hash = s_hash->
next;
static int compare_files(HANDLE file1, HANDLE file2)
struct iso_directory_record isorec
Referenced by assign_file_addresses(), assign_inodes(), assign_linkcount(), and compute_linkcount().
◆ flush_file_hash()
Definition at line 584 of file hash.c.
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
Referenced by sort_n_finish().
◆ flush_hash()
Definition at line 240 of file hash.c.
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
◆ isoname_endsok()
Definition at line 537 of file hash.c.
548 for (
p = ++
name,
i = 0; *
p &&
i < 5;
p++,
i++) {
553 if (i < 1 || i > 32767)
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
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
Referenced by find_file_hash().
◆ name_hash()
◆ directory_hash_table
◆ hash_table
◆ name_hash_table
◆ sccsid
Initial value:=
"@(#)hash.c 1.30 16/12/13 joerg"
Definition at line 4 of file hash.c.