nc4attr.c#371      if (att->nc_typeid != var->type_info->nc_typeid)
#382      if ((retval = nc4_get_typelen_mem(grp->nc4_infovar->type_info->nc_typeid, 0,
#390          if (var->type_info->nc_type_class == NC_VLEN)
#395          else if (var->type_info->nc_type_class == NC_STRING)
#404      if (var->type_info->nc_type_class == NC_VLEN)
#406      else if (var->type_info->nc_type_class == NC_STRING)
#416      if (var->type_info->nc_type_class == NC_VLEN)
#425      else if (var->type_info->nc_type_class == NC_STRING)
nc4file.c#869        NC_TYPE_INFO_T **type_info)
#877   assert(h5 && type_info);
#916      if (!(*type_info = calloc(1, sizeof(NC_TYPE_INFO_T))))
#930            (*type_info)->nc_type_class = NC_STRING;
#936            (*type_info)->nc_type_class = NC_CHAR;
#959         (*type_info)->endianness = NC_ENDIAN_LITTLE;
#961         (*type_info)->endianness = NC_ENDIAN_BIG;
#966          (*type_info)->nc_type_class = NC_INT;
#968        (*type_info)->nc_type_class = NC_FLOAT;
#970      (*type_info)->nc_typeid = nc_type_constant_g[t];
#971      (*type_info)->size = nc_type_size_g[t];
#972      if (!((*type_info)->name = strdup(nc_type_name_g[t])))
#974      (*type_info)->hdf_typeid = hdf_typeid;
#975      (*type_info)->native_hdf_typeid = native_typeid;
#984  *type_info = type;
#1665 &var->type_info)))
#1669   var->type_info->rc++;
#1681  if (var->type_info->nc_type_class == NC_VLEN)
#1686  else if (var->type_info->nc_type_class == NC_STRING)
#1693            assert(var->type_info->size);
#1694     if (!(var->fill_value = malloc(var->type_info->size)))
#1700      if (H5Pget_fill_value(propidvar->type_info->native_hdf_typeid,
#2386   nc_type *xtypeNC_TYPE_INFO_T *type_info)
#2484   if (type_info)
#2487  type_info->nc_type_class = NC_FLOAT;
#2489  type_info->nc_type_class = NC_DOUBLE;
#2491  type_info->nc_type_class = NC_STRING;
#2493  type_info->nc_type_class = NC_INT;
#2494      type_info->endianness = endianness;
#2495      type_info->nc_typeid = *xtype;
#2496      type_info->size = nc_type_size_g[t];
#2497      if (!(type_info->name = strdup(nc_type_name_g[t])))
#2627      if (!(var->type_info = calloc(1, sizeof(NC_TYPE_INFO_T)))) {
#2632      if ((retval = get_netcdf_type_from_hdf4(h5data_type, &var->type_info->nc_typeidvar->type_info))) {
#2638      var->type_info->rc++;
#2640      if ((retval = nc4_get_typelen_mem(h5var->type_info->nc_typeid, 0, &var_type_size))) {
#2645      var->type_info->size = var_type_size;
#2647    rankvar->type_info->nc_typeid));
nc4hdf.c#169nc4_get_default_fill_value(const NC_TYPE_INFO_T *type_info, void *fill_value)
#171  switch (type_info->nc_typeid)
#236  if (var->type_info->nc_type_class == NC_VLEN)
#238  else if (var->type_info->nc_type_class == NC_STRING)
#242      if ((retval = nc4_get_typelen_mem(h5var->type_info->nc_typeid, 0, &size)))
#256      if (var->type_info->nc_type_class == NC_VLEN)
#269      else if (var->type_info->nc_type_class == NC_STRING)
#284      if (nc4_get_default_fill_value(var->type_info, *fillp))
#473    *mem_nc_type = var->type_info->nc_typeid;
#477  if (var->type_info->nc_typeid != *mem_nc_type &&
#478      (var->type_info->nc_typeid == NC_CHAR || *mem_nc_type == NC_CHAR))
#666  if ((mem_nc_type != var->type_info->nc_typeid || (var->type_info->nc_typeid == NC_INT && is_long)) &&
#677           var->type_info->nc_typeidlen));
#681      assert(var->type_info->size);
#682      file_type_size = var->type_info->size;
#698                                   var->type_info->endianness)))
#806      if ((retval = nc4_convert_type(databufrmem_nc_typevar->type_info->nc_typeid,
#816  if (H5Dwrite(var->hdf_datasetidvar->type_info->hdf_typeid,
#828      (var->type_info->nc_typeid == NC_UBYTE || var->type_info->nc_typeid == NC_BYTE) &&
#1003  assert(var->type_info->size);
#1004  file_type_size = var->type_info->size;
#1041      if(var->type_info->nc_type_class == NC_STRING &&
#1042         H5Tget_size(var->type_info->hdf_typeid) > 1 &&
#1043         !H5Tis_variable_str(var->type_info->hdf_typeid)) {
#1046        if ((fstring_len = H5Tget_size(var->type_info->hdf_typeid)) == 0)
#1056      if ((mem_nc_type != var->type_info->nc_typeid || (var->type_info->nc_typeid == NC_INT && is_long)) &&
#1065               var->type_info->nc_typeidlen));
#1082                                       var->type_info->endianness)))
#1109      if (H5Dread(var->hdf_datasetidvar->type_info->native_hdf_typeid,
#1121          if ((retval = nc4_convert_type(bufrdatavar->type_info->nc_typeidmem_nc_type,
#1129              (var->type_info->nc_typeid == NC_UBYTE || var->type_info->nc_typeid == NC_BYTE) &&
#1139          (var->type_info->nc_typeid == NC_UBYTE || var->type_info->nc_typeid == NC_BYTE) &&
#1178            if (H5Dread(var->hdf_datasetidvar->type_info->native_hdf_typeid,
#1212          if (var->type_info->nc_type_class == NC_STRING)
#1222          else if(var->type_info->nc_type_class == NC_VLEN) {
#1271      if (var->type_info->nc_type_class == NC_VLEN)
#1273      else if (var->type_info->nc_type_class == NC_STRING && *(char **)fillvalue)
#1552  if ((retval = nc4_get_hdf_typeid(grp->nc4_infovar->type_info->nc_typeid, &typeid,
#1553                                   var->type_info->endianness)))
#1571          if (var->type_info->nc_type_class == NC_STRING)
#1584              if ((retval = nc4_get_hdf_typeid(grp->nc4_infovar->type_info->nc_typeid, &fill_typeid,
#1665                if (var->type_info->nc_type_class == NC_STRING)
#1668                  type_size = var->type_info->size;
#1782      if (var->type_info->nc_type_class == NC_VLEN)
#1784      else if (var->type_info->nc_type_class == NC_STRING && *(char **)fillp)
#1810  if (var->type_info->size)
#1811    chunk_size_bytes *= var->type_info->size;
#3690                  LOG((5, "%s: dimid for this dimscale is %d", __func__var->type_info->nc_typeid));
nc4internal.c#1050         if (var->type_info)
#1052            if (var->type_info->nc_type_class == NC_VLEN)
#1054            else if (var->type_info->nc_type_class == NC_STRING && *(char **)var->fill_value)
#1063   if (var->type_info)
#1067      if ((retval = nc4_type_free(var->type_info)))
#1069      var->type_info = NULL;
#1492    tabsvar->varidvar->namevar->type_info->nc_typeidvar->ndims, (int)var->dimscale,
#1493       (dims_string ? dims_string : " -"),var->type_info->endiannessvar->type_info->native_hdf_typeid));
nc4internal.h#165   struct NC_TYPE_INFO *type_info;
nc4var.c#34extern int nc4_get_default_fill_value(const NC_TYPE_INFO_T *type_info, void *fill_value);
#209   if ((retval = nc4_get_typelen_mem(grp->nc4_infovar->type_info->nc_typeid, 0, &type_len)))
#211   if (var->type_info->nc_type_class == NC_VLEN)
#242   if (var->type_info->nc_type_class == NC_STRING)
#245      type_size = var->type_info->size;
#353   NC_TYPE_INFO_T *type_info = NULL;
#434      if (!(type_info = calloc(1, sizeof(NC_TYPE_INFO_T))))
#436      type_info->nc_typeid = xtype;
#437      type_info->endianness = NC_ENDIAN_NATIVE;
#438      if ((retval = nc4_get_hdf_typeid(h5xtype, &type_info->hdf_typeid,
#439        type_info->endianness)))
#441      if ((type_info->native_hdf_typeid = H5Tget_native_type(type_info->hdf_typeid,
#444      if ((retval = nc4_get_typelen_mem(h5type_info->nc_typeid, 0,
#445 &type_info->size)))
#450         type_info->nc_type_class = NC_CHAR;
#455         if ((class = H5Tget_class(type_info->hdf_typeid)) < 0)
#460               type_info->nc_type_class = NC_STRING;
#464               type_info->nc_type_class = NC_INT;
#468               type_info->nc_type_class = NC_FLOAT;
#479      if (nc4_find_type(grp->nc4_infoxtype, &type_info))
#484  var->type_info = type_info;
#485  var->type_info->rc++;
#486  type_info = NULL;
#599   if (type_info)
#600      if ((retval = nc4_type_free(type_info)))
#686      *xtypep = var->type_info->nc_typeid;
#738         if (var->type_info->nc_type_class == NC_STRING)
#753             assert(var->type_info->size);
#754             memcpy(fill_valuepvar->fill_valuevar->type_info->size);
#759         if (var->type_info->nc_type_class == NC_STRING)
#764            if ((retval = nc4_get_default_fill_value(var->type_info, (char **)fill_valuep)))
#774            if ((retval = nc4_get_default_fill_value(var->type_infofill_valuep)))
#782      *endiannessp = var->type_info->endianness;
#966      if ((retval = nc_put_att(ncidvarid_FillValuevar->type_info->nc_typeid, 1, fill_value)))
#972      var->type_info->endianness = *endianness;


HyperKWIC - Version 7.20DA executed at 11:37 on 27 Oct 2017 | Polyhedron Solutions - INTERNAL USE | COMMERCIAL (Any O/S) SN 4AKIed