cache.c#277     NCcachenodenode = (NCcachenode*)nclistremove(cache->nodes,0);
#282     cache->cachesize -= node->xdrsize;
#283     freenccachenode(nccomm,node);
#288     NCcachenodenode = (NCcachenode*)nclistremove(cache->nodes,0);
#291 dumpcachenode(node));
#293     cache->cachesize -= node->xdrsize;
#294     freenccachenode(nccomm,node);
#324freenccachenode(NCDAPCOMMONnccommNCcachenodenode)
#326    if(node == NULL) return;
#329 dumpcachenode(node));
#331    oc_data_free(nccomm->oc.conn,node->content);
#332    dcefree((DCEnode*)node->constraint);
#333    freecdfroot(node->datadds);
#334    nclistfree(node->vars);
#335    nullfree(node);
cdf.c#17static NCerror sequencecheckr(CDFnodenodeNClistvarsCDFnodetopseq);
#25static NCerror definedimsetplus(NCDAPCOMMONnccommCDFnodenode);
#26static NCerror definedimsetall(NCDAPCOMMONnccommCDFnodenode);
#27static NCerror definetransdimset(NCDAPCOMMONnccommCDFnodenode);
#28static NCerror definedimsettransR(NCDAPCOMMONnccommCDFnodenode);
#29static NCerror definedimsetsR(NCDAPCOMMONnccommCDFnodenode);
#31static void free1cdfnode(CDFnodenode);
#58 CDFnodenode = (CDFnode*)nclistget(allnodes,i);
#59 switch (node->nctype) {
#61     nclistpush(tree->seqnodes,(void*)node);
#64     nclistpush(tree->gridnodes,(void*)node);
#78 CDFnodenode = (CDFnode*)nclistget(allnodes,i);
#81 if(dap_badname(node->ocname)) {
#82     char* newname = dap_repairname(node->ocname);
#83     nullfree(node->ocname);
#84     node->ocname = newname;
#87 if(node->nctype == NC_Atomic)
#88     nclistpush(allvarnodes,(void*)node);
#94 CDFnodenode = (CDFnode*)nclistget(allvarnodes,i);
#95 if(node == NULL) continue;
#96        if(daptoplevel(node)) {
#97     nclistpush(varnodes,(void*)node);
#106 CDFnodenode = (CDFnode*)nclistget(allvarnodes,i);
#107 if(node == NULL) continue;
#108 if(dapgridarray(node)) {
#109     nclistpush(varnodes,(void*)node);
#111        } else if(dapgridmap(node)) {
#113 nclistpush(varnodes,(void*)node);
#119 CDFnodenode = (CDFnode*)nclistget(allvarnodes,i);
#120 if(node == NULL) continue;
#121        nclistpush(varnodes,(void*)node);
#126CDFnodenode = (CDFnode*)nclistget(varnodes,i);
#127if(node == NULL) continue;
#128fprintf(stderr,"computevarnodes: var: %s\n",makecdfpathstring(node,"."));
#223 CDFnodenode = (CDFnode*)nclistget(root->tree->nodes,i);
#224 node->elided = 0;
#225 if(node->nctype == NC_Grid || node->nctype == NC_Dataset)
#226     node->elided = 1;
#307sequencecheckr(CDFnodenodeNClistvarsCDFnodetopseq)
#312    if(topseq == NULL && nclistlength(node->array.dimset0) > 0) {
#315    } else if(node->nctype == NC_Sequence) {
#318 for(i=0;i<nclistlength(node->subnodes);i++) {
#319     CDFnodesub = (CDFnode*)nclistget(node->subnodes,i);
#320     err = sequencecheckr(sub,vars,node);
#328     node->usesequence = 1;
#332     node->usesequence = 0;
#335    } else if(nclistcontains(vars,(void*)node)) {
#337 node->array.sequence = topseq;
#340 for(i=0;i<nclistlength(node->subnodes);i++) {
#341     CDFnodesub = (CDFnode*)nclistget(node->subnodes,i);
#509 CDFnodenode = (CDFnode*)nclistget(repairlist,i);
#511 int index = findin(node->container,node);
#513 ncstat = structwrap(nccnode,node->container,index,
#517ocfqn(node->ocnode),ocfqn(pattern->ocnode));
#525structwrap(NCDAPCOMMONnccCDFnodenodeCDFnodeparent, int parentindex,
#531    newstruct = makenewstruct(nccnode,patterngrid);
#539    nclistpush(node->root->tree->nodes,(void*)newstruct);
#561makenewstruct(NCDAPCOMMONnccCDFnodenodeCDFnodepatternnode)
#564                                      patternnode->ocnodenode->container);
#570    node->container = newstruct;
#571    nclistpush(newstruct->subnodes,(void*)node);
#665 CDFnodenode = (CDFnode*)nclistget(tree->nodes,i);
#666 node->basenode = NULL;
#684 CDFnodenode = (CDFnode*)nclistget(allnodes,i);
#687 basenode = node->basenode;
#689 noderank = nclistlength(node->array.dimset0);
#697 makecdfpathstring(node,"."),
#701     CDFnodedim = (CDFnode*)nclistget(node->array.dimset0,j);
#745definedimsetplus(NCDAPCOMMONnccomm/*notused*/, CDFnodenode)
#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;
#771definedimsetall(NCDAPCOMMONnccomm/*notused*/, CDFnodenode)
#777    if(node->container != NULL) {
#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;
#791fprintf(stderr,"dimsetall: |%s|=%d\n",node->ocname,(int)nclistlength(dimsetall));
#798definetransdimset(NCDAPCOMMONnccomm/*notused*/, CDFnodenode)
#805fprintf(stderr,"dimsettrans3: node=%s/%d\n",node->ocname,nclistlength(node->array.dimset0));
#807    if(node->container != NULL) {
#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;
#821fprintf(stderr,"dimsettrans: |%s|=%d\n",node->ocname,(int)nclistlength(dimsettrans));
#843definedimsettransR(NCDAPCOMMONnccommCDFnodenode)
#848    definetransdimset(nccomm,node);
#850    for(i=0;i<nclistlength(node->subnodes);i++) {
#851 CDFnodesubnode = (CDFnode*)nclistget(node->subnodes,i);
#883definedimsetsR(NCDAPCOMMONnccommCDFnodenode)
#888    definedimsetplus(nccomm,node);
#889    definedimsetall(nccomm,node);
#891    for(i=0;i<nclistlength(node->subnodes);i++) {
#892 CDFnodesubnode = (CDFnode*)nclistget(node->subnodes,i);
#908    CDFnodenode;
#910    node = (CDFnode*)calloc(1,sizeof(CDFnode));
#911    if(node == NULL) return (CDFnode*)NULL;
#913    node->ocname = NULL;
#917        node->ocname = (char*)malloc(len+1);
#918 if(node->ocname == NULL) { nullfree(node); return NULL;}
#919 memcpy(node->ocname,ocname,len);
#920 node->ocname[len] = '\0';
#922    node->nctype = octypetonc(octype);
#923    node->ocnode = ocnode;
#924    node->subnodes = nclistnew();
#925    node->container = container;
#928        node->etype = octypetonc(octype);
#931 node->root = container->root;
#932    else if(node->nctype == NC_Dataset)
#933 node->root = node;
#934    return node;
#1071 CDFnodenode = (CDFnode*)nclistget(tree->nodes,i);
#1072 free1cdfnode(node);
#1085free1cdfnode(CDFnodenode)
#1088    if(node == NULL) return;
#1089    nullfree(node->ocname);
#1090    nullfree(node->ncbasename);
#1091    nullfree(node->ncfullname);
#1092    if(node->attributes != NULL) {
#1093 for(j=0;j<nclistlength(node->attributes);j++) {
#1094     NCattributeatt = (NCattribute*)nclistget(node->attributes,j);
#1102    nullfree(node->dodsspecial.dimname);
#1103    nclistfree(node->subnodes);
#1104    nclistfree(node->attributes);
#1105    nclistfree(node->array.dimsetplus);
#1106    nclistfree(node->array.dimsetall);
#1107    nclistfree(node->array.dimset0);
#1110    nullfree(node->typename);
#1111    nullfree(node->vlenname);
#1112    nullfree(node);
#1171fix1node(NCDAPCOMMONnccommCDFnodenode)
#1173    if(node->nctype == NC_Dimension && node->ocname == NULL) return NC_NOERR;
#1174    ASSERT((node->ocname != NULL));
#1175    nullfree(node->ncbasename);
#1176    node->ncbasename = cdflegalname(node->ocname);
#1177    if(node->ncbasename == NULL) return NC_ENOMEM;
#1178    nullfree(node->ncfullname);
#1179    node->ncfullname = makecdfpathstring(node,nccomm->cdf.separator);
#1180    if(node->ncfullname == NULL) return NC_ENOMEM;
#1181    if(node->nctype == NC_Atomic)
#1182        node->externaltype = nctypeconvert(nccomm,node->etype);
#1191 CDFnodenode = (CDFnode*)nclistget(cdfnodes,i);
#1192 NCerror err = fix1node(nccomm,node);
constraints.c#17static int iscontainer(CDFnodenode);
#183        CDFnodenode = (CDFnode*)nclistget(fullpath,i);
#184        seg->name = nulldup(node->ocname);
#185        seg->annotation = (void*)node;
#186 seg->rank = nclistlength(node->array.dimset0);
#194        CDFnodenode = (CDFnode*)nclistget(fullpath,i);
#195 seg->annotation = (void*)node;
#248        CDFnodenode = (CDFnode*)nclistget(nodes,i);
#249 if(node->ocname == null)
#252        if(strcmp(node->ocname,lastseg->name) != 0)
#255 if(node->nctype != NC_Sequence
#256               && node->nctype != NC_Structure
#257               && node->nctype != NC_Grid
#258               && node->nctype != NC_Atomic
#261 nclistpush(namematches,(void*)node);
#356 CDFnodenode = (CDFnode*)nclistget(matchpath,pathstart+i);
#361 if(strcmp(seg->name,node->ocname) != 0) {
#365     if(node->nctype == NC_Sequence)
#368 && rank != nclistlength(node->array.dimset0))
#634iscontainer(CDFnodenode)
#636    return (node->nctype == NC_Dataset
#637               || node->nctype == NC_Sequence
#638               || node->nctype == NC_Structure
#639               || node->nctype == NC_Grid);
#861 CDFnodenode;
#864 node = (CDFnode*)proj->var->annotation;
#865 if(!nclistcontains(vars,(void*)node)) {
#866     nclistpush(vars,(void*)node);
dapattr.c#39 CDFnodenode = (CDFnode*)nclistget(allnodes,i);
#40 OCddsnode ocnode = node->ocnode;
#62     if(node->attributes == NULL)
#63 node->attributes = nclistnew();
#64     nclistpush(node->attributes,(void*)att);
#76     node->dodsspecial.maxstrlen = maxstrlen;
#78fprintf(stderr,"%s.maxstrlen=%d\n",node->ocname,(int)node->dodsspecial.maxstrlen);
#83         node->dodsspecial.dimname = nulldup(values[0]);
#85fprintf(stderr,"%s.dimname=%s\n",node->ocname,node->dodsspecial.dimname);
#87     } else node->dodsspecial.dimname = NULL;
#96fprintf(stderr,"%s.Unlimited_Dimension=%s\n",node->ocname,nccomm->cdf.recorddimname);
dapdebug.c#50ocfqn(OCddsnode node)
#53    oc_get_connection(node,&conn);
#54    return makeocpathstring(conn,node,".");
dapdump.c#261 CDFnodenode = (CDFnode*)nclistget(path,i);
#263 ncbytescat(buf,node->ncbasename);
#287 CDFnodenode = (CDFnode*)nclistget(root->subnodes,i);
#297     dumptreer(node,buf,indent+2,visible);
#299     dumptreer(node,buf,indent+1,visible);
#395dumpnode(CDFnodenode)
#404    switch (node->nctype) {
#410 switch (node->etype) {
#429 (nctype?nctype:primtype),node->ocname);
#431    snprintf(tmp,sizeof(tmp),"ocnode=%lx\n",(unsigned long)node->ocnode);
#434 (node->container?node->container->ocname:"null"));
#437 (node->root?node->root->ocname:"null"));
#439    snprintf(tmp,sizeof(tmp),"ncbasename=%s\n",node->ncbasename);
#441    snprintf(tmp,sizeof(tmp),"ncfullname=%s\n",node->ncfullname);
#443    snprintf(tmp,sizeof(tmp),"|subnodes|=%ld\n",nclistlength(node->subnodes));
#445    snprintf(tmp,sizeof(tmp),"externaltype=%d\n",node->externaltype);
#447    snprintf(tmp,sizeof(tmp),"ncid=%d\n",node->ncid);
#449    snprintf(tmp,sizeof(tmp),"maxstringlength=%ld\n",node->maxstringlength);
#451    snprintf(tmp,sizeof(tmp),"sequencelimit=%ld\n",node->sequencelimit);
#453    snprintf(tmp,sizeof(tmp),"usesequence=%d\n",node->usesequence);
#455    snprintf(tmp,sizeof(tmp),"elided=%d\n",node->elided);
#457    snprintf(tmp,sizeof(tmp),"invisible=%d\n",node->invisible);
#460 (node->attachment?node->attachment->ocname:"null"));
#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);
#503dumpcachenode(NCcachenodenode)
#510    if(node == NULL) return strdup("cachenode{null}");
#512    result = dcebuildconstraintstring(node->constraint);
#514 node->isprefetch?"*":"",
#515 (unsigned long)node,
#516 (unsigned long)node->xdrsize,
#519    if(nclistlength(node->vars)==0)
#521    else for(i=0;i<nclistlength(node->vars);i++) {
#522 CDFnodevar = (CDFnode*)nclistget(node->vars,i);
#553        NCcachenodenode = (NCcachenode*)nclistget(cache->nodes,i);
#555     ncbytescat(buf,dumpcachenode(node));
dapdump.h#44extern char* dumppath(struct CDFnodenode);
#47extern char* dumpnode(CDFnodenode);
#51extern char* dumpcachenode(NCcachenodenode);
dapparse.c#11static void addedges(OCnodenode);
#70    OCnodenode;
#79    node = newocnode(NULL,OC_Attributeset,state);
#81    state->root = node;
#84    node->subnodes = (OClist*)attrlist;
#85    addedges(node);
#236dimension(OCnodenodeOClistdimensions)
#240    node->array.dimensions = (OClist*)dimensions;
#241    node->array.rank = rank;
#243        OCnodedim = (OCnode*)oclistget(node->array.dimensions,i);
#244        dim->dim.array = node;
#249     dim->name = dimnameanon(node->name,i);
#266    OCnodenode;
#267    node = newocnode((char*)name,OC_Atomic,state);
#268    node->etype = octypefor(etype);
#269    dimension(node,(OClist*)dimensions);
#270    return node;
#276    OCnodenode;
#284    node = newocnode(name,OC_Structure,state);
#285    node->subnodes = fields;
#286    dimension(node,(OClist*)dimensions);
#287    addedges(node);
#288    return node;
#294    OCnodenode;
#301    node = newocnode(name,OC_Sequence,state);
#302    node->subnodes = members;
#303    addedges(node);
#304    return node;
#310    OCnodenode;
#319    node = newocnode(name,OC_Grid,state);
#320    node->subnodes = (OClist*)mapdecls;
#321    oclistinsert(node->subnodes,0,(void*)arraydecl);
#322    addedges(node);
#323    return node;
#327addedges(OCnodenode)
#330    if(node->subnodes == NULL) return;
#331    for(i=0;i<oclistlength(node->subnodes);i++) {
#332        OCnodesubnode = (OCnode*)oclistget(node->subnodes,i);
#333 subnode->container = node;
#342 OCnodenode = (OCnode*)oclistget(ocnodes,i);
#343 node->root = root;
#385    OCnodenode = ocnode_new(name,octype,state->root);
#386    oclistpush(state->ocnodes,(void*)node);
#387    return node;
daputil.c#343collectnodepath(CDFnodenodeNClistpath, int withdataset)
#345    if(node == NULL) return;
#346    nclistpush(path,(void*)node);
#347    while(node->container != NULL) {
#348 node = node->container;
#349 if(!withdataset && node->nctype == NC_Dataset) break;
#350 nclistinsert(path,0,(void*)node);
#356collectocpath(OClink connOCddsnode nodeNClistpath)
#360    if(node == NULL) return;
#361    oc_dds_class(conn,node,&octype);
#363        oc_dds_container(conn,node,&container);
#367    nclistpush(path,(void*)node);
#371makeocpathstring(OClink connOCddsnode node, const char* sep)
#383    oc_dds_type(conn,node,&octype);
#385        oc_dds_name(conn,node,&name);
#390    collectocpath(conn,node,ocpath);
#396 OCddsnode node = (OCddsnode)nclistget(ocpath,i);
#398        oc_dds_type(conn,node,&octype);
#399        oc_dds_name(conn,node,&name);
#417    CDFnodenode;
#423        node = (CDFnode*)nclistget(path,0);
#424 return nulldup(node->ncbasename);
#429 CDFnodenode = (CDFnode*)nclistget(path,i);
#431 if(!node->elided || (flags & PATHELIDE)==0) {
#432         if(node->nctype != NC_Dataset) {
#433                name = node->ncbasename;
#460clonenodenamepath(CDFnodenodeNClistpath, int withdataset)
#462    if(node == NULL) return;
#464    if(node->nctype != NC_Dataset)
#465        clonenodenamepath(node->container,path,withdataset);
#466    if(node->nctype != NC_Dataset || withdataset)
#467        nclistpush(path,(void*)nulldup(node->ncbasename));
#497dapinsequence(CDFnodenode)
#499    if(node == NULL || node->container == NULL) return TRUE;
#500    for(node=node->container;node->nctype != NC_Dataset;node=node->container) {
#501       if(node->nctype == NC_Sequence) return TRUE;
#508dapinstructarray(CDFnodenode)
#510    if(node == NULL) return TRUE;
#511    for(node=node->container;node->nctype != NC_Dataset;node=node->container) {
#512       if(node->nctype == NC_Structure
#513   && nclistlength(node->array.dimset0) > 0)
#521dapgridmap(CDFnodenode)
#523    if(node != NULL && node->container != NULL
#524       && node->container->nctype == NC_Grid) {
#525 CDFnodearray = (CDFnode*)nclistget(node->container->subnodes,0);
#526 return (node != array);
#533dapgridarray(CDFnodenode)
#535    if(node != NULL && node->container != NULL
#536       && node->container->nctype == NC_Grid) {
#537 CDFnodearray = (CDFnode*)nclistget(node->container->subnodes,0);
#538 return (node == array);
#544dapgridelement(CDFnodenode)
#546    return dapgridarray(node)
#547           || dapgridmap(node);
#568daptoplevel(CDFnodenode)
#570    if(node->container == NULL
#571       || node->container->nctype != NC_Dataset) return FALSE;
daputil.h#29extern void collectocpath(OClink connOCobject nodeNClistpath);
#50extern int dapinsequence(struct CDFnodenode);
#51extern int dapinstructarray(struct CDFnodenode);
#52extern int daptopgrid(struct CDFnodenode);
#53extern int daptopseq(struct CDFnodenode);
#54extern int daptoplevel(struct CDFnodenode);
#55extern int dapgridmap(struct CDFnodenode);
#56extern int dapgridarray(struct CDFnodenode);
#57extern int dapgridelement(struct CDFnodenode);
dceconstraints.c#31static void ceallnodesr(DCEnodenodeNClistallnodesCEsort which);
#32static void dcedump(DCEnodenodeNCbytesbuf);
#33static void dcedumpraw(DCEnodenodeNCbytesbuf);
#204    sr.node.sort = CES_SLICE;
#344dceclone(DCEnodenode)
#348    result = (DCEnode*)dcecreate(node->sort);
#351    switch (node->sort) {
#355 DCEsliceorig = (DCEslice*)node;
#361 DCEsegmentorig = (DCEsegment*)node;
#370 DCEvarorig = (DCEvar*)node;
#377 DCEfcnorig = (DCEfcn*)node;
#385 DCEconstantorig = (DCEconstant*)node;
#393 DCEvalueorig = (DCEvalue*)node;
#408 DCEprojectionorig = (DCEprojection*)node;
#421 DCEselectionorig = (DCEselection*)node;
#429 DCEconstraintorig = (DCEconstraint*)node;
#451 DCEnodenode = (DCEnode*)nclistget(list,i);
#452 DCEnodenewnode = dceclone((DCEnode*)node);
#459dcefree(DCEnodenode)
#461    if(node == NULL) return;
#463    switch (node->sort) {
#466 DCEvartarget = (DCEvar*)node;
#471 DCEfcntarget = (DCEfcn*)node;
#477 DCEconstanttarget = (DCEconstant*)node;
#483 DCEvaluetarget = (DCEvalue*)node;
#493 DCEprojectiontarget = (DCEprojection*)node;
#502 DCEselectiontarget = (DCEselection*)node;
#508 DCEconstrainttarget = (DCEconstraint*)node;
#514 DCEsegmenttarget = (DCEsegment*)node;
#527    free(node);
#536 DCEnodenode = (DCEnode*)nclistget(list,i);
#537 dcefree((DCEnode*)node);
#543dcetostring(DCEnodenode)
#547    dcetobuffer(node,buf);
#555dcerawtostring(void* node)
#559    dcedumpraw((DCEnode*)node,buf);
#596dcetobuffer(DCEnodenodeNCbytesbuf)
#598    dcedump(node,buf);
#602dcedump(DCEnodenodeNCbytesbuf)
#608    if(node == NULL) {ncbytescat(buf,"<null>"); return;}
#610    switch (node->sort) {
#613     DCEsliceslice = (DCEslice*)node;
#634 DCEsegmentsegment = (DCEsegment*)node;
#651 DCEvarvar = (DCEvar*)node;
#656 DCEfcnfcn = (DCEfcn*)node;
#664 DCEconstantvalue = (DCEconstant*)node;
#682 DCEvaluevalue = (DCEvalue*)node;
#698 DCEprojectiontarget = (DCEprojection*)node;
#709 DCEselectionsel = (DCEselection*)node;
#721 DCEconstraintcon = (DCEconstraint*)node;
#758 DCEnodenode = (DCEnode*)nclistget(list,i);
#759 if(node == NULL) continue;
#761 dcetobuffer((DCEnode*)node,buf);
#768dceallnodes(DCEnodenodeCEsort which)
#771    ceallnodesr(node,allnodes,which);
#776ceallnodesr(DCEnodenodeNClistallnodesCEsort which)
#779    if(node == NULL) return;
#780    if(nclistcontains(allnodes,(void*)node)) return;
#781    if(which == CES_NIL || node->sort == which)
#782        nclistpush(allnodes,(void*)node);
#783    switch(node->sort) {
#785 DCEfcnfcn = (DCEfcn*)node;
#791 DCEvarvar = (DCEvar*)node;
#797 DCEvaluevalue = (DCEvalue*)node;
#806 DCEselectionselection = (DCEselection*)node;
#812 DCEprojectionprojection = (DCEprojection*)node;
#819 DCEconstraintconstraint = (DCEconstraint*)node;
#835    DCEnodenode = NULL;
#842 node = (DCEnode*)target;
#851     target->slices[i].node.sort = CES_SLICE;
#852 node = (DCEnode*)target;
#858 node = (DCEnode*)target;
#865 node = (DCEnode*)target;
#872 node = (DCEnode*)target;
#878 node = (DCEnode*)target;
#884 node = (DCEnode*)target;
#890 node = (DCEnode*)target;
#897 node = (DCEnode*)target;
#905    node->sort = sort;
#906    return node;
#1044dcedumpraw(DCEnodenodeNCbytesbuf)
#1050    if(node == NULL) {ncbytescat(buf,"<null>"); return;}
#1053    ncbytescat(buf,(char*)dcesortname(node->sort));
#1055    switch (node->sort) {
#1058     DCEsliceslice = (DCEslice*)node;
#1071 DCEsegmentsegment = (DCEsegment*)node;
#1092 DCEvarvar = (DCEvar*)node;
#1098 DCEfcnfcn = (DCEfcn*)node;
#1106 DCEconstantvalue = (DCEconstant*)node;
#1129 DCEvaluevalue = (DCEvalue*)node;
#1147 DCEprojectiontarget = (DCEprojection*)node;
#1162 DCEselectionsel = (DCEselection*)node;
#1175 DCEconstraintcon = (DCEconstraint*)node;
#1203 DCEnodenode = (DCEnode*)nclistget(list,i);
#1204 if(node == NULL) continue;
#1206 dcedumpraw((DCEnode*)node,buf);
dceconstraints.h#22    DCEnode node;
#32    DCEnode node;
#42    DCEnode node;
#48    DCEnode node;
#54    DCEnode node;
#62    DCEnode node;
#71    DCEnode node;
#78    DCEnode node;
#86    DCEnode node;
#96extern DCEnodedceclone(DCEnodenode);
#99extern void dcefree(DCEnodenode);
#102extern char* dcetostring(DCEnodenode);
#104extern void dcetobuffer(DCEnodenodeNCbytesbuf);
#109extern NClistdceallnodes(DCEnodenodeCEsort which);
getvara.c#35static int findfield(CDFnodenodeCDFnodesubnode);
#135 CDFnodenode = (CDFnode*)nclistget(varnodes,i);
#136 if(node->array.basevar == NULL
#137           && node->nctype == NC_Atomic
#138           && node->ncid == varid) {
#139     cdfvar = node;
#715findfield(CDFnodenodeCDFnodefield)
#718    for(i=0;i<nclistlength(node->subnodes);i++) {
#719        CDFnodetest = (CDFnode*) nclistget(node->subnodes,i);
#1244 CDFnodenode = (CDFnode*)nclistget(varnodes,i);
#1245 if(node->array.basevar == NULL
#1246           && node->nctype == NC_Atomic
#1247           && node->ncid == varid) {
#1248     cdfvar = node;
nccommon.h#330extern void freenccachenode(NCDAPCOMMON*, NCcachenodenode);
ncd2dispatch.c#36static char* getdefinename(CDFnodenode);
#971getdefinename(CDFnodenode)
#976    switch (node->nctype) {
#980        collectnodepath(node,path,!WITHDATASET);
#987 spath = nulldup(node->ncbasename);
#1108 CDFnodenode = (CDFnode*)nclistget(varnodes,i);
#1109 replacedims(node->array.dimsetall);
#1110 replacedims(node->array.dimsetplus);
#1111 replacedims(node->array.dimset0);
#1396 CDFnodenode = (CDFnode*)nclistget(varnodes,i);
#1397 if(!visibleonly || !node->invisible) {
#1398     getalldimsa(node->array.dimsetall,alldims);
#1563        CDFnodenode = (CDFnode*)nclistget(path,i);
#1565 ncbytescat(projection,node->ocname);
#1788 CDFnodenode = (CDFnode*)nclistget(parent->subnodes,i);
#1789 if(node == child) return i;
#1823 CDFnodenode = (CDFnode*)nclistget(path,i);
#1825 ncbytescat(seqcountconstraints,node->ocname);
#1826 if(node == seq) {
#1828     if(node->sequencelimit > 0) {
#1831          (unsigned long)(node->sequencelimit - 1));
#1834 } else if(nclistlength(node->array.dimset0) > 0) {
#1835     int ndims = nclistlength(node->array.dimset0);
#1837 CDFnodedim = (CDFnode*)nclistget(node->array.dimset0,j);
#1898computeseqcountconstraintsr(NCDAPCOMMONdapcommCDFnodenodeCDFnode** candidatep)
#1906    if(node == NULL)
#1908    for(i=0;i<nclistlength(node->subnodes);i++) {
#1909        CDFnodesubnode = (CDFnode*)nclistget(node->subnodes,i);
#2118 CDFnodenode = (CDFnode*)nclistget(path,j);
#2119 if(node->nctype == NC_Sequence
#2120    && !node->usesequence) {
#2122fprintf(stderr,"suppressing var in unusable sequence: %s.%s\n",node->ncfullname,var->ncbasename);
ncdap.h#101extern NCerror dapmerge(NCDAPCOMMONdrnoCDFnodenodeOCobject dasroot);
oc.c#228    OCnodenode;
#230    OCDEREF(OCnode*,node,ddsnode);
#232    if(namep) *namep = nulldup(node->name);
#233    if(octypep) *octypep = node->octype;
#234    if(atomtypep) *atomtypep = node->etype;
#235    if(rankp) *rankp = node->array.rank;
#236    if(containerp) *containerp = (OCobject)node->container;
#237    if(nsubnodesp) *nsubnodesp = oclistlength(node->subnodes);
#239        if(node->octype == OC_Attribute) {
#240            *nattrp = oclistlength(node->att.values);
#242            *nattrp = oclistlength(node->attributes);
#264    OCnodenode;
#268    OCDEREF(OCnode*,node,ddsnode);
#270    if(state == NULL || node == NULL) return OCTHROW(OCTHROW(OC_EINVAL));
#271    if(namep) *namep = nulldup(node->name);
#289    OCnodenode;
#291    OCDEREF(OCnode*,node,ddsnode);
#293    if(nsubnodesp) *nsubnodesp = oclistlength(node->subnodes);
#310    OCnodenode;
#312    OCDEREF(OCnode*,node,ddsnode);
#314    if(typep) *typep = node->etype;
#331    OCnodenode;
#333    OCDEREF(OCnode*,node,ddsnode);
#335    if(typep) *typep = node->octype;
#352    OCnodenode;
#354    OCDEREF(OCnode*,node,ddsnode);
#356    if(rankp) *rankp = node->array.rank;
#373    OCnodenode;
#375    OCDEREF(OCnode*,node,ddsnode);
#378        if(node->octype == OC_Attribute) {
#379            *nattrp = oclistlength(node->att.values);
#381            *nattrp = oclistlength(node->attributes);
#401    OCnodenode;
#403    OCDEREF(OCnode*,node,ddsnode);
#405    if(rootp) *rootp = (OCobject)node->root;
#423    OCnodenode;
#425    OCDEREF(OCnode*,node,ddsnode);
#427    if(containerp) *containerp = (OCobject)node->container;
#449    OCnodenode;
#452    OCDEREF(OCnode*,node,ddsnode);
#454    if(!ociscontainer(node->octype))
#457    if(index >= oclistlength(node->subnodes))
#460    field = (OCnode*)oclistget(node->subnodes,index);
#542    OCnodenode;
#545    OCDEREF(OCnode*,node,ddsnode);
#547    if(!ociscontainer(node->octype))
#591    OCnodenode;
#595    OCDEREF(OCnode*,node,ddsnode);
#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);
#624    OCnodenode;
#627    OCDEREF(OCnode*,node,ddsnode);
#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);
#682    OCnodenode;
#684    OCDEREF(OCnode*,node,ddsnode);
#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);
#730    OCnodenode;
#734    OCDEREF(OCnode*,node,ddsnode);
#736    nattrs = oclistlength(node->attributes);
#738    attr = (OCattribute*)oclistget(node->attributes,index);
#1894    OCnodenode;
#1896    OCDEREF(OCnode*,node,ddsnode);
#1897    if(linkp) *linkp = node->root->tree->state;
occompile.c#26static int istoplevel(OCnodenode);
#405istoplevel(OCnodenode)
#407    if(node == NULL)
#409    if(!istoplevel(node->container))
#411    switch (node->octype) {
#414 return (node->array.rank == 0 ? 1 : 0); /* Toplevel if scalar */
occonstraints.h#26    struct OCnodenode; /* node with name matching target, if any. */
ocdump.c#27static void dumpocnode1(OCnodenode, int depth);
#28static void dumpdimensions(OCnodenode);
#67ocdumpnode(OCnodenode)
#69    if(node != NULL) {
#70        dumpocnode1(node,0);
#78dumpocnode1(OCnodenode, int depth)
#81    switch (node->octype) {
#84 if(node->name == NULLOCPANIC("prim without name");
#85 fprintf(stdout,"%s %s",octypetostring(node->etype),node->name);
#86 dumpdimensions(node);
#87 fprintf(stdout," &%lx",(unsigned long)node);
#94 (node->name?node->name:""));
#95 for(n=0;n<oclistlength(node->subnodes);n++) {
#96     dumpocnode1((OCnode*)oclistget(node->subnodes,n),depth+1);
#103 (node->name?node->name:""));
#104 dumpdimensions(node);
#105 fprintf(stdout," &%lx",(unsigned long)node);
#107 for(n=0;n<oclistlength(node->subnodes);n++) {
#108     dumpocnode1((OCnode*)oclistget(node->subnodes,n),depth+1);
#115 (node->name?node->name:""));
#116 dumpdimensions(node);
#117 fprintf(stdout," &%lx",(unsigned long)node);
#119 for(n=0;n<oclistlength(node->subnodes);n++) {
#120     dumpocnode1((OCnode*)oclistget(node->subnodes,n),depth+1);
#128 (node->name?node->name:""));
#129 dumpdimensions(node);
#130 fprintf(stdout," &%lx",(unsigned long)node);
#133 dumpocnode1((OCnode*)oclistget(node->subnodes,0),depth+2);
#135 for(i=1;i<oclistlength(node->subnodes);i++) {
#136     dumpocnode1((OCnode*)oclistget(node->subnodes,i),depth+2);
#142 if(node->name == NULLOCPANIC("Attribute without name");
#143 fprintf(stdout,"%s %s",octypetostring(node->etype),node->name);
#144 for(n=0;n<oclistlength(node->att.values);n++) {
#145     char* value = (char*)oclistget(node->att.values,n);
#149 fprintf(stdout," &%lx",(unsigned long)node);
#155 fprintf(stdout,"%s:\n",node->name?node->name:"Attributes");
#156 for(n=0;n<oclistlength(node->subnodes);n++) {
#157     dumpocnode1((OCnode*)oclistget(node->subnodes,n),depth+1);
#162 OCPANIC1("encountered unexpected node type: %x",node->octype);
#165    if(node->attributes != NULL) {
#167 for(i=0;i<oclistlength(node->attributes);i++) {
#168     OCattributeatt = (OCattribute*)oclistget(node->attributes,i);
#189dumpdimensions(OCnodenode)
#192    for(i=0;i<node->array.rank;i++) {
#193        OCnodedim = (OCnode*)oclistget(node->array.dimensions,i);
#225    occollectpathtonode(ref->node,path);
#228 OCnodenode = (OCnode*)oclistget(path,i);
#229 if(node->tree != NULL) continue; /* leave off the root node*/
#230 fprintf(stdout,"%s%s",(i>0?PATHSEPARATOR:""),node->name);
ocdump.h#7extern void ocdumpnode(OCnodenode);
ocnode.c#15static void computefullname(OCnodenode);
#24 OCnodenode = (OCnode*)oclistget(ocnodes,i);
#26 if(node->octype == OC_Dimension && node->dim.array != NULL) {
#27     node->container = node->dim.array->container;
#32 OCnodenode = (OCnode*)oclistget(ocnodes,i);
#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;
#50     OCnodenode = (OCnode*)oclistget(root->subnodes,i);
#51     occomputefullnames(node);
#57computefullname(OCnodenode)
#63    OCASSERT((node->name != NULL));
#64    if(node->fullname != NULL)
#67    occollectpathtonode(node,path);
#70        fullname = nulldup(node->name);
#74    node->fullname = fullname;
#88 OCnodenode = (OCnode*)oclistget(path,(size_t)i);
#89 if(node->container == NULL || node->name == NULL) continue;
#90 slen += strlen(node->name);
#98 OCnodenode = (OCnode*)oclistget(path,(size_t)i);
#99 if(node->container == NULL || node->name == NULL) continue;
#101        strcat(pathname,node->name);
#108occollectpathtonode(OCnodenodeOClistpath)
#110    if(node == NULL) return;
#111    occollectpathtonode(node->container,path);
#112    oclistpush(path,(void*)node);
#165 OCnodenode = (OCnode*)oclistget(state->trees,(size_t)i);
#166 if(root == node)
#194 OCnodenode = (OCnode*)oclistget(nodes,i);
#195        ocfree(node->name);
#196        ocfree(node->fullname);
#197        while(oclistlength(node->att.values) > 0) {
#198     char* value = (char*)oclistpop(node->att.values);
#201        while(oclistlength(node->attributes) > 0) {
#202            OCattributeattr = (OCattribute*)oclistpop(node->attributes);
#216        if(node->array.dimensions != NULLoclistfree(node->array.dimensions);
#217        if(node->subnodes != NULLoclistfree(node->subnodes);
#218        if(node->att.values != NULLoclistfree(node->att.values);
#219        if(node->attributes != NULLoclistfree(node->attributes);
#220 if(node->array.sizes != NULL) free(node->array.sizes);
#221        ocfree(node);
#444 OCnodenode = (OCnode*)oclistget(tree->nodes,i);
#445 node->datadds = NULL;
#531        OCnodenode = (OCnode*)oclistget(treenodes,(size_t)i);
#532 if(node->octype != OC_Atomic) continue;
#533 if(node->etype != OC_String && node->etype != OC_URL) continue;
#536        occollectpathtonode(node,path);
#552        node->cache.cacheable = 1;
#553     node->cache.valid = 0;
#571 OCnodenode = (OCnode*)oclistget(dasroot->subnodes,i);
#572 if(node->att.isglobal) {
#573     for(j=0;j<oclistlength(node->subnodes);j++) {
#574 OCnodeattnode = (OCnode*)oclistget(node->subnodes,j);
ocnode.h#71extern void occollectpathtonode(OCnodenodeOClistpath);
#76extern size_t ocsetsize(OCnodenode);
ocutil.c#64 OCnodenode = (OCnode*)oclistget(path,i);
#65        unsigned int rank = node->array.rank;
#67     OCnodedim = (OCnode*)oclistget(node->array.dimensions,j);
#122         OCnodenode = (OCnode*)oclistget(cdf->subnodes,i);
#123 freeOCnode(node,deep);
#522oc_ispacked(OCnodenode)
#524    OCtype octype = node->octype;
#525    OCtype etype = node->etype;
#526    int isscalar = (node->array.rank == 0);
ocutil.h#26extern int oc_ispacked(OCnodenode);
utils.c#599    grpnode_t *node = emalloc(sizeof(grpnode_t));
#601    node->grpid = grpid;
#602    node->next = gs_empty(s) ? NULL : s->top;
#603    s->top = node;


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