H A D | kdoc_output.py | 65 def __init__(self): argument 68 self.out_mode = self.OUTPUT_ALL 69 self.enable_lineno = None 70 self.nosymbol = {} 71 self.symbol = None 72 self.function_table = None 73 self.config = None 74 self.no_doc_sections = False 76 self 78 set_config(self, config) global() argument 85 set_filter(self, export, internal, symbol, nosymbol, function_table, enable_lineno, no_doc_sections) global() argument 112 highlight_block(self, block) global() argument 122 out_warnings(self, args) global() argument 132 check_doc(self, name, args) global() argument 152 check_declaration(self, dtype, name, args) global() argument 180 msg(self, fname, name, args) global() argument 220 out_doc(self, fname, name, args) global() argument 223 out_function(self, fname, name, args) global() argument 226 out_enum(self, fname, name, args) global() argument 229 out_typedef(self, fname, name, args) global() argument 232 out_struct(self, fname, name, args) global() argument 263 __init__(self) global() argument 274 print_lineno(self, ln) global() argument 281 output_highlight(self, args) global() argument 333 out_section(self, args, out_docblock=False) global() argument 363 out_doc(self, fname, name, args) global() argument 368 out_function(self, fname, name, args) global() argument 455 out_enum(self, fname, name, args) global() argument 487 out_typedef(self, fname, name, args) global() argument 505 out_struct(self, fname, name, args) global() argument 591 __init__(self, modulename) global() argument 617 output_highlight(self, block) global() argument 638 out_doc(self, fname, name, args) global() argument 651 out_function(self, fname, name, args) global() argument 702 out_enum(self, fname, name, args) global() argument 738 out_typedef(self, fname, name, args) global() argument 754 out_struct(self, fname, name, args) global() argument [all...] |
H A D | ynl.py | 103 def __init__(self, nl_msg): 104 self.nl_msg = nl_msg argument 105 self.error = -nl_msg.error 107 def __str__(self): 108 return f"Netlink error: {os.strerror(self.error)}\n{self.nl_msg}" argument 128 def __init__(self, raw, offset): 129 self._len, self._type = struct.unpack("HH", raw[offset : offset + 4]) argument 130 self 145 as_scalar(self, attr_type, byte_order=None) global() argument 149 as_auto_scalar(self, attr_type, byte_order=None) global() argument 156 as_strz(self) global() argument 159 as_bin(self) global() argument 162 as_c_array(self, type) global() argument 166 __repr__(self) global() argument 171 __init__(self, msg, offset=0) global() argument 179 __iter__(self) global() argument 182 __repr__(self) global() argument 192 __init__(self, msg, offset, attr_space=None) global() argument 236 _decode_policy(self, raw) global() argument 260 annotate_extack(self, attr_space) global() argument 272 cmd(self) global() argument 275 __repr__(self) global() argument 285 __init__(self, data) global() argument 294 __iter__(self) global() argument 364 __init__(self, nl_msg) global() argument 369 cmd(self) global() argument 372 __repr__(self) global() argument 381 __init__(self, family_name, proto_num) global() argument 385 _message(self, nl_type, nl_flags, seq=None) global() argument 391 message(self, flags, command, version, seq=None) global() argument 394 _decode(self, nl_msg) global() argument 397 decode(self, ynl, nl_msg, op) global() argument 405 get_mcast_id(self, mcast_name, mcast_groups) global() argument 410 msghdr_size(self) global() argument 415 __init__(self, family_name) global() argument 425 message(self, flags, command, version, seq=None) global() argument 430 _decode(self, nl_msg) global() argument 433 get_mcast_id(self, mcast_name, mcast_groups) global() argument 438 msghdr_size(self) global() argument 445 __init__(self, attr_space, attrs, outer = None) global() argument 450 lookup(self, name) global() argument 467 __init__(self, def_path, schema=None, process_unknown=False, recv_size=0) global() argument 511 ntf_subscribe(self, mcast_name) global() argument 517 set_recv_dbg(self, enabled) global() argument 520 _recv_dbg_print(self, reply, nl_msgs) global() argument 528 _encode_enum(self, attr_spec, value) global() argument 540 _get_scalar(self, attr_spec, value) global() argument 550 _add_attr(self, space, name, value, search_attrs) global() argument 626 _get_enum_or_unknown(self, enum, raw) global() argument 636 _decode_enum(self, raw, attr_spec) global() argument 650 _decode_binary(self, attr, attr_spec) global() argument 666 _decode_array_attr(self, attr, attr_spec) global() argument 692 _decode_nest_type_value(self, attr, attr_spec) global() argument 702 _decode_unknown(self, attr) global() argument 708 _rsp_add(self, rsp, name, is_multi, decoded) global() argument 723 _resolve_selector(self, attr_spec, search_attrs) global() argument 737 _decode_sub_msg(self, attr, attr_spec, search_attrs) global() argument 752 _decode(self, attrs, space, outer_attrs = None) global() argument 812 _decode_extack_path(self, attrs, attr_set, offset, target, search_attrs) global() argument 848 _decode_extack(self, request, op, extack, vals) global() argument 861 _struct_size(self, name) global() argument 878 _decode_struct(self, data, name) global() argument 907 _encode_struct(self, name, vals) global() argument 931 _formatted_string(self, raw, display_hint) global() argument 947 _from_string(self, string, attr_spec) global() argument 959 handle_ntf(self, decoded) global() argument 972 check_ntf(self) global() argument 997 poll_ntf(self, duration=None) global() argument 1016 operation_do_attributes(self, name) global() argument 1027 _encode_message(self, op, vals, flags, req_seq) global() argument 1041 _ops(self, ops) global() argument 1110 _op(self, method, vals, flags=None, dump=False) global() argument 1118 do(self, method, vals, flags=None) global() argument 1121 dump(self, method, vals) global() argument 1124 do_multi(self, ops) global() argument [all...] |
H A D | ynl_gen_c.py | 43 def get_family_id(self): 48 def __init__(self, family, attr_set, attr, value): 51 self.attr = attr 52 self.attr_set = attr_set 53 self.type = attr['type'] 54 self.checks = attr.get('checks', {}) 56 self.request = False 57 self.reply = False 59 self.is_selector = False 62 self 44 get_family_id(self) global() argument 49 __init__(self, family, attr_set, attr, value) global() argument 94 _get_real_attr(self) global() argument 98 set_request(self) global() argument 103 set_reply(self) global() argument 108 get_limit(self, limit, default=None) global() argument 118 get_limit_str(self, limit, default=None, suffix='') global() argument 131 resolve(self) global() argument 144 is_multi_val(self) global() argument 147 is_scalar(self) global() argument 150 is_recursive(self) global() argument 153 is_recursive_for_op(self, ri) global() argument 156 presence_type(self) global() argument 159 presence_member(self, space, type_filter) global() argument 171 _complex_member_type(self, ri) global() argument 174 free_needs_iter(self) global() argument 177 _free_lines(self, ri, var, ref) global() argument 182 free(self, ri, var, ref) global() argument 187 arg_member(self, ri) global() argument 197 struct_member(self, ri) global() argument 210 _attr_policy(self, policy) global() argument 213 attr_policy(self, cw) global() argument 222 _attr_typol(self) global() argument 225 attr_typol(self, cw) global() argument 229 _attr_put_line(self, ri, var, line) global() argument 235 _attr_put_simple(self, ri, var, put_type) global() argument 239 attr_put(self, ri, var) global() argument 242 _attr_get(self, ri, var) global() argument 245 attr_get(self, ri, var, first) global() argument 275 _setter_lines(self, ri, member, presence) global() argument 278 setter(self, ri, space, direction, deref=False, ref=None, var="req") global() argument 313 presence_type(self) global() argument 316 arg_member(self, ri) global() argument 319 _attr_get(self, ri, var) global() argument 322 _attr_typol(self) global() argument 325 attr_policy(self, cw) global() argument 328 attr_put(self, ri, var) global() argument 331 attr_get(self, ri, var, first) global() argument 334 setter(self, ri, space, direction, deref=False, ref=None, var=None) global() argument 339 presence_type(self) global() argument 342 arg_member(self, ri) global() argument 345 _attr_typol(self) global() argument 348 attr_put(self, ri, var) global() argument 351 attr_get(self, ri, var, first) global() argument 354 attr_policy(self, cw) global() argument 357 setter(self, ri, space, direction, deref=False, ref=None, var=None) global() argument 362 __init__(self, family, attr_set, attr, value) global() argument 380 resolve(self) global() argument 397 _init_checks(self) global() argument 422 _attr_policy(self, policy) global() argument 444 _attr_typol(self) global() argument 447 arg_member(self, ri) global() argument 450 attr_put(self, ri, var) global() argument 453 _attr_get(self, ri, var) global() argument 456 _setter_lines(self, ri, member, presence) global() argument 461 arg_member(self, ri) global() argument 464 _attr_typol(self) global() argument 467 attr_put(self, ri, var) global() argument 470 _attr_get(self, ri, var) global() argument 473 _setter_lines(self, ri, member, presence) global() argument 478 arg_member(self, ri) global() argument 481 presence_type(self) global() argument 484 struct_member(self, ri) global() argument 487 _attr_typol(self) global() argument 493 _attr_policy(self, policy) global() argument 503 attr_policy(self, cw) global() argument 512 attr_put(self, ri, var) global() argument 515 _attr_get(self, ri, var) global() argument 524 _setter_lines(self, ri, member, presence) global() argument 532 arg_member(self, ri) global() argument 535 presence_type(self) global() argument 538 struct_member(self, ri) global() argument 541 _attr_typol(self) global() argument 544 _attr_policy(self, policy) global() argument 565 attr_put(self, ri, var) global() argument 569 _attr_get(self, ri, var) global() argument 577 _setter_lines(self, ri, member, presence) global() argument 584 struct_member(self, ri) global() argument 587 _attr_get(self, ri, var) global() argument 601 arg_member(self, ri) global() argument 604 presence_type(self) global() argument 607 struct_member(self, ri) global() argument 610 attr_put(self, ri, var) global() argument 618 _attr_get(self, ri, var) global() argument 627 _setter_lines(self, ri, member, presence) global() argument 635 _complex_member_type(self, ri) global() argument 638 _attr_typol(self) global() argument 641 _attr_policy(self, policy) global() argument 648 attr_put(self, ri, var) global() argument 652 _attr_get(self, ri, var) global() argument 655 _setter_lines(self, ri, member, presence) global() argument 660 is_recursive(self) global() argument 663 _complex_member_type(self, ri) global() argument 666 _free_lines(self, ri, var, ref) global() argument 675 _attr_typol(self) global() argument 678 _attr_policy(self, policy) global() argument 681 attr_put(self, ri, var) global() argument 686 _attr_get(self, ri, var) global() argument 697 setter(self, ri, space, direction, deref=False, ref=None, var="req") global() argument 708 __init__(self, family, attr_set, attr, value, base_type) global() argument 713 is_multi_val(self) global() argument 716 presence_type(self) global() argument 719 _complex_member_type(self, ri) global() argument 732 arg_member(self, ri) global() argument 738 free_needs_iter(self) global() argument 741 _free_lines(self, ri, var, ref) global() argument 763 _attr_policy(self, policy) global() argument 766 _attr_typol(self) global() argument 769 _attr_get(self, ri, var) global() argument 772 attr_put(self, ri, var) global() argument 790 _setter_lines(self, ri, member, presence) global() argument 796 is_multi_val(self) global() argument 799 presence_type(self) global() argument 802 _complex_member_type(self, ri) global() argument 813 arg_member(self, ri) global() argument 819 _attr_typol(self) global() argument 827 _attr_get(self, ri, var) global() argument 837 attr_put(self, ri, var) global() argument 854 _setter_lines(self, ri, member, presence) global() argument 860 _complex_member_type(self, ri) global() argument 863 _attr_typol(self) global() argument 866 _attr_get(self, ri, var) global() argument 890 __init__(self, family, attr_set, attr, value) global() argument 895 _attr_typol(self) global() argument 905 _attr_get(self, ri, var) global() argument 922 __init__(self, msg_attr, attr_set) global() argument 934 set_attr(self, attr) global() argument 937 is_external(self) global() argument 942 __init__(self, family, space_name, type_list=None, fixed_header=None, inherited=None, submsg=None) global() argument 989 __iter__(self) global() argument 992 __getitem__(self, key) global() argument 995 member_list(self) global() argument 998 set_inherited(self, new_inherited) global() argument 1003 external_selectors(self) global() argument 1010 free_needs_iter(self) global() argument 1018 __init__(self, enum_set, yaml, prev, value_start) global() argument 1031 resolve(self) global() argument 1038 __init__(self, family, yaml) global() argument 1061 new_entry(self, entry, prev_entry, value_start) global() argument 1064 value_range(self) global() argument 1075 __init__(self, family, yaml) global() argument 1097 resolve(self) global() argument 1104 new_attr(self, elem, value) global() argument 1145 __init__(self, family, yaml, req_value, rsp_value) global() argument 1167 resolve(self) global() argument 1175 mark_has_ntf(self) global() argument 1180 __init__(self, family, yaml) global() argument 1185 resolve(self) global() argument 1190 __init__(self, file_name, exclude_ops) global() argument 1222 resolve(self) global() argument 1263 new_enum(self, elem) global() argument 1266 new_attr_set(self, elem) global() argument 1269 new_operation(self, elem, req_value, rsp_value) global() argument 1272 new_sub_message(self, elem) global() argument 1275 is_classic(self) global() argument 1278 _mark_notify(self) global() argument 1284 _mock_up_events(self) global() argument 1293 _load_root_sets(self) global() argument 1314 _sort_pure_types(self) global() argument 1346 _load_nested_set_nest(self, spec) global() argument 1367 _load_nested_set_submsg(self, spec) global() argument 1406 _load_nested_sets(self) global() argument 1470 _load_attr_use(self) global() argument 1486 _load_selector_passing(self) global() argument 1510 _load_global_policy(self) global() argument 1536 _load_hooks(self) global() argument 1552 __init__(self, cw, family, ku_space, op, op_mode, attr_set=None) global() argument 1612 type_empty(self, key) global() argument 1616 needs_nlflags(self, direction) global() argument 1621 __init__(self, nlib, out_file=None, overwrite=True) global() argument 1636 __del__(self) global() argument 1639 close_out_file(self) global() argument 1657 p(self, line, add_ind=0) global() argument 1682 nl(self) global() argument 1685 block_start(self, line='') global() argument 1691 block_end(self, line='') global() argument 1704 write_doc_line(self, doc, indent=True) global() argument 1716 write_func_prot(self, qual_ret, name, args=None, doc=None, suffix='') global() argument 1758 write_func_lvar(self, local_vars) global() argument 1770 write_func(self, qual_ret, name, body, args=None, local_vars=None) global() argument 1779 writes_defines(self, defines) global() argument 1794 write_struct_init(self, members) global() argument 1804 ifdef_block(self, config) global() argument [all...] |