/external/webkit/Tools/Scripts/webkitpy/common/system/ |
fileutils.py | 23 import sys namespace 27 """Puts sys.stdout into binary mode (on platforms that have a distinction 29 if sys.platform != 'win32' or not hasattr(sys.stdout, 'fileno'): 33 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
|
/frameworks/compile/libbcc/runtime/make/ |
filter-inputs | 15 import os,sys namespace 18 for file in sys.argv[1:]:
|
/frameworks/compile/libbcc/tools/ |
dataconvert.py | 21 import sys namespace 26 sys.stdout.write(""" 55 buf = sys.stdin.read(1024) 61 sys.stdout.write(".byte ") 62 sys.stdout.write("0x%02x" % ord(c)) 65 sys.stdout.write("\n") 68 sys.stdout.write(", ") 70 sys.stdout.write(",") 72 sys.stdout.write("\n") 76 sys.stdout.write(" .long %d\n" % input_size [all...] |
gen-config-from-mk.py | 4 import sys namespace 39 if len(sys.argv) != 1: 40 print >> sys.stderr, 'USAGE:', sys.argv[0] 41 sys.exit(1) 43 extract_config(sys.stdin)
|
/frameworks/compile/slang/ |
slangdata.py | 21 import sys namespace 26 sys.stdout.write(""" 55 buf = sys.stdin.read(1024) 61 sys.stdout.write(".byte ") 62 sys.stdout.write("0x%02x" % ord(c)) 65 sys.stdout.write("\n") 68 sys.stdout.write(", ") 70 sys.stdout.write(",") 72 sys.stdout.write("0x00") 74 sys.stdout.write("\n" [all...] |
/build/tools/ |
fileslist.py | 18 import operator, os, sys namespace 45 main(sys.argv)
|
findleaves.py | 24 import sys namespace 57 sys.stderr.write("""Usage: %(progName)s [<options>] <dirlist> <filename> 65 "progName": os.path.split(sys.argv[0])[1], 67 sys.exit(1) 98 main(sys.argv)
|
compare_fileslist.py | 18 import cgi, os, string, sys namespace 104 main(sys.argv)
|
/external/chromium/testing/gmock/scripts/ |
upload_gmock.py | 43 import sys namespace 59 for arg in sys.argv[1:]:
|
/external/chromium/testing/gtest/scripts/ |
upload_gtest.py | 43 import sys namespace 59 for arg in sys.argv[1:]:
|
/external/clang/utils/analyzer/ |
SATestAdd.py | 23 import sys namespace 34 sys.exit(-1) 51 print >> sys.stderr, 'Warning: Project with ID \'', ID, \ 53 sys.exit(-1) 66 if len(sys.argv) < 2: 67 print >> sys.stderr, 'Usage: ', sys.argv[0],\ 69 sys.exit(-1) 71 addNewProject(sys.argv[1])
|
/external/llvm/include/llvm/Support/ |
Program.h | 10 // This file declares the llvm::sys::Program class. 20 namespace sys { namespace in namespace:llvm 27 /// programs from the path and to execute them in various ways. The sys::Path 58 ( const Path& path, ///< sys::Path object providing the path of the 67 const sys::Path** redirects = 0, ///< An optional array of pointers to 138 const sys::Path** redirects = 0, 148 const sys::Path** redirects = 0,
|
/external/llvm/utils/ |
DSAclean.py | 12 import sys namespace 13 if( len(sys.argv) < 3 ): 15 sys.exit(1) 17 input = open(sys.argv[1], 'r') 18 output = open(sys.argv[2], 'w')
|
/external/llvm/utils/Target/ARM/ |
analyze-match-table.py | 46 import sys namespace 47 if len(sys.argv) == 1: 53 elif len(sys.argv) == 2: 54 file = sys.argv[1]
|
/external/protobuf/examples/ |
add_person.py | 6 import sys namespace 38 if len(sys.argv) != 2: 39 print "Usage:", sys.argv[0], "ADDRESS_BOOK_FILE" 40 sys.exit(-1) 46 f = open(sys.argv[1], "rb") 50 print sys.argv[1] + ": File not found. Creating a new file." 56 f = open(sys.argv[1], "wb")
|
list_people.py | 6 import sys namespace 27 if len(sys.argv) != 2: 28 print "Usage:", sys.argv[0], "ADDRESS_BOOK_FILE" 29 sys.exit(-1) 34 f = open(sys.argv[1], "rb")
|
/external/quake/tools/ |
dumpms2.py | 23 import sys namespace 79 dumpms2(sys.argv[1])
|
/external/valgrind/unittest/ |
match_output.py | 4 import sys namespace 26 if len(sys.argv) != 2: 27 print >>sys.stderr, 'Usage: %s <template file>' 28 sys.exit(1) 30 f = sys.stdin 31 f_re = open(sys.argv[1]) 34 print >>sys.stderr, 'File does not match the template' 35 sys.exit(1)
|
/external/webkit/Source/WebCore/WebCore.gyp/scripts/ |
action_maketokenizer.py | 47 import sys namespace 101 sys.exit(main(sys.argv))
|
action_useragentstylesheets.py | 50 import sys namespace 102 sys.exit(main(sys.argv))
|
/external/webkit/Source/WebKit/chromium/scripts/ |
generate_devtools_html.py | 33 import sys namespace 81 if sys.platform == 'darwin': 86 sys.exit(main(sys.argv))
|
/external/webkit/Source/WebKit2/Scripts/ |
generate-message-receiver.py | 26 import sys namespace 33 argv = sys.argv 37 sys.stdout.write(webkit2.messages.generate_message_handler(input_file)) 41 sys.exit(main(sys.argv))
|
generate-messages-header.py | 26 import sys namespace 33 argv = sys.argv 37 sys.stdout.write(webkit2.messages.generate_messages_header(input_file)) 41 sys.exit(main(sys.argv))
|
/external/webkit/Tools/Scripts/ |
rebaseline-chromium-webkit-tests | 32 import sys namespace 34 scripts_directory = os.path.dirname(os.path.abspath(sys.argv[0])) 36 sys.path.append(os.path.join(webkitpy_directory, "layout_tests")) 39 sys.path.append(os.path.join(webkitpy_directory, "thirdparty")) 44 rebaseline_chromium_webkit_tests.main(sys.argv[1:])
|
/sdk/monkeyrunner/scripts/ |
monkey_playback.py | 16 import sys namespace 57 file = sys.argv[1]
|