Searched refs:out_p (Results 1 – 2 of 2) sorted by relevance
/system/update_engine/common/ |
D | utils.cc | 325 static bool Read(FILE* fp, off_t size, T* out_p) { in Read() argument 338 AppendBytes(buf, nbytes, out_p); in Read() 357 T* out_p) { in ReadFileChunkAndAppend() argument 371 return Read(fp.get(), size, out_p); in ReadFileChunkAndAppend() 376 bool ReadPipe(const string& cmd, string* out_p) { in ReadPipe() argument 380 bool success = Read(fp, -1, out_p); in ReadPipe() 384 bool ReadFile(const string& path, brillo::Blob* out_p) { in ReadFile() argument 385 return ReadFileChunkAndAppend(path, 0, -1, out_p); in ReadFile() 388 bool ReadFile(const string& path, string* out_p) { in ReadFile() argument 389 return ReadFileChunkAndAppend(path, 0, -1, out_p); in ReadFile() [all …]
|
D | utils.h | 98 bool ReadFile(const std::string& path, brillo::Blob* out_p); 99 bool ReadFile(const std::string& path, std::string* out_p); 103 brillo::Blob* out_p); 108 bool ReadPipe(const std::string& cmd, std::string* out_p);
|