Lines Matching refs:error_msg
69 std::string* error_msg) in IndirectReferenceTable() argument
75 CHECK(error_msg != nullptr); in IndirectReferenceTable()
86 error_msg); in IndirectReferenceTable()
87 if (!table_mem_map_.IsValid() && error_msg->empty()) { in IndirectReferenceTable()
88 *error_msg = "Unable to map memory for indirect ref table"; in IndirectReferenceTable()
213 bool IndirectReferenceTable::Resize(size_t new_size, std::string* error_msg) { in Resize() argument
218 *error_msg = android::base::StringPrintf("Requested size exceeds maximum: %zu", new_size); in Resize()
228 error_msg); in Resize()
243 std::string* error_msg) { in Add() argument
263 *error_msg = oss.str(); in Add()
274 *error_msg = oss.str(); in Add()
285 *error_msg = oss.str(); in Add()
486 bool IndirectReferenceTable::EnsureFreeCapacity(size_t free_capacity, std::string* error_msg) { in EnsureFreeCapacity() argument
494 *error_msg = "Table is not resizable"; in EnsureFreeCapacity()
502 *error_msg = "Cannot resize table, overflow."; in EnsureFreeCapacity()
506 if (!Resize(top_index + free_capacity, error_msg)) { in EnsureFreeCapacity()
510 << " Resizing failed: " << *error_msg; in EnsureFreeCapacity()