| /third_party/alsa-utils/alsactl/init/ |
| D | test | 4 PRINT="Default CTL:\n" 5 PRINT=" CTL{numid}=\"$ctl{numid}\"\n" 6 PRINT=" CTL{iface}=\"$ctl{iface}\"\n" 7 PRINT=" CTL{device}=\"$ctl{device}\"\n" 8 PRINT=" CTL{subdevice}=\"$ctl{subdevice}\"\n" 9 PRINT=" CTL{name}=\"$ctl{name}\"\n" 10 PRINT=" CTL{index}=\"$ctl{index}\"\n" 14 PRINT="After CTL{reset}=\"mixer\":\n" 15 PRINT=" CTL{numid}=\"$ctl{numid}\"\n" 16 PRINT=" CTL{iface}=\"$ctl{iface}\"\n" [all …]
|
| /third_party/mesa3d/src/mapi/glapi/gen/ |
| D | 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 …]
|
| D | 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 …]
|
| D | glX_proto_recv.py | 45 print '# include <X11/Xfuncproto.h>' 46 print '' 47 print 'struct __GLXclientStateRec;' 48 print '' 56 print 'extern _X_HIDDEN void __glXDisp_%s(GLbyte * pc);' % (func.name) 57 … print 'extern _X_HIDDEN _X_COLD void __glXDispSwap_%s(GLbyte * pc);' % (func.name) 59 … print 'extern _X_HIDDEN int __glXDisp_%s(struct __GLXclientStateRec *, GLbyte *);' % (func.name) 60 …print 'extern _X_HIDDEN _X_COLD int __glXDispSwap_%s(struct __GLXclientStateRec *, GLbyte *);' % (… 64 … print 'extern _X_HIDDEN int __glXDisp_%s(struct __GLXclientStateRec *, GLbyte *);' % (n) 65 …print 'extern _X_HIDDEN _X_COLD int __glXDispSwap_%s(struct __GLXclientStateRec *, GLbyte *);' % (… [all …]
|
| D | 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 …]
|
| D | 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 …]
|
| D | glX_proto_send.py | 166 print('') 167 print('#include <GL/gl.h>') 168 print('#include "indirect.h"') 169 print('#include "glxclient.h"') 170 print('#include "indirect_size.h"') 171 print('#include "glapi.h"') 172 print('#include <GL/glxproto.h>') 173 print('#include <X11/Xlib-xcb.h>') 174 print('#include <xcb/xcb.h>') 175 print('#include <xcb/glx.h>') [all …]
|
| /third_party/skia/third_party/externals/icu/source/tools/gensprep/ |
| D | filterRFC3454.pl | 78 print $outFH $copyright; 79 print $outFH $warning; 82 print $outFH "\@normalize;;\n"; 85 print $outFH "\@check-bidi;;\n"; 87 print $outFH "\n"; 161 print $outFH $comment."\n"; 169 print $outFH "\n# Total code points $count\n\n"; 172 if($print==1){ 173 print $line; 198 #print $start." ".$end."\n"; [all …]
|
| /third_party/icu/icu4c/source/tools/gensprep/ |
| D | filterRFC3454.pl | 78 print $outFH $copyright; 79 print $outFH $warning; 82 print $outFH "\@normalize;;\n"; 85 print $outFH "\@check-bidi;;\n"; 87 print $outFH "\n"; 161 print $outFH $comment."\n"; 169 print $outFH "\n# Total code points $count\n\n"; 172 if($print==1){ 173 print $line; 198 #print $start." ".$end."\n"; [all …]
|
| /third_party/python/Tools/freeze/ |
| D | winmakemakefile.py | 55 print("# Makefile for Microsoft Visual C++ generated by freeze.py script") 56 print() 57 print('target = %s' % target) 58 print('pythonhome = %s' % vars['prefix']) 59 print() 60 print('DEBUG=0 # Set to 1 to use the _d versions of Python.') 61 print('!IF $(DEBUG)') 62 print('debug_suffix=_d') 63 print('c_debug=/Zi /Od /DDEBUG /D_DEBUG') 64 print('l_debug=/DEBUG') [all …]
|
| /third_party/mesa3d/src/util/format/ |
| D | u_format_table.py | 125 …print('/* This file is autogenerated by u_format_table.py from u_format.csv. Do not edit directly.… 126 print(file=file) 127 # This will print the copyright message on the top of this file 128 print(CopyRight.strip(), file=file) 129 print(file=file) 130 print('#include "util/format/u_format.h"', file=file) 134 print('#include "u_format_bptc.h"') 135 print('#include "u_format_fxt1.h"') 136 print('#include "u_format_s3tc.h"') 137 print('#include "u_format_rgtc.h"') [all …]
|
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| D | gen-arabic-table.py | 74 print () 76 print ("#define %s %s" % (short, value)) 91 print () 92 print ("static const uint8_t joining_table[] =") 93 print ("{") 98 print () 99 print ("#define joining_offset_0x%04xu %d" % (start, offset)) 108 print () 110 print ("\n /* %s */" % block) 112 print ("\n /* FILLER */") [all …]
|
| D | gen-vowel-constraints.py | 149 print ('/* == Start of generated functions == */') 150 print ('/*') 151 print (' * The following functions are generated by running:') 152 print (' *') 153 print (' * %s ms-use/IndicShapingInvalidCluster.txt Scripts.txt' % sys.argv[0]) 154 print (' *') 155 print (' * on files with these headers:') 156 print (' *') 158 print (' * %s' % line.strip ()) 159 print (' *') [all …]
|
| D | gen-indic-table.py | 92 print ("/* == Start of generated table == */") 93 print ("/*") 94 print (" * The following table is generated by running:") 95 print (" *") 96 print (" * ./gen-indic-table.py IndicSyllabicCategory.txt IndicPositionalCategory.txt Blocks.txt") 97 print (" *") 98 print (" * on files with these headers:") 99 print (" *") 102 print (" * %s" % (l.strip())) 103 print (" */") [all …]
|
| D | gen-arabic-joining-list.py | 66 print ("static bool") 67 print ("has_arabic_joining (hb_script_t script)") 68 print ("{") 69 print (" /* List of scripts that have data in arabic-table. */") 70 print (" switch ((int) script)") 71 print (" {") 74 print (" case HB_SCRIPT_{}:".format (script.upper ())) 76 print (" return true;") 77 print () 78 print (" default:") [all …]
|
| /third_party/icu/icu4c/source/common/ |
| D | rbbicst.pl | 67 print " rbbicst: at line $line-num duplicate definition of state $state_name\n"; 104 … print " rbbicsts: at line $line_num, bad character literal or character class name.\n"; 105 print " scanning $fields[0]\n"; 125 print " rbbicsts: at line $line_num, destination state missing.\n"; 137 print " rbbicsts: at line $line_num, expected state after ^ (no spaces).\n"; 155 print " rbbicsts: at line $line_num, unexpected extra stuff on input line.\n"; 156 print " scanning $fields[0]\n"; 194 …print "Error at line $state_line_num[$state]: target state \"$state_dest_state[$state]\" is not de… 198 …print "Error at line $state_line_num[$state]: target state \"$state_push_state[$state]\" is not de… 236 print "/*\n"; [all …]
|
| /third_party/skia/third_party/externals/icu/source/common/ |
| D | rbbicst.pl | 67 print " rbbicst: at line $line-num duplicate definition of state $state_name\n"; 104 … print " rbbicsts: at line $line_num, bad character literal or character class name.\n"; 105 print " scanning $fields[0]\n"; 125 print " rbbicsts: at line $line_num, destination state missing.\n"; 137 print " rbbicsts: at line $line_num, expected state after ^ (no spaces).\n"; 155 print " rbbicsts: at line $line_num, unexpected extra stuff on input line.\n"; 156 print " scanning $fields[0]\n"; 194 …print "Error at line $state_line_num[$state]: target state \"$state_dest_state[$state]\" is not de… 198 …print "Error at line $state_line_num[$state]: target state \"$state_push_state[$state]\" is not de… 236 print "/*\n"; [all …]
|
| /third_party/flatbuffers/grpc/src/compiler/ |
| D | go_generator.cc | 41 printer->Print(vars, "if $Error_Check$ {\n"); in GenerateError() 44 printer->Print(vars, "return $Return$\n"); in GenerateError() 46 printer->Print("}\n"); in GenerateError() 54 printer->Print("//Generated by gRPC Go plugin\n"); in GenerateImports() 55 printer->Print("//If you make any local changes, they will be lost\n"); in GenerateImports() 56 printer->Print(vars, "//source: $filename$\n\n"); in GenerateImports() 57 printer->Print(vars, "package $Package$\n\n"); in GenerateImports() 58 printer->Print("import (\n"); in GenerateImports() 60 printer->Print(vars, "$context$ \"context\"\n"); in GenerateImports() 61 printer->Print("flatbuffers \"github.com/google/flatbuffers/go\"\n"); in GenerateImports() [all …]
|
| /third_party/libevdev/libevdev/ |
| D | make-event-names.py | 72 print("static const char * const %s_map[%s_MAX + 1] = {" % (prefix, prefix.upper())) 74 print(" [%s] = \"%s\"," % (name, name)) 77 print(" [%s] = \"%s\"," % (name, name)) 78 print("};") 79 print("") 83 print("static const char * const * const event_type_map[EV_MAX + 1] = {") 88 print(" [EV_%s] = %s_map," % (prefix[:-1], prefix[:-1].lower())) 90 print("};") 91 print("") 93 print("#if __clang__") [all …]
|
| /third_party/jerryscript/tests/jerry/fail/ |
| D | regression-test-issue-2774.js | 15 /* Discard the output of the 'print' function */ 16 print = function () {} function 18 print ( JSON . stringify ( "" ) === '""' ) 20 print ( JSON . stringify ( normal_string ) == '"asdasd"' ) 22 print ( JSON . stringify ( format_characters ) == '"\\ba\\fs\\nd\\ra\\tsd"' ) 24 print ( JSON . stringify ( ctl_string ) == "h" ) 26 print ( JSON . stringify ( escpad_string ) == '"\\"asdasd"' ) 27 print ( JSON . stringify ( '\u2040' ) == '"⁀"' ) 28 print ( JSON . stringify ( 'abc\u2040\u2030cba' ) == '"abc⁀‰cba"' ) 29 print ( JSON . stringify ( 1 ) === '1' ) [all …]
|
| D | regression-test-issue-2775.js | 15 /* Discard the output of the 'print' function */ 16 print = function () {} function 18 print ( JSON . stringify ( "" ) === '""' ) 20 print ( JSON . stringify ( normal_string ) == '"asdasd"' ) 22 print ( JSON . stringify ( format_characters ) == '"\\ba\\fs\\nd\\ra\\tsd"' ) 24 print ( JSON . stringify ( ctl_string ) == '"asd\\u001fasd"' ) 26 print ( JSON . stringify ( escpad_string ) == '"\\"asdasd"' ) 27 print ( JSON . stringify ( true ) === 'true' ) 28 print ( JSON . stringify ( "foo" ) === '"foo"' ) 29 print ( JSON . stringify ( null ) === 'null' ) [all …]
|
| /third_party/python/Tools/peg_generator/pegen/ |
| D | c_generator.py | 375 self.print("if (p->level++ == MAXSTACK) {") 377 self.print("p->error_indicator = 1;") 378 self.print("PyErr_NoMemory();") 379 self.print("}") 382 self.print("p->level--;") 386 self.print(stmt) 388 self.print(f"return {ret_val};") 397 self.print(f"int {error_var} = {call_text};") 398 self.print(f"if ({error_var}) {{") 401 self.print("}") [all …]
|
| /third_party/icu/tools/commit-checker/ |
| D | check.py | 145 print("- %s `%s`" % (commit.commit.hexsha[:7], commit.commit.summary)) 146 print("\t- Authored by %s <%s>" % (commit.commit.author.name, commit.commit.author.email)) 147 print("\t- Committed at %s" % commit.commit.committed_datetime.isoformat()) 148 print("\t- GitHub Link: %s" % "%s/commit/%s" % (github_url, commit.commit.hexsha)) 152 print("- %s: `%s`" % (issue.issue_id, issue.issue.fields.summary)) 154 print("\t- _%s_" % type) 156 print("\t- Assigned to %s" % issue.issue.fields.assignee.displayName) 158 print("\t- No assignee!") 159 # If actually under review, print reviewer 161 print("\t- Reviewer: %s" % issue.issue.fields.customfield_10031.displayName) [all …]
|
| /third_party/jerryscript/tests/jerry/ |
| D | regression-test-issue-1973.js | 15 print (777E7777777777 == Infinity) 16 print (-777E7777777777 == -Infinity) 17 print (777E-7777777777 == 0) 18 print (-777E-7777777777 == -0) 20 print (100E307 == Infinity) 21 print (10E307 == 1E308) 22 print (10E308 == Infinity) 23 print (1E308 == 1E308) 24 print (0.1E309 == 1E308) 25 print (0.1E310 == Infinity) [all …]
|
| /third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
| D | svga_dump.py | 65 #print 'variable = %r' % variable.name 70 print ' switch(%s) {' % ("(*cmd)" + self._instance,) 72 print ' case %s:' % (name,) 73 print ' _debug_printf("\\t\\t%s = %s\\n");' % (self._instance, name) 74 print ' break;' 75 print ' default:' 76 …print ' _debug_printf("\\t\\t%s = %%i\\n", %s);' % (self._instance, "(*cmd)" + self._instance) 77 print ' break;' 78 print ' }' 80 … print ' _debug_printf("\\t\\t%s = %%i\\n", %s);' % (self._instance, "(*cmd)" + self._instance) [all …]
|