Searched refs:ToBuf (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3070 SmallVector<UTF16, 128> ToBuf(NumBytes + 1); // +1 for ending nulls. in GetConstantCFStringEntry() local 3072 UTF16 *ToPtr = &ToBuf[0]; in GetConstantCFStringEntry() 3079 StringLength = ToPtr - &ToBuf[0]; in GetConstantCFStringEntry() 3084 StringRef(reinterpret_cast<const char *>(ToBuf.data()), in GetConstantCFStringEntry()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 1045 SmallVector<llvm::UTF16, 128> ToBuf(NumU8CodeUnits + 1); in GenerateConstantString() local 1047 llvm::UTF16 *ToPtr = &ToBuf[0]; in GenerateConstantString() 1050 uint32_t StringLength = ToPtr - &ToBuf[0]; in GenerateConstantString() 1062 auto Arr = llvm::makeArrayRef(&ToBuf[0], ToPtr+1); in GenerateConstantString()
|
D | CodeGenModule.cpp | 4894 SmallVector<llvm::UTF16, 128> ToBuf(NumBytes + 1); // +1 for ending nulls. in GetConstantCFStringEntry() local 4896 llvm::UTF16 *ToPtr = &ToBuf[0]; in GetConstantCFStringEntry() 4902 StringLength = ToPtr - &ToBuf[0]; in GetConstantCFStringEntry() 4907 StringRef(reinterpret_cast<const char *>(ToBuf.data()), in GetConstantCFStringEntry()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 6428 std::unique_ptr<llvm::MemoryBuffer> ToBuf in Import() local 6431 ToID = ToSM.createFileID(std::move(ToBuf), in Import()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTImporter.cpp | 8740 std::unique_ptr<llvm::MemoryBuffer> ToBuf = in Import() local 8743 ToID = ToSM.createFileID(std::move(ToBuf), in Import()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 3098 SmallVector<UTF16, 128> ToBuf(NumBytes); in CheckObjCString() local 3100 UTF16 *ToPtr = &ToBuf[0]; in CheckObjCString()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 5652 SmallVector<llvm::UTF16, 128> ToBuf(NumBytes); in CheckObjCString() local 5654 llvm::UTF16 *ToPtr = &ToBuf[0]; in CheckObjCString()
|