summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
commit6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch)
tree5a7a112fe7a8a98c6fecb45b513789d15962eb3d /tools/lib/h5diff.h
parent6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff)
downloadhdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2
[svn-r11245] Purpose:
Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'tools/lib/h5diff.h')
-rw-r--r--tools/lib/h5diff.h240
1 files changed, 120 insertions, 120 deletions
diff --git a/tools/lib/h5diff.h b/tools/lib/h5diff.h
index a307cb8..9f0a0dc 100644
--- a/tools/lib/h5diff.h
+++ b/tools/lib/h5diff.h
@@ -77,10 +77,10 @@ typedef struct {
extern "C" {
#endif
-hsize_t h5diff(const char *fname1,
- const char *fname2,
- const char *objname1,
- const char *objname2,
+hsize_t h5diff(const char *fname1,
+ const char *fname2,
+ const char *objname1,
+ const char *objname2,
diff_opt_t *options);
#ifdef H5_HAVE_PARALLEL
@@ -100,75 +100,75 @@ void print_manager_output(void);
*/
-hsize_t diff_dataset( hid_t file1_id,
- hid_t file2_id,
- const char *obj1_name,
+hsize_t diff_dataset( hid_t file1_id,
+ hid_t file2_id,
+ const char *obj1_name,
const char *obj2_name,
diff_opt_t *options );
-hsize_t diff_datasetid( hid_t dset1_id,
- hid_t dset2_id,
- const char *obj1_name,
- const char *obj2_name,
+hsize_t diff_datasetid( hid_t dset1_id,
+ hid_t dset2_id,
+ const char *obj1_name,
+ const char *obj2_name,
diff_opt_t *options );
-hsize_t diff( hid_t file1_id,
- const char *path1,
- hid_t file2_id,
- const char *path2,
- diff_opt_t *options,
+hsize_t diff( hid_t file1_id,
+ const char *path1,
+ hid_t file2_id,
+ const char *path2,
+ diff_opt_t *options,
H5G_obj_t type );
-hsize_t diff_compare( hid_t file1_id,
- const char *file1_name,
- const char *obj1_name,
- int nobjects1,
+hsize_t diff_compare( hid_t file1_id,
+ const char *file1_name,
+ const char *obj1_name,
+ int nobjects1,
trav_info_t *info1,
- hid_t file2_id,
- const char *file2_name,
- const char *obj2_name,
- int nobjects2,
+ hid_t file2_id,
+ const char *file2_name,
+ const char *obj2_name,
+ int nobjects2,
trav_info_t *info2,
diff_opt_t *options );
-hsize_t diff_match( hid_t file1_id,
- int nobjects1,
+hsize_t diff_match( hid_t file1_id,
+ int nobjects1,
trav_info_t *info1,
- hid_t file2_id,
- int nobjects2,
- trav_info_t *info2,
+ hid_t file2_id,
+ int nobjects2,
+ trav_info_t *info2,
diff_opt_t *options );
-hsize_t diff_array( void *_mem1,
- void *_mem2,
- hsize_t nelmts,
- int rank,
- hsize_t *dims,
- diff_opt_t *options,
- const char *name1,
+hsize_t diff_array( void *_mem1,
+ void *_mem2,
+ hsize_t nelmts,
+ int rank,
+ hsize_t *dims,
+ diff_opt_t *options,
+ const char *name1,
const char *name2,
hid_t m_type,
hid_t container1_id,
hid_t container2_id); /* dataset where the reference came from*/
-int diff_can_type( hid_t f_type1, /* file data type */
+int diff_can_type( hid_t f_type1, /* file data type */
hid_t f_type2, /* file data type */
- int rank1,
+ int rank1,
int rank2,
- hsize_t *dims1,
+ hsize_t *dims1,
hsize_t *dims2,
- hsize_t *maxdim1,
+ hsize_t *maxdim1,
hsize_t *maxdim2,
- const char *obj1_name,
- const char *obj2_name,
+ const char *obj1_name,
+ const char *obj2_name,
diff_opt_t *options );
-int diff_attr(hid_t loc1_id,
- hid_t loc2_id,
- const char *path1,
- const char *path2,
+int diff_attr(hid_t loc1_id,
+ hid_t loc2_id,
+ const char *path1,
+ const char *path2,
diff_opt_t *options
);
@@ -186,13 +186,13 @@ const char* get_type(int type);
const char* get_class(H5T_class_t tclass);
const char* get_sign(H5T_sign_t sign);
void print_dims( int r, hsize_t *d );
-void print_pos( int *ph,
- int per,
- hsize_t curr_pos,
- hsize_t *acc,
- hsize_t *pos,
- int rank,
- const char *obj1,
+void print_pos( int *ph,
+ int per,
+ hsize_t curr_pos,
+ hsize_t *acc,
+ hsize_t *pos,
+ int rank,
+ const char *obj1,
const char *obj2 );
int print_objname(diff_opt_t *options, hsize_t nfound);
@@ -207,172 +207,172 @@ void print_sizes( const char *obj1, const char *obj2,
hsize_t diff_native_uchar(unsigned char *mem1,
unsigned char *mem2,
- hsize_t i,
- int rank,
- hsize_t *acc,
+ hsize_t i,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_char(unsigned char *mem1,
unsigned char *mem2,
- hsize_t i,
- int rank,
- hsize_t *acc,
+ hsize_t i,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
-hsize_t diff_datum(void *_mem1,
- void *_mem2,
+hsize_t diff_datum(void *_mem1,
+ void *_mem2,
hid_t m_type,
- hsize_t i,
- int rank,
- hsize_t *acc,
- hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ hsize_t i,
+ int rank,
+ hsize_t *acc,
+ hsize_t *pos,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
hid_t container1_id,
hid_t container2_id, /*where the reference came from*/
- int *ph); /*print header */
+ int *ph); /*print header */
hsize_t diff_float(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_double(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_schar(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_uchar(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_short(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_ushort(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_int(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_uint(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_long(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_ulong(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_llong(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);
hsize_t diff_ullong(unsigned char *mem1,
unsigned char *mem2,
hsize_t nelmts,
- int rank,
- hsize_t *acc,
+ int rank,
+ hsize_t *acc,
hsize_t *pos,
- diff_opt_t *options,
- const char *obj1,
+ diff_opt_t *options,
+ const char *obj1,
const char *obj2,
int *ph);