Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 18 of 18) sorted by relevance

/vendor/hihope/Hi3861/udpserver_demo/
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/hihope/Hi3861/udpclient_demo/
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/
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/hihope/Hi3861/tcpserver_demo/
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/
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/
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/udpclient_demo/
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/tcpserver_demo/
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/hihope/Hi3861/tcpclient_demo/
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/
Dimg2code.py51 if len(sys.argv) < 3:
52 print("Usage: {} input outdir [width] [height] [threshod]".format(sys.argv[0]))
55 imgPath = sys.argv[1]
56 outdir = sys.argv[2]
57 width = len(sys.argv) > 3 and int(sys.argv[3]) or TARGET_WIDTH
58 height = len(sys.argv) > 4 and int(sys.argv[4]) or TARGET_HEIGHT
59 threshold = len(sys.argv) > 5 and int(sys.argv[5]) or PIXEL_THRESHOLD
Dgif2imgs.py6 if len(sys.argv) < 2:
7 print('Usage: {} gif outdir'.format(sys.argv[0]))
10 gifimg = sys.argv[1]
11 outdir = sys.argv[2]
/vendor/hisilicon/hispark_pegasus/demo/ssd1306_demo/
Dimg2code.py51 if len(sys.argv) < 3:
52 print("Usage: {} input outdir [width] [height] [threshod]".format(sys.argv[0]))
55 imgPath = sys.argv[1]
56 outdir = sys.argv[2]
57 width = len(sys.argv) > 3 and int(sys.argv[3]) or TARGET_WIDTH
58 height = len(sys.argv) > 4 and int(sys.argv[4]) or TARGET_HEIGHT
59 threshold = len(sys.argv) > 5 and int(sys.argv[5]) or PIXEL_THRESHOLD
Dgif2imgs.py6 if len(sys.argv) < 2:
7 print('Usage: {} gif outdir'.format(sys.argv[0]))
10 gifimg = sys.argv[1]
11 outdir = sys.argv[2]
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/
Dvideo2bin.py33 if len(sys.argv) < 3:
34 print("Usage: {} videoFile binFile\n\t".format(sys.argv[0]))
38 videoFile = sys.argv[1]
39 binFile = sys.argv[2]
Dbin2stream.py70 if len(sys.argv) < 2:
71 print("Usage: {} binFile [port]\n\t".format(sys.argv[0]))
74 binFile = sys.argv[1]
75 port = DEFAULT_PORT if len(sys.argv) < 3 else int(sys.argv[2])
/vendor/hihope/rk3568/demo/led_rgb/apps/led_rgb/
Dled_rgb.c38 int main(int argc, char* argv[]) in main() argument
43 led_mod = atoi(argv[1]); in main()
/vendor/ohemu/qemu_small_system_demo/apps/src/
Dsample_ui.cpp238 int main(int argc, char* argv[]) in main() argument
/vendor/hisilicon/watchos/patches/
Dhi3516dv300.patch23190 + char *argv[6];
23192 + for (i = 0; (argv[i] = strsep(&line, ",")) != NULL;)
23193 + if (++i == ARRAY_SIZE(argv)) {
23201 + strlcpy(hisi_zone[num_zones].name, argv[0], NAME_LEN_MAX);
23202 + hisi_zone[num_zones].gfp = (uintptr_t)memparse(argv[1], NULL);
23203 + hisi_zone[num_zones].phys_start = (uintptr_t)memparse(argv[2], NULL);
23204 + hisi_zone[num_zones].nbytes = (uintptr_t)memparse(argv[3], NULL);
23208 + strlcpy(hisi_zone[num_zones].name, argv[0], NAME_LEN_MAX);
23209 + hisi_zone[num_zones].gfp = (uintptr_t)memparse(argv[1], NULL);
23210 + hisi_zone[num_zones].phys_start = (uintptr_t)memparse(argv[2], NULL);
[all …]