Lines Matching refs:buf_c
762 comp_datatype *buf_c=NULL; in test_rdwr_cases() local
875 buf_c = (comp_datatype *)HDmalloc((size_t)nelmts * sizeof(comp_datatype)); in test_rdwr_cases()
877 if(H5Dread(dset2, ctype_id, mspace, fspace, H5P_DEFAULT, buf_c) < 0) in test_rdwr_cases()
883 if(!H5_FLT_ABS_EQUAL(buf_c[u].a, fill_c.a) || buf_c[u].x != fill_c.x || in test_rdwr_cases()
884 !H5_DBL_ABS_EQUAL(buf_c[u].y, fill_c.y) || buf_c[u].z != fill_c.z) { in test_rdwr_cases()
892 (double)buf_c[u].a, buf_c[u].x, buf_c[u].y, buf_c[u].z, in test_rdwr_cases()
911 HDmemset(buf_c, 0, ((size_t)nelmts * sizeof(comp_datatype))); in test_rdwr_cases()
913 buf_c[u].a = 1111.11F; in test_rdwr_cases()
914 buf_c[u].x = 2222; in test_rdwr_cases()
915 buf_c[u].y = 3333.3333F; in test_rdwr_cases()
916 buf_c[u].z = 'd'; in test_rdwr_cases()
918 if(H5Dwrite(dset2, ctype_id, mspace, fspace, H5P_DEFAULT, buf_c) < 0) in test_rdwr_cases()
992 should_be_c.a=buf_c[0].a; in test_rdwr_cases()
993 should_be_c.x=buf_c[0].x; in test_rdwr_cases()
994 should_be_c.y=buf_c[0].y; in test_rdwr_cases()
995 should_be_c.z=buf_c[0].z; in test_rdwr_cases()
1012 should_be_c.a=buf_c[0].a; in test_rdwr_cases()
1013 should_be_c.x=buf_c[0].x; in test_rdwr_cases()
1014 should_be_c.y=buf_c[0].y; in test_rdwr_cases()
1015 should_be_c.z=buf_c[0].z; in test_rdwr_cases()
1036 HDfree(buf_c); in test_rdwr_cases()
1037 buf_c = NULL; in test_rdwr_cases()