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"
63 // Extract the script from the package.
81 char* script = malloc(script_entry->uncompLen+1);
82 if (!mzReadZipEntry(&za, script_entry, script, script_entry->uncompLen)) {
83 fprintf(stderr, "failed to read script from package\n");
86 script[script_entry->uncompLen] = '\0';
95 // Parse the script.
99 yy_scan_string(script);
106 // Evaluate the parsed script.
115 state.script = script;
121 fprintf(stderr, "script aborted (no error message)\n");
122 fprintf(cmd_pipe, "ui_print script aborted (no error message)\n");
124 fprintf(stderr, "script aborted: %s\n", state.errmsg);
135 fprintf(stderr, "script result was [%s]\n", result);
142 free(script);