Home
last modified time | relevance | path

Searched refs:nargv (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/getopt/
Dgetopt_long.c123 char * const *nargv) in permute_args() argument
144 swap = nargv[pos]; in permute_args()
146 ((char **) nargv)[pos] = nargv[cstart]; in permute_args()
148 ((char **)nargv)[cstart] = swap; in permute_args()
159 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument
231 optarg = nargv[optind++]; in parse_long_options()
277 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
318 optind, nargv); in getopt_internal()
331 if (*(place = nargv[optind]) != '-' || in getopt_internal()
339 optarg = nargv[optind++]; in getopt_internal()
[all …]
/external/chromium_org/third_party/mesa/src/src/getopt/
Dgetopt_long.c123 char * const *nargv) in permute_args() argument
144 swap = nargv[pos]; in permute_args()
146 ((char **) nargv)[pos] = nargv[cstart]; in permute_args()
148 ((char **)nargv)[cstart] = swap; in permute_args()
159 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument
231 optarg = nargv[optind++]; in parse_long_options()
277 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument
318 optind, nargv); in getopt_internal()
331 if (*(place = nargv[optind]) != '-' || in getopt_internal()
339 optarg = nargv[optind++]; in getopt_internal()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dexec_cmd.c103 const char **nargv; in prepare_perf_cmd() local
107 nargv = malloc(sizeof(*nargv) * (argc + 2)); in prepare_perf_cmd()
109 nargv[0] = "perf"; in prepare_perf_cmd()
111 nargv[argc + 1] = argv[argc]; in prepare_perf_cmd()
112 nargv[argc + 1] = NULL; in prepare_perf_cmd()
113 return nargv; in prepare_perf_cmd()
117 const char **nargv = prepare_perf_cmd(argv); in execv_perf_cmd() local
120 execvp("perf", (char **)nargv); in execv_perf_cmd()
122 free(nargv); in execv_perf_cmd()
/external/tcpdump/win32/Src/
Dgetopt.c57 getopt(nargc, nargv, ostr) in getopt() argument
59 char * const *nargv;
68 if (optind >= nargc || *(place = nargv[optind]) != '-') {
112 optarg = nargv[optind];
/external/libpcap/Win32/Src/
Dgetopt.c57 getopt(nargc, nargv, ostr) in getopt() argument
59 char * const *nargv;
72 if (optind >= nargc || *(place = nargv[optind]) != '-') {
116 optarg = nargv[optind];