Lines Matching refs:encoding
23 // extern(C) interface for the GNU/GCC pointer encoding library.
58 // Given an encoding, return the number of bytes the format occupies.
61 uint size_of_encoded_value(ubyte encoding)
63 if (encoding == DW_EH_PE_omit)
66 final switch (encoding & 0x07)
80 // Given an encoding and an _Unwind_Context, return the base to which
81 // the encoding is relative. This base may then be passed to
84 _Unwind_Ptr base_of_encoded_value(ubyte encoding, _Unwind_Context* context)
86 if (encoding == DW_EH_PE_omit)
89 final switch (encoding & 0x70)
174 // by base_of_encoded_value for this encoding in the appropriate context.
175 _Unwind_Ptr read_encoded_value_with_base(ubyte encoding, _Unwind_Ptr base,
181 if (encoding == DW_EH_PE_aligned)
190 switch (encoding & 0x0f)
230 result += ((encoding & 0x70) == DW_EH_PE_pcrel
232 if (encoding & DW_EH_PE_indirect)
242 _Unwind_Ptr read_encoded_value(_Unwind_Context* context, ubyte encoding,
245 auto base = base_of_encoded_value(encoding, context);
246 return read_encoded_value_with_base(encoding, base, p);