Searched refs:out_p (Results 1 – 2 of 2) sorted by relevance
/system/update_engine/common/ |
D | utils.cc | 340 static bool Read(FILE* fp, off_t size, T* out_p) { in Read() argument 353 AppendBytes(buf, nbytes, out_p); in Read() 372 T* out_p) { in ReadFileChunkAndAppend() argument 386 return Read(fp.get(), size, out_p); in ReadFileChunkAndAppend() 391 bool ReadPipe(const string& cmd, string* out_p) { in ReadPipe() argument 395 bool success = Read(fp, -1, out_p); in ReadPipe() 399 bool ReadFile(const string& path, brillo::Blob* out_p) { in ReadFile() argument 400 return ReadFileChunkAndAppend(path, 0, -1, out_p); in ReadFile() 403 bool ReadFile(const string& path, string* out_p) { in ReadFile() argument 404 return ReadFileChunkAndAppend(path, 0, -1, out_p); in ReadFile() [all …]
|
D | utils.h | 99 bool ReadFile(const std::string& path, brillo::Blob* out_p); 100 bool ReadFile(const std::string& path, std::string* out_p); 102 brillo::Blob* out_p); 107 bool ReadPipe(const std::string& cmd, std::string* out_p);
|