Home | History | Annotate | Download | only in Object

Lines Matching refs:Ret

73   auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf));
74 return wrap(Ret);
138 StringRef ret;
139 if (std::error_code ec = (*unwrap(SI))->getName(ret))
141 return ret.data();
149 StringRef ret;
150 if (std::error_code ec = (*unwrap(SI))->getContents(ret))
152 return ret.data();
186 Expected<StringRef> Ret = (*unwrap(SI))->getName();
187 if (!Ret) {
190 logAllUnhandledErrors(Ret.takeError(), OS, "");
194 return Ret->data();
198 Expected<uint64_t> Ret = (*unwrap(SI))->getAddress();
199 if (!Ret) {
202 logAllUnhandledErrors(Ret.takeError(), OS, "");
206 return *Ret;
219 symbol_iterator ret = (*unwrap(RI))->getSymbol();
220 return wrap(new symbol_iterator(ret));
229 SmallVector<char, 0> ret;
230 (*unwrap(RI))->getTypeName(ret);
231 char *str = static_cast<char*>(malloc(ret.size()));
232 std::copy(ret.begin(), ret.end(), str);