Lines Matching defs:AE
2 conversion between AE types and python types
21 from Carbon import AE
42 # Some AE types are immedeately coerced into something
60 AEDescType = AE.AEDescType
79 """Pack a python object into an AE descriptor"""
83 return AE.AECreateDesc(forcetype, x)
88 return AE.AECreateDesc('null', '')
93 return AE.AECreateDesc('fss ', x.data)
95 return AE.AECreateDesc('fsrf', x.data)
97 return AE.AECreateDesc('alis', x.data)
99 return AE.AECreateDesc('long', struct.pack('l', x))
101 return AE.AECreateDesc('doub', struct.pack('d', x))
103 return AE.AECreateDesc('TEXT', x)
108 return AE.AECreateDesc('utxt', data)
110 list = AE.AECreateList('', 0)
115 record = AE.AECreateList('', 1)
122 return AE.AECreateDesc('type', x.want)
126 return AE.AECreateDesc('TEXT', x.which)
128 return AE.AECreateDesc('TEXT', x.want)
129 return AE.AECreateDesc('TEXT', repr(x)) # Copout
132 """Unpack an AE descriptor to a python object"""
256 """Coerce a python object to another type using the AE coercers"""