Searched refs:st_type (Results 1 – 1 of 1) sorted by relevance
| /xnu-11215/tools/lldbmacros/ |
| H A D | kcdata.py | 229 def __init__(self, st_name, st_type, st_size, st_offset=0, st_flag=0, custom_repr=None): argument 232 self.type_id = st_type 233 if st_type <= 0 or st_type > KCSUBTYPE_TYPE.KC_ST_UINT64: 234 raise ValueError("Invalid type passed %d" % st_type) 253 (st_flag, st_type, st_offset, st_size, st_name) = struct.unpack_from('=BBHI32s', byte_data) 255 return KCSubTypeElement(st_name, st_type, st_size, st_offset, st_flag) 258 def FromBasicCtype(st_name, st_type, st_offset=0, legacy_size=None): argument 259 if st_type <= 0 or st_type > KCSUBTYPE_TYPE.KC_ST_UINT64: 260 raise ValueError("Invalid type passed %d" % st_type) 261 st_size = struct.calcsize(KCSubTypeElement._unpack_formats[st_type]) [all …]
|