/external/llvm/lib/Support/ |
D | ConvertUTFWrapper.cpp | 18 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() argument 28 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide() 29 ResultPtr += Source.size(); in ConvertUTF8toWide() 35 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide() 41 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide() 48 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide() 54 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide() 63 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { in ConvertCodePointToUTF8() argument 66 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8() 74 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 775 Value *ResultPtr = Variadic->getOperand(0); in lowerToSingleIndexGEPs() local 779 L && L->isLoopInvariant(ResultPtr) && in lowerToSingleIndexGEPs() 780 !hasMoreThanOneUseInLoop(ResultPtr, L); in lowerToSingleIndexGEPs() 783 if (ResultPtr->getType() != I8PtrTy) in lowerToSingleIndexGEPs() 784 ResultPtr = Builder.CreateBitCast(ResultPtr, I8PtrTy); in lowerToSingleIndexGEPs() 809 ResultPtr = in lowerToSingleIndexGEPs() 810 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Idx, "uglygep"); in lowerToSingleIndexGEPs() 812 FirstResult = ResultPtr; in lowerToSingleIndexGEPs() 819 ResultPtr = in lowerToSingleIndexGEPs() 820 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Offset, "uglygep"); in lowerToSingleIndexGEPs() [all …]
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 220 char *ResultPtr = ResultBuf; in appendCodePoint() local 221 bool Res = llvm::ConvertCodePointToUTF8(Codepoint, ResultPtr); in appendCodePoint() 224 Str.append(ResultBuf, ResultPtr); in appendCodePoint() 392 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); in EncodeUCNEscape() local 393 *ResultPtr = UcnVal; in EncodeUCNEscape() 401 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); in EncodeUCNEscape() local 404 *ResultPtr = UcnVal; in EncodeUCNEscape() 411 *ResultPtr = 0xD800 + (UcnVal >> 10); in EncodeUCNEscape() 412 *(ResultPtr+1) = 0xDC00 + (UcnVal & 0x3FF); in EncodeUCNEscape() 1257 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in StringLiteralParser() [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_pipeline.c | 98 if (tnl->vb.ResultPtr[i]->size != tnl->last_result_size[i] || in check_output_changes() 99 tnl->vb.ResultPtr[i]->stride != tnl->last_result_stride[i]) { in check_output_changes() 100 tnl->last_result_size[i] = tnl->vb.ResultPtr[i]->size; in check_output_changes() 101 tnl->last_result_stride[i] = tnl->vb.ResultPtr[i]->stride; in check_output_changes()
|
/external/clang/include/clang/Lex/ |
D | LiteralSupport.h | 194 char *ResultPtr; // cursor variable 207 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in SM() 218 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); } in GetStringLength()
|
/external/llvm/include/llvm/Support/ |
D | ConvertUTF.h | 198 char *&ResultPtr, const UTF8 *&ErrorPtr); 210 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3751 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in optimizeMemoryInst() local 3755 ResultPtr = AddrMode.BaseReg; in optimizeMemoryInst() 3762 if (ResultPtr || AddrMode.Scale != 1) in optimizeMemoryInst() 3765 ResultPtr = AddrMode.ScaledReg; in optimizeMemoryInst() 3770 if (ResultPtr) in optimizeMemoryInst() 3773 ResultPtr = AddrMode.BaseGV; in optimizeMemoryInst() 3779 if (!ResultPtr && AddrMode.BaseReg) { in optimizeMemoryInst() 3780 ResultPtr = in optimizeMemoryInst() 3783 } else if (!ResultPtr && AddrMode.Scale == 1) { in optimizeMemoryInst() 3784 ResultPtr = in optimizeMemoryInst() [all …]
|
/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 1668 llvm::Value *ResultPtr; in performTypeAdjustment() local 1686 ResultPtr = CGF.Builder.CreateInBoundsGEP(V.getPointer(), Offset); in performTypeAdjustment() 1688 ResultPtr = V.getPointer(); in performTypeAdjustment() 1694 ResultPtr = CGF.Builder.CreateConstInBoundsGEP1_64(ResultPtr, in performTypeAdjustment() 1699 return CGF.Builder.CreateBitCast(ResultPtr, InitialPtr.getType()); in performTypeAdjustment()
|
D | CGBuiltin.cpp | 1701 Address ResultPtr = EmitPointerWithAlignment(ResultArg); in EmitBuiltinExpr() local 1730 Builder.CreateStore(EmitToMemory(Result, ResultQTy), ResultPtr, isVolatile); in EmitBuiltinExpr()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 2983 char *ResultPtr = &Target[0]; in ConvertUTF8ToWideString() local 2985 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr); in ConvertUTF8ToWideString() 2988 Target.resize(ResultPtr - &Target[0]); in ConvertUTF8ToWideString()
|