Home | History | Annotate | Download | only in CameraHal

Lines Matching defs:script

193             // end of script found
203 int execute_functional_script(char *script) {
224 cmd = strtok_r((char *) script, DELIMITER, &ctx);
1590 char *script;
1597 printf("\n SCRIPT : <%s> is currently being executed \n", script_name);
1602 printf("Error while opening script file %s!\n", config);
1610 script = (char *) malloc(fileSize + 1);
1612 if ( NULL == script ) {
1613 printf("Unable to allocate buffer for the script\n");
1618 memset(script, 0, fileSize + 1);
1620 if ((nRead = fread(script, 1, fileSize, infile)) != fileSize) {
1621 printf("Error while reading script file!\n");
1623 free(script);
1630 return script;
1693 printf("\nlogging for script %s is complete\n", script_name);
1707 int execute_error_script(char *script) {
1714 cmd = strtok_r((char *) script, DELIMITER, &ctx);