cache.c#98    NClistallvars = nccomm->cdf.ddsroot->tree->varnodes;
#402    NClistallvars = nccomm->cdf.fullddsroot->tree->varnodes;
cdf.c#33static void defdimensions(OCddsnode ocnodeCDFnodecdfnodeNCDAPCOMMONnccommCDFtreetree);
#37computecdfnodesets(NCDAPCOMMONnccommCDFtreetree)
#43    allnodes = tree->nodes;
#46    if(tree->seqnodes == NULLtree->seqnodes = nclistnew();
#47    if(tree->gridnodes == NULLtree->gridnodes = nclistnew();
#48    nclistclear(tree->seqnodes);
#49    nclistclear(tree->gridnodes);
#52    nclistfree(tree->varnodes);
#53    tree->varnodes = varnodes;
#61     nclistpush(tree->seqnodes,(void*)node);
#64     nclistpush(tree->gridnodes,(void*)node);
#203    NClistgridnodes = nccomm->cdf.ddsroot->tree->gridnodes;
#222    for(i=0;i<nclistlength(root->tree->nodes);i++) {
#223 CDFnodenode = (CDFnode*)nclistget(root->tree->nodes,i);
#301                          nccomm->cdf.ddsroot->tree->varnodes,NULL);
#397    if(ddsroot->tree->restructed) {
#539    nclistpush(node->root->tree->nodes,(void*)newstruct);
#663    CDFtreetree = root->tree;
#664    for(i=0;i<nclistlength(tree->nodes);i++) {
#665 CDFnodenode = (CDFnode*)nclistget(tree->nodes,i);
#682    allnodes = nccomm->cdf.ddsroot->tree->nodes;
#719    nclistpush(dim->container->root->tree->nodes,(void*)clone);
#832definedimsettrans(NCDAPCOMMONnccommCDFtreetree)
#835    definedimsettransR(nccommtree->root);
#872definedimsets(NCDAPCOMMONnccommCDFtreetree)
#875    definedimsetsR(nccommtree->root);
#945    CDFtreetree = (CDFtree*)calloc(1,sizeof(CDFtree));
#947    if(!tree)
#950    tree->ocroot = ocroot;
#951    tree->nodes = nclistnew();
#952    tree->occlass = occlass;
#953    tree->owner = nccomm;
#955    err = buildcdftreer(nccomm,ocroot,NULL,tree,&root);
#958     fixnodes(nccomm,tree->nodes);
#966                CDFtreetreeCDFnode** cdfnodep)
#994 nclistpush(tree->nodes,(void*)cdfnode);
#995 tree->root = cdfnode;
#996 cdfnode->tree = tree;
#1003 nclistpush(tree->nodes,(void*)cdfnode);
#1005 if(tree->root == NULL) {
#1006     tree->root = cdfnode;
#1007     cdfnode->tree = tree;
#1014 nclistpush(tree->nodes,(void*)cdfnode);
#1016 if(tree->root == NULL) {
#1017     tree->root = cdfnode;
#1018     cdfnode->tree = tree;
#1036    assert(tree->root != NULL);
#1037    cdfnode->root = tree->root;
#1040    if(ocrank > 0) defdimensions(ocnode,cdfnode,nccomm,tree);
#1045 ncerr = buildcdftreer(nccomm,ocsubnode,cdfnode,tree,&subnode);
#1061    CDFtreetree;
#1064    tree = root->tree;
#1065    ASSERT((tree != NULL));
#1067    nccomm = tree->owner;
#1068    oc_root_free(nccomm->oc.conn,tree->ocroot);
#1069    tree->ocroot = NULL;
#1070    for(i=0;i<nclistlength(tree->nodes);i++) {
#1071 CDFnodenode = (CDFnode*)nclistget(tree->nodes,i);
#1074    nclistfree(tree->nodes);
#1075    nclistfree(tree->varnodes);
#1076    nclistfree(tree->seqnodes);
#1077    nclistfree(tree->gridnodes);
#1078    nullfree(tree);
#1145    if(FLAGSET(node1->root->tree->owner->controls,NCF_COLUMBIA)
#1199defdimensions(OCddsnode ocnodeCDFnodecdfnodeNCDAPCOMMONnccommCDFtreetree)
#1217 nclistpush(tree->nodes,(void*)cdfdim);
constraints.c#60    NClistnodes = root->tree->nodes;
dapattr.c#37    allnodes = ddsroot->tree->nodes;
dapparse.c#491DAPparse(OCstateconnOCtreetree, char* parsestring)
#506     tree->root = NULL;
#518            tree->root = state->root;
#520            tree->nodes = state->ocnodes;
#522            tree->root->tree = tree;
#526 switch (tree->dxdclass) {
getvara.c#133    varnodes = dapcomm->cdf.ddsroot->tree->varnodes;
#464    ocroot = xrootnode->tree->ocroot;
#1023    CDFtreextree = root->tree;
#1242    varnodes = dapcomm->cdf.ddsroot->tree->varnodes;
nccommon.h#257    CDFtree*         tree;       /* root level metadata;only defined if root*/
ncd2dispatch.c#441    ncstat = computecdfnodesets(dapcomm,dapcomm->cdf.fullddsroot->tree);
#445    ncstat = definedimsettrans(dapcomm,dapcomm->cdf.fullddsroot->tree);
#462    ncstat = computecdfnodesets(dapcomm,dapcomm->cdf.ddsroot->tree);
#485    if(nclistlength(dapcomm->cdf.ddsroot->tree->seqnodes) > 0) {
#492    ncstat = definedimsets(dapcomm,dapcomm->cdf.ddsroot->tree);
#510       && nclistlength(dapcomm->cdf.ddsroot->tree->seqnodes) > 0) {
#518  dapcomm->cdf.ddsroot->tree->varnodes);
#665    dimset = dapcomm->cdf.ddsroot->tree->dimnodes;
#744    NClistvarnodes = dapcomm->cdf.ddsroot->tree->varnodes;
#836        cdfnodes = dapcomm->cdf.ddsroot->tree->nodes;
#1028    NClistvarnodes = nccomm->cdf.ddsroot->tree->varnodes;
#1125    nccomm->cdf.ddsroot->tree->dimnodes = basedims;
#1269    for(i=0;i<nclistlength(nccomm->cdf.ddsroot->tree->varnodes);i++) {
#1270 CDFnodevar = (CDFnode*)nclistget(nccomm->cdf.ddsroot->tree->varnodes,i);
#1283    for(i=0;i<nclistlength(nccomm->cdf.ddsroot->tree->nodes);i++) {
#1284 CDFnodevar = (CDFnode*)nclistget(nccomm->cdf.ddsroot->tree->nodes,i);
#1392    NClistvarnodes = nccomm->cdf.ddsroot->tree->varnodes;
#1415    NClistvarnodes = dapcomm->cdf.ddsroot->tree->varnodes;
#1425    nclistpush(dapcomm->cdf.ddsroot->tree->nodes,(void*)globalsdim);
#1461     nclistpush(dapcomm->cdf.ddsroot->tree->nodes,(void*)sdim);
#1484    basedims = dapcomm->cdf.ddsroot->tree->dimnodes;
#1515    for(i=0;i<nclistlength(dapcomm->cdf.ddsroot->tree->seqnodes);i++) {
#1516        CDFnodeseq = (CDFnode*)nclistget(dapcomm->cdf.ddsroot->tree->seqnodes,i);
#1662    CDFtreetree = root->tree;
#1667    nclistpush(tree->nodes,(void*)sqdim);
#1700    ocstat = oc_data_getroot(conn,xroot->tree->ocroot,&data);
#1950    for(ivar=0;ivar<nclistlength(dapcomm->cdf.ddsroot->tree->varnodes);ivar++) {
#1951        CDFnodevar = (CDFnode*)nclistget(dapcomm->cdf.ddsroot->tree->varnodes,ivar);
#2112 for(i=nclistlength(dapcomm->cdf.ddsroot->tree->varnodes)-1;i>=0;i--) {
#2113     CDFnodevar = (CDFnode*)nclistget(dapcomm->cdf.ddsroot->tree->varnodes,i);
#2130        if(foundnclistremove(dapcomm->cdf.ddsroot->tree->varnodes,i);
#2145    for(i=0;i<nclistlength(dapcomm->cdf.ddsroot->tree->varnodes);i++) {
#2146 CDFnodevar = (CDFnode*)nclistget(dapcomm->cdf.ddsroot->tree->varnodes,i);
ncdap.h#97extern NCerror computecdfnodesets(NCDAPCOMMONnccommCDFtreetree);
oc.c#178    if(root->tree == NULL) return NULL;
#179    return root->tree->text;
#1487 ocdataddsmsg(state,pattern->tree);
#1864    if(root->root == NULL || root->root->tree == NULL
#1865 || root->root->tree->dxdclass != OCDATADDS)
#1867    if(xdrsizep) *xdrsizep = root->root->tree->data.datasize;
#1897    if(linkp) *linkp = node->root->tree->state;
occompile.c#49    OCASSERT(xroot->tree != NULL);
#50    OCASSERT(xroot->tree->dxdclass == OCDATADDS);
#51    OCASSERT(xroot->tree->data.data == NULL);
#53    xtree = xroot->tree;
ocdata.c#32    assert(root->tree->dxdclass == OCDATADDS);
#35    if(root->tree->data.data == NULL)
#38    data = root->tree->data.data;
#79    root = pattern->tree->data.data;
#267    xdrs = pattern->root->tree->data.xdrs;
ocdump.c#229 if(node->tree != NULL) continue; /* leave off the root node*/
#483    if(root->tree->data.file != NULL) {
#484        if(!ocreadfile(root->tree->data.file,
#485                       root->tree->data.bod,
#496        mem = root->tree->data.memory;
#497        mem += root->tree->data.bod;
#498        len = root->tree->data.datasize;
#499        len -= root->tree->data.bod;
ocinternal.c#217    OCtreetree = NULL;
#221    tree = (OCtree*)ocmalloc(sizeof(OCtree));
#222    MEMCHECK(tree,OC_ENOMEM);
#223    memset((void*)tree,0,sizeof(OCtree));
#224    tree->dxdclass = kind;
#225    tree->state = state;
#226    tree->constraint = constraintescape(constraint);
#227    if(tree->constraint == NULL)
#228 tree->constraint = nulldup(constraint);
#239        stat = readDAS(state,tree);
#241            tree->text = ocbytesdup(state->packet);
#242     if(tree->text == NULLstat = OC_EDAS;
#246        stat = readDDS(state,tree);
#248            tree->text = ocbytesdup(state->packet);
#249     if(tree->text == NULLstat = OC_EDDS;
#257            stat = createtempfile(state,tree);
#259            stat = readDATADDS(state,tree,flags);
#263                stat = ocextractddsinfile(state,tree,flags);
#266            stat = readDATADDS(state,tree,flags);
#270            stat = ocextractddsinmemory(state,tree,flags);
#288    tree->nodes = NULL;
#289    stat = DAPparse(state,tree,tree->text);
#297    root = tree->root;
#299    tree->root = root;
#300    root->tree = tree;
#316 tree->dxdclass = OCDATADDS;
#325        occomputesemantics(tree->nodes);
#329    occomputefullnames(tree->root);
#333            tree->data.xdrs = xxdr_filecreate(tree->data.file,tree->data.bod);
#337 (unsigned long)tree->data.datasize,(unsigned long)tree->data.bod);
#340            tree->data.xdrs
#341xxdr_memcreate(tree->data.memory,tree->data.datasize,tree->data.bod);
#343        MEMCHECK(tree->data.xdrs,OC_ENOMEM);
#347 if(dataError(tree->data.xdrs,state)) {
#356 stat = occompile(state,tree->root);
#370    else if(tree != NULL)
#371 octree_free(tree);
#376createtempfile(OCstatestateOCtreetree)
#396    tree->data.filename = name; /* remember our tmp file name */
#398    tree->data.file = fopen(tree->data.filename,"w+");
#399    if(tree->data.file == NULL) return OC_EOPEN;
#401    if(ocdebug == 0) unlink(tree->data.filename);
#459ocextractddsinmemory(OCstatestateOCtreetreeOCflags flags)
#466 bod = tree->data.bod;
#467 ddslen = tree->data.datasize;
#469    tree->data.bod = bod;
#470    tree->data.ddslen = ddslen;
#473        tree->text = (char*)ocmalloc(ddslen+1);
#474        memcpy((void*)tree->text,(void*)ocbytescontents(state->packet),ddslen);
#475        tree->text[ddslen] = '\0';
#477 tree->text = NULL;
#479    tree->data.memory = ocbytesextract(state->packet);
#482    if(tree->data.bod % 8 != 0) {
#483        unsigned long count = tree->data.datasize - tree->data.bod;
#484        memcpy(tree->xdrmemory,tree->xdrmemory+tree->data.bod,count);
#485        tree->data.datasize = count;
#486 tree->data.bod = 0;
#487 tree->data.ddslen = 0;
#490    if(tree->text == NULLstat = OC_EDATADDS;
#495ocextractddsinfile(OCstatestateOCtreetreeOCflags flags)
#502    rewind(tree->data.file);
#508        count = fread(chunk,1,sizeof(chunk),tree->data.file);
#514 bod = tree->data.bod;
#515 ddslen = tree->data.datasize;
#521    tree->data.bod = bod;
#522    tree->data.ddslen = ddslen;
#525        tree->text = (char*)ocmalloc(ddslen+1);
#526        memcpy((void*)tree->text,(void*)ocbytescontents(state->packet),ddslen);
#527        tree->text[ddslen] = '\0';
#529 tree->text = NULL;
#531    if(fseek(tree->data.file,(long)tree->data.bod,SEEK_SET) < 0
#532       || tree->text == NULL)
ocnode.c#151    OCtreetree;
#155    if(root == NULL || root->tree == NULL) return;
#157    tree = root->tree;
#158    state = tree->state;
#161    if(tree->data.data != NULL)
#162 ocdata_free(state,tree->data.data);
#170    octree_free(tree);
#174octree_free(OCtreetree)
#176    if(tree == NULL) return;
#177    ocnodes_free(tree->nodes);
#178    ocfree(tree->constraint);
#179    ocfree(tree->text);
#180    if(tree->data.xdrs != NULL) {
#181        xxdr_free(tree->data.xdrs);
#183    ocfree(tree->data.filename); /* may be null */
#184    if(tree->data.file != NULL) fclose(tree->data.file);
#185    ocfree(tree->data.memory);
#186    ocfree(tree);
#255    if(dasroot->tree == NULL || dasroot->tree->dxdclass != OCDAS)
#257    if(ddsroot->tree == NULL || (ddsroot->tree->dxdclass != OCDDS
#258        && ddsroot->tree->dxdclass != OCDATADDS))
#261    ddsnodes = ddsroot->tree->nodes;
#269    for(i=0;i<oclistlength(dasroot->tree->nodes);i++) {
#270 OCnodedas = (OCnode*)oclistget(dasroot->tree->nodes,i);
#440    OCtreetree = root->tree;
#442    if(tree == NULL) return;
#443    for(i=0;i<oclistlength(tree->nodes);i++) {
#444 OCnodenode = (OCnode*)oclistget(tree->nodes,i);
#528    OClisttreenodes = ddsroot->tree->nodes;
ocnode.h#51    struct OCtree*  tree;      /* !NULL iff this is a root node */
#80extern void octree_free(struct OCtreetree);
ocread.c#35readDDS(OCstatestateOCtreetree)
#40    ocurisetconstraints(state->uri,tree->constraint);
#53readDAS(OCstatestateOCtreetree)
#57    ocurisetconstraints(state->uri,tree->constraint);
#129readDATADDS(OCstatestateOCtreetreeOCflags flags)
#138        ocurisetconstraints(state->uri,tree->constraint);
#142        tree->data.datasize = ocbyteslength(state->packet);
#152            stat = readfiletofile(readurl, ".dods", tree->data.file, &tree->data.datasize);
#158            ocurisetconstraints(url,tree->constraint);
#163            stat = ocfetchurl_file(state->curlreadurltree->data.file,
#164                                   &tree->data.datasize, &lastmod);
ocutil.c#425ocdataddsmsg(OCstatestateOCtreetree)
#436    if(tree == NULL) return;
#438    xdrs = tree->data.xdrs;


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