/vendor/hihope/Hi3861/udpserver_demo/ |
D | demo_entry_posix.c | 19 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/ |
D | demo_entry_posix.c | 18 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/ |
D | demo_entry_posix.c | 19 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/ |
D | demo_entry_posix.c | 19 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/ |
D | demo_entry_posix.c | 21 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/ |
D | demo_entry_posix.c | 21 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/ |
D | demo_entry_posix.c | 18 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/ |
D | demo_entry_posix.c | 19 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/ |
D | demo_entry_posix.c | 21 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/ |
D | img2code.py | 51 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
|
D | gif2imgs.py | 6 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/ |
D | img2code.py | 51 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
|
D | gif2imgs.py | 6 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/ |
D | video2bin.py | 33 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]
|
D | bin2stream.py | 70 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/ |
D | led_rgb.c | 38 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/ |
D | sample_ui.cpp | 238 int main(int argc, char* argv[]) in main() argument
|
/vendor/hisilicon/watchos/patches/ |
D | hi3516dv300.patch | 23190 + 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 …]
|