Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 143) sorted by relevance

123456

/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/
Dwin_posix.c70 int getopt_1char(int argc, in getopt_1char() argument
82 if (optind < argc) { in getopt_1char()
115 int getopt(int argc, in getopt() argument
125 if ((argc > optind) && (argv != 0)) { in getopt()
129 result = getopt_1char(argc, argv, opstring, arg[1]); in getopt()
155 int getopt_1long(const int argc, in getopt_1long() argument
172 if ((optind + 1) >= argc) { in getopt_1long()
180 if ((argc - optind) > 0) { in getopt_1long()
212 int getopt_long(int argc, in getopt_long() argument
222 if ((argc > optind) && (argv != 0)) { in getopt_long()
[all …]
Dfiptool.c26 static int info_cmd(int argc, char *argv[]);
28 static int create_cmd(int argc, char *argv[]);
30 static int update_cmd(int argc, char *argv[]);
32 static int unpack_cmd(int argc, char *argv[]);
34 static int remove_cmd(int argc, char *argv[]);
36 static int version_cmd(int argc, char *argv[]);
38 static int help_cmd(int argc, char *argv[]);
437 static int info_cmd(int argc, char *argv[]) in info_cmd() argument
442 if (argc != 2) in info_cmd()
444 argc--, argv++; in info_cmd()
[all …]
/device/google/cuttlefish_common/guest/hals/rild/
Drild_cuttlefish.c55 (const struct RIL_Env *, int, char **), RIL_SOCKET_TYPE socketType, int argc, char **argv);
97 int main(int argc, char **argv) { in main() argument
122 RLOGD("**RILd param count=%d**", argc); in main()
125 for (i = 1; i < argc ;) { in main()
126 if (0 == strcmp(argv[i], "-l") && (argc - i > 1)) { in main()
133 } else if (0 == strcmp(argv[i], "-c") && (argc - i > 1)) { in main()
193 argc = argc -i + 1; in main()
199 argc = make_argv(args, rilArgv); in main()
202 rilArgv[argc++] = "-c"; in main()
203 rilArgv[argc++] = (char*)clientId; in main()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFv.c159 IN int argc, in main() argument
220 if (argc == 1) { in main()
240 argc --; in main()
254 while (argc > 0) { in main()
261 argc -= 2; in main()
272 argc -= 2; in main()
283 argc -= 2; in main()
296 argc -= 2; in main()
313 argc -= 2; in main()
330 argc -= 2; in main()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
DGenCrc32.c108 int argc, in main() argument
154 if (argc == 1) { in main()
163 argc --; in main()
176 while (argc > 0) { in main()
183 argc -= 2; in main()
190 argc --; in main()
197 argc --; in main()
205 argc --; in main()
213 argc --; in main()
230 argc -= 2; in main()
[all …]
/device/generic/goldfish/libqemu/
Dtest_guest_2.c48 int main(int argc, char** argv) in main() argument
73 while (argc > 1 && argv[1][0] == '-') { in main()
78 if (argc < 3) { in main()
82 argc--; in main()
86 if (argc < 3) { in main()
90 argc--; in main()
94 if (argc < 3) { in main()
98 argc--; in main()
105 argc--; in main()
Dtest_host_1.c142 int main(int argc, char** argv) in main() argument
159 while (argc > 1 && argv[1][0] == '-') { in main()
164 if (argc < 3) { in main()
168 argc--; in main()
172 if (argc < 3) { in main()
176 argc--; in main()
183 argc--; in main()
/device/generic/goldfish/wifi/execns/
Dexecns.cpp208 static int execCommand( int argc, char** argv) { in execCommand() argument
209 if (argc <= 0 || argv == nullptr || argv[0] == nullptr) { in execCommand()
216 arguments.insert(arguments.begin(), argv, argv + argc); in execCommand()
229 for (int i = 1; i < argc; ++i) { in execCommand()
251 int main(int argc, char* argv[]) { in main() argument
259 for (int i = 1; i < argc; ++i) { in main()
261 if (user || i + 1 >= argc) { in main()
267 if (group || i + 1 >= argc) { in main()
275 if (i + 1 < argc) { in main()
308 return execCommand(argc - execArg, &argv[execArg]); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenPage/
DGenPage.c296 int argc, in main() argument
309 if (argc == 1) { in main()
314 argc --; in main()
327 while (argc > 0) { in main()
334 argc -= 2; in main()
350 argc -= 2; in main()
366 argc -= 2; in main()
372 argc --; in main()
378 argc --; in main()
397 argc -= 2; in main()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Dmain.c143 void ProcessArgs(int argc, char **argv, Opt *options) in ProcessArgs() argument
145 void ProcessArgs(argc, argv, options) in ProcessArgs()
146 int argc; in ProcessArgs()
153 while ( argc-- > 0 )
165 argc--;
178 int main(int argc, char *argv[]) in main() argument
180 int main(argc, argv) in main()
181 int argc; in main()
188 if ( argc == 1 )
201 ProcessArgs(argc-1, &(argv[1]), options);
/device/generic/goldfish/dhcp/client/
Dmain.cpp24 int main(int argc, char* argv[]) { in main() argument
25 if (argc < 3) { in main()
31 for (int i = 1; i < argc; ++i) { in main()
33 if (i + 1 < argc) { in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiLdrImage/
DEfiLdrImage.c152 int argc, in main() argument
182 if (argc == 1) { in main()
187 argc --; in main()
200 while (argc > 0) { in main()
208 argc -= 2; in main()
214 argc --; in main()
229 argc --; in main()
240 argc -= 2; in main()
249 argc--; in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/rexpr/
Dtest.c13 main(argc,argv) in main() argument
14 int argc; in main()
17 if ( argc!=3 ) fprintf(stderr,"rexpr: expr s\n");
/device/google/wahoo/wifi_offload/test/
Dmain.cpp22 int main(int argc, char** argv) { in main() argument
23 ::testing::InitGoogleTest(&argc, argv); in main()
24 ::testing::InitGoogleMock(&argc, argv); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Split/
DSplit.c205 int argc, in main() argument
244 if (argc == 1) { in main()
249 argc --; in main()
262 while (argc > 0) { in main()
269 argc -= 2; in main()
280 argc -= 2; in main()
291 argc -= 2; in main()
301 argc -= 2; in main()
311 argc -= 2; in main()
317 argc --; in main()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ModifyInf/
DModifyInf.c114 int argc in ApplyPattern() argument
145 PatternNum = argc; in ApplyPattern()
288 int argc, in main() argument
312 if (argc < 3) { in main()
331 ApplyPattern (LineBuffer, argv, argc); in main()
/device/generic/goldfish/dhcp/server/
Dmain.cpp28 int main(int argc, char* argv[]) { in main() argument
31 for (int i = 1; i < argc; ++i) { in main()
33 if (i + 1 >= argc) { in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dminigzip.c82 int main OF((int argc, char *argv[]));
269 int main(argc, argv) in main() argument
270 int argc; in main()
280 argc--, argv++;
282 while (argc > 0) {
296 argc--, argv++;
300 if (argc == 0) {
319 } while (argv++, --argc);
/device/google/contexthub/util/sensortest/
Dsensortest.cpp93 bool parseArguments(int argc, char **argv) in parseArguments() argument
101 while (currArgumentIndex < argc) { in parseArguments()
108 if (currArgumentIndex + 2 >= argc) { in parseArguments()
141 if (currArgumentIndex + 3 >= argc) { in parseArguments()
196 int main(int argc, char **argv) { in main() argument
204 if ((argc == 1) || !parseArguments(argc, argv)) { in main()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiCompress/
DEfiCompressMain.c47 INT32 argc,
116 INT32 argc, in main() argument
144 if (!ParseCommandLine (argc, argv, &ActionList)) { in main()
174 INT32 argc, in ParseCommandLine() argument
187 --argc; in ParseCommandLine()
190 while (argc > 0) { in ParseCommandLine()
237 --argc; in ParseCommandLine()
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dluac.c69 static int doargs(int argc, char* argv[]) in doargs() argument
74 for (i=1; i<argc; i++) in doargs()
104 if (i==argc && (listing || !dumping)) in doargs()
112 if (version==argc-1) exit(EXIT_SUCCESS); in doargs()
164 int argc=(int)lua_tointeger(L,1); in pmain() local
168 if (!lua_checkstack(L,argc)) fatal("too many input files"); in pmain()
169 for (i=0; i<argc; i++) in pmain()
174 f=combine(L,argc); in pmain()
189 int main(int argc, char* argv[]) in main() argument
192 int i=doargs(argc,argv); in main()
[all …]
/device/linaro/hikey/hifi/debug-hifi/
Ddebug-hifi.c31 int main(int argc, char *argv[]) in main() argument
42 if (argc > 1) in main()
44 if (argc > 2) in main()
/device/generic/opengl-transport/host/commands/emugen/
Dgetopt.c13 int getopt(int argc, char* const argv[], const char* ostr) { in getopt() argument
17 if (optind >= argc) in getopt()
61 } else if (argc > ++optind) { in getopt()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
DGenFfs.c454 int argc, in main() argument
514 if (argc == 1) { in main()
523 argc --; in main()
537 while (argc > 0) { in main()
548 argc -= 2; in main()
559 argc -= 2; in main()
570 argc -= 2; in main()
577 argc -= 1; in main()
584 argc -= 1; in main()
611 argc -= 2; in main()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dgetopt.c41 int _PyOS_GetOpt(int argc, char **argv, char *optstring) in _PyOS_GetOpt() argument
49 if (_PyOS_optind >= argc) in _PyOS_GetOpt()
109 if (_PyOS_optind >= argc) { in _PyOS_GetOpt()

123456