Lines Matching refs:buffer
91 std::string buffer = android::base::Join(args, ""); in UIPrintFn() local
92 state->updater->UiPrint(buffer); in UIPrintFn()
93 return StringValue(buffer); in UIPrintFn()
175 std::string buffer; in PackageExtractFileFn() local
181 buffer.resize(entry.uncompressed_length); in PackageExtractFileFn()
184 ExtractToMemory(za, &entry, reinterpret_cast<uint8_t*>(&buffer[0]), buffer.size()); in PackageExtractFileFn()
188 zip_path.c_str(), buffer.size(), ErrorCodeString(ret)); in PackageExtractFileFn()
191 return new Value(Value::Type::BLOB, buffer); in PackageExtractFileFn()
570 std::string buffer; in FileGetPropFn() local
572 if (!updater_runtime->ReadFileToString(filename, &buffer)) { in FileGetPropFn()
577 std::vector<std::string> lines = android::base::Split(buffer, "\n"); in FileGetPropFn()