Searched refs:out_p (Results 1 – 2 of 2) sorted by relevance
/system/update_engine/common/ |
D | utils.cc | 283 static bool Read(FILE* fp, off_t size, T* out_p) { in Read() argument 296 AppendBytes(buf, nbytes, out_p); in Read() 315 T* out_p) { in ReadFileChunkAndAppend() argument 329 return Read(fp.get(), size, out_p); in ReadFileChunkAndAppend() 334 bool ReadPipe(const string& cmd, string* out_p) { in ReadPipe() argument 338 bool success = Read(fp, -1, out_p); in ReadPipe() 342 bool ReadFile(const string& path, brillo::Blob* out_p) { in ReadFile() argument 343 return ReadFileChunkAndAppend(path, 0, -1, out_p); in ReadFile() 346 bool ReadFile(const string& path, string* out_p) { in ReadFile() argument 347 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); 104 brillo::Blob* out_p); 109 bool ReadPipe(const std::string& cmd, std::string* out_p);
|