summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-05-19 16:05:23 (GMT)
committerGitHub <noreply@github.com>2023-05-19 16:05:23 (GMT)
commit5c2e434dc630d6e333aa4118c20d67b80df2173d (patch)
tree12871ee75fc10e44c96e2bbe3ce072b6fae070a6 /src
parentd7cb8aca5b4d07f9d04cd5aba618d4ec4dda7ac2 (diff)
downloadhdf5-5c2e434dc630d6e333aa4118c20d67b80df2173d.zip
hdf5-5c2e434dc630d6e333aa4118c20d67b80df2173d.tar.gz
hdf5-5c2e434dc630d6e333aa4118c20d67b80df2173d.tar.bz2
Fix 'datatype' misspellings ('dataype') (#2984)
Diffstat (limited to 'src')
-rw-r--r--src/H5Pocpypl.c2
-rw-r--r--src/H5Ppublic.h4
-rw-r--r--src/H5Zscaleoffset.c22
3 files changed, 14 insertions, 14 deletions
diff --git a/src/H5Pocpypl.c b/src/H5Pocpypl.c
index 94e0a12..98c9d8a 100644
--- a/src/H5Pocpypl.c
+++ b/src/H5Pocpypl.c
@@ -706,7 +706,7 @@ done:
* target file when merging committed datatypes during H5Ocopy
* (i.e. when using the H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG flag
* as set by H5Pset_copy_object). If the source named
- * dataype is not found in the list of paths created by this
+ * datatype is not found in the list of paths created by this
* function, the entire file will be searched.
*
* Usage: H5Padd_merge_committed_dtype_path(plist_id, path)
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 53a455c..987aeba 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -9584,10 +9584,10 @@ H5_DLL herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func,
* committed datatype.
* If copied in a single H5Ocopy() operation, objects
* that share a committed datatype in the source will
- * share an anonymous committed dataype in the
+ * share an anonymous committed datatype in the
* destination copy. Subsequent H5Ocopy() operations,
* however, will be unaware of prior anonymous committed
- * dataypes and will create new ones.
+ * datatypes and will create new ones.
*
* See the “See Also” section immediately below for
* functions related to the use of this flag.</td>
diff --git a/src/H5Zscaleoffset.c b/src/H5Zscaleoffset.c
index 6613ec2..4f35fe3 100644
--- a/src/H5Zscaleoffset.c
+++ b/src/H5Zscaleoffset.c
@@ -326,7 +326,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
{ \
if (sizeof(type) <= sizeof(long long)) \
H5Z_scaleoffset_get_filval_1(type, cd_values, filval) else HGOTO_ERROR( \
- H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Find maximum and minimum values of a buffer with fill value defined for integer type */
@@ -445,7 +445,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
} \
} \
else \
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Precompress for unsigned integer type */
@@ -553,7 +553,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
min * pow_fun((type)10, (type)D_val)); \
} \
else \
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Modify values of data in precompression if fill value undefined for floating-point type */
@@ -572,7 +572,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
*(long long *)((void *)&buf[i]) = llround_fun(buf[i] * pow_fun((type)10, (type)D_val) - \
min * pow_fun((type)10, (type)D_val)); \
else \
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Save the minimum value for floating-point type */
@@ -590,7 +590,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
H5MM_memcpy(((char *)minval) + (sizeof(long long) - sizeof(type)), &min, sizeof(type)); \
} /* end else */ \
else \
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Precompress for floating-point type using variable-minimum-bits method */
@@ -674,7 +674,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
H5MM_memcpy(&min, ((char *)&minval) + (sizeof(long long) - sizeof(type)), sizeof(type)); \
} /* end else */ \
else \
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Modify values of data in postdecompression if fill value defined for floating-point type */
@@ -701,7 +701,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
: (type)(*(long long *)((void *)&buf[i])) / pow_fun((type)10, (type)D_val) + \
min); \
else \
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Modify values of data in postdecompression if fill value undefined for floating-point type */
@@ -717,7 +717,7 @@ H5Z_class2_t H5Z_SCALEOFFSET[1] = {{
for (i = 0; i < d_nelmts; i++) \
buf[i] = ((type)(*(long long *)((void *)&buf[i])) / pow_fun((type)10, (type)D_val) + min); \
else \
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer dataype") \
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "cannot find matched integer datatype") \
}
/* Postdecompress for floating-point type using variable-minimum-bits method */
@@ -827,7 +827,7 @@ H5Z__scaleoffset_get_type(unsigned dtype_class, unsigned dtype_size, unsigned dt
type = t_ulong_long;
#endif /* H5_SIZEOF_LONG != H5_SIZEOF_LONG_LONG */
else
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, t_bad, "cannot find matched memory dataype")
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, t_bad, "cannot find matched memory datatype")
}
if (dtype_sign == H5Z_SCALEOFFSET_SGN_2) { /* signed integer */
@@ -844,7 +844,7 @@ H5Z__scaleoffset_get_type(unsigned dtype_class, unsigned dtype_size, unsigned dt
type = t_long_long;
#endif /* H5_SIZEOF_LONG != H5_SIZEOF_LONG_LONG */
else
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, t_bad, "cannot find matched memory dataype")
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, t_bad, "cannot find matched memory datatype")
}
}
@@ -854,7 +854,7 @@ H5Z__scaleoffset_get_type(unsigned dtype_class, unsigned dtype_size, unsigned dt
else if (dtype_size == sizeof(double))
type = t_double;
else
- HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, t_bad, "cannot find matched memory dataype")
+ HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, t_bad, "cannot find matched memory datatype")
}
/* Set return value */