diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/src/jni/h5dImp.c | 5 | ||||
-rw-r--r-- | java/src/jni/h5util.c | 12 |
2 files changed, 0 insertions, 17 deletions
diff --git a/java/src/jni/h5dImp.c b/java/src/jni/h5dImp.c index 32cf659..184bc88 100644 --- a/java/src/jni/h5dImp.c +++ b/java/src/jni/h5dImp.c @@ -1054,7 +1054,6 @@ H5DreadVL_asstr /* Get size of string array */ n = ENVPTR->GetArrayLength(ENVPAR buf); -fprintf(stderr, "\nH5DreadVL_asstr: n=%d\n", n); /* we will need to read n number of hvl_t structures */ rdata = (hvl_t*)HDcalloc((size_t)n, sizeof(hvl_t)); if (rdata == NULL) { @@ -1078,7 +1077,6 @@ fprintf(stderr, "\nH5DreadVL_asstr: n=%d\n", n); /* create one malloc to hold largest element */ size = H5Tget_size(tid) * max_len; -fprintf(stderr, "\nH5DreadVL_asstr: size=%d - maxlen=%d\n", size, max_len); HDmemset(&h5str, 0, sizeof(h5str_t)); h5str_new(&h5str, 4 * size); @@ -1091,10 +1089,8 @@ fprintf(stderr, "\nH5DreadVL_asstr: size=%d - maxlen=%d\n", size, max_len); H5T_class_t tclass = H5Tget_class(tid); /* convert each element to char string */ for (i=0; i < n; i++) { -fprintf(stderr, "\nH5DreadVL_asstr: h5str[%d]\n", i); h5str.s[0] = '\0'; h5str_vlsprintf(&h5str, did, tid, rdata+i, 0); -fprintf(stderr, "\nH5DreadVL_asstr: h5str[%d]=%s\n", i, h5str.s); jstr = ENVPTR->NewStringUTF(ENVPAR h5str.s); ENVPTR->SetObjectArrayElement(ENVPAR buf, i, jstr); } /* end for */ @@ -1105,7 +1101,6 @@ fprintf(stderr, "\nH5DreadVL_asstr: h5str[%d]=%s\n", i, h5str.s); } /* end else */ } /* end else */ } /* end else */ -fprintf(stderr, "\nH5DreadVL_asstr: status=%d\n", status); return status; } diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c index a1f78c8..0a30438 100644 --- a/java/src/jni/h5util.c +++ b/java/src/jni/h5util.c @@ -187,8 +187,6 @@ h5str_vlsprintf size_t size = H5Tget_size(tid); H5T_sign_t nsign = H5Tget_sign(tid); int bdata_print = 0; -fprintf(stderr, "\nh5str_vlsprintf: tclass=%ld\n", tclass); -fprintf(stderr, "\nh5str_vlsprintf: size=%ld\n", size); if (!str || !ptr) return 0; @@ -209,7 +207,6 @@ fprintf(stderr, "\nh5str_vlsprintf: size=%ld\n", size); n = H5Tget_nmembers(tid); h5str_append(str, " {"); -fprintf(stderr, "\nh5str_vlsprintf: COMPOUND nmembers=%d\n", n); for (i = 0; i < n; i++) { offset = H5Tget_member_offset(tid, i); mtid = H5Tget_member_type(tid, i); @@ -237,7 +234,6 @@ fprintf(stderr, "\nh5str_vlsprintf: COMPOUND nmembers=%d\n", n); for (i = 0; i < rank; i++) total_elmts *= dims[i]; -fprintf(stderr, "\nh5str_vlsprintf: ARRAY total_elems=%lld of size=%lld\n", total_elmts, size); h5str_sprintf(str, container, mtid, ((char *) (ptr->p)), ptr->len, expand_data); H5Tclose(mtid); h5str_append(str, " ] "); @@ -248,7 +244,6 @@ fprintf(stderr, "\nh5str_vlsprintf: ARRAY total_elems=%lld of size=%lld\n", tota break; } /* end switch */ - fprintf(stderr, "\nh5str_vlsprintf: this_strlen=%ld\n", this_strlen); return this_strlen; } /* end h5str_vlsprintf */ @@ -288,8 +283,6 @@ h5str_sprintf size_t size = H5Tget_size(tid); H5T_sign_t nsign = H5Tget_sign(tid); int bdata_print = 0; -fprintf(stderr, "\nh5str_sprintf: tclass=%ld\n", tclass); -fprintf(stderr, "\nh5str_sprintf: size=%ld\n", size); if (!str || !ptr) return 0; @@ -332,7 +325,6 @@ fprintf(stderr, "\nh5str_sprintf: size=%ld\n", size); size = 0; if (H5Tis_variable_str(tid)) { -fprintf(stderr, "\nh5str_sprintf: H5Tis_variable_str\n"); tmp_str = *(char**) ptr; if (tmp_str != NULL) size = HDstrlen(tmp_str); @@ -432,7 +424,6 @@ fprintf(stderr, "\nh5str_sprintf: H5Tis_variable_str\n"); n = H5Tget_nmembers(tid); h5str_append(str, " {"); -fprintf(stderr, "\nh5str_sprintf: COMPOUND nmembers=%d\n", n); for (i = 0; i < n; i++) { offset = H5Tget_member_offset(tid, i); mtid = H5Tget_member_type(tid, i); @@ -552,7 +543,6 @@ fprintf(stderr, "\nh5str_sprintf: COMPOUND nmembers=%d\n", n); for (i = 0; i < rank; i++) total_elmts *= dims[i]; -fprintf(stderr, "\nh5str_sprintf: ARRAY total_elems=%ld\n", total_elmts); for (i = 0; i < total_elmts; i++) { h5str_sprintf(str, container, mtid, cptr + i * size, ptr_len, expand_data); if (i < total_elmts - 1) @@ -569,7 +559,6 @@ fprintf(stderr, "\nh5str_sprintf: ARRAY total_elems=%ld\n", total_elmts); size = H5Tget_size(mtid); h5str_append(str, "{"); -fprintf(stderr, "\nh5str_sprintf: VLEN ptr_len=%lld of size=%lld\n", ptr_len, size); for (i = 0; i < (int)ptr_len; i++) { h5str_sprintf(str, container, mtid, cptr + i * size, ptr_len, expand_data); if (i < (int)ptr_len - 1) @@ -604,7 +593,6 @@ fprintf(stderr, "\nh5str_sprintf: VLEN ptr_len=%lld of size=%lld\n", ptr_len, si HDfree(this_str); } /* end if */ - fprintf(stderr, "\nh5str_sprintf: this_strlen=%ld\n", this_strlen); return this_strlen; } /* end h5str_sprintf */ |