Home | History | Annotate | Download | only in updater

Lines Matching defs:script

33 // Where in the package we expect to find the edify script to execute.
34 // (Note it's "updateR-script", not the older "update-script".)
35 #define SCRIPT_NAME "META-INF/com/google/android/updater-script"
68 // Extract the script from the package.
91 char* script = malloc(script_entry->uncompLen+1);
92 if (!mzReadZipEntry(&za, script_entry, script, script_entry->uncompLen)) {
93 printf("failed to read script from package\n");
96 script[script_entry->uncompLen] = '\0';
106 // Parse the script.
110 int error = parse_string(script, &root, &error_count);
126 // Evaluate the parsed script.
137 state.script = script;
143 printf("script aborted (no error message)\n");
144 fprintf(cmd_pipe, "ui_print script aborted (no error message)\n");
146 printf("script aborted: %s\n", state.errmsg);
157 fprintf(cmd_pipe, "ui_print script succeeded: result was [%s]\n", result);
165 free(script);