Home
last modified time | relevance | path

Searched refs:script_buf (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dscript.c42 static char *script_buf = NULL; variable
48 script_buf = shmat(shmid, 0, 0); in init_script()
49 if (script_buf == (void *)-1) { in init_script()
55 script_buf = buf; in init_script()
57 struct script_head *head = (struct script_head *)script_buf; in init_script()
69 if (script_buf) { in deinit_script()
71 script_buf = NULL; in deinit_script()
86 if (script_buf == NULL) { in script_mainkey_name()
90 mainkey = (struct script_mainkey *)(script_buf + sizeof(struct script_head) + in script_mainkey_name()
106 if (script_buf == NULL) { in script_fetch()
[all …]
H A Dscript_parser.c453 char *script_buf, *pos; in __parse_script() local
651 script_buf = pos = shmat(shmid, 0, 0); in __parse_script()
652 if (script_buf == (void *)-1) { in __parse_script()
660 script_buf = pos = malloc(i); in __parse_script()
673 return script_buf; in __parse_script()
694 char *script_buf; in parse_script() local
727 script_buf = __parse_script(buf, len); in parse_script()
730 return script_buf; in parse_script()
H A Dpcba_core.c614 char *script_buf; in main() local
653 script_buf = parse_script(SCRIPT_NAME); in main()
654 if (!script_buf) { in main()
659 ret = init_script(script_buf); in main()