Lines Matching refs:object_type

286 get_prop_table(nwam_object_type_t object_type)  in get_prop_table()  argument
288 switch (object_type) { in get_prop_table()
1144 object_name_from_handle(nwam_object_type_t object_type, void *handle, in object_name_from_handle() argument
1147 switch (object_type) { in object_name_from_handle()
1483 destroy_ret(nwam_object_type_t object_type, nwam_error_t ret, void *handle) in destroy_ret() argument
1488 if (object_name_from_handle(object_type, handle, &name) in destroy_ret()
1492 nwam_object_type_to_string(object_type), name); in destroy_ret()
1790 nwam_object_type_t object_type = active_object_type(); in revert_func() local
1792 switch (object_type) { in revert_func()
1839 nwam_object_type_to_string(object_type), name); in revert_func()
1953 pt_to_prop_name(nwam_object_type_t object_type, int pt_type) in pt_to_prop_name() argument
1956 prop_table_entry_t *prop_table = get_prop_table(object_type); in pt_to_prop_name()
1967 prop_to_pt(nwam_object_type_t object_type, const char *prop) in prop_to_pt() argument
1970 prop_table_entry_t *prop_table = get_prop_table(object_type); in prop_to_pt()
1981 prop_value_type(nwam_object_type_t object_type, const char *prop) in prop_value_type() argument
1986 switch (object_type) { in prop_value_type()
2015 str_to_nwam_value(nwam_object_type_t object_type, char *input_str, int pt_type, in str_to_nwam_value() argument
2059 value_type = prop_value_type(object_type, in str_to_nwam_value()
2060 pt_to_prop_name(object_type, pt_type)); in str_to_nwam_value()
2100 pt_to_prop_name(object_type, pt_type), in str_to_nwam_value()
2291 get_prop_display_table(nwam_object_type_t object_type) in get_prop_display_table() argument
2293 switch (object_type) { in get_prop_display_table()
2320 show_prop_test(nwam_object_type_t object_type, const char *prop, in show_prop_test() argument
2347 switch (object_type) { in show_prop_test()
2435 return (show_prop_test(object_type, in show_prop_test()
2457 is_prop_read_only(nwam_object_type_t object_type, const char *prop) in is_prop_read_only() argument
2461 switch (object_type) { in is_prop_read_only()
2483 is_prop_multivalued(nwam_object_type_t object_type, const char *prop) in is_prop_multivalued() argument
2488 switch (object_type) { in is_prop_multivalued()
2563 nwam_object_type_t object_type; in set_func() local
2569 object_type = active_object_type(); in set_func()
2570 prop_table = get_prop_display_table(object_type); in set_func()
2573 if ((prop = pt_to_prop_name(object_type, pt_type)) == NULL) { in set_func()
2580 if (is_prop_read_only(object_type, prop)) { in set_func()
2584 if (!show_prop_test(object_type, prop, prop_table, checked, 0)) { in set_func()
2591 is_listprop = is_prop_multivalued(object_type, prop); in set_func()
2592 prop_value = str_to_nwam_value(object_type, cmd->cmd_argv[0], pt_type, in set_func()
2600 switch (object_type) { in set_func()
2624 list_callback(nwam_object_type_t object_type, void *handle, in list_callback() argument
2636 ret = object_name_from_handle(object_type, handle, &name); in list_callback()
2643 if (object_type == NWAM_OBJECT_TYPE_NCU) { in list_callback()
2856 listprop(nwam_object_type_t object_type, void *handle, const char *name, in listprop() argument
2873 switch (object_type) { in listprop()
2887 if ((ret = listprop(object_type, NULL, lname, in listprop()
2891 ret = listprop(object_type, NULL, lname, in listprop()
2918 if ((ret = object_name_from_handle(object_type, handle, &realname)) in listprop()
2923 switch (object_type) { in listprop()
2962 (void) printf("%s:%s\n", nwam_object_type_to_string(object_type), in listprop()
2968 switch (object_type) { in listprop()
2992 if (object_type == NWAM_OBJECT_TYPE_LOC) in listprop()
3005 switch (object_type) { in listprop()
3240 write_export_command(nwam_object_type_t object_type, const char *prop, in write_export_command() argument
3244 if (is_prop_read_only(object_type, prop)) in write_export_command()
3788 nwam_object_type_t object_type = active_object_type(); in get_func() local
3808 if ((prop = pt_to_prop_name(object_type, cmd->cmd_prop_type)) == NULL) { in get_func()
3814 switch (object_type) { in get_func()
3857 nwam_object_type_t object_type = active_object_type(); in clear_func() local
3860 if ((prop = pt_to_prop_name(object_type, cmd->cmd_prop_type)) == NULL) { in clear_func()
3865 if (is_prop_read_only(object_type, prop)) { in clear_func()
3870 switch (object_type) { in clear_func()
3906 print_all_prop_choices(nwam_object_type_t object_type, const char *prop) in print_all_prop_choices() argument
3920 if (object_type == NWAM_OBJECT_TYPE_NCU) { in print_all_prop_choices()
3942 value_type = prop_value_type(object_type, prop); in print_all_prop_choices()
3988 nwam_object_type_t object_type; in walkprop_func() local
4023 object_type = active_object_type(); in walkprop_func()
4024 prop_table = get_prop_display_table(object_type); in walkprop_func()
4027 switch (object_type) { in walkprop_func()
4067 if (is_prop_read_only(object_type, props[i])) in walkprop_func()
4070 !show_prop_test(object_type, props[i], prop_table, in walkprop_func()
4075 switch (object_type) { in walkprop_func()
4104 print_all_prop_choices(object_type, props[i]); in walkprop_func()
4114 int pt_type = prop_to_pt(object_type, props[i]); in walkprop_func()
4116 is_listprop = is_prop_multivalued(object_type, in walkprop_func()
4118 vals = str_to_nwam_value(object_type, line, pt_type, in walkprop_func()
4126 switch (object_type) { in walkprop_func()