• Home
  • Raw
  • Download

Lines Matching refs:template

141     static const unsigned int template[] = {  in init_glapi_relocs()  local
207 code[0] = template[0] | (dispatch >> 10); in init_glapi_relocs()
208 code[1] = template[1]; in init_glapi_relocs()
210 code[2] = template[2] | (dispatch & 0x3ff); in init_glapi_relocs()
211 code[3] = template[3]; in init_glapi_relocs()
213 code[4] = template[4]; in init_glapi_relocs()
214 code[5] = template[5]; in init_glapi_relocs()
216 code[6] = template[6]; in init_glapi_relocs()
220 code[0] = template[0] | (dispatch >> (32 + 10)); in init_glapi_relocs()
221 code[1] = template[1] | ((dispatch & 0xffffffff) >> 10); in init_glapi_relocs()
223 code[2] = template[2] | ((dispatch >> 32) & 0x3ff); in init_glapi_relocs()
224 code[3] = template[3]; in init_glapi_relocs()
226 code[4] = template[4]; in init_glapi_relocs()
227 code[5] = template[5]; in init_glapi_relocs()
229 code[6] = template[6] | (dispatch & 0x3ff); in init_glapi_relocs()
232 code[0] = template[0] | (dispatch >> 10); in init_glapi_relocs()
233 code[1] = template[1]; in init_glapi_relocs()
235 code[2] = template[2] | (dispatch & 0x3ff); in init_glapi_relocs()
238 code[idx + 0] = template[idx + 0]; in init_glapi_relocs()
240 code[idx + 1] = template[idx + 1]; in init_glapi_relocs()
241 code[idx + 2] = template[idx + 2]; in init_glapi_relocs()
243 code[idx + 3] = template[idx + 3]; in init_glapi_relocs()
244 code[idx + 4] = template[idx + 4]; in init_glapi_relocs()
246 code[idx + 5] = template[idx + 5]; in init_glapi_relocs()
247 code[idx + 6] = template[idx + 6]; in init_glapi_relocs()
249 code[idx + 7] = template[idx + 7]; in init_glapi_relocs()
250 code[idx + 8] = template[idx + 8] | in init_glapi_relocs()
254 code[idx + 9] = template[idx + 9]; in init_glapi_relocs()
255 code[idx + 10] = template[idx + 10]; in init_glapi_relocs()
257 code[idx + 11] = template[idx + 11]; in init_glapi_relocs()
258 code[idx + 12] = template[idx + 12]; in init_glapi_relocs()
260 code[idx + 13] = template[idx + 13]; in init_glapi_relocs()
271 static const unsigned int template[] = { in generate_entrypoint() local
284 unsigned int *code = (unsigned int *) u_execmem_alloc(sizeof(template)); in generate_entrypoint()
286 code[0] = template[0] | (functionOffset & 0x3fffff); in generate_entrypoint()
287 code[1] = template[1]; in generate_entrypoint()
289 code[2] = template[2] | in generate_entrypoint()
292 code[3] = template[3]; in generate_entrypoint()