Home
last modified time | relevance | path

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

/external/libconfig/examples/c/
Dexample3.c42 group = config_setting_add(root, "address", CONFIG_TYPE_GROUP); in main()
44 setting = config_setting_add(group, "street", CONFIG_TYPE_STRING); in main()
47 setting = config_setting_add(group, "city", CONFIG_TYPE_STRING); in main()
50 setting = config_setting_add(group, "state", CONFIG_TYPE_STRING); in main()
53 setting = config_setting_add(group, "zip", CONFIG_TYPE_INT); in main()
56 array = config_setting_add(root, "numbers", CONFIG_TYPE_ARRAY); in main()
60 setting = config_setting_add(array, NULL, CONFIG_TYPE_INT); in main()
Dexample2.c61 setting = config_setting_add(root, "inventory", CONFIG_TYPE_GROUP); in main()
65 setting = config_setting_add(setting, "movies", CONFIG_TYPE_LIST); in main()
68 movie = config_setting_add(setting, NULL, CONFIG_TYPE_GROUP); in main()
70 setting = config_setting_add(movie, "title", CONFIG_TYPE_STRING); in main()
73 setting = config_setting_add(movie, "media", CONFIG_TYPE_STRING); in main()
76 setting = config_setting_add(movie, "price", CONFIG_TYPE_FLOAT); in main()
79 setting = config_setting_add(movie, "qty", CONFIG_TYPE_INT); in main()
/external/wmediumd/util/
Dwmediumd_gen_config.c72 config_setting_add(model, "type", CONFIG_TYPE_STRING); in add_cuttlefish_path_loss_model()
76 config_setting_add(model, "model_name", CONFIG_TYPE_STRING); in add_cuttlefish_path_loss_model()
80 config_setting_add(model, "positions", CONFIG_TYPE_LIST); in add_cuttlefish_path_loss_model()
82 config_setting_add(model, "tx_powers", CONFIG_TYPE_ARRAY); in add_cuttlefish_path_loss_model()
86 config_setting_add(positions, NULL, CONFIG_TYPE_LIST); in add_cuttlefish_path_loss_model()
198 config_setting_add(root, "ifaces", CONFIG_TYPE_GROUP); in main()
201 config_setting_add(ifaces, "count", CONFIG_TYPE_INT); in main()
202 config_setting_t *ids = config_setting_add(ifaces, "ids", CONFIG_TYPE_ARRAY); in main()
292 config_setting_add(root, "model", CONFIG_TYPE_GROUP); in main()
/external/libconfig/lib/
Dgrammar.y116 ctx->setting = config_setting_add(ctx->parent, $1, CONFIG_TYPE_NONE);
137 ctx->parent = config_setting_add(ctx->parent, NULL, CONFIG_TYPE_ARRAY);
160 ctx->parent = config_setting_add(ctx->parent, NULL, CONFIG_TYPE_LIST);
371 ctx->parent = config_setting_add(ctx->parent, NULL, CONFIG_TYPE_GROUP);
Dgrammar.c1350 ctx->setting = config_setting_add(ctx->parent, (yyvsp[0].sval), CONFIG_TYPE_NONE); in yyparse()
1370 ctx->parent = config_setting_add(ctx->parent, NULL, CONFIG_TYPE_ARRAY); in yyparse()
1397 ctx->parent = config_setting_add(ctx->parent, NULL, CONFIG_TYPE_LIST); in yyparse()
1615 ctx->parent = config_setting_add(ctx->parent, NULL, CONFIG_TYPE_GROUP); in yyparse()
Dlibconfigcpp.c++1118 config_setting_t *setting = config_setting_add(_setting, name, typecode); in add()
1152 config_setting_t *s = config_setting_add(_setting, NULL, typecode); in add()
Dlibconfig.h291 extern LIBCONFIG_API config_setting_t *config_setting_add(
Dlibconfig.c1609 config_setting_t *config_setting_add(config_setting_t *parent, in config_setting_add() function
/external/libconfig/contrib/
Dcopy_setting.c17 set = config_setting_add(parent, config_setting_name(src), config_setting_type(src)); in config_setting_copy_simple()
68 newAgg = config_setting_add(parent, config_setting_name(src), config_setting_type(src)); in config_setting_copy_aggregate()
/external/libconfig/contrib/ls-config/src/
Dls-config.c343 ss = config_setting_add(setting, npath, dattyp); in set_config()
474 ss = config_setting_add(setting, NULL, dattyp); in set_config()
532 ss = config_setting_add(setting, NULL, dattyp); in set_config()
552 ss = config_setting_add(setting, NULL, dattyp); in set_config()
572 ss = config_setting_add(setting, NULL, dattyp); in set_config()
592 ss = config_setting_add(setting, NULL, dattyp); in set_config()
613 ss = config_setting_add(setting, NULL, dattyp); in set_config()
659 ss = config_setting_add(setting, NULL, dattyp); in set_config()
736 ss = config_setting_add(setting, dataString, dattyp); in set_config()
/external/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c1006 setting = config_setting_add(root, str, CONFIG_TYPE_GROUP); in config_restore()
1021 sect = config_setting_add(setting, group->group->name, in config_restore()
1030 config_setting_add(sect, name, CONFIG_TYPE_INT); in config_restore()
/external/libconfig/contrib/libconfig-ruby/ext/
Drconfig.c169 new_setting = config_setting_add(setting, NULL, type); in rconfig_do_append()
172 new_setting = config_setting_add(setting, RSTRING_PTR(name), type); in rconfig_do_append()
/external/libconfig/doc/
Dlibconfig.texi1177 @deftypefun {config_setting_t *} config_setting_add (@w{config_setting_t * @var{parent}}, @w{const …