Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 25 of 37) sorted by relevance

12

/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py241 parser.add_argument('--exclude-error-code', metavar='error_code', type=int, nargs='+',
243 parser.add_argument('--exclude-end-dso', metavar='dso', nargs='+',
245 parser.add_argument('--exclude-end-symbol', metavar='symbol', nargs='+',
248 nargs='+', help='exclude cases with selected sample time')
250 nargs='+', help='include cases with selected error code')
251 parser.add_argument('--include-end-dso', metavar='dso', nargs='+',
253 parser.add_argument('--include-end-symbol', metavar='symbol', nargs='+',
256 nargs='+', help='include cases with selected sample time')
Dipc.py127 …parser.add_argument('interval', nargs='?', default=1, type=int, help='sampling interval in seconds…
128 …parser.add_argument('duration', nargs='?', default=10, type=int, help='sampling duration in second…
Dsimpleperf_utils.py1121 '--proguard-mapping-file', nargs='+',
1126 parser.add_argument('--remove-method', nargs='+', metavar='method_name_regex',
1138 '--aggregate-threads', nargs='+', metavar='thread_name_regex',
1147 group.add_argument('--cpu', nargs='+', help="""only include samples for the selected cpus.
1149 group.add_argument('--exclude-pid', metavar='pid', nargs='+', type=int,
1151 group.add_argument('--exclude-tid', metavar='tid', nargs='+', type=int,
1154 '--exclude-process-name', metavar='process_name_regex', nargs='+',
1157 '--exclude-thread-name', metavar='thread_name_regex', nargs='+',
1161 group.add_argument('--pid', metavar='pid', nargs='+', type=int,
1163 group.add_argument('--tid', metavar='tid', nargs='+', type=int,
[all …]
Dstackcollapse.py107 parser.add_argument('-i', '--record_file', nargs='?', default='perf.data',
117 sample_filter_group.add_argument('--event-filter', nargs='?', default='',
Dreport_sample.py85 parser.add_argument('-i', '--record_file', nargs='?', default='perf.data',
Dsample_filter.py107 parser.add_argument('-i', '--record-file', nargs='?', default='perf.data',
Dannotate.py455 parser.add_argument('-i', '--perf_data_list', nargs='+', action='append', help="""
457 parser.add_argument('-s', '--source_dirs', type=extant_dir, nargs='+', action='append', help="""
464 sample_filter_group.add_argument('--dso', nargs='+', action='append', help="""
Dbinary_cache_builder.py338 parser.add_argument('-lib', '--native_lib_dir', type=extant_dir, nargs='+', help="""
342 parser.add_argument('--ndk_path', nargs=1, help='Find tools in the ndk path.')
/system/update_engine/scripts/
Dpaycheck.py119 check_args.add_argument('--part_sizes', metavar='NUM', nargs='+', type=int,
133 apply_args.add_argument('--src_part_paths', metavar='FILE', nargs='+',
135 apply_args.add_argument('--dst_part_paths', metavar='FILE', nargs='+',
137 apply_args.add_argument('--out_dst_part_paths', metavar='FILE', nargs='+',
141 parser.add_argument('--part_names', metavar='NAME', nargs='+',
/system/sepolicy/build/
Dbuild_sepolicy.py113 parser.add_argument('-f', '--filter_out_files', nargs='+',
115 parser.add_argument('-d', '--dependent_cils', nargs='+',
135 parser.add_argument('-f', '--filter_out_files', required=True, nargs='+',
/system/sepolicy/tests/
Dcheck_prop_prefix.py39 parser.add_argument("--allowed-property-prefix", action="extend", nargs="*",
41 parser.add_argument("--allowed-context-prefix", action="extend", nargs="*",
Dsearchpolicy.py23 parser.add_argument("policy", help="Path to the SELinux policy to search.", nargs="?")
24 parser.add_argument("--libpath", dest="libpath", help="Path to the libsepolwrap.so", nargs="?")
Dfc_sort.py151 parser.add_argument("-i", dest="input", nargs="*",
/system/libufdt/utils/src/
Dmkdtboimg.py599 parser.add_argument('dt_file', nargs='?',
812 parser.add_argument('--output', '-o', nargs='?',
816 parser.add_argument('--dtb', '-b', nargs='?', type=str,
832 parser.add_argument('conf_file', nargs='?',
836 parser.add_argument('--dtb-dir', '-d', nargs='?', type=str,
1027 create_parser.add_argument('argfile', nargs='?',
1033 config_parser.add_argument('argfile', nargs='?',
1039 dump_parser.add_argument('argfile', nargs='?',
1045 help_parser.add_argument('argfile', nargs='?', action='store')
/system/security/fsverity/
Dfsverity_manifest_generator.py53 nargs='*',
/system/chre/api_parser/
Dchre_api_to_chpp.py61 parser.add_argument('file_filter', nargs='*',
/system/sepolicy/tools/
Dfuzzer_bindings_check.py87 parser.add_argument('-s', '--list', nargs='+',
/system/extras/perf_tools/bats/
Dlcan.py654 parser.add_argument("-c", nargs=1, metavar=('<fileName>'), help="convert Logcat output to start fro…
655 parser.add_argument("-k", nargs=1, metavar=('<fileName>'), help="summary on keywords")
656 parser.add_argument("-a", nargs=1, metavar=('<fileName>'), help="analyze file")
657 parser.add_argument("-cmp", nargs=3, metavar=('<fileName1>', '<fileName2>', '<brief/all>'), help="c…
658 parser.add_argument("-cmpd", nargs=3, metavar=('<dirName1>', '<dirName2>', '<brief/all>'), help="co…
659 parser.add_argument("-p", nargs=1, metavar=('<fileName1>'), help="phase report on log files")
/system/extras/perf_tools/
Dsbtpull.py536 parser.add_argument("-plc", nargs=3, metavar=('<BuildID>', '<numTimes>', '<startIndex>'), help="pu…
537 parser.add_argument("-pdm", nargs=3, metavar=('<BuildID>', '<numTimes>', '<startIndex>'), help="pu…
538 parser.add_argument("-pba", nargs=2, metavar=('<BuildID>', '<numTimes>'), help="pull bootanalyze n…
539 parser.add_argument("-rd", nargs=2, metavar=('<BuildID>', '<numFiles>'), help="summary report on <…
541 parser.add_argument("-t", nargs="*", help="test - do not use")
/system/unwinding/libunwindstack/tools/
Dstrip.py64 parser.add_argument('target', nargs='+', help="ELF file or whole directory to strip")
/system/extras/perf2cfg/
Dperf2cfg.py54 nargs='+',
/system/apex/tools/
Dapexer_with_DCLA_preprocessing.py39 nargs='*',
Dapexer_with_trim_preprocessing.py47 nargs='*',
/system/tools/aidl/build/
Daidl_rust_glue.py94 parser.add_argument('inputs', nargs='+', help='Input .rs files')
/system/memory/lmkd/
Dlmkd.cpp1684 int nargs; in ctrl_command_handler() local
1699 nargs = len / sizeof(int) - 1; in ctrl_command_handler()
1700 if (nargs < 0) in ctrl_command_handler()
1705 targets = nargs / 2; in ctrl_command_handler()
1706 if (nargs & 0x1 || targets > (int)lowmem_adj.size()) { in ctrl_command_handler()
1713 if (nargs < 3 || nargs > 4) in ctrl_command_handler()
1715 cmd_procprio(packet, nargs, &cred); in ctrl_command_handler()
1718 if (nargs != 1) in ctrl_command_handler()
1723 if (nargs != 0) in ctrl_command_handler()
1728 if (nargs != 2) in ctrl_command_handler()
[all …]

12