ReactOS 0.4.15-dev-7846-g8ba6c66
isonum.c File Reference
#include <schily/mconfig.h>
#include "mkisofs.h"
Include dependency graph for isonum.c:

Go to the source code of this file.

Functions

EXPORT void set_721 __PR ((void *vp, UInt32_t i))
 
EXPORT UInt32_t get_711 __PR ((void *vp))
 
EXPORT void set_721 (void *vp, UInt32_t i)
 
EXPORT void set_722 (void *vp, UInt32_t i)
 
EXPORT void set_723 (void *vp, UInt32_t i)
 
EXPORT void set_731 (void *vp, UInt32_t i)
 
EXPORT void set_732 (void *vp, UInt32_t i)
 
EXPORT void set_733 (void *vp, UInt32_t i)
 
EXPORT UInt32_t get_711 (void *vp)
 
EXPORT UInt32_t get_721 (void *vp)
 
EXPORT UInt32_t get_723 (void *vp)
 
EXPORT UInt32_t get_731 (void *vp)
 
EXPORT UInt32_t get_732 (void *vp)
 
EXPORT UInt32_t get_733 (void *vp)
 

Variables

static UConst char sccsid []
 

Function Documentation

◆ __PR() [1/2]

EXPORT UInt32_t get_711 __PR ( (void *vp)  )

◆ __PR() [2/2]

EXPORT void set_721 __PR ( (void *vp, UInt32_t i )

◆ get_711()

EXPORT UInt32_t get_711 ( void vp)

Definition at line 142 of file isonum.c.

144{
145 Uchar *p = vp;
146
147 return (*p & 0xff);
148}
GLfloat GLfloat p
Definition: glext.h:8902
unsigned char Uchar
Definition: utypes.h:45

Referenced by merge_isofs(), and read_merging_directory().

◆ get_721()

EXPORT UInt32_t get_721 ( void vp)

Definition at line 155 of file isonum.c.

157{
158 Uchar *p = vp;
159
160 return ((p[0] & 0xff) | ((p[1] & 0xff) << 8));
161}

Referenced by get_723().

◆ get_723()

EXPORT UInt32_t get_723 ( void vp)

Definition at line 169 of file isonum.c.

171{
172 Uchar *p = vp;
173#if 0
174 if (p[0] != p[3] || p[1] != p[2]) {
175 comerrno(EX_BAD, _("Invalid format 7.2.3 number\n"));
176 }
177#endif
178 return (get_721(p));
179}
EXPORT void comerrno(int err, char *msg, va_alist)
Definition: comerr.c:137
#define _(X)
Definition: i386-dis.c:35
EXPORT UInt32_t get_721(void *vp)
Definition: isonum.c:155
#define EX_BAD
Definition: standard.h:62

Referenced by merge_isofs().

◆ get_731()

EXPORT UInt32_t get_731 ( void vp)

Definition at line 187 of file isonum.c.

189{
190 Uchar *p = vp;
191
192 return ((p[0] & 0xff)
193 | ((p[1] & 0xff) << 8)
194 | ((p[2] & 0xff) << 16)
195 | ((p[3] & 0xff) << 24));
196}

Referenced by fill_boot_desc(), and generate_xa_rr_attributes().

◆ get_732()

EXPORT UInt32_t get_732 ( void vp)

Definition at line 203 of file isonum.c.

205{
206 Uchar *p = vp;
207
208 return ((p[3] & 0xff)
209 | ((p[2] & 0xff) << 8)
210 | ((p[1] & 0xff) << 16)
211 | ((p[0] & 0xff) << 24));
212}

◆ get_733()

EXPORT UInt32_t get_733 ( void vp)

Definition at line 219 of file isonum.c.

221{
222 Uchar *p = vp;
223
224 return ((p[0] & 0xff)
225 | ((p[1] & 0xff) << 8)
226 | ((p[2] & 0xff) << 16)
227 | ((p[3] & 0xff) << 24));
228}

Referenced by assign_file_addresses(), assign_inodes(), check_prev_session(), check_rr_dates(), check_rr_relocation(), copy_mult_extent(), fill_boot_desc(), generate_one_directory(), get_torito_desc(), main(), merge_remaining_entries(), parse_rr(), parse_rrflags(), read_merging_directory(), and sort_n_finish().

◆ set_721()

EXPORT void set_721 ( void vp,
UInt32_t  i 
)

Definition at line 46 of file isonum.c.

49{
50 Uchar *p = vp;
51
52 p[0] = i & 0xff;
53 p[1] = (i >> 8) & 0xff;
54}
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
Definition: glfuncs.h:248

Referenced by fill_boot_desc(), gen_str_path(), generate_joliet_path_tables(), generate_path_tables(), and get_torito_desc().

◆ set_722()

EXPORT void set_722 ( void vp,
UInt32_t  i 
)

Definition at line 61 of file isonum.c.

64{
65 Uchar *p = vp;
66
67 p[0] = (i >> 8) & 0xff;
68 p[1] = i & 0xff;
69}

Referenced by gen_str_path(), gen_xa(), generate_joliet_path_tables(), and generate_path_tables().

◆ set_723()

EXPORT void set_723 ( void vp,
UInt32_t  i 
)

Definition at line 76 of file isonum.c.

79{
80 Uchar *p = vp;
81
82 p[3] = p[0] = i & 0xff;
83 p[2] = p[1] = (i >> 8) & 0xff;
84}

Referenced by attach_dot_entries(), dup_relocated_dir(), find_or_create_directory(), generate_reloc_directory(), insert_boot_cat(), insert_file_entry(), jroot_gen(), pvd_write(), root_gen(), sort_n_finish(), and write_str_dir().

◆ set_731()

EXPORT void set_731 ( void vp,
UInt32_t  i 
)

Definition at line 91 of file isonum.c.

94{
95 Uchar *p = vp;
96
97 p[0] = i & 0xff;
98 p[1] = (i >> 8) & 0xff;
99 p[2] = (i >> 16) & 0xff;
100 p[3] = (i >> 24) & 0xff;
101}

Referenced by fill_boot_desc(), gen_str_path(), generate_joliet_path_tables(), generate_path_tables(), get_joliet_vol_desc(), get_torito_desc(), and pvd_write().

◆ set_732()

EXPORT void set_732 ( void vp,
UInt32_t  i 
)

Definition at line 108 of file isonum.c.

111{
112 Uchar *p = vp;
113
114 p[3] = i & 0xff;
115 p[2] = (i >> 8) & 0xff;
116 p[1] = (i >> 16) & 0xff;
117 p[0] = (i >> 24) & 0xff;
118}

Referenced by gen_str_path(), generate_joliet_path_tables(), generate_path_tables(), get_joliet_vol_desc(), and pvd_write().

◆ set_733()

Variable Documentation

◆ sccsid

UConst char sccsid[]
static
Initial value:
=
"@(#)isonum.c 1.9 10/12/19 Copyright 2006-2010 J. Schilling"

Definition at line 4 of file isonum.c.