/external/swiftshader/third_party/LLVM/tools/macho-dump/ |
macho-dump.cpp | 95 int Res = 0; 101 Res = Error("unable to read relocation table entry '" + Twine(i) + "'"); 124 return Res; 140 int Res = 0; 146 Res = Error("unable to read section '" + Twine(i) + "'"); 150 if ((Res = DumpSectionData(Obj, i, StringRef(Sect->Name, 16), 160 return Res; 176 int Res = 0; 182 Res = Error("unable to read section '" + Twine(i) + "'"); 186 if ((Res = DumpSectionData(Obj, i, StringRef(Sect->Name, 16) [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsMCExpr.cpp | 123 MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, 131 if (!SubExpr->evaluateAsRelocatable(Res, Layout, Fixup)) 134 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), 139 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) 142 if (Res.getRefKind() != MCSymbolRefExpr::VK_None) 148 if (Res.isAbsolute() && Fixup == nullptr) { 149 int64_t AbsVal = Res.getConstant() [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86Operand.h | 469 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); 470 Res->Tok.Data = Str.data(); 471 Res->Tok.Length = Str.size(); 472 return Res; 479 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); 480 Res->Reg.RegNo = RegNo; 481 Res->AddressOf = AddressOf; 482 Res->OffsetOfLoc = OffsetOfLoc; 483 Res->SymName = SymName; 484 Res->OpDecl = OpDecl [all...] |
/external/compiler-rt/lib/esan/ |
esan_sideline_linux.cpp | 59 int Res = internal_sigaction(SigNum, &SigAct, nullptr); 60 CHECK_EQ(Res, 0); 82 int Res = internal_sigprocmask(SIG_UNBLOCK, &SigSet, nullptr); 83 CHECK_EQ(Res, 0); 135 bool Res = true; 145 Res = false; 149 return Res; 164 int Res = setitimer(ITIMER_REAL, &TimerVal, nullptr); 165 return (Res == 0);
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorSyclConvertToDeviceExpression.h | 74 #define SELECTOPCONVERT(CVQual, Res)\ 77 : NonOpConversion<TensorSelectOp, Res, IfExpr, ThenExpr, ElseExpr> {}; 84 #define ASSIGNCONVERT(CVQual, Res)\ 87 : NonOpConversion<TensorAssignOp, Res, LHSExpr, RHSExpr>{}; 95 #define KERNELBROKERCONVERT(CVQual, Res, ExprNode)\ 98 : DeviceConvertor<ExprNode, Res, Expr>{};
|
/external/llvm/lib/CodeGen/GlobalISel/ |
MachineIRBuilder.cpp | 72 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, unsigned Res, 74 return buildInstr(Opcode, nullptr, Res, Op0, Op1); 78 unsigned Res, unsigned Op0, 82 .addReg(Res, RegState::Define) 88 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, unsigned Res, 91 MachineInstrBuilder(getMF(), NewMI).addReg(Res, RegState::Define).addReg(Op0);
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MCExpr.cpp | 92 bool AArch64MCExpr::evaluateAsRelocatableImpl(MCValue &Res, 95 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup)) 98 Res = 99 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
|
/external/lzma/CPP/7zip/Compress/ |
Lzma2Encoder.cpp | 89 SRes res = Lzma2Enc_Encode(_encoder, &outWrap.p, &inWrap.p, progress ? &progressWrap.p : NULL);
local 90 if (res == SZ_ERROR_READ && inWrap.Res != S_OK)
91 return inWrap.Res;
92 if (res == SZ_ERROR_WRITE && outWrap.Res != S_OK)
93 return outWrap.Res;
94 if (res == SZ_ERROR_PROGRESS && progressWrap.Res != S_OK)
95 return progressWrap.Res;
[all...] |
/external/python/cpython2/Lib/plat-mac/ |
cfmfile.py | 14 from Carbon import Res 39 rf = Res.FSpOpenResFile(dst, 3) 53 cfrgres = Res.Resource(dstcfrg.build()) 54 Res.UseResFile(rf) 58 rf = Res.CloseResFile(rf) 68 currentresref = Res.CurResFile() 69 resref = Res.FSpOpenResFile(path, 1) 70 Res.UseResFile(resref) 73 data = Res.Get1Resource('cfrg', 0).data 74 except Res.Error [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
cfmfile.py | 14 from Carbon import Res 39 rf = Res.FSpOpenResFile(dst, 3) 53 cfrgres = Res.Resource(dstcfrg.build()) 54 Res.UseResFile(rf) 58 rf = Res.CloseResFile(rf) 68 currentresref = Res.CurResFile() 69 resref = Res.FSpOpenResFile(path, 1) 70 Res.UseResFile(resref) 73 data = Res.Get1Resource('cfrg', 0).data 74 except Res.Error [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
cfmfile.py | 14 from Carbon import Res 39 rf = Res.FSpOpenResFile(dst, 3) 53 cfrgres = Res.Resource(dstcfrg.build()) 54 Res.UseResFile(rf) 58 rf = Res.CloseResFile(rf) 68 currentresref = Res.CurResFile() 69 resref = Res.FSpOpenResFile(path, 1) 70 Res.UseResFile(resref) 73 data = Res.Get1Resource('cfrg', 0).data 74 except Res.Error [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Object/ |
ObjectFile.h | 227 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const = 0; 228 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const = 0; 229 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const =0; 230 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const =0; 231 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const = 0; 232 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const = 0; 233 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const = 0; 234 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const = 0; 235 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::SymbolType &Res) const = 0; 239 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const = 0 [all...] |
/external/llvm/lib/Option/ |
ArgList.cpp | 85 Arg *Res = nullptr; 88 Res = *it; 89 Res->claim(); 93 return Res; 97 Arg *Res = nullptr; 101 Res = *it; 102 Res->claim(); 107 return Res; 112 Arg *Res = nullptr; 117 Res = *it [all...] |
/external/llvm/lib/Support/ |
Regex.cpp | 111 std::string Res(String.begin(), Matches[0].begin()); 119 Res += Split.first; 136 Res += Repl[0]; 142 Res += '\t'; 146 Res += '\n'; 160 Res += Matches[RefValue]; 169 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end()); 171 return Res;
|
Compression.cpp | 55 Status Res = encodeZlibReturnValue(::compress2( 62 return Res; 69 Status Res = encodeZlibReturnValue(::uncompress( 76 return Res;
|
/external/llvm/lib/Transforms/Utils/ |
ASanStackFrameLayout.cpp | 40 size_t Res = 0; 41 if (Size <= 4) Res = 16; 42 else if (Size <= 16) Res = 32; 43 else if (Size <= 128) Res = Size + 32; 44 else if (Size <= 512) Res = Size + 64; 45 else if (Size <= 4096) Res = Size + 128; 46 else Res = Size + 256; 47 return alignTo(Res, Alignment);
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
Regex.cpp | 107 std::string Res(String.begin(), Matches[0].begin()); 115 Res += Split.first; 132 Res += Repl[0]; 138 Res += '\t'; 142 Res += '\n'; 156 Res += Matches[RefValue]; 165 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end()); 167 return Res;
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
X86TargetObjectFile.cpp | 31 const MCExpr *Res = 34 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
Regex.cpp | 123 std::string Res(String.begin(), Matches[0].begin()); 131 Res += Split.first; 148 Res += Repl[0]; 154 Res += '\t'; 158 Res += '\n'; 172 Res += Matches[RefValue]; 181 Res += StringRef(Matches[0].end(), String.end() - Matches[0].end()); 183 return Res;
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
CVSymbolVisitor.h | 29 bool consumeObject(ArrayRef<uint8_t> &Data, const T *&Res) { 30 if (Data.size() < sizeof(*Res)) { 34 Res = reinterpret_cast<const T *>(Data.data()); 35 Data = Data.drop_front(sizeof(*Res));
|
/external/llvm/lib/Target/AArch64/ |
AArch64TargetObjectFile.cpp | 42 const MCExpr *Res = 47 return MCBinaryExpr::createSub(Res, PC, getContext()); 67 const MCExpr *Res = 72 return MCBinaryExpr::createSub(Res, PC, getContext());
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
Tpm2Integrity.c | 105 TPM2_PCR_EXTEND_RESPONSE Res;
153 ResultBufSize = sizeof(Res);
154 Status = Tpm2SubmitCommand (CmdSize, (UINT8 *)&Cmd, &ResultBufSize, (UINT8 *)&Res);
159 if (ResultBufSize > sizeof(Res)) {
167 RespSize = SwapBytes32(Res.Header.paramSize);
168 if (RespSize > sizeof(Res)) {
176 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
177 DEBUG ((EFI_D_ERROR, "Tpm2PcrExtend: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
215 TPM2_PCR_EVENT_RESPONSE Res;
248 ResultBufSize = sizeof(Res);
[all...] |
/external/llvm/include/llvm/CodeGen/GlobalISel/ |
MachineIRBuilder.h | 109 /// Build and insert \p Res<def> = \p Opcode [\p Ty] \p Op0, \p Op1. 115 MachineInstr *buildInstr(unsigned Opcode, Type *Ty, unsigned Res, 118 /// Build and insert \p Res<def> = \p Opcode \p Op0, \p Op1. 125 MachineInstr *buildInstr(unsigned Opcode, unsigned Res, unsigned Op0, 128 /// Build and insert \p Res<def> = \p Opcode \p Op0. 134 MachineInstr *buildInstr(unsigned Opcode, unsigned Res, unsigned Op0);
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugRangeList.cpp | 59 DWARFAddressRangesVector Res; 64 Res.push_back(std::make_pair(BaseAddress + RLE.StartAddress, 68 return Res;
|
/external/llvm/lib/Fuzzer/ |
FuzzerTracePC.cpp | 29 uintptr_t Res = 0; 31 Res += __builtin_popcountl(Map[i] |= Other.Map[i]); 32 return Res;
|