Searched refs:ResultPtr (Results 1 - 10 of 10) sorted by relevance

/external/llvm/lib/Target/ARM/
H A DARMJITInfo.cpp273 intptr_t ResultPtr = resolveRelocDestAddr(MR); local
280 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8;
282 if (ResultPtr >= 0)
287 ResultPtr = - ResultPtr;
292 ResultPtr = ResultPtr >> 2;
293 *((intptr_t*)RelocPos) |= ResultPtr;
300 ResultPtr
[all...]
/external/clang/lib/Basic/
H A DConvertUTFWrapper.cpp16 char *&ResultPtr, const UTF8 *&ErrorPtr) {
26 memcpy(ResultPtr, Source.data(), Source.size());
27 ResultPtr += Source.size();
33 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr);
39 ResultPtr = reinterpret_cast<char*>(targetStart);
46 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr);
52 ResultPtr = reinterpret_cast<char*>(targetStart);
61 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { argument
64 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr);
72 ResultPtr
15 ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source, char *&ResultPtr, const UTF8 *&ErrorPtr) argument
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsJITInfo.cpp245 intptr_t ResultPtr = (intptr_t) MR->getResultPointer(); local
249 ResultPtr = (((ResultPtr - (intptr_t) RelocPos) - 4) >> 2) & 0xffff;
250 *((unsigned*) RelocPos) |= (unsigned) ResultPtr;
254 ResultPtr = (ResultPtr & 0x0fffffff) >> 2;
255 *((unsigned*) RelocPos) |= (unsigned) ResultPtr;
259 ResultPtr = ResultPtr >> 16;
261 ResultPtr
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCJITInfo.cpp416 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); local
421 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2;
422 assert(ResultPtr >= -(1 << 23) && ResultPtr < (1 << 23) &&
424 *RelocPos |= (ResultPtr & ((1 << 24)-1)) << 2;
429 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2;
430 assert(ResultPtr >= -(1 << 13) && ResultPtr < (
[all...]
/external/llvm/lib/Target/X86/
H A DX86JITInfo.cpp551 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); local
556 ResultPtr = ResultPtr -(intptr_t)RelocPos - 4 - MR->getConstantVal();
557 addUnaligned<unsigned>(RelocPos, ResultPtr);
563 ResultPtr = ResultPtr - ((intptr_t)Function + MR->getConstantVal());
564 addUnaligned<unsigned>(RelocPos, ResultPtr);
571 addUnaligned<unsigned>(RelocPos, ResultPtr);
574 addUnaligned<intptr_t>(RelocPos, ResultPtr);
/external/clang/include/clang/Basic/
H A DConvertUTF.h177 * WideCharWidth. The converted data is written to ResultPtr, which needs to
179 * ResultPtr will point one after the end of the copied string. On failure,
180 * ResultPtr will not be changed, and ErrorPtr will be set to the location of
185 char *&ResultPtr, const UTF8 *&ErrorPtr);
191 * \param [in,out] ResultPtr pointer to the output buffer, needs to be at least
192 * \c UNI_MAX_UTF8_BYTES_PER_CODE_POINT bytes. On success \c ResultPtr is
197 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
/external/clang/lib/Lex/
H A DLiteralSupport.cpp344 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); local
345 *ResultPtr = UcnVal;
353 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); local
356 *ResultPtr = UcnVal;
363 *ResultPtr = 0xD800 + (UcnVal >> 10);
364 *(ResultPtr+1) = 0xDC00 + (UcnVal & 0x3FF);
1099 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) {
1173 ResultPtr = &ResultBuf[0]; // Next byte to fill in.
1292 ResultPtr, hadError,
1306 UTF32 *ResultWidePtr = reinterpret_cast<UTF32*>(ResultPtr);
[all...]
/external/clang/include/clang/Lex/
H A DLiteralSupport.h175 char *ResultPtr; // cursor member in class:clang::StringLiteralParser
187 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) {
198 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); }
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITEmitter.cpp726 void *ResultPtr = TheJIT->getPointerToGlobalIfAvailable(F); local
727 if (ResultPtr) return ResultPtr;
844 void *ResultPtr = 0; local
847 ResultPtr = TheJIT->getPointerToNamedFunction(MR.getExternalSymbol(),
850 << ResultPtr << "]\n");
854 ResultPtr = Resolver.getExternalFunctionStub(ResultPtr);
857 ResultPtr = getPointerToGlobal(MR.getGlobalValue(),
861 ResultPtr
[all...]
/external/clang/lib/CodeGen/
H A DCGExpr.cpp1854 char *ResultPtr = &Target[0]; local
1856 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr);
1859 Target.resize(ResultPtr - &Target[0]);

Completed in 279 milliseconds