Lines Matching refs:syntax
110 * list. If syntax is non-NULL recursively list names until a context
111 * with a different syntax is encountered, otherwise list one level
114 * eg: For the context org/eng with syntax "dot-separated, right-to-left",
122 list_ctx_aux(FN_ctx_t *, FN_compound_name_t *name, const FN_attrset_t *syntax,
132 * Return true if a set of syntax attributes correspond to a
137 slash_hierarchy(const FN_attrset_t *syntax);
140 * Return true if a set of syntax attributes correspond to a
145 non_slash_hierarchy(const FN_attrset_t *syntax);
148 * Return true if two syntax attribute sets are equal.
346 * True if ctx has a hierarchical syntax with a non-slash separator
347 * and prefix_ctx either has the same syntax or does not provide any
348 * syntax ("..." should be the only example of the latter condition).
375 * True if ctx has a slash-separated hierarchical syntax.
396 FN_attrset_t *syntax;
400 syntax = fn_ctx_get_syntax_attrs(ctx, empty_cname, status);
401 if (syntax == NULL) {
402 logstat(status, "", "bad syntax attributes");
406 fn_compound_name_from_syntax_attrs(syntax, empty_string, status);
409 fn_attrset_destroy(syntax);
412 if (!non_slash_hierarchy(syntax)) {
413 fn_attrset_destroy(syntax);
414 syntax = NULL;
416 retval = list_ctx_aux(ctx, name, syntax, entries_p, status);
417 fn_attrset_destroy(syntax);
425 const FN_attrset_t *syntax, struct dir_entry **entries_p,
448 if (syntax != NULL) {
452 rc = list_ctx_aux(ctx, name, syntax, entries_p,
513 * Identifiers of syntax attributes for direction and separator.
530 slash_hierarchy(const FN_attrset_t *syntax)
532 const FN_attrvalue_t *dir = get_attrval(syntax, &syntax_direction);
533 const FN_attrvalue_t *sep = get_attrval(syntax, &syntax_separator);
543 non_slash_hierarchy(const FN_attrset_t *syntax)
545 const FN_attrvalue_t *dir = get_attrval(syntax, &syntax_direction);
546 const FN_attrvalue_t *sep = get_attrval(syntax, &syntax_separator);