Lines Matching refs:functions
58 Reads an XML file and returns all of the functions defined in it.
67 functions = {}
70 functions[func.name] = func
71 functions = functions.values()
74 functions = sorted(functions, key=lambda f: f.name)
76 # Lookup for fixed offset/slot functions and use it if available.
82 for i in range(len(functions)):
83 name = functions[i].name[2:]
86 functions[i] = functions[i]._replace(slot=static_data.offsets[name])
88 functions[i] = functions[i]._replace(slot=static_data.offsets[name + "ARB"])
90 functions[i] = functions[i]._replace(slot=static_data.offsets[name + "EXT"])
92 functions[i] = functions[i]._replace(slot=next_slot)
95 return functions
100 functions that a library should export.