atttests.c#23#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))
cache.c#418        for(nelems=1,j=0;j<nclistlength(var->array.dimsettrans);j++) {
#419            CDFnodedim = (CDFnode*)nclistget(var->array.dimsettrans,j);
cdf.c#140    CDFnodearray;
#143    array = (CDFnode*)nclistget(grid->subnodes,0);
#146        nullfree(array->ncbasename);
#147        array->ncbasename = nulldup(grid->ncbasename);
#148        if(!array->ncbasename) return NC_ENOMEM;
#151    if((glen-1) != nclistlength(array->array.dimset0)) goto invalid;
#153 CDFnodearraydim = (CDFnode*)nclistget(array->array.dimset0,i-1);
#157 if(nclistlength(map->array.dimset0) != 1) goto invalid;
#163 mapdim = (CDFnode*)nclistget(map->array.dimset0,0);
#251         if(testnode->array.basevar != NULL)
#255 else if(nclistlength(testnode->array.dimsetall)
#256 != nclistlength(var->array.dimsetall))
#258         else for(d=0;d<nclistlength(testnode->array.dimsetall);d++) {
#259     CDFnodevdim = (CDFnode*)nclistget(var->array.dimsetall,d);
#260     CDFnodetdim = (CDFnode*)nclistget(testnode->array.dimsetall,d);
#267     testnode->array.basevar = var;
#277 if(var1->array.basevar != NULL) continue;
#280     if(var2->array.basevar != NULL) continue;
#312    if(topseq == NULL && nclistlength(node->array.dimset0) > 0) {
#337 node->array.sequence = topseq;
#689 noderank = nclistlength(node->array.dimset0);
#690 baserank = nclistlength(basenode->array.dimset0);
#701     CDFnodedim = (CDFnode*)nclistget(node->array.dimset0,j);
#702     CDFnodebasedim = (CDFnode*)nclistget(basenode->array.dimset0,j);
#722    clone->dim.array = var;
#751    if(node->array.dimset0 != NULL)
#753        dimset = nclistclone(node->array.dimset0);
#755    if(node->array.stringdim != NULL) {
#757 clone = node->array.stringdim;
#760    if(node->array.seqdim != NULL) {
#762 clone = node->array.seqdim;
#765    node->array.dimsetplus = dimset;
#780        dimsetall = clonedimset(nccomm,node->container->array.dimsetall,node);
#783    for(i=0;i<nclistlength(node->array.dimsetplus);i++) {
#786 clone = (CDFnode*)nclistget(node->array.dimsetplus,i);
#789    node->array.dimsetall = dimsetall;
#805fprintf(stderr,"dimsettrans3: node=%s/%d\n",node->ocname,nclistlength(node->array.dimset0));
#810        dimsettrans = clonedimset(nccomm,node->container->array.dimsettrans,node);
#813    for(i=0;i<nclistlength(node->array.dimset0);i++) {
#816  clone = (CDFnode*)nclistget(node->array.dimset0,i);
#819    node->array.dimsettrans = dimsettrans;
#853 ASSERT((subnode->array.dimsettrans == NULL));
#854 ASSERT((subnode->array.dimsetplus == NULL));
#855 ASSERT((subnode->array.dimsetall == NULL));
#894 ASSERT((subnode->array.dimsettrans == NULL));
#895 ASSERT((subnode->array.dimsetplus == NULL));
#896 ASSERT((subnode->array.dimsetall == NULL));
#1105    nclistfree(node->array.dimsetplus);
#1106    nclistfree(node->array.dimsetall);
#1107    nclistfree(node->array.dimset0);
#1150    if(nclistlength(node1->array.dimset0)
#1151 != nclistlength(node2->array.dimset0)) /* same arity */
#1220 cdfdim->dim.array = cdfnode;
#1221 if(cdfnode->array.dimset0 == NULL)
#1222     cdfnode->array.dimset0 = nclistnew();
#1223 nclistpush(cdfnode->array.dimset0,(void*)cdfdim);
cdftests.c#18#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))
constraints.c#151        dimset = cdfnode->array.dimsetplus;
#154 if(cdfnode->array.stringdim != NULLseg->rank--;
#186 seg->rank = nclistlength(node->array.dimset0);
#368 && rank != nclistlength(node->array.dimset0))
#470    dimset = ((CDFnode*)seg->annotation)->array.dimset0;
#713 localrank = nclistlength(n->array.dimsetplus);
#715 dimset = n->array.dimsetplus;
dapdump.c#352    if(nclistlength(root->array.dimsetplus) > 0) dimset = root->array.dimsetplus;
#353    else if(nclistlength(root->array.dimset0) > 0) dimset = root->array.dimset0;
#462    snprintf(tmp,sizeof(tmp),"rank=%lu\n",nclistlength(node->array.dimset0));
#464    for(i=0;i<nclistlength(node->array.dimset0);i++) {
#465 CDFnodedim = (CDFnode*)nclistget(node->array.dimset0,i);
dapparse.c#240    node->array.dimensions = (OClist*)dimensions;
#241    node->array.rank = rank;
#243        OCnodedim = (OCnode*)oclistget(node->array.dimensions,i);
#244        dim->dim.array = node;
daputil.c#513   && nclistlength(node->array.dimset0) > 0)
#525 CDFnodearray = (CDFnode*)nclistget(node->container->subnodes,0);
#526 return (node != array);
#537 CDFnodearray = (CDFnode*)nclistget(node->container->subnodes,0);
#538 return (node == array);
error.c#62print_n_size_t(size_t nelems, const size_t *array)
#67 fprintf(stderr, "%ld", (long)*array++);
error.h#27print_n_size_t(size_t nelems, const size_t *array);
genlib.h#46extern void grow_iarray ( int narray, int **array );
#47extern void grow_varray ( int narray, struct vars **array );
#48extern void grow_darray ( int narray, struct dims **array );
#49extern void grow_aarray ( int narray, struct atts **array );
getvara.c#136 if(node->array.basevar == NULL
#157    ncdimsall = cdfvar->array.dimsetall;
#207NClistdims = cdfvar->array.dimsetall;
#439 if(cdfnode->array.seqdim != NULL)
#441 else if(cdfnode->array.stringdim != NULL)
#781    rank0 = nclistlength(xnode->array.dimset0);
#954    rank0 = nclistlength(xnode->array.dimset0);
#1050    for(i=0;i<nclistlength(xnode->array.dimsetall);i++) {
#1051 CDFnodexdim = (CDFnode*)nclistget(xnode->array.dimsetall,i);
#1052 CDFnodetdim = (CDFnode*)nclistget(pattern->array.dimsetall,i);
#1087    if(nclistlength(xnode->array.dimsetall) > 0) {
#1245 if(node->array.basevar == NULL
#1256    if(nclistlength(cdfvar->array.dimsetplus) == 0) {
#1286    ncdims = cdfvar->array.dimsetall;
nccommon.h#202    struct CDFnodearray; /* parent array node */
#259    CDFarray         array;      /* nctype == grid,var,etc. with dimensions */
ncd2dispatch.c#756 if(var->array.basevar != NULL) continue;
#762 vardims = var->array.dimsetall;
#1041        for(j=0;j<nclistlength(var->array.dimsetall);j++) {
#1042     CDFnodedim = (CDFnode*)nclistget(var->array.dimsetall,j);
#1069basedim->dim.array->ocname,basedim->ocname,
#1070dupdim->dim.array->ocname,dupdim->ocname
#1109 replacedims(node->array.dimsetall);
#1110 replacedims(node->array.dimsetplus);
#1111 replacedims(node->array.dimset0);
#1133 CDFnodevar = dim->dim.array;
#1329    NClistdimset = var->array.dimsetall;
#1398     getalldimsa(node->array.dimsetall,alldims);
#1429    globalsdim->dim.array = dapcomm->cdf.ddsroot;
#1465     sdim->dim.array = var;
#1470 var->array.stringdim = sdim;
#1525        || nclistlength(container->array.dimset0) > 0)
#1542            seq->array.seqdim = sqdim;
#1544            seq->array.seqdim = NULL;
#1569    rank = nclistlength(var->array.dimset0);
#1571 CDFnodedim = (CDFnode*)nclistget(var->array.dimset0,i);
#1674    sqdim->dim.array = seq;
#1718     if(nclistlength(current->array.dimset0) > 0) {
#1834 } else if(nclistlength(node->array.dimset0) > 0) {
#1835     int ndims = nclistlength(node->array.dimset0);
#1837 CDFnodedim = (CDFnode*)nclistget(node->array.dimset0,j);
#1875    newisscalar = (nclistlength(newchoice->array.dimset0) == 0);
#1876    canisscalar = (nclistlength(candidate->array.dimset0) == 0);
#1952 NClistncdims = var->array.dimset0;
#2147        NClistncdims = var->array.dimsetplus;
oc.c#235    if(rankp) *rankp = node->array.rank;
#356    if(rankp) *rankp = node->array.rank;
#597    if(node->array.rank == 0) return OCTHROW(OCTHROW(OC_ESCALAR));
#599        for(i=0;i<node->array.rank;i++) {
#600            OCnodedim = (OCnode*)oclistget(node->array.dimensions,i);
#629    if(node->array.rank == 0) return OCTHROW(OCTHROW(OC_ESCALAR));
#630    if(index >= node->array.rank) return OCTHROW(OCTHROW(OC_EINDEX));
#631    dimid = (OCobject)oclistget(node->array.dimensions,index);
#686    if(node->array.rank == 0) return OCTHROW(OCTHROW(OC_ESCALAR));
#689        for(i=0;i<node->array.rank;i++) {
#690            OCnodedim = (OCnode*)oclistget(node->array.dimensions,i);
#1388    rank = pattern->array.rank;
#1474    rank = pattern->array.rank;
#1482 startpoint = ocarrayoffset(rank,pattern->array.sizes,start);
occompile.c#98 if(xnode->array.rank == 0) {/* scalar */
#105            nelements = octotaldimsize(xnode->array.rank,xnode->array.sizes);
#295    int scalar = (xnode->array.rank == 0);
#301        nelements = octotaldimsize(xnode->array.rank,xnode->array.sizes);
#414 return (node->array.rank == 0 ? 1 : 0); /* Toplevel if scalar */
ocdata.c#125    rank = pattern->array.rank;
#132    if(!ocvalidateindices(rank,pattern->array.sizes,indices))
#136    index = ocarrayoffset(rank,pattern->array.sizes,indices);
#199                       pattern->array.rank,
#200                       pattern->array.sizes,
#257    isscalar = (pattern->array.rank == 0 ? 1 : 0);
#306    scalar = (pattern->array.rank == 0);
ocdump.c#192    for(i=0;i<node->array.rank;i++) {
#193        OCnodedim = (OCnode*)oclistget(node->array.dimensions,i);
#562    rank = pattern->array.rank;
#566        crossproduct = octotaldimsize(pattern->array.rank,pattern->array.sizes);
#664     if(pattern->array.rank > 0) {
#665         off_t xproduct = octotaldimsize(pattern->array.rank,pattern->array.sizes);
ocnode.c#26 if(node->octype == OC_Dimension && node->dim.array != NULL) {
#27     node->container = node->dim.array->container;
#33 if(node->array.rank > 0) {
#34     node->array.sizes = (size_t*)malloc(node->array.rank*sizeof(size_t));
#35     for(j=0;j<node->array.rank;j++) {
#36 OCnodedim = (OCnode*)oclistget(node->array.dimensions,j);
#37 node->array.sizes[j] = dim->dim.declsize;
#125    cdf->array.dimensions = NULL;
#216        if(node->array.dimensions != NULLoclistfree(node->array.dimensions);
#220 if(node->array.sizes != NULL) free(node->array.sizes);
#465    if(dxd->array.rank != dds->array.rank) {
#495    if(dds->array.rank > 0) {
#497     OCnodeddsdim = (OCnode*)oclistget(dds->array.dimensions,(size_t)i);
#498     OCnodedxddim = (OCnode*)oclistget(dxd->array.dimensions,(size_t)i);
#543 || pathnode->array.rank > 0) {
ocnode.h#12    struct OCnodearray;   /* defining array node (if known)*/
#54    OCarrayinfo     array;     /* octype == {OC_Structure, OC_Primitive}*/
ocutil.c#65        unsigned int rank = node->array.rank;
#67     OCnodedim = (OCnode*)oclistget(node->array.dimensions,j);
#526    int isscalar = (node->array.rank == 0);
putget.c#46arrayp(const char *label, size_t count, const size_t *array)
#50 for(; count > 0; count--, array++)
#51 (void) fprintf(stderr," %lu", (unsigned long)*array);
slabs.c#16#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))
testnc3perf.c#55#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))
tests.h#195#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))
tst_vlen_data.c#41   float **array; /* a ragged array */
#68   array = (float **) malloc(NROWS * sizeof(float *));
#69   if(array == NULLERR;
#72       array[i] = (float *) malloc(ncolumns * sizeof(float));
#73       if(array[i] == NULLERR;
#75    array[i][j] = 10.0 * (i + 1) + j;
#78   array[4][0] = missing_value; /* overwrite last row with missing for equality test */
#81       ragged_data[i].p = array[i];
#129    if (fvals[j] != array[i][j] ) ERR;
#145        if (fvals[j] != array[i][j] ) ERR;
#156      free(array[i]);
#157   free(array);
vardef.c#21#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))
vartests.c#18#define LEN_OF(array) ((sizeof array) / (sizeof array[0]))


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