Home
last modified time | relevance | path

Searched refs:ResultPtr (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Support/
DConvertUTFWrapper.cpp18 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/
DSeparateConstOffsetFromGEP.cpp733 Value *ResultPtr = Variadic->getOperand(0); in lowerToSingleIndexGEPs() local
734 if (ResultPtr->getType() != I8PtrTy) in lowerToSingleIndexGEPs()
735 ResultPtr = Builder.CreateBitCast(ResultPtr, I8PtrTy); in lowerToSingleIndexGEPs()
760 ResultPtr = in lowerToSingleIndexGEPs()
761 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Idx, "uglygep"); in lowerToSingleIndexGEPs()
768 ResultPtr = in lowerToSingleIndexGEPs()
769 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Offset, "uglygep"); in lowerToSingleIndexGEPs()
771 if (ResultPtr->getType() != Variadic->getType()) in lowerToSingleIndexGEPs()
772 ResultPtr = Builder.CreateBitCast(ResultPtr, Variadic->getType()); in lowerToSingleIndexGEPs()
774 Variadic->replaceAllUsesWith(ResultPtr); in lowerToSingleIndexGEPs()
[all …]
/external/clang/lib/Lex/
DLiteralSupport.cpp220 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()
1261 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in StringLiteralParser()
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_pipeline.c98 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/
DLiteralSupport.h194 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/
DConvertUTF.h198 char *&ResultPtr, const UTF8 *&ErrorPtr);
210 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3264 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in OptimizeMemoryInst() local
3268 ResultPtr = AddrMode.BaseReg; in OptimizeMemoryInst()
3275 if (ResultPtr || AddrMode.Scale != 1) in OptimizeMemoryInst()
3278 ResultPtr = AddrMode.ScaledReg; in OptimizeMemoryInst()
3283 if (ResultPtr) in OptimizeMemoryInst()
3286 ResultPtr = AddrMode.BaseGV; in OptimizeMemoryInst()
3292 if (!ResultPtr && AddrMode.BaseReg) { in OptimizeMemoryInst()
3293 ResultPtr = in OptimizeMemoryInst()
3296 } else if (!ResultPtr && AddrMode.Scale == 1) { in OptimizeMemoryInst()
3297 ResultPtr = in OptimizeMemoryInst()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp2989 char *ResultPtr = &Target[0]; in ConvertUTF8ToWideString() local
2991 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr); in ConvertUTF8ToWideString()
2994 Target.resize(ResultPtr - &Target[0]); in ConvertUTF8ToWideString()