Home
last modified time | relevance | path

Searched refs:nctype (Results 1 – 25 of 153) sorted by relevance

1234567

/dports/science/netcdf/netcdf-c-4.7.4/ncgen/
H A Dutil.c182 if(nctype >= NC_NAT && nctype <= NC_COMPOUND) in nctypename()
184 if(nctype >= NC_GRP && nctype <= NC_PRIM) in nctypename()
228 if(nctype >= NC_NAT && nctype <= NC_COMPOUND) in ncsize()
286 return nctype; in signedtype()
318 && ((nctype >= NC_BYTE && nctype <= NC_INT) in isinttype()
319 || (nctype >= NC_UBYTE && nctype <= NC_UINT64)); in isinttype()
334 return (nctype == NC_FLOAT || nctype <= NC_DOUBLE); in isfloattype()
340 return (nctype >= NC_BYTE && nctype <= NC_DOUBLE) in isclassicprim()
347 return (nctype >= NC_BYTE && nctype <= NC_DOUBLE) in isclassicprimplus()
355 return (nctype >= NC_BYTE && nctype <= NC_STRING) in isprim()
[all …]
H A Dutil.h29 extern nc_type signedtype(nc_type nctype);
30 extern nc_type unsignedtype(nc_type nctype);
33 extern int isinttype(nc_type nctype); /* some kind of integer*/
34 extern int isuinttype(nc_type nctype); /* some kind of integer*/
35 extern int isfloattype(nc_type nctype); /* some kind of float*/
H A Dbindata.c34 if(con->nctype != NC_ECONST) { in bin_constant()
37 switch (con->nctype) { in bin_constant()
254 tmp->nctype = NC_CHAR; in bin_generate_data_r()
263 tmp->nctype = NC_BYTE; in bin_generate_data_r()
272 tmp->nctype = NC_UBYTE; in bin_generate_data_r()
281 tmp->nctype = NC_SHORT; in bin_generate_data_r()
299 tmp->nctype = NC_INT; in bin_generate_data_r()
308 tmp->nctype = NC_UINT; in bin_generate_data_r()
317 tmp->nctype = NC_INT64; in bin_generate_data_r()
335 tmp->nctype = NC_FLOAT; in bin_generate_data_r()
[all …]
H A Dncgen.y959 sym->nc_id = nctype; in makeprimitivetype()
1023 makeconstdata(nc_type nctype) in makeconstdata() argument
1026 consttype = nctype; in makeconstdata()
1027 con->nctype = nctype; in makeconstdata()
1030 switch (nctype) { in makeconstdata()
1077 nctypename(nctype)); in makeconstdata()
1091 con->nctype = NC_ECONST; in makeenumconstref()
1135 basetypefor(nc_type nctype) in basetypefor() argument
1202 tmp->nctype = (con->nctype == NC_STRING?NC_STRING:NC_INT); in makespecial()
1228 if(tmp->nctype == NC_INT) in makespecial()
[all …]
H A Ddata.c65 isstringable(nc_type nctype) in isstringable() argument
67 switch (nctype) { in isstringable()
82 con->nctype = NC_COMPOUND; in list2const()
142 switch (newcon->nctype) { in cloneconstant()
175 switch (con->nctype) { in clearconstant()
347 if(prim->nctype == NC_ECONST) in alignbuffer()
550 c->nctype = NC_COMPOUND; in emptycompoundconst()
563 c->nctype = NC_STRING; in emptystringconst()
644 d->nctype = NC_COMPOUND; in builddatasublist()
697 switch (con->nctype) { in reclaimconstant()
[all …]
H A Ddump.c61 switch (dp->nctype) { in bufdump()
78 if(isprimplus(dp->nctype) || dp->nctype == NC_FILLVALUE) { in bufdump()
83 sprintf(tmp,"?%d? ",dp->nctype); in bufdump()
95 ASSERT(isprimplus(ci->nctype) || ci->nctype == NC_FILLVALUE); in dumpdataprim()
96 switch (ci->nctype) { in dumpdataprim()
159 default: PANIC1("dumpdataprim: bad type code:%d",ci->nctype); in dumpdataprim()
192 switch (con->nctype) { in dumpconstant1()
H A Dgenf77.c28 static const char* nfstype(nc_type nctype);
30 static const char* nfstype(nc_type nctype);
173 nc_type nctype; in genf77_netcdf() local
175 for(nctype=0;nctype<=NC_DOUBLE;nctype++) {pertypesizes[nctype] = 0;} in genf77_netcdf()
199 for(nctype=NC_BYTE;nctype <= NC_DOUBLE;nctype++) { in genf77_netcdf()
203 if(pertypesizes[nctype] > 0) { in genf77_netcdf()
205 basetype, ncftype(nctype), in genf77_netcdf()
206 pertypesizes[nctype]); in genf77_netcdf()
647 nfstype(nc_type nctype) in nfstype() argument
649 switch (nctype) { in nfstype()
[all …]
H A Dsemantics.c431 newec->nctype = esym->typ.typecode; in processenums()
474 if(con->nctype == NC_COMPOUND) { in processeconstrefsR()
477 } else if(con->nctype == NC_ECONST || con->nctype == NC_FILLVALUE) { in processeconstrefsR()
512 if(con->nctype == NC_FILLVALUE) { in fixeconstref()
956 switch (con->nctype) { in inferattributetype1()
977 nc_type nctype; in inferattributetype() local
992 if(nctype == NC_STRING) in inferattributetype()
997 switch (nctype) { in inferattributetype()
1000 nctype = NC_INT; in inferattributetype()
1189 if(con->nctype != NC_COMPOUND) { in computeunlimitedsizes()
[all …]
H A Dgetfill.c67 con->nctype = tsym->typ.typecode; in fill()
121 con->nctype = tsym->typ.typecode; in filllist()
181 switch(value->nctype) { in nc_getfill()
216 switch (eccon->nctype) { in nc_getfill()
232 derror("nc_getfill: unrecognized type: %d",value->nctype); in nc_getfill()
237 nc_dfaltfillname(nc_type nctype) in nc_dfaltfillname() argument
239 switch (nctype) { in nc_dfaltfillname()
/dports/math/libmesh/libmesh-1.6.2/contrib/netcdf/netcdf-c-4.6.2/ncgen/
H A Dutil.c175 if(nctype >= NC_NAT && nctype <= NC_COMPOUND) in nctypename()
177 if(nctype >= NC_GRP && nctype <= NC_PRIM) in nctypename()
221 if(nctype >= NC_NAT && nctype <= NC_COMPOUND) in ncsize()
279 return nctype; in signedtype()
311 && ((nctype >= NC_BYTE && nctype <= NC_INT) in isinttype()
312 || (nctype >= NC_UBYTE && nctype <= NC_UINT64)); in isinttype()
327 return (nctype == NC_FLOAT || nctype <= NC_DOUBLE); in isfloattype()
333 return (nctype >= NC_BYTE && nctype <= NC_DOUBLE) in isclassicprim()
340 return (nctype >= NC_BYTE && nctype <= NC_DOUBLE) in isclassicprimplus()
348 return (nctype >= NC_BYTE && nctype <= NC_STRING) in isprim()
[all …]
H A Dutil.h29 extern nc_type signedtype(nc_type nctype);
30 extern nc_type unsignedtype(nc_type nctype);
33 extern int isinttype(nc_type nctype); /* some kind of integer*/
34 extern int isuinttype(nc_type nctype); /* some kind of integer*/
35 extern int isfloattype(nc_type nctype); /* some kind of float*/
H A Dbindata.c34 if(con->nctype != NC_ECONST) { in bin_constant()
37 switch (con->nctype) { in bin_constant()
254 tmp->nctype = NC_CHAR; in bin_generate_data_r()
263 tmp->nctype = NC_BYTE; in bin_generate_data_r()
272 tmp->nctype = NC_UBYTE; in bin_generate_data_r()
281 tmp->nctype = NC_SHORT; in bin_generate_data_r()
299 tmp->nctype = NC_INT; in bin_generate_data_r()
308 tmp->nctype = NC_UINT; in bin_generate_data_r()
317 tmp->nctype = NC_INT64; in bin_generate_data_r()
335 tmp->nctype = NC_FLOAT; in bin_generate_data_r()
[all …]
H A Dncgen.y956 sym->nc_id = nctype; in makeprimitivetype()
1020 makeconstdata(nc_type nctype) in makeconstdata() argument
1023 consttype = nctype; in makeconstdata()
1024 con->nctype = nctype; in makeconstdata()
1027 switch (nctype) { in makeconstdata()
1074 nctypename(nctype)); in makeconstdata()
1088 con->nctype = NC_ECONST; in makeenumconstref()
1132 basetypefor(nc_type nctype) in basetypefor() argument
1199 tmp->nctype = (con->nctype == NC_STRING?NC_STRING:NC_INT); in makespecial()
1225 if(tmp->nctype == NC_INT) in makespecial()
[all …]
H A Ddata.c65 isstringable(nc_type nctype) in isstringable() argument
67 switch (nctype) { in isstringable()
82 con->nctype = NC_COMPOUND; in list2const()
142 switch (newcon->nctype) { in cloneconstant()
175 switch (con->nctype) { in clearconstant()
347 if(prim->nctype == NC_ECONST) in alignbuffer()
550 c->nctype = NC_COMPOUND; in emptycompoundconst()
563 c->nctype = NC_STRING; in emptystringconst()
644 d->nctype = NC_COMPOUND; in builddatasublist()
697 switch (con->nctype) { in reclaimconstant()
[all …]
H A Ddump.c61 switch (dp->nctype) { in bufdump()
78 if(isprimplus(dp->nctype) || dp->nctype == NC_FILLVALUE) { in bufdump()
83 sprintf(tmp,"?%d? ",dp->nctype); in bufdump()
95 ASSERT(isprimplus(ci->nctype) || ci->nctype == NC_FILLVALUE); in dumpdataprim()
96 switch (ci->nctype) { in dumpdataprim()
159 default: PANIC1("dumpdataprim: bad type code:%d",ci->nctype); in dumpdataprim()
192 switch (con->nctype) { in dumpconstant1()
H A Dgenf77.c28 static const char* nfstype(nc_type nctype);
30 static const char* nfstype(nc_type nctype);
173 nc_type nctype; in genf77_netcdf() local
175 for(nctype=0;nctype<=NC_DOUBLE;nctype++) {pertypesizes[nctype] = 0;} in genf77_netcdf()
199 for(nctype=NC_BYTE;nctype <= NC_DOUBLE;nctype++) { in genf77_netcdf()
203 if(pertypesizes[nctype] > 0) { in genf77_netcdf()
205 basetype, ncftype(nctype), in genf77_netcdf()
206 pertypesizes[nctype]); in genf77_netcdf()
647 nfstype(nc_type nctype) in nfstype() argument
649 switch (nctype) { in nfstype()
[all …]
H A Dgetfill.c67 con->nctype = tsym->typ.typecode; in fill()
121 con->nctype = tsym->typ.typecode; in filllist()
181 switch(value->nctype) { in nc_getfill()
216 switch (eccon->nctype) { in nc_getfill()
232 derror("nc_getfill: unrecognized type: %d",value->nctype); in nc_getfill()
237 nc_dfaltfillname(nc_type nctype) in nc_dfaltfillname() argument
239 switch (nctype) { in nc_dfaltfillname()
/dports/math/octave-forge-netcdf/netcdf-1.0.14/inst/private/
H A Dnc2octtype.m16 function otype = nc2octtype(nctype)
18 if nctype == netcdf_getConstant("NC_CHAR")
20 elseif nctype == netcdf_getConstant("NC_FLOAT")
22 elseif nctype == netcdf_getConstant("NC_DOUBLE")
24 elseif nctype == netcdf_getConstant("NC_BYTE")
26 elseif nctype == netcdf_getConstant("NC_SHORT")
28 elseif nctype == netcdf_getConstant("NC_INT")
30 elseif nctype == netcdf_getConstant("NC_INT64")
32 elseif nctype == netcdf_getConstant("NC_UBYTE")
34 elseif nctype == netcdf_getConstant("NC_USHORT")
[all …]
/dports/math/libmesh/libmesh-1.6.2/contrib/netcdf/netcdf-c-4.6.2/libdap2/
H A Ddaputil.c51 nctypeconvert(NCDAPCOMMON* drno, nc_type nctype) in nctypeconvert() argument
55 switch (nctype) { in nctypeconvert()
101 nctypetodap(nc_type nctype) in nctypetodap() argument
103 switch (nctype) { in nctypetodap()
122 nctypesizeof(nc_type nctype) in nctypesizeof() argument
124 switch (nctype) { in nctypesizeof()
143 nctypetostring(nc_type nctype) in nctypetostring() argument
145 switch (nctype) { in nctypetostring()
372 if(node->nctype != NC_Dataset) { in makepathstring()
404 if(node->nctype != NC_Dataset) in clonenodenamepath()
[all …]
H A Ddapdump.c45 nc_type nctype; in dumpmetadata() local
59 if(nctype == NC_CHAR) { in dumpmetadata()
97 nc_type nctype; in dumpmetadata() local
102 &nctype, in dumpmetadata()
107 var->nctype = (nctype); in dumpmetadata()
125 nc_type nctype; in dumpmetadata() local
154 switch (nctype) { in dumpdata1()
315 switch (root->nctype) { in dumptreer()
400 char* nctype = NULL; in dumpnode() local
404 switch (node->nctype) { in dumpnode()
[all …]
/dports/science/netcdf/netcdf-c-4.7.4/libdap2/
H A Ddaputil.c53 nctypeconvert(NCDAPCOMMON* drno, nc_type nctype) in nctypeconvert() argument
57 switch (nctype) { in nctypeconvert()
103 nctypetodap(nc_type nctype) in nctypetodap() argument
105 switch (nctype) { in nctypetodap()
124 nctypesizeof(nc_type nctype) in nctypesizeof() argument
126 switch (nctype) { in nctypesizeof()
145 nctypetostring(nc_type nctype) in nctypetostring() argument
147 switch (nctype) { in nctypetostring()
374 if(node->nctype != NC_Dataset) { in makepathstring()
406 if(node->nctype != NC_Dataset) in clonenodenamepath()
[all …]
H A Ddapdump.c48 nc_type nctype; in dumpmetadata() local
62 if(nctype == NC_CHAR) { in dumpmetadata()
100 nc_type nctype; in dumpmetadata() local
105 &nctype, in dumpmetadata()
110 var->nctype = (nctype); in dumpmetadata()
128 nc_type nctype; in dumpmetadata() local
157 switch (nctype) { in dumpdata1()
308 switch (root->nctype) { in dumptreer()
393 char* nctype = NULL; in dumpnode() local
397 switch (node->nctype) { in dumpnode()
[all …]
/dports/science/minc2/minc-release-2.2.00/libsrc2/
H A Dhyper.c598 int nctype; in miget_hyperslab_normalized() local
616 if (nctype == NC_FLOAT || nctype == NC_DOUBLE) { in miget_hyperslab_normalized()
624 result = miicv_setint(icv, MI_ICV_TYPE, nctype); in miget_hyperslab_normalized()
656 int nctype; in miget_hyperslab_with_icv() local
664 miicv_setint(icv, MI_ICV_TYPE, nctype); in miget_hyperslab_with_icv()
691 int nctype; in miset_hyperslab_with_icv() local
699 miicv_setint(icv, MI_ICV_TYPE, nctype); in miset_hyperslab_with_icv()
731 int nctype; in miget_real_value_hyperslab() local
747 miicv_setint(icv, MI_ICV_TYPE, nctype); in miget_real_value_hyperslab()
802 int nctype; in miset_real_value_hyperslab() local
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/MINC/src/libminc/libsrc/
H A Dminc_simple.c90 *nctype = NC_BYTE; in minc_simple_to_nc_type()
95 *nctype = NC_BYTE; in minc_simple_to_nc_type()
100 *nctype = NC_SHORT; in minc_simple_to_nc_type()
105 *nctype = NC_SHORT; in minc_simple_to_nc_type()
110 *nctype = NC_INT; in minc_simple_to_nc_type()
115 *nctype = NC_INT; in minc_simple_to_nc_type()
120 *nctype = NC_FLOAT; in minc_simple_to_nc_type()
125 *nctype = NC_DOUBLE; in minc_simple_to_nc_type()
141 nc_type nctype; in minc_file_size() local
538 nc_type nctype; in minc_save_start() local
[all …]
/dports/science/minc2/minc-release-2.2.00/libsrc/
H A Dminc_simple.c101 *nctype = NC_BYTE; in minc_simple_to_nc_type()
106 *nctype = NC_BYTE; in minc_simple_to_nc_type()
111 *nctype = NC_SHORT; in minc_simple_to_nc_type()
116 *nctype = NC_SHORT; in minc_simple_to_nc_type()
121 *nctype = NC_INT; in minc_simple_to_nc_type()
126 *nctype = NC_INT; in minc_simple_to_nc_type()
131 *nctype = NC_FLOAT; in minc_simple_to_nc_type()
136 *nctype = NC_DOUBLE; in minc_simple_to_nc_type()
152 nc_type nctype; in minc_file_size() local
548 nc_type nctype; in minc_save_start() local
[all …]

1234567