summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-08-10 20:57:26 (GMT)
committerGitHub <noreply@github.com>2022-08-10 20:57:26 (GMT)
commit174505ca3c27daa30d8affd63bda07ad24f126c5 (patch)
tree8d5a1aa014056b6c05fd7ea5b5906ca2f65b5afd /tools
parente794dc5ec44ea73c92a6d3937e86307e87d277ae (diff)
downloadhdf5-174505ca3c27daa30d8affd63bda07ad24f126c5.zip
hdf5-174505ca3c27daa30d8affd63bda07ad24f126c5.tar.gz
hdf5-174505ca3c27daa30d8affd63bda07ad24f126c5.tar.bz2
Fix typos found in the rest of the hdf5 code-base (#1985)
* Fix typos found in the rest of the hdf5 code-base * Typo in tool.cmake * Revert "Typo in tool.cmake" This reverts commit 06b8403d99757c7d20f1eed530cf317c3d84de4b. * Fix clang-format styling
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5diff.c4
-rw-r--r--tools/lib/h5tools_utils.c2
-rw-r--r--tools/libtest/h5tools_test_utils.c2
-rw-r--r--tools/src/h5perf/pio_perf.c2
-rw-r--r--tools/src/h5repack/h5repack_copy.c2
-rw-r--r--tools/test/h5diff/h5diffgentest.c2
-rw-r--r--tools/test/h5dump/h5dumpgentest.c2
-rw-r--r--tools/test/h5format_convert/h5fc_gentest.c2
-rw-r--r--tools/test/perform/gen_report.pl4
9 files changed, 11 insertions, 11 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 0bad3fe..5312668 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -182,7 +182,7 @@ is_exclude_path(char *path, h5trav_type_t type, diff_opt_t *opts)
/* search objects in exclude list */
while (NULL != exclude_path_ptr) {
- /* if exclude path is is group, exclude its members as well */
+ /* if exclude path is in group, exclude its members as well */
if (exclude_path_ptr->obj_type == H5TRAV_TYPE_GROUP) {
ret_cmp = HDstrncmp(exclude_path_ptr->obj_path, path, HDstrlen(exclude_path_ptr->obj_path));
if (ret_cmp == 0) { /* found matching members */
@@ -246,7 +246,7 @@ is_exclude_attr(const char *path, h5trav_type_t type, diff_opt_t *opts)
/* search objects in exclude list */
while (NULL != exclude_ptr) {
- /* if exclude path is is group, exclude its members as well */
+ /* if exclude path is in group, exclude its members as well */
if (exclude_ptr->obj_type == H5TRAV_TYPE_GROUP) {
ret_cmp = HDstrncmp(exclude_ptr->obj_path, path, HDstrlen(exclude_ptr->obj_path));
if (ret_cmp == 0) { /* found matching members */
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c
index f92f8a7..9fbb20b 100644
--- a/tools/lib/h5tools_utils.c
+++ b/tools/lib/h5tools_utils.c
@@ -697,7 +697,7 @@ tmpfile(void)
* Purpose: Get symbolic link (soft, external) info and its target object type
(dataset, group, named datatype) and path, if exist
*
- * Patameters:
+ * Parameters:
* - [IN] fileid : link file id
* - [IN] linkpath : link path
* - [OUT] link_info: returning target object info (h5tool_link_info_t)
diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c
index 27780a8..9bc3f76 100644
--- a/tools/libtest/h5tools_test_utils.c
+++ b/tools/libtest/h5tools_test_utils.c
@@ -48,7 +48,7 @@
* 4. Configurable expected-actual order in generated comparison strings.
* Some prefer `VERIFY(expected, actual)`, others
* `VERIFY(actual, expected)`. Provide preprocessor ifdef switch
- * to satifsy both parties, assuming one paradigm per test file.
+ * to satisfy both parties, assuming one paradigm per test file.
* (One could #undef and redefine the flag through the file as desired,
* but _why_.)
*
diff --git a/tools/src/h5perf/pio_perf.c b/tools/src/h5perf/pio_perf.c
index 3c54214..1460772 100644
--- a/tools/src/h5perf/pio_perf.c
+++ b/tools/src/h5perf/pio_perf.c
@@ -1688,7 +1688,7 @@ usage(const char *prog)
HDprintf(" Environment variables:\n");
HDprintf(" HDF5_NOCLEANUP Do not remove data files if set [default remove]\n");
HDprintf(" HDF5_MPI_INFO MPI INFO object key=value separated by ;\n");
- HDprintf(" HDF5_PARAPREFIX Paralllel data files prefix\n");
+ HDprintf(" HDF5_PARAPREFIX Parallel data files prefix\n");
fflush(stdout);
} /* end if */
} /* end usage() */
diff --git a/tools/src/h5repack/h5repack_copy.c b/tools/src/h5repack/h5repack_copy.c
index 08d7127..924ac1a 100644
--- a/tools/src/h5repack/h5repack_copy.c
+++ b/tools/src/h5repack/h5repack_copy.c
@@ -441,7 +441,7 @@ get_hyperslab(hid_t dcpl_id, int rank_dset, const hsize_t dims_dset[], size_t si
hsize_t dims_chunk[H5S_MAX_RANK];
hsize_t size_chunk = 1;
hsize_t nchunk_fit; /* number of chunks that fits in hyperslab buffer (H5TOOLS_BUFSIZE) */
- hsize_t ndatum_fit; /* number of dataum that fits in hyperslab buffer (H5TOOLS_BUFSIZE) */
+ hsize_t ndatum_fit; /* number of datum that fits in hyperslab buffer (H5TOOLS_BUFSIZE) */
hsize_t chunk_dims_map[H5S_MAX_RANK]; /* mapped chunk dimensions */
hsize_t hs_dims_map[H5S_MAX_RANK]; /* mapped hyperslab dimensions */
hsize_t hslab_nbytes; /* size of hyperslab in byte */
diff --git a/tools/test/h5diff/h5diffgentest.c b/tools/test/h5diff/h5diffgentest.c
index a66a7b8..c9a2ad6 100644
--- a/tools/test/h5diff/h5diffgentest.c
+++ b/tools/test/h5diff/h5diffgentest.c
@@ -2752,7 +2752,7 @@ gen_dataset_idx(const char *file, int format)
hid_t did2 = H5I_INVALID_HID; /* dataset id */
#endif
- /* Get a copy of the file aaccess property */
+ /* Get a copy of the file access property */
fapl = H5Pcreate(H5P_FILE_ACCESS);
/* Set the "use the latest format" bounds for creating objects in the file */
diff --git a/tools/test/h5dump/h5dumpgentest.c b/tools/test/h5dump/h5dumpgentest.c
index 08f241c..04c01c6 100644
--- a/tools/test/h5dump/h5dumpgentest.c
+++ b/tools/test/h5dump/h5dumpgentest.c
@@ -7191,7 +7191,7 @@ gent_dataset_idx(void)
int i, j;
int H5_ATTR_NDEBUG_UNUSED ret;
- /* Get a copy of the file aaccess property */
+ /* Get a copy of the file access property */
fapl = H5Pcreate(H5P_FILE_ACCESS);
/* Set the "use the latest version of the format" bounds for creating objects in the file */
diff --git a/tools/test/h5format_convert/h5fc_gentest.c b/tools/test/h5format_convert/h5fc_gentest.c
index ccb64b5..5060432 100644
--- a/tools/test/h5format_convert/h5fc_gentest.c
+++ b/tools/test/h5format_convert/h5fc_gentest.c
@@ -63,7 +63,7 @@ const char *FILENAME[] = {"h5fc_ext1_i.h5", /* 0 */
/*
* Function: gen_non()
*
- * Create a file with SWMR write+non-latest-format--this will result in v3 superbock+latest version support:
+ * Create a file with SWMR write+non-latest-format--this will result in v3 superblock+latest version support:
* 1) 1 chunked dataset with extensible array chunk indexing type (without data)
* 2) 1 chunked dataset with version 2 B-tree chunk indexing type (with data)
* Re-open the file with write+non-latest-format and create:
diff --git a/tools/test/perform/gen_report.pl b/tools/test/perform/gen_report.pl
index a1fbeb0..c853b70 100644
--- a/tools/test/perform/gen_report.pl
+++ b/tools/test/perform/gen_report.pl
@@ -391,7 +391,7 @@ sub plot_default_graph1 {
print GNUPLOT_PIPE "set term x11 1\n";
print GNUPLOT_PIPE "set xlabel \"Number of Processors\"\n";
print GNUPLOT_PIPE "set title \"" . $data_type . " Performance (Speed vs. Num. Procs)\"\n";
- print GNUPLOT_PIPE "set ylabel \"Bandwdith (MB/s)\"\n";
+ print GNUPLOT_PIPE "set ylabel \"Bandwidth (MB/s)\"\n";
print GNUPLOT_PIPE "set label 1 \"Transfer buffer size: " . $transfer_buffer_size . "K\" at graph 0.7, graph 0.7 left \n";
#the next line attempts to hack gnuplot to get around it's inability to linearly scale, but logarithmically label an axis
@@ -435,7 +435,7 @@ sub plot_default_graph2 {
print GNUPLOT_PIPE "set term x11 2\n";
print GNUPLOT_PIPE "set xlabel \"Transfer Buffer Size (in bytes)\"\n";
print GNUPLOT_PIPE "set title \"" . $data_type . " Performance (Speed vs. Transfer Buffer Size)\"\n";
- print GNUPLOT_PIPE "set ylabel \"Bandwdith (MB/s)\"\n";
+ print GNUPLOT_PIPE "set ylabel \"Bandwidth (MB/s)\"\n";
print GNUPLOT_PIPE "set label 1 \"Procs: " . $num_procs_graph . "\" at graph 0.7, graph 0.7 left \n";
#the next line attempts to hack gnuplot to get around it's inability to linearly scale, but logarithmically label an axis