Home
last modified time | relevance | path

Searched refs:outtype (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/indices/
Du_unfilled_gen.py95 def vert( intype, outtype, v0 ): argument
97 return '(' + outtype + ')(' + v0 + ')'
99 return '(' + outtype + ')in[' + v0 + ']'
101 def line( intype, outtype, ptr, v0, v1 ): argument
102 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
103 print ' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';'
109 def do_tri( intype, outtype, ptr, v0, v1, v2 ): argument
110 line( intype, outtype, ptr, v0, v1 )
111 line( intype, outtype, ptr + '+2', v1, v2 )
112 line( intype, outtype, ptr + '+4', v2, v0 )
[all …]
Du_indices_gen.py106 def vert( intype, outtype, v0 ): argument
108 return '(' + outtype + ')(' + v0 + ')'
110 return '(' + outtype + ')in[' + v0 + ']'
112 def point( intype, outtype, ptr, v0 ): argument
113 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
115 def line( intype, outtype, ptr, v0, v1 ): argument
116 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
117 print ' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';'
119 def tri( intype, outtype, ptr, v0, v1, v2 ): argument
120 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/indices/
Du_unfilled_gen.py95 def vert( intype, outtype, v0 ): argument
97 return '(' + outtype + ')(' + v0 + ')'
99 return '(' + outtype + ')in[' + v0 + ']'
101 def line( intype, outtype, ptr, v0, v1 ): argument
102 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
103 print ' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';'
109 def do_tri( intype, outtype, ptr, v0, v1, v2 ): argument
110 line( intype, outtype, ptr, v0, v1 )
111 line( intype, outtype, ptr + '+2', v1, v2 )
112 line( intype, outtype, ptr + '+4', v2, v0 )
[all …]
Du_indices_gen.py106 def vert( intype, outtype, v0 ): argument
108 return '(' + outtype + ')(' + v0 + ')'
110 return '(' + outtype + ')in[' + v0 + ']'
112 def point( intype, outtype, ptr, v0 ): argument
113 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
115 def line( intype, outtype, ptr, v0, v1 ): argument
116 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
117 print ' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';'
119 def tri( intype, outtype, ptr, v0, v1, v2 ): argument
120 print ' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';'
[all …]
/external/dropbear/
Ddropbearconvert.c33 static int do_convert(int intype, const char* infile, int outtype,
61 int intype, outtype; local
88 outtype = KEYFILE_DROPBEAR;
90 outtype = KEYFILE_OPENSSH;
102 return do_convert(intype, infile, outtype, outfile);
110 static int do_convert(int intype, const char* infile, int outtype, argument
137 if (import_write(outfile, key, NULL, outtype) != 1) {