| /xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/ |
| gtest-printers.h | 33 // This file implements a universal value printer that can print a 36 // void ::testing::internal::UniversalPrinter<T>::Print(value, ostream_ptr); 38 // A user can teach this function how to print a class type T by 52 // If none of the above is defined, it will print the debug string of 53 // the value if it is a protocol buffer, or print the raw bytes in the 87 // The print primitives print the elements of an STL-style container 91 // match value_type, and the print output may be incorrect. In 146 // by the universal printer to print a value of type T when neither 161 // We print a protobuf using its ShortDebugString() when the strin [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/ |
| gtest-printers.h | 34 // This file implements a universal value printer that can print a 37 // void ::testing::internal::UniversalPrinter<T>::Print(value, ostream_ptr); 39 // A user can teach this function how to print a class type T by 49 // If none of the above is defined, it will print the debug string of 50 // the value if it is a protocol buffer, or print the raw bytes in the 84 // The print primitives print the elements of an STL-style container 88 // match value_type, and the print output may be incorrect. In 132 // by the universal printer to print a value of type T when neither 145 // We print a protobuf using its ShortDebugString() when the strin [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mapi/glapi/gen/ |
| gl_SPARC_asm.py | 42 print('#ifdef __arch64__') 43 print('#define GL_OFF(N)\t((N) * 8)') 44 print('#define GL_LL\t\tldx') 45 print('#define GL_TIE_LD(SYM)\t%tie_ldx(SYM)') 46 print('#define GL_STACK_SIZE\t128') 47 print('#else') 48 print('#define GL_OFF(N)\t((N) * 4)') 49 print('#define GL_LL\t\tld') 50 print('#define GL_TIE_LD(SYM)\t%tie_ld(SYM)') 51 print('#define GL_STACK_SIZE\t64' [all...] |
| gl_marshal_h.py | 49 print(header) 52 print(footer) 55 print('#include "GL/gl.h"') 56 print('') 57 print('enum marshal_dispatch_cmd_id') 58 print('{') 63 print(' DISPATCH_CMD_{0},'.format(func.name)) 64 print(' NUM_DISPATCH_CMD,') 65 print('};') 66 print('') [all...] |
| glX_server_table.py | 175 print ' /* [%u] -> opcode range [%u, %u], node depth %u */' % (base_entry, base_opcode, base_opcode + (1 << remaining_bits), depth) 176 print ' %u,' % (M) 185 print ' EMPTY_LEAF,' 193 print ' LEAF(%u),' % (len(self.lookup_table)) 221 print ' %u,' % (child_index) 226 print '' 237 def Print(self): 281 print '/*****************************************************************/' 282 print '/* tree depth = %u */' % (tree[3]) 283 print 'static const int_fast16_t %s_dispatch_tree[%u] = {' % (self.name_base, tree[2] [all...] |
| gl_x86_asm.py | 56 print('#include "x86/assyntax.h"') 57 print('') 58 print('#if defined(STDCALL_API)') 59 print('# define GL_PREFIX(n,n2) GLNAME(CONCAT(gl,n2))') 60 print('#else') 61 print('# define GL_PREFIX(n,n2) GLNAME(CONCAT(gl,n))') 62 print('#endif') 63 print('') 64 print('#define GL_OFFSET(x) CODEPTR(REGOFF(4 * x, EAX))') 65 print('') [all...] |
| remap_helper.py | 69 print('#include "main/dispatch.h"') 70 print('#include "main/remap.h"') 71 print('') 78 print('/* this is internal to remap.c */') 79 print('#ifndef need_MESA_remap_table') 80 print('#error Only remap.c should include this file!') 81 print('#endif /* need_MESA_remap_table */') 82 print('') 84 print('') 85 print('static const char _mesa_function_pool[] =' [all...] |
| gl_gentable.py | 159 print(header) 164 print(footer) 190 print("#define GLAPI_TABLE_COUNT %d" % func_count) 191 print("static const char * const _glapi_table_func_names[GLAPI_TABLE_COUNT] = {") 193 print(" /* %5d */ \"%s\"," % (i, funcnames[i])) 194 print("};") 217 printer.Print(api)
|
| gl_table.py | 48 print(' %s (GLAPIENTRYP %s)(%s); /* %d */' % ( 52 print('#ifndef GLAPIENTRYP') 53 print('# ifndef GLAPIENTRY') 54 print('# define GLAPIENTRY') 55 print('# endif') 56 print('') 57 print('# define GLAPIENTRYP GLAPIENTRY *') 58 print('#endif') 59 print('') 60 print('') [all...] |
| glX_proto_size.py | 170 print(' static const GLushort a[%u] = {' % (mask + 1)) 172 print(' %s, ' % (masked_enums[e])) 173 print(' };') 175 print(' static const GLubyte b[%u] = {' % (mask + 1)) 177 print(' %u, ' % (masked_count[c])) 178 print(' };') 180 print(' const unsigned idx = (e & 0x%02xU);' % (mask)) 181 print('') 182 print(' return (e == a[idx]) ? (GLint) b[idx] : 0;') 192 print(' switch( e ) {' [all...] |
| gl_enums.py | 51 print('#include <stdio.h>') 52 print('#include "main/glheader.h"') 53 print('#include "main/enums.h"') 54 print('#include "main/mtypes.h"') 55 print('') 56 print('typedef struct PACKED {') 57 print(' uint32_t offset;') 58 print(' int n;') 59 print('} enum_elt;') 60 print('') [all...] |
| gl_procs.py | 45 print(""" 72 print('') 73 print('#undef NAME_FUNC_OFFSET') 77 print(' "gl%s\\0"' % (name)) 80 print('') 81 print('static const char gl_string_table[] =') 111 print(' ;') 112 print('') 113 print('') 114 print('#if defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING)' [all...] |
| gl_x86-64_asm.py | 57 print('\tsubq\t$%u, %%rsp' % (adjust_stack)) 75 print('\taddq\t$%u, %%rsp' % (adjust_stack)) 82 print('\tmovq\t%s, (%%rsp)' % (reg)) 84 print('\tmovq\t%s, %u(%%rsp)' % (reg, offset)) 86 print('\tpushq\t%s' % (reg)) 94 print('\tmovq\t(%%rsp), %s' % (reg)) 96 print('\tmovq\t%u(%%rsp), %s' % (offset, reg)) 98 print('\tpopq\t%s' % (reg)) 122 print("/* If we build with gcc's -fvisibility=hidden flag, we'll need to change") 123 print(" * the symbol visibility mode to 'default'." [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mapi/glapi/gen/ |
| gl_SPARC_asm.py | 44 print('#ifdef __arch64__') 45 print('#define GL_OFF(N)\t((N) * 8)') 46 print('#define GL_LL\t\tldx') 47 print('#define GL_TIE_LD(SYM)\t%tie_ldx(SYM)') 48 print('#define GL_STACK_SIZE\t128') 49 print('#else') 50 print('#define GL_OFF(N)\t((N) * 4)') 51 print('#define GL_LL\t\tld') 52 print('#define GL_TIE_LD(SYM)\t%tie_ld(SYM)') 53 print('#define GL_STACK_SIZE\t64' [all...] |
| gl_marshal_h.py | 51 print(header) 54 print(footer) 57 print('enum marshal_dispatch_cmd_id') 58 print('{') 63 print(' DISPATCH_CMD_{0},'.format(func.name)) 64 print('};') 68 print('Usage: %s [-f input_file_name]' % sys.argv[0]) 87 printer.Print(api)
|
| glX_server_table.py | 175 print ' /* [%u] -> opcode range [%u, %u], node depth %u */' % (base_entry, base_opcode, base_opcode + (1 << remaining_bits), depth) 176 print ' %u,' % (M) 185 print ' EMPTY_LEAF,' 193 print ' LEAF(%u),' % (len(self.lookup_table)) 221 print ' %u,' % (child_index) 226 print '' 237 def Print(self): 281 print '/*****************************************************************/' 282 print '/* tree depth = %u */' % (tree[3]) 283 print 'static const int_fast16_t %s_dispatch_tree[%u] = {' % (self.name_base, tree[2] [all...] |
| gl_x86_asm.py | 58 print('#include "x86/assyntax.h"') 59 print('') 60 print('#if defined(STDCALL_API)') 61 print('# if defined(USE_MGL_NAMESPACE)') 62 print('# define GL_PREFIX(n,n2) GLNAME(CONCAT(mgl,n2))') 63 print('# else') 64 print('# define GL_PREFIX(n,n2) GLNAME(CONCAT(gl,n2))') 65 print('# endif') 66 print('#else') 67 print('# if defined(USE_MGL_NAMESPACE)' [all...] |
| remap_helper.py | 71 print('#include "main/dispatch.h"') 72 print('#include "main/remap.h"') 73 print('') 80 print('/* this is internal to remap.c */') 81 print('#ifndef need_MESA_remap_table') 82 print('#error Only remap.c should include this file!') 83 print('#endif /* need_MESA_remap_table */') 84 print('') 86 print('') 87 print('static const char _mesa_function_pool[] =' [all...] |
| gl_gentable.py | 192 print(header) 197 print(footer) 223 print("#define GLAPI_TABLE_COUNT %d" % func_count) 224 print("static const char * const _glapi_table_func_names[GLAPI_TABLE_COUNT] = {") 226 print(" /* %5d */ \"%s\"," % (i, funcnames[i])) 227 print("};") 250 printer.Print(api)
|
| gl_table.py | 50 print(' %s (GLAPIENTRYP %s)(%s); /* %d */' % ( 54 print('#ifndef GLAPIENTRYP') 55 print('# ifndef GLAPIENTRY') 56 print('# define GLAPIENTRY') 57 print('# endif') 58 print('') 59 print('# define GLAPIENTRYP GLAPIENTRY *') 60 print('#endif') 61 print('') 62 print('') [all...] |
| glX_proto_size.py | 172 print(' static const GLushort a[%u] = {' % (mask + 1)) 174 print(' %s, ' % (masked_enums[e])) 175 print(' };') 177 print(' static const GLubyte b[%u] = {' % (mask + 1)) 179 print(' %u, ' % (masked_count[c])) 180 print(' };') 182 print(' const unsigned idx = (e & 0x%02xU);' % (mask)) 183 print('') 184 print(' return (e == a[idx]) ? (GLint) b[idx] : 0;') 194 print(' switch( e ) {' [all...] |
| /xsrc/external/mit/fontconfig/dist/doc/ |
| fcvalue.fncs | 45 @PURPOSE@ Print a value to stdout
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| getprocaddress.py | 51 print """ 66 print ' { "-%s", NULL},' % category 75 print ' { "gl%s", %s },' % (f.name, test) 77 print '' 78 print ' { NULL, NULL }' 79 print '};' 80 print '' 100 printer.Print( api )
|
| /xsrc/external/mit/xorg-server/dist/config/ |
| fdi2iclass.py | 167 '''Print a valid InputClass section to stdout''' 169 print 'Section "InputClass"' 170 print '\tIdentifier "Converted Class %d"' % num_sections 173 print '\t%s "%s"' % (m, v) 175 print '\tDriver "%s"' % driver 177 print '\tOption "Ignore" "yes"' 179 print '\tOption "%s" "%s"' % (o, v) 180 print 'EndSection' 197 print
|
| /xsrc/external/mit/xorg-server.old/dist/config/ |
| fdi2iclass.py | 167 '''Print a valid InputClass section to stdout''' 169 print 'Section "InputClass"' 170 print '\tIdentifier "Converted Class %d"' % num_sections 173 print '\t%s "%s"' % (m, v) 175 print '\tDriver "%s"' % driver 177 print '\tOption "Ignore" "yes"' 179 print '\tOption "%s" "%s"' % (o, v) 180 print 'EndSection' 197 print
|