/external/python/cpython2/Lib/ctypes/ |
_endian.py | 6 def _other_endian(typ): function 12 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 13 if hasattr(typ, _OTHER_ENDIAN): 14 return getattr(typ, _OTHER_ENDIAN) 17 return _other_endian(typ._type_) * typ._length_ 31 fields.append((name, _other_endian(typ)) + rest) 42 _OTHER_ENDIAN = "__ctype_be__" 52 _OTHER_ENDIAN = "__ctype_le__"
|
/external/python/cpython3/Lib/ctypes/ |
_endian.py | 6 def _other_endian(typ): function 12 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 13 if hasattr(typ, _OTHER_ENDIAN): 14 return getattr(typ, _OTHER_ENDIAN) 17 return _other_endian(typ._type_) * typ._length_ 31 fields.append((name, _other_endian(typ)) + rest) 42 _OTHER_ENDIAN = "__ctype_be__" 52 _OTHER_ENDIAN = "__ctype_le__"
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): function 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 20 return _other_endian(typ._type_) * typ._length_ 34 fields.append((name, _other_endian(typ)) + rest) 45 _OTHER_ENDIAN = "__ctype_be__" 55 _OTHER_ENDIAN = "__ctype_le__"
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): function 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 20 return _other_endian(typ._type_) * typ._length_ 34 fields.append((name, _other_endian(typ)) + rest) 45 _OTHER_ENDIAN = "__ctype_be__" 55 _OTHER_ENDIAN = "__ctype_le__"
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): function 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 20 return _other_endian(typ._type_) * typ._length_ 34 fields.append((name, _other_endian(typ)) + rest) 45 _OTHER_ENDIAN = "__ctype_be__" 55 _OTHER_ENDIAN = "__ctype_le__"
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
_endian.py | 9 def _other_endian(typ): function 15 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 16 if hasattr(typ, _OTHER_ENDIAN): 17 return getattr(typ, _OTHER_ENDIAN) 20 return _other_endian(typ._type_) * typ._length_ 34 fields.append((name, _other_endian(typ)) + rest) 45 _OTHER_ENDIAN = "__ctype_be__" 55 _OTHER_ENDIAN = "__ctype_le__"
|