RzFlag#

class RzFlag#
property base: int#
property by_off: RzSkipList#
property ht_name: HtPP#
property num: RzNum#
property realnames: bool#
property spaces: RzSpaces#
property zones: RzList[RzFlagZoneItem]#
static new() RzFlag#

Calls function rz_flag_new (defined in flag.c)

static zone_item_free() None#

Calls function rz_flag_zone_item_free (defined in zones.c)

all_list(by_space: bool) RzList[RzFlagItem]#

Calls function rz_flag_all_list (defined in flag.c)

bind(bnd: RzFlagBind) None#

Calls function rz_flag_bind (defined in flag.c)

count(glob: str) int#

Calls function rz_flag_count (defined in flag.c)

exist_at(flag_prefix: str, fp_size: int, off: int) bool#

Calls function rz_flag_exist_at (defined in flag.c)

foreach(cb: RzFlagItemCb, user: Any) None#

Calls function rz_flag_foreach (defined in flag.c)

foreach_glob(glob: str, cb: RzFlagItemCb, user: Any) None#

Calls function rz_flag_foreach_glob (defined in flag.c)

foreach_prefix(pfx: str, pfx_len: int, cb: RzFlagItemCb, user: Any) None#

Calls function rz_flag_foreach_prefix (defined in flag.c)

foreach_range(from: int, to: int, cb: RzFlagItemCb, user: Any) None#

Calls function rz_flag_foreach_range (defined in flag.c)

Parameters:
  • from – inclusive

  • to – inclusive

foreach_space(space: RzSpace, cb: RzFlagItemCb, user: Any) None#

Calls function rz_flag_foreach_space (defined in flag.c)

foreach_space_glob(glob: str, space: RzSpace, cb: RzFlagItemCb, user: Any) None#

Calls function rz_flag_foreach_space_glob (defined in flag.c)

free() RzFlag#

Calls function rz_flag_free (defined in flag.c)

get(name: str) RzFlagItem#

Calls function rz_flag_get (defined in flag.c)

get_at(off: int, closest: bool) RzFlagItem#

Calls function rz_flag_get_at (defined in flag.c)

get_by_spaces(off: int) RzFlagItem#

Calls function rz_flag_get_by_spaces (defined in flag.c)

get_i(off: int) RzFlagItem#

Calls function rz_flag_get_i (defined in flag.c)

get_list(off: int) RzList[RzFlagItem]#

Calls function rz_flag_get_list (defined in flag.c)

get_liststr(off: int) str#

Calls function rz_flag_get_liststr (defined in flag.c)

move(at: int, to: int) bool#

Calls function rz_flag_move (defined in flag.c)

relocate(off: int, off_mask: int, to: int) int#

Calls function rz_flag_relocate (defined in flag.c)

rename(item: RzFlagItem, name: str) int#

Calls function rz_flag_rename (defined in flag.c)

set(name: str, addr: int, size: int) RzFlagItem#

Calls function rz_flag_set (defined in flag.c)

set_next(name: str, addr: int, size: int) RzFlagItem#

Calls function rz_flag_set_next (defined in flag.c)

tags_get(name: str) RzList[RzFlagItem]#

Calls function rz_flag_tags_get (defined in tags.c)

tags_list() RzList[char]#

Calls function rz_flag_tags_list (defined in tags.c)

tags_reset(name: str) None#

Calls function rz_flag_tags_reset (defined in tags.c)

tags_set(name: str, words: str) None#

Calls function rz_flag_tags_set (defined in tags.c)

unset(item: RzFlagItem) bool#

Calls function rz_flag_unset (defined in flag.c)

unset_all() None#

Calls function rz_flag_unset_all (defined in flag.c)

unset_all_in_space(space_name: str) None#

Calls function rz_flag_unset_all_in_space (defined in flag.c)

Unset all flag items in the space with the given name.

Parameters:
  • f – an RzFlag

  • space_name – name of the space

unset_all_off(off: int) bool#

Calls function rz_flag_unset_all_off (defined in flag.c)

unset_glob(name: str) int#

Calls function rz_flag_unset_glob (defined in flag.c)

unset_name(name: str) bool#

Calls function rz_flag_unset_name (defined in flag.c)

unset_off(addr: int) bool#

Calls function rz_flag_unset_off (defined in flag.c)

zone_add(name: str, addr: int) bool#

Calls function rz_flag_zone_add (defined in zones.c)

zone_around(addr: int, prev: Pointer[Pointer[int]], next: Pointer[Pointer[int]]) bool#

Calls function rz_flag_zone_around (defined in zones.c)

zone_barlist(from: int, bsize: int, rows: int) RzList[char]#

Calls function rz_flag_zone_barlist (defined in zones.c)

zone_del(name: str) bool#

Calls function rz_flag_zone_del (defined in zones.c)

zone_reset() bool#

Calls function rz_flag_zone_reset (defined in zones.c)