/dports/sysutils/cfengine317/cfengine-3.17.0/libpromises/ |
H A D | var_expressions.h | 54 } VarRef; typedef 56 VarRef *VarRefCopy(const VarRef *ref); 57 VarRef *VarRefCopyLocalized(const VarRef *ref); 58 VarRef *VarRefCopyIndexless(const VarRef *ref); 62 VarRef *VarRefParse(const char *var_ref_string); 71 void VarRefDestroy (VarRef *ref); 74 char *VarRefToString(const VarRef *ref, bool qualified); 76 void VarRefSetMeta(VarRef *ref, bool enabled); 78 bool VarRefIsQualified(const VarRef *ref); 80 void VarRefAddIndex(VarRef *ref, const char *index); [all …]
|
H A D | var_expressions.c | 105 VarRef ref; in VarRefConst() 116 VarRef *VarRefCopy(const VarRef *ref) in VarRefCopy() 118 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopy() 141 VarRef *VarRefCopyLocalized(const VarRef *ref) in VarRefCopyLocalized() 143 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyLocalized() 166 VarRef *VarRefCopyIndexless(const VarRef *ref) in VarRefCopyIndexless() 168 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyIndexless() 330 VarRef *ref = xmalloc(sizeof(VarRef)); in VarRefParseFromNamespaceAndScope() 409 void VarRefDestroy(VarRef *ref) in VarRefDestroy() 462 char *VarRefMangle(const VarRef *ref) in VarRefMangle() [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/libpromises/ |
H A D | var_expressions.h | 54 } VarRef; typedef 56 VarRef *VarRefCopy(const VarRef *ref); 57 VarRef *VarRefCopyLocalized(const VarRef *ref); 58 VarRef *VarRefCopyIndexless(const VarRef *ref); 62 VarRef *VarRefParse(const char *var_ref_string); 71 void VarRefDestroy (VarRef *ref); 74 char *VarRefToString(const VarRef *ref, bool qualified); 76 void VarRefSetMeta(VarRef *ref, bool enabled); 78 bool VarRefIsQualified(const VarRef *ref); 80 void VarRefAddIndex(VarRef *ref, const char *index); [all …]
|
H A D | var_expressions.c | 105 VarRef ref; in VarRefConst() 116 VarRef *VarRefCopy(const VarRef *ref) in VarRefCopy() 118 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopy() 141 VarRef *VarRefCopyLocalized(const VarRef *ref) in VarRefCopyLocalized() 143 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyLocalized() 166 VarRef *VarRefCopyIndexless(const VarRef *ref) in VarRefCopyIndexless() 168 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyIndexless() 330 VarRef *ref = xmalloc(sizeof(VarRef)); in VarRefParseFromNamespaceAndScope() 409 void VarRefDestroy(VarRef *ref) in VarRefDestroy() 462 char *VarRefMangle(const VarRef *ref) in VarRefMangle() [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/libpromises/ |
H A D | var_expressions.h | 55 } VarRef; typedef 57 VarRef *VarRefCopy(const VarRef *ref); 58 VarRef *VarRefCopyLocalized(const VarRef *ref); 59 VarRef *VarRefCopyIndexless(const VarRef *ref); 63 VarRef *VarRefParse(const char *var_ref_string); 72 void VarRefDestroy (VarRef *ref); 75 char *VarRefToString(const VarRef *ref, bool qualified); 77 void VarRefSetMeta(VarRef *ref, bool enabled); 79 bool VarRefIsQualified(const VarRef *ref); 81 void VarRefAddIndex(VarRef *ref, const char *index); [all …]
|
H A D | var_expressions.c | 105 VarRef ref; in VarRefConst() 116 VarRef *VarRefCopy(const VarRef *ref) in VarRefCopy() 118 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopy() 141 VarRef *VarRefCopyLocalized(const VarRef *ref) in VarRefCopyLocalized() 143 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyLocalized() 166 VarRef *VarRefCopyIndexless(const VarRef *ref) in VarRefCopyIndexless() 168 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyIndexless() 330 VarRef *ref = xmalloc(sizeof(VarRef)); in VarRefParseFromNamespaceAndScope() 409 void VarRefDestroy(VarRef *ref) in VarRefDestroy() 462 char *VarRefMangle(const VarRef *ref) in VarRefMangle() [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/libpromises/ |
H A D | var_expressions.h | 55 } VarRef; typedef 57 VarRef *VarRefCopy(const VarRef *ref); 58 VarRef *VarRefCopyLocalized(const VarRef *ref); 59 VarRef *VarRefCopyIndexless(const VarRef *ref); 63 VarRef *VarRefParse(const char *var_ref_string); 72 void VarRefDestroy (VarRef *ref); 75 char *VarRefToString(const VarRef *ref, bool qualified); 77 void VarRefSetMeta(VarRef *ref, bool enabled); 79 bool VarRefIsQualified(const VarRef *ref); 81 void VarRefAddIndex(VarRef *ref, const char *index); [all …]
|
H A D | var_expressions.c | 105 VarRef ref; in VarRefConst() 116 VarRef *VarRefCopy(const VarRef *ref) in VarRefCopy() 118 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopy() 141 VarRef *VarRefCopyLocalized(const VarRef *ref) in VarRefCopyLocalized() 143 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyLocalized() 166 VarRef *VarRefCopyIndexless(const VarRef *ref) in VarRefCopyIndexless() 168 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyIndexless() 330 VarRef *ref = xmalloc(sizeof(VarRef)); in VarRefParseFromNamespaceAndScope() 409 void VarRefDestroy(VarRef *ref) in VarRefDestroy() 462 char *VarRefMangle(const VarRef *ref) in VarRefMangle() [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/libpromises/ |
H A D | var_expressions.h | 55 } VarRef; typedef 57 VarRef *VarRefCopy(const VarRef *ref); 58 VarRef *VarRefCopyLocalized(const VarRef *ref); 59 VarRef *VarRefCopyIndexless(const VarRef *ref); 63 VarRef *VarRefParse(const char *var_ref_string); 72 void VarRefDestroy (VarRef *ref); 75 char *VarRefToString(const VarRef *ref, bool qualified); 77 void VarRefSetMeta(VarRef *ref, bool enabled); 79 bool VarRefIsQualified(const VarRef *ref); 81 void VarRefAddIndex(VarRef *ref, const char *index); [all …]
|
H A D | var_expressions.c | 105 VarRef ref; in VarRefConst() 116 VarRef *VarRefCopy(const VarRef *ref) in VarRefCopy() 118 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopy() 141 VarRef *VarRefCopyLocalized(const VarRef *ref) in VarRefCopyLocalized() 143 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyLocalized() 166 VarRef *VarRefCopyIndexless(const VarRef *ref) in VarRefCopyIndexless() 168 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyIndexless() 330 VarRef *ref = xmalloc(sizeof(VarRef)); in VarRefParseFromNamespaceAndScope() 409 void VarRefDestroy(VarRef *ref) in VarRefDestroy() 462 char *VarRefMangle(const VarRef *ref) in VarRefMangle() [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/libpromises/ |
H A D | var_expressions.h | 55 } VarRef; typedef 57 VarRef *VarRefCopy(const VarRef *ref); 58 VarRef *VarRefCopyLocalized(const VarRef *ref); 59 VarRef *VarRefCopyIndexless(const VarRef *ref); 63 VarRef *VarRefParse(const char *var_ref_string); 72 void VarRefDestroy (VarRef *ref); 75 char *VarRefToString(const VarRef *ref, bool qualified); 77 void VarRefSetMeta(VarRef *ref, bool enabled); 79 bool VarRefIsQualified(const VarRef *ref); 81 void VarRefAddIndex(VarRef *ref, const char *index); [all …]
|
H A D | var_expressions.c | 105 VarRef ref; in VarRefConst() 116 VarRef *VarRefCopy(const VarRef *ref) in VarRefCopy() 118 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopy() 141 VarRef *VarRefCopyLocalized(const VarRef *ref) in VarRefCopyLocalized() 143 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyLocalized() 166 VarRef *VarRefCopyIndexless(const VarRef *ref) in VarRefCopyIndexless() 168 VarRef *copy = xmalloc(sizeof(VarRef)); in VarRefCopyIndexless() 330 VarRef *ref = xmalloc(sizeof(VarRef)); in VarRefParseFromNamespaceAndScope() 409 void VarRefDestroy(VarRef *ref) in VarRefDestroy() 462 char *VarRefMangle(const VarRef *ref) in VarRefMangle() [all …]
|
/dports/devel/elm-format/elm-format-0.8.3/tests/Parse/ |
H A D | ExpressionTest.hs | 82 [ example "lowercase" "foo" $ at 1 1 1 4 $ VarExpr $ VarRef [] $ LowercaseIdentifier "foo" 121 … $ Binops (intExpr (1,1,1,2) 7) [([], VarRef [] $ LowercaseIdentifier "plus", [], intExpr (1,8,1,9… 262 …VarRef [] $ LowercaseIdentifier "x"))) [],Commented [] (at 1 11 1 12 (VarExpr (VarRef [] $ Lowerca… 263 …VarRef [] $ LowercaseIdentifier "x"))) [BlockComment ["B"]],Commented [BlockComment ["C"]] (at 1 2… 264 …VarRef [] $ LowercaseIdentifier "x1"))) [],Commented [] (at 1 12 1 14 (VarExpr (VarRef [] $ Lowerc… 265 …VarRef [] $ LowercaseIdentifier "x"))) [],Commented [] (at 4 2 4 3 (VarExpr (VarRef [] $ Lowercase… 269 …fier "a"))) [] [] (at 1 7 1 8 (VarExpr (VarRef [] $ LowercaseIdentifier "b")))] [] (at 1 12 1 13 (… 270 …VarRef [] $ LowercaseIdentifier "b"))),LetDefinition (at 2 5 2 6 (P.VarPattern (LowercaseIdentifie… 271 …VarRef [] $ LowercaseIdentifier "b"))),LetDefinition (at 3 2 3 3 (P.VarPattern (LowercaseIdentifie… 272 …ier "a"))) [] [] (at 1 9 1 10 (VarExpr (VarRef [] $ LowercaseIdentifier "b")))] [] (at 1 14 1 15 (… [all …]
|
/dports/sysutils/cfengine317/cfengine-3.17.0/tests/unit/ |
H A D | var_expressions_test.c | 7 VarRef *ref = VarRefParse("foo"); in test_plain_variable_with_no_stuff_in_it() 18 VarRef *ref = VarRefParse("scope.lval"); in test_scoped() 29 VarRef *ref = VarRefParse("ns:scope.lval"); in test_full() 40 VarRef *ref = VarRefParse("ns:scope.lval[la.la]"); in test_dotted_array() 51 VarRef *ref = VarRefParse("ns:scope.lval[x][y][z]"); in test_levels() 64 VarRef *ref = VarRefParse("lval[x]"); in test_unqualified_array() 75 VarRef *ref = VarRefParse("scope.lval[x]"); in test_qualified_array() 97 VarRef *ref = VarRefParse("lval[x-x.x:x]"); in test_array_with_dot_colon_in_index() 131 VarRef *ref = VarRefParse(str); in CheckToStringQualified() 166 VarRef *ref = VarRefParse("scope.lval"); in test_to_string_unqualified() [all …]
|
H A D | variable_test.c | 8 VarRef *ref; 17 VarRef *ref = VarRefParse(var_str); in PutVar() 32 VarRef *ref = VarRefParse("scope1.array[one]"); in ReferenceTable() 38 VarRef *ref = VarRefParse("scope1.array[two]"); in ReferenceTable() 44 VarRef *ref = VarRefParse("scope1.array[two][three]"); in ReferenceTable() 50 VarRef *ref = VarRefParse("scope1.array[two][four]"); in ReferenceTable() 57 VarRef *ref = VarRefParse("scope3.array[te][st]"); in ReferenceTable() 78 VarRef *ref = VarRefParse(ref_str); in TestGet() 132 VarRef *ref = VarRefParse("scope1.lval1"); in test_replace() 152 VarRef *ref = VarRefParse("scope1.array[one]"); in test_remove() [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/tests/unit/ |
H A D | var_expressions_test.c | 7 VarRef *ref = VarRefParse("foo"); in test_plain_variable_with_no_stuff_in_it() 18 VarRef *ref = VarRefParse("scope.lval"); in test_scoped() 29 VarRef *ref = VarRefParse("ns:scope.lval"); in test_full() 40 VarRef *ref = VarRefParse("ns:scope.lval[la.la]"); in test_dotted_array() 51 VarRef *ref = VarRefParse("ns:scope.lval[x][y][z]"); in test_levels() 64 VarRef *ref = VarRefParse("lval[x]"); in test_unqualified_array() 75 VarRef *ref = VarRefParse("scope.lval[x]"); in test_qualified_array() 97 VarRef *ref = VarRefParse("lval[x-x.x:x]"); in test_array_with_dot_colon_in_index() 131 VarRef *ref = VarRefParse(str); in CheckToStringQualified() 166 VarRef *ref = VarRefParse("scope.lval"); in test_to_string_unqualified() [all …]
|
H A D | variable_test.c | 8 VarRef *ref; 17 VarRef *ref = VarRefParse(var_str); in PutVar() 32 VarRef *ref = VarRefParse("scope1.array[one]"); in ReferenceTable() 38 VarRef *ref = VarRefParse("scope1.array[two]"); in ReferenceTable() 44 VarRef *ref = VarRefParse("scope1.array[two][three]"); in ReferenceTable() 50 VarRef *ref = VarRefParse("scope1.array[two][four]"); in ReferenceTable() 57 VarRef *ref = VarRefParse("scope3.array[te][st]"); in ReferenceTable() 78 VarRef *ref = VarRefParse(ref_str); in TestGet() 132 VarRef *ref = VarRefParse("scope1.lval1"); in test_replace() 152 VarRef *ref = VarRefParse("scope1.array[one]"); in test_remove() [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/tests/unit/ |
H A D | var_expressions_test.c | 7 VarRef *ref = VarRefParse("foo"); in test_plain_variable_with_no_stuff_in_it() 18 VarRef *ref = VarRefParse("scope.lval"); in test_scoped() 29 VarRef *ref = VarRefParse("ns:scope.lval"); in test_full() 40 VarRef *ref = VarRefParse("ns:scope.lval[la.la]"); in test_dotted_array() 51 VarRef *ref = VarRefParse("ns:scope.lval[x][y][z]"); in test_levels() 64 VarRef *ref = VarRefParse("lval[x]"); in test_unqualified_array() 75 VarRef *ref = VarRefParse("scope.lval[x]"); in test_qualified_array() 97 VarRef *ref = VarRefParse("lval[x-x.x:x]"); in test_array_with_dot_colon_in_index() 131 VarRef *ref = VarRefParse(str); in CheckToStringQualified() 166 VarRef *ref = VarRefParse("scope.lval"); in test_to_string_unqualified() [all …]
|
H A D | variable_test.c | 8 VarRef *ref; 18 VarRef *ref = VarRefParse(var_str); in PutVar() 33 VarRef *ref = VarRefParse("scope1.array[one]"); in ReferenceTable() 39 VarRef *ref = VarRefParse("scope1.array[two]"); in ReferenceTable() 45 VarRef *ref = VarRefParse("scope1.array[two][three]"); in ReferenceTable() 51 VarRef *ref = VarRefParse("scope1.array[two][four]"); in ReferenceTable() 58 VarRef *ref = VarRefParse("scope3.array[te][st]"); in ReferenceTable() 79 VarRef *ref = VarRefParse(ref_str); in TestGet() 133 VarRef *ref = VarRefParse("scope1.lval1"); in test_replace() 153 VarRef *ref = VarRefParse("scope1.array[one]"); in test_remove() [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/unit/ |
H A D | var_expressions_test.c | 7 VarRef *ref = VarRefParse("foo"); in test_plain_variable_with_no_stuff_in_it() 18 VarRef *ref = VarRefParse("scope.lval"); in test_scoped() 29 VarRef *ref = VarRefParse("ns:scope.lval"); in test_full() 40 VarRef *ref = VarRefParse("ns:scope.lval[la.la]"); in test_dotted_array() 51 VarRef *ref = VarRefParse("ns:scope.lval[x][y][z]"); in test_levels() 64 VarRef *ref = VarRefParse("lval[x]"); in test_unqualified_array() 75 VarRef *ref = VarRefParse("scope.lval[x]"); in test_qualified_array() 97 VarRef *ref = VarRefParse("lval[x-x.x:x]"); in test_array_with_dot_colon_in_index() 131 VarRef *ref = VarRefParse(str); in CheckToStringQualified() 166 VarRef *ref = VarRefParse("scope.lval"); in test_to_string_unqualified() [all …]
|
H A D | variable_test.c | 8 VarRef *ref; 18 VarRef *ref = VarRefParse(var_str); in PutVar() 33 VarRef *ref = VarRefParse("scope1.array[one]"); in ReferenceTable() 39 VarRef *ref = VarRefParse("scope1.array[two]"); in ReferenceTable() 45 VarRef *ref = VarRefParse("scope1.array[two][three]"); in ReferenceTable() 51 VarRef *ref = VarRefParse("scope1.array[two][four]"); in ReferenceTable() 58 VarRef *ref = VarRefParse("scope3.array[te][st]"); in ReferenceTable() 79 VarRef *ref = VarRefParse(ref_str); in TestGet() 133 VarRef *ref = VarRefParse("scope1.lval1"); in test_replace() 153 VarRef *ref = VarRefParse("scope1.array[one]"); in test_remove() [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/unit/ |
H A D | var_expressions_test.c | 7 VarRef *ref = VarRefParse("foo"); in test_plain_variable_with_no_stuff_in_it() 18 VarRef *ref = VarRefParse("scope.lval"); in test_scoped() 29 VarRef *ref = VarRefParse("ns:scope.lval"); in test_full() 40 VarRef *ref = VarRefParse("ns:scope.lval[la.la]"); in test_dotted_array() 51 VarRef *ref = VarRefParse("ns:scope.lval[x][y][z]"); in test_levels() 64 VarRef *ref = VarRefParse("lval[x]"); in test_unqualified_array() 75 VarRef *ref = VarRefParse("scope.lval[x]"); in test_qualified_array() 97 VarRef *ref = VarRefParse("lval[x-x.x:x]"); in test_array_with_dot_colon_in_index() 131 VarRef *ref = VarRefParse(str); in CheckToStringQualified() 166 VarRef *ref = VarRefParse("scope.lval"); in test_to_string_unqualified() [all …]
|
H A D | variable_test.c | 8 VarRef *ref; 18 VarRef *ref = VarRefParse(var_str); in PutVar() 33 VarRef *ref = VarRefParse("scope1.array[one]"); in ReferenceTable() 39 VarRef *ref = VarRefParse("scope1.array[two]"); in ReferenceTable() 45 VarRef *ref = VarRefParse("scope1.array[two][three]"); in ReferenceTable() 51 VarRef *ref = VarRefParse("scope1.array[two][four]"); in ReferenceTable() 58 VarRef *ref = VarRefParse("scope3.array[te][st]"); in ReferenceTable() 79 VarRef *ref = VarRefParse(ref_str); in TestGet() 133 VarRef *ref = VarRefParse("scope1.lval1"); in test_replace() 153 VarRef *ref = VarRefParse("scope1.array[one]"); in test_remove() [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/unit/ |
H A D | var_expressions_test.c | 7 VarRef *ref = VarRefParse("foo"); in test_plain_variable_with_no_stuff_in_it() 18 VarRef *ref = VarRefParse("scope.lval"); in test_scoped() 29 VarRef *ref = VarRefParse("ns:scope.lval"); in test_full() 40 VarRef *ref = VarRefParse("ns:scope.lval[la.la]"); in test_dotted_array() 51 VarRef *ref = VarRefParse("ns:scope.lval[x][y][z]"); in test_levels() 64 VarRef *ref = VarRefParse("lval[x]"); in test_unqualified_array() 75 VarRef *ref = VarRefParse("scope.lval[x]"); in test_qualified_array() 97 VarRef *ref = VarRefParse("lval[x-x.x:x]"); in test_array_with_dot_colon_in_index() 131 VarRef *ref = VarRefParse(str); in CheckToStringQualified() 166 VarRef *ref = VarRefParse("scope.lval"); in test_to_string_unqualified() [all …]
|
H A D | variable_test.c | 8 VarRef *ref; 18 VarRef *ref = VarRefParse(var_str); in PutVar() 33 VarRef *ref = VarRefParse("scope1.array[one]"); in ReferenceTable() 39 VarRef *ref = VarRefParse("scope1.array[two]"); in ReferenceTable() 45 VarRef *ref = VarRefParse("scope1.array[two][three]"); in ReferenceTable() 51 VarRef *ref = VarRefParse("scope1.array[two][four]"); in ReferenceTable() 58 VarRef *ref = VarRefParse("scope3.array[te][st]"); in ReferenceTable() 79 VarRef *ref = VarRefParse(ref_str); in TestGet() 133 VarRef *ref = VarRefParse("scope1.lval1"); in test_replace() 153 VarRef *ref = VarRefParse("scope1.array[one]"); in test_remove() [all …]
|