Home
last modified time | relevance | path

Searched refs:STR (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/objects/
H A Doptionsyaml.c28 #define STR(node) ((const char *)((node)->data.scalar.value)) macro
38 …if (node->type == YAML_SCALAR_NODE && !STR(node)[0]) PetscFunctionReturn(PETSC_SUCCESS); /* empty … in PetscParseLayerYAML()
50 PetscCall(PetscStrcmp(STR(keynode), "<<", &isMergeKey)); in PetscParseLayerYAML()
66 PetscCall(PetscStrbeginswith(STR(keynode), "$$", &isDummyKey)); in PetscParseLayerYAML()
70 PetscCall(PetscOptionsInsertFileYAML(comm, options, STR(valnode), PETSC_TRUE)); in PetscParseLayerYAML()
76 PetscCall(PetscSNPrintf(name, sizeof(name), "-%s", STR(keynode))); in PetscParseLayerYAML()
77 PetscCall(PetscOptionsSetValue_Private(options, name, STR(valnode), NULL, source)); in PetscParseLayerYAML()
93 itemstr = STR(itemnode); in PetscParseLayerYAML()
108 PetscCall(PetscStrcmp(STR(kn), "<<", &isMergeKey)); in PetscParseLayerYAML()
111 PetscCall(PetscStrbeginswith(STR(kn), "$$", &isDummyKey)); in PetscParseLayerYAML()
[all …]