Home | History | Annotate | Download | only in updater

Lines Matching refs:script

31 // Where in the package we expect to find the edify script to execute.
32 // (Note it's "updateR-script", not the older "update-script".)
33 #define SCRIPT_NAME "META-INF/com/google/android/updater-script"
65 // Extract the script from the package.
83 char* script = malloc(script_entry->uncompLen+1);
84 if (!mzReadZipEntry(&za, script_entry, script, script_entry->uncompLen)) {
85 fprintf(stderr, "failed to read script from package\n");
88 script[script_entry->uncompLen] = '\0';
97 // Parse the script.
101 yy_scan_string(script);
121 // Evaluate the parsed script.
130 state.script = script;
136 fprintf(stderr, "script aborted (no error message)\n");
137 fprintf(cmd_pipe, "ui_print script aborted (no error message)\n");
139 fprintf(stderr, "script aborted: %s\n", state.errmsg);
150 fprintf(stderr, "script result was [%s]\n", result);
157 free(script);