Home
last modified time | relevance | path

Searched refs:script (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/tests/component/
Dupdater_test.cpp274 std::string script("package_extract_file(\"a.txt\", \"" + std::string(temp_file1.path) + "\")"); in TEST_F() local
275 expect("t", script.c_str(), kNoCause, &updater_info); in TEST_F()
283 script = "package_extract_file(\"b.txt\", \"" + std::string(temp_file1.path) + "\")"; in TEST_F()
284 expect("t", script.c_str(), kNoCause, &updater_info); in TEST_F()
290 script = "package_extract_file(\"doesntexist\", \"" + std::string(temp_file1.path) + "\")"; in TEST_F()
291 expect("", script.c_str(), kNoCause, &updater_info); in TEST_F()
294 script = "package_extract_file(\"a.txt\", \"/dev/full\")"; in TEST_F()
295 expect("", script.c_str(), kNoCause, &updater_info); in TEST_F()
298 script = "sha1_check(package_extract_file(\"a.txt\"))"; in TEST_F()
299 expect(kATxtSha1Sum.c_str(), script.c_str(), kNoCause, &updater_info); in TEST_F()
[all …]
/bootable/recovery/updater/
Dupdater.cpp117 std::string script; in main() local
118 script.resize(script_entry.uncompressed_length); in main()
119 int extract_err = ExtractToMemory(za, &script_entry, reinterpret_cast<uint8_t*>(&script[0]), in main()
138 int error = parse_string(script.c_str(), &root, &error_count); in main()
161 State state(script, &updater_info); in main()
/bootable/recovery/edify/include/edify/
Dexpr.h31 State(const std::string& script, void* cookie);
34 const std::string& script; member
/bootable/recovery/edify/
Dexpr.cpp132 state->errmsg = "assert failed: " + state->script.substr(argv[i]->start, len); in AssertFn()
424 State::State(const std::string& script, void* cookie) in State() argument
425 : script(script), cookie(cookie), error_code(kNoError), cause_code(kNoCause) {} in State()
DREADME.md8 - The entire script is a single expression.