/frameworks/compile/libbcc/tools/ |
gen-build-stamp.py | 6 import sys namespace 87 if len(sys.argv) < 2: 88 print >> sys.stderr, 'USAGE:', sys.argv[0], '[REPO] [LIBs]' 89 sys.exit(1) 95 repo_dir = sys.argv[1] 99 lib_list = list(set(sys.argv[2:]))
|
/packages/experimental/procstatlog/ |
procstatreport.py | 23 import sys namespace 83 jiffies: <nobr>%(sys)d sys</nobr>, <nobr>%(user)d user</nobr> 104 jiffies: <nobr>%(sys)d sys</nobr>, <nobr>%(user)d user</nobr> 195 ["sys", "sys+user"], 202 "label_html": TOTAL_CPU_LABEL % {"sys": total_sys, "user": total_user}, 219 speed_key = "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state:" 579 sys = sum([n for n, d in process_sys.get(pid, {}).values()] [all...] |
/sdk/eclipse/scripts/ |
collect_sources_for_sdk.py | 31 import sys namespace 62 """ % sys.argv[0] 65 print >>sys.stderr, "Error:", error 68 # Parse command line args, returns a Params instance or sys.exit(2) on error 101 sys.exit(2) 109 print >>sys.stderr, "Error: Skipping unknown directory", srcdir 170 p = parseArgs(sys.argv)
|
gen_icon.py | 3 import sys namespace 10 sys.exit(1) 35 print """Usage: %s <file_name> <size> <circle-color> <border-color> <letter-color> <letter>""" % sys.argv[0] 36 sys.exit(1) 71 main(sys.argv[1:])
|
/bionic/libc/kernel/tools/ |
defaults.py | 5 import time, os, sys namespace
|
update_all.py | 3 import sys, cpp, kernel, glob, os, re, getopt, clean_header namespace 24 """ % { "progname" : os.path.basename(sys.argv[0]) } 25 sys.exit(0) 28 optlist, args = getopt.getopt( sys.argv[1:], '' ) 31 sys.stderr.write( "error: unrecognized option\n" ) 82 if sys.stdout.isatty(): 98 sys.exit(0)
|
/bootable/recovery/ |
make-overlay.py | 20 import sys namespace 25 sys.exit(1) 30 print "reading", sys.argv[1] 31 base = Image.open(sys.argv[1]) 38 for top_name in sys.argv[2:]: 70 for num, top_name in enumerate(sys.argv[1:]):
|
/build/tools/releasetools/ |
sign_target_files_apks | 68 import sys namespace 70 if sys.hexversion < 0x02040000: 71 print >> sys.stderr, "Python 2.4 or newer is required." 72 sys.exit(1) 121 sys.exit(1) 323 sys.exit(1) 349 main(sys.argv[1:]) 354 sys.exit(1)
|
/development/testrunner/ |
create_test.py | 25 import sys namespace 181 parser = optparse.OptionParser(usage="%s <app_path>" % sys.argv[0]) 186 sys.exit() 191 print >> sys.stdout, msg 195 print >> sys.stderr, msg 224 sys.exit() 237 sys.exit() 245 main(sys.argv[1:])
|
/external/bluetooth/bluez/test/ |
test-health-sink | 8 import sys namespace 36 pos = int(sys.stdin.readline()) - 1 43 sys.exit() 52 sys.exit() 63 pos = int(sys.stdin.readline()) - 1 70 sys.exit() 81 sys.stdin.readline()
|
/external/chromium/build/mac/ |
strip_save_dsym | 36 import sys namespace 77 print >> sys.stderr, "No architectures in %s" % macho 169 print >> sys.stderr, "No UUIDs in %s" % macho 285 strip_cmdline = [strip_path] + sys.argv[1:] 304 argv = sys.argv 330 print >> sys.stderr, "Too many things to strip" 334 print >> sys.stderr, "Nothing to strip" 343 sys.exit(main(sys.argv))
|
/external/chromium/build/util/ |
lastchange.py | 14 import sys namespace 37 shell=(sys.platform=='win32')) 76 if sys.platform in ('cygwin', 'win32'): 250 argv = sys.argv 267 sys.stderr.write('Unexpected arguments: %r\n\n' % args) 269 sys.exit(2) 280 sys.stdout.write(contents) 286 sys.exit(main())
|
/external/chromium/testing/gmock/test/ |
gmock_test_utils.py | 37 import sys namespace 50 sys.path.append(GTEST_TESTS_UTIL_DIR)
|
/external/chromium/testing/gtest/test/ |
gtest_break_on_failure_unittest.py | 45 import sys namespace
|
gtest_xml_output_unittest.py | 38 import sys namespace
|
/external/clang/tools/scan-view/ |
scan-view | 6 import sys namespace 40 sys.stderr.write('%s: Waiting for server.' % sys.argv[0]) 41 sys.stderr.flush() 46 sys.stderr.write('.') 47 sys.stderr.flush() 50 print >>sys.stderr,'WARNING: Unable to detect that server started.' 53 print >>sys.stderr,'%s: Starting webbrowser...' % sys.argv[0]
|
/external/clang/utils/ |
FuzzTest | 8 import sys namespace 128 print '%s: note: executing %r' % (sys.argv[0], test_args) 138 sys.stdout.flush() 282 print '%s: note: fuzzing %d files.' % (sys.argv[0], len(input_files)) 291 sys.argv[0],) 315 print '%s: note: %d input bytes.' % (sys.argv[0], tg.num_positions) 316 print '%s: note: %d total tests.' % (sys.argv[0], tg.num_tests) 328 print '%s: note: running test %d: %r' % (sys.argv[0], test, t) 337 sys.stdout.flush()
|
SummarizeErrors | 3 import os, sys, re namespace
|
/external/dbus/test/name-test/ |
test-activation-forking.py | 3 import os,sys namespace 11 sys.exit(0) 56 sys.exit(1) 60 sys.exit(0)
|
/external/gtest/test/ |
gtest_break_on_failure_unittest.py | 45 import sys namespace
|
gtest_test_utils.py | 37 import sys namespace 51 _flag_map = {'gtest_source_dir': os.path.dirname(sys.argv[0]), 52 'gtest_build_dir': os.path.dirname(sys.argv[0])} 89 _ParseAndStripGTestFlags(sys.argv) 140 command: A command to run, in the form of sys.argv. 193 _ParseAndStripGTestFlags(sys.argv)
|
gtest_xml_outfiles_test.py | 38 import sys namespace
|
gtest_xml_output_unittest.py | 39 import sys namespace
|
/external/icu4c/stubdata/ |
icu_dat_generator.py | 42 import sys namespace 50 sys.exit(1) 63 sys.exit(command_list[0:]) 78 sys.exit(1) 235 opts, args = getopt.getopt(sys.argv[1:], "hv", ["help", "verbose"]) 252 sys.exit(1) 273 sys.exit(1)
|
/external/llvm/include/llvm/Support/ |
Mutex.h | 10 // This file declares the llvm::sys::Mutex class. 22 namespace sys namespace in namespace:llvm
|