/external/clang/test/CodeGen/ |
empty-union-init.c | 4 struct Mem { 9 struct Mem *columnMem(){ 10 static const struct Mem nullMem = { {} };
|
/external/clang/lib/AST/ |
DeclGroup.cpp | 25 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment); 26 new (Mem) DeclGroup(NumDecls, Decls); 27 return static_cast<DeclGroup*>(Mem);
|
StmtObjC.cpp | 53 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); 54 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, 63 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); 64 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally);
|
StmtCXX.cpp | 31 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); 32 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); 40 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); 41 return new (Mem) CXXTryStmt(Empty, numHandlers);
|
StmtOpenMP.cpp | 62 void *Mem = 65 new (Mem) OMPParallelDirective(StartLoc, EndLoc, Clauses.size()); 77 void *Mem = 79 return new (Mem) OMPParallelDirective(NumClauses); 89 void *Mem = 92 OMPSimdDirective *Dir = new (Mem) 117 void *Mem = 120 return new (Mem) OMPSimdDirective(CollapsedNum, NumClauses); 130 void *Mem = 134 new (Mem) OMPForDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()) [all...] |
OpenMPClause.cpp | 43 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPPrivateClause), 47 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); 55 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPPrivateClause), 58 return new (Mem) OMPPrivateClause(N); 78 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPFirstprivateClause), 82 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); 91 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPFirstprivateClause), 94 return new (Mem) OMPFirstprivateClause(N); 129 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPLastprivateClause), 133 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()) [all...] |
ExprObjC.cpp | 42 void *Mem = 44 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); 50 void *Mem = 52 return new (Mem) ObjCArrayLiteral(EmptyShell(), NumElements); 98 void *Mem = C.Allocate(sizeof(ObjCDictionaryLiteral) + 100 return new (Mem) ObjCDictionaryLiteral(VK, HasPackExpansions, T, method, SR); 109 void *Mem = C.Allocate(sizeof(ObjCDictionaryLiteral) + 111 return new (Mem) 129 void *Mem = C.Allocate(sizeof(ObjCSubscriptRefExpr)); 130 return new (Mem) ObjCSubscriptRefExpr [all...] |
TemplateBase.cpp | 81 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); 82 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); 83 Integer.pVal = static_cast<uint64_t *>(Mem); 526 void *Mem = C.Allocate(size, llvm::alignOf<ASTTemplateArgumentListInfo>()); 527 ASTTemplateArgumentListInfo *TAI = new (Mem) ASTTemplateArgumentListInfo();
|
NestedNameSpecifier.cpp | 676 void *Mem = Context.Allocate(BufferSize, llvm::alignOf<void *>()); 677 memcpy(Mem, Buffer, BufferSize); 678 return NestedNameSpecifierLoc(Representation, Mem);
|
DeclTemplate.cpp | 61 void *Mem = C.Allocate(totalSizeToAlloc<NamedDecl *>(NumParams), 63 return new (Mem) TemplateParameterList(TemplateLoc, LAngleLoc, Params, 700 void *Mem = Context.Allocate(totalSizeToAlloc<TemplateArgument>(NumArgs)); 701 return new (Mem) TemplateArgumentList(Args, NumArgs); [all...] |
/external/llvm/tools/lli/ |
RemoteTarget.cpp | 34 sys::MemoryBlock Mem = sys::Memory::AllocateRWX(Size, Prev, &ErrorMsg); 35 if (Mem.base() == nullptr) 37 if ((uintptr_t)Mem.base() % Alignment) { 41 Address = reinterpret_cast<uint64_t>(Mem.base()); 42 Allocations.push_back(Mem); 53 sys::MemoryBlock Mem((void*)Address, Size); 54 sys::Memory::setExecutable(Mem, &ErrorMsg);
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayRotator.cpp | 71 ALOGE("%s error in closing rot mem %d", __FUNCTION__, i); 79 RotMem::Mem::Mem() : mCurrOffset(0) { 86 RotMem::Mem::~Mem() { 93 void RotMem::Mem::setReleaseFd(const int& fence) {
|
overlayRotator.h | 52 struct Mem { 53 Mem(); 54 ~Mem(); 70 Mem& curr() { return m[_curr % MAX_ROT_MEM]; } 71 const Mem& curr() const { return m[_curr % MAX_ROT_MEM]; } 72 Mem& prev() { return m[(_curr+1) % MAX_ROT_MEM]; } 77 Mem m[MAX_ROT_MEM];
|
/external/llvm/unittests/Support/ |
TrailingObjectsTest.cpp | 34 void *Mem = ::operator new(totalSizeToAlloc<short>(NumShorts)); 35 return new (Mem) Class1(ShortArray, NumShorts); 72 void *Mem = 74 Class2 *C = new (Mem) Class2(HasShort, HasDouble);
|
/external/clang/lib/Lex/ |
MacroInfo.cpp | 241 void *Mem = PP.getPreprocessorAllocator().Allocate( 244 return new (Mem) ModuleMacro(OwningModule, II, Macro, Overrides);
|
/external/clang/lib/Sema/ |
TypeLocBuilder.h | 123 void *Mem = Context.Allocate(FullDataSize); 124 memcpy(Mem, &Buffer[Index], FullDataSize); 125 return TypeLoc(T, Mem);
|
CodeCompleteConsumer.cpp | 260 char *Mem = (char *)Allocate(Ref.size() + 1, 1); 261 std::copy(Ref.begin(), Ref.end(), Mem); 262 Mem[Ref.size()] = 0; 263 return Mem; 329 void *Mem = getAllocator().Allocate( 334 = new (Mem) CodeCompletionString(Chunks.data(), Chunks.size(),
|
SemaCXXScopeSpec.cpp | [all...] |
/external/llvm/unittests/Bitcode/ |
BitReaderTest.cpp | 55 SmallString<1024> &Mem, 57 writeModuleToBuffer(parseAssembly(Assembly), Mem); 59 MemoryBuffer::getMemBuffer(Mem.str(), "test", false); 83 getStreamedModuleFromAssembly(LLVMContext &Context, SmallString<1024> &Mem, 85 writeModuleToBuffer(parseAssembly(Assembly), Mem); 87 MemoryBuffer::getMemBuffer(Mem.str(), "test", false); 130 SmallString<1024> Mem; 134 Context, Mem, "@table = constant i8* blockaddress(@func, %bb)\n" 145 SmallString<1024> Mem; 148 Context, Mem, "define void @f() {\n [all...] |
/external/compiler-rt/lib/profile/ |
InstrProfilingValue.c | 70 ValueProfNode **Mem = 72 if (!Mem) 74 if (!COMPILER_RT_BOOL_CMPXCHG(&Data->Values, 0, Mem)) { 75 free(Mem);
|
/external/pdfium/third_party/lcms2-2.6/src/ |
cmsmd5.c | 264 cmsUInt8Number* Mem = NULL; 285 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded); 286 if (Mem == NULL) goto Error; 289 if (!cmsSaveProfileToMem(hProfile, Mem, &BytesNeeded)) goto Error; 296 MD5add(MD5, Mem, BytesNeeded); 299 _cmsFree(ContextID, Mem); 312 if (Mem != NULL) _cmsFree(ContextID, Mem); 320 cmsUInt8Number* Mem; 325 Mem = (cmsUInt8Number*)_cmsMalloc(NULL,size) [all...] |
/external/valgrind/none/tests/amd64/ |
redundantRexW.c | 24 Mem; 50 void pp_Mem ( char* who, Mem* mem ) { 55 pp_UWord128( &mem->dqw[i] ); 72 void xor_Mem ( Mem* src, Mem* dst ) { 78 void setup_regs_mem ( XMMRegs* regs, Mem* mem ) { 87 mem->dqw[i].b[j] = 0x52 + (ctr++ % 13); 91 void before_test ( XMMRegs* regs, Mem* mem ) 170 Mem* mem; local [all...] |
/external/llvm/lib/Support/ |
MemoryBuffer.cpp | 76 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); 77 CopyStringRef(Mem + N, NameRef); 78 return Mem; 140 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); 141 if (!Mem) 145 CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef); 148 char *Buf = Mem + AlignedStringLen; 151 auto *Ret = new (Mem) MemoryBufferMem(StringRef(Buf, Size), true);
|
/external/llvm/unittests/CodeGen/ |
DIEHashTest.cpp | 183 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); 184 DIEString MemStr = getString("mem"); 185 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); 187 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRef); 190 Foo.addChild(std::move(Mem)); 197 // struct foo { foo *mem; }; 205 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); 206 DIEString MemStr = getString("mem"); 207 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); 209 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1 [all...] |
/external/clang/include/clang/Basic/ |
IdentifierTable.h | 475 void *Mem = getAllocator().Allocate<IdentifierInfo>(); 476 II = new (Mem) IdentifierInfo(); 506 void *Mem = getAllocator().Allocate<IdentifierInfo>(); 507 II = new (Mem) IdentifierInfo();
|