Searched refs:yang_type (Results 1 – 7 of 7) sorted by relevance
/dports/net/libyang/libyang-1.0.240/src/ |
H A D | parser_yang.h | 71 struct yang_type { struct 126 void *yang_read_length(struct ly_ctx *ctx, struct yang_type *stype, char *value, int is_ext_instanc… 130 int yang_fill_type(struct lys_module *module, struct lys_type *type, struct yang_type *stype, 137 int yang_read_leafref_path(struct lys_module *module, struct yang_type *stype, char *value); 139 int yang_read_require_instance(struct ly_ctx *ctx, struct yang_type *stype, int req); 143 void *yang_read_range(struct ly_ctx *ctx, struct yang_type *stype, char *value, int is_ext_instance… 145 int yang_read_fraction(struct ly_ctx *ctx, struct yang_type *typ, uint32_t value); 147 int yang_read_enum(struct ly_ctx *ctx, struct yang_type *typ, struct lys_type_enum *enm, char *valu… 149 int yang_check_enum(struct ly_ctx *ctx, struct yang_type *typ, struct lys_type_enum *enm, int64_t *… 151 int yang_read_bit(struct ly_ctx *ctx, struct yang_type *typ, struct lys_type_bit *bit, char *value); [all …]
|
H A D | parser_yang_bis.c | 266 struct yang_type *type; 2870 void *yang_type = NULL; in yyparse() local 4261 …((struct yang_type *)actual)->type->info.str.pat_count * sizeof *((struct yang_type *)actual)->typ… in yyparse() 4323 … if (((struct yang_type *)actual)->base && ((struct yang_type *)actual)->base != LY_TYPE_IDENT) { in yyparse() 4328 yang_type = actual; in yyparse() 4332 actual = yang_type; in yyparse() 4351 { struct yang_type *stype = (struct yang_type *)actual; in yyparse() 4500 …if (((struct yang_type *)actual)->base != 0 && ((struct yang_type *)actual)->base != LY_TYPE_STRIN… in yyparse() 4616 (yyval.backup_token).actual = yang_type = actual; in yyparse() 4617 …YANG_ADDELEM(((struct yang_type *)actual)->type->info.enums.enm, ((struct yang_type *)actual)->typ… in yyparse() [all …]
|
H A D | yang.y.in | 67 struct yang_type *type; 1334 …((struct yang_type *)actual)->type->info.str.pat_count * sizeof *((struct yang_type *)actual)->typ… 1391 … if (((struct yang_type *)actual)->base && ((struct yang_type *)actual)->base != LY_TYPE_IDENT) { 1396 yang_type = actual; 1400 actual = yang_type; 1416 union_spec: @EMPTYDIR@ { struct yang_type *stype = (struct yang_type *)actual; 1538 …if (((struct yang_type *)actual)->base != 0 && ((struct yang_type *)actual)->base != LY_TYPE_STRIN… 1629 $$.actual = yang_type = actual; 1630 …YANG_ADDELEM(((struct yang_type *)actual)->type->info.enums.enm, ((struct yang_type *)actual)->typ… 1631 if (yang_read_enum(trg->ctx, yang_type, actual, s)) { [all …]
|
H A D | parser_yang.c | 621 yang_read_require_instance(struct ly_ctx *ctx, struct yang_type *stype, int req) in yang_read_require_instance() 649 struct yang_type *yang; in yang_check_type() 999 yang = (struct yang_type *)dertype->der; in yang_check_type() 1063 struct yang_type *yang; in yang_free_type_union() 1069 yang = (struct yang_type *)stype->der; in yang_free_type_union() 1082 struct yang_type *typ; in yang_read_type() 1233 yang_read_fraction(struct ly_ctx *ctx, struct yang_type *typ, uint32_t value) in yang_read_fraction() 2235 ext = &((struct yang_type *)node)->type->ext; in yang_ext_instance() 2236 size = &((struct yang_type *)node)->type->ext_size; in yang_ext_instance() 2927 struct yang_type *stype = (struct yang_type *)type->der; in yang_type_free() [all …]
|
H A D | parser_yang_bis.h | 166 struct yang_type *type;
|
H A D | tree_schema.c | 1868 struct yang_type * 1869 lys_yang_type_dup(struct lys_module *module, struct lys_node *parent, struct yang_type *old, struct… in lys_yang_type_dup() 1872 struct yang_type *new; in lys_yang_type_dup() 2286 …new->der = (struct lys_tpdf *)lys_yang_type_dup(mod, parent, (struct yang_type *)old->der, new, in… in lys_type_dup()
|
H A D | resolve.c | 6985 struct yang_type *yang; in resolve_unres_schema_item() 7029 yang = (struct yang_type *)yin; in resolve_unres_schema_item() 7348 name = ((struct yang_type *)xml)->name; in print_unres_schema_item_fail() 7882 struct yang_type *yang; in unres_schema_free_item() 7890 yang =(struct yang_type *)yin; in unres_schema_free_item()
|