Home
last modified time | relevance | path

Searched refs:argv (Results 1 - 12 of 12) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/tcpserver_demo/
H A Ddemo_entry_posix.c19 int main(int argc, char* argv[]) in main() argument
21 printf("Usage: %s [port] [host]\n", argv[0]); in main()
23 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main()
24 char* host = argc > 2 ? argv[2] : PARAM_SERVER_ADDR; in main()
/vendor/hisilicon/hispark_pegasus/demo/udpclient_demo/
H A Ddemo_entry_posix.c18 int main(int argc, char* argv[]) in main() argument
20 printf("Usage: %s [port] [host]\n", argv[0]); in main()
22 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main()
23 char* host = argc > 2 ? argv[2] : PARAM_SERVER_ADDR; in main()
/vendor/hisilicon/hispark_pegasus/demo/udpserver_demo/
H A Ddemo_entry_posix.c19 int main(int argc, char* argv[]) in main() argument
21 printf("Usage: %s [port] [host]\n", argv[0]); in main()
23 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main()
24 char* host = argc > 2 ? argv[2] : PARAM_SERVER_ADDR; in main()
/vendor/hisilicon/hispark_pegasus/demo/lwip_demo/
H A Ddemo_entry_posix.c21 int main(int argc, char* argv[]) in main() argument
23 printf("Usage: %s [port] [host]\n", argv[0]); in main()
25 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; /* 1 */ in main()
26 char* host = argc > 2 ? argv[2] : PARAM_SERVER_ADDR; /* 2,2 */ in main()
/vendor/hisilicon/hispark_pegasus/demo/tcpclient_demo/
H A Ddemo_entry_posix.c21 int main(int argc, char* argv[]) in main() argument
23 printf("Usage: %s [port] [host]\n", argv[0]); in main()
25 short port = argc > 1 ? atoi(argv[1]) : PARAM_SERVER_PORT; in main()
26 char* host = argc > 2 ? argv[2] : PARAM_SERVER_ADDR; in main()
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/oled/
H A Dimg2code.py64 if len(sys.argv) < 3:
65 print("Usage: {} input outdir [width] [height] [threshod]".format(sys.argv[0]))
68 imgPath = sys.argv[1]
69 outdir = sys.argv[2]
70 width = len(sys.argv) > 3 and int(sys.argv[3]) or TARGET_WIDTH
71 height = len(sys.argv) > 4 and int(sys.argv[4]) or TARGET_HEIGHT
72 threshold = len(sys.argv) > 5 and int(sys.argv[
[all...]
H A Dgif2imgs.py20 if len(sys.argv) < 2:
21 print('Usage: {} gif outdir'.format(sys.argv[0]))
24 gifimg = sys.argv[1]
25 outdir = sys.argv[2]
/vendor/hisilicon/hispark_pegasus/demo/ssd1306_demo/
H A Dimg2code.py65 if len(sys.argv) < 3:
66 print("Usage: {} input outdir [width] [height] [threshod]".format(sys.argv[0]))
69 imgPath = sys.argv[1]
70 outdir = sys.argv[2]
71 width = len(sys.argv) > 3 and int(sys.argv[3]) or TARGET_WIDTH
72 height = len(sys.argv) > 4 and int(sys.argv[4]) or TARGET_HEIGHT
73 threshold = len(sys.argv) > 5 and int(sys.argv[
[all...]
H A Dgif2imgs.py20 if len(sys.argv) < 2:
21 print('Usage: {} gif outdir'.format(sys.argv[0]))
24 gifimg = sys.argv[1]
25 outdir = sys.argv[2]
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/
H A Dvideo2bin.py46 if len(sys.argv) < 3:
47 print("Usage: {} videoFile binFile\n\t".format(sys.argv[0]))
51 videoFile = sys.argv[1]
52 binFile = sys.argv[2]
H A Dbin2stream.py83 if len(sys.argv) < 2:
84 print("Usage: {} binFile [port]\n\t".format(sys.argv[0]))
87 binFile = sys.argv[1]
88 port = DEFAULT_PORT if len(sys.argv) < 3 else int(sys.argv[2])
/vendor/ohemu/qemu_small_system_demo/apps/src/
H A Dsample_ui.cpp238 int main(int argc, char* argv[]) in main() argument

Completed in 2 milliseconds