Lines Matching defs: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"
66 // Extract the script from the package.
84 char* script = malloc(script_entry->uncompLen+1);
85 if (!mzReadZipEntry(&za, script_entry, script, script_entry->uncompLen)) {
86 printf("failed to read script from package\n");
89 script[script_entry->uncompLen] = '\0';
98 // Parse the script.
102 yy_scan_string(script);
119 // Evaluate the parsed script.
128 state.script = script;
134 printf("script aborted (no error message)\n");
135 fprintf(cmd_pipe, "ui_print script aborted (no error message)\n");
137 printf("script aborted: %s\n", state.errmsg);
148 fprintf(cmd_pipe, "ui_print script succeeded: result was [%s]\n", result);
155 free(script);