Home
last modified time | relevance | path

Searched refs:Mem (Results 1 – 25 of 96) sorted by relevance

1234

/external/chromium_org/third_party/sqlite/src/src/
DvdbeInt.h113 Mem *aMem; /* Array of memory cells for parent frame */
125 #define VdbeFrameMem(p) ((Mem *)&((u8 *)p)[ROUND8(sizeof(VdbeFrame))])
137 struct Mem { struct
153 Mem *pScopyFrom; /* This Mem is a shallow copy of pScopyFrom */ argument
247 Mem s; /* The return value is stored here */
248 Mem *pMem; /* Memory cell used to store aggregate context */
271 Mem *aMem; /* The memory locations */
272 Mem **apArg; /* Arguments to currently executing user function */
273 Mem *aColName; /* Column names to return */
274 Mem *pResultSet; /* Pointer to an array of results */
[all …]
Dvdbemem.c40 int sqlite3VdbeChangeEncoding(Mem *pMem, int desiredEnc){ in sqlite3VdbeChangeEncoding()
77 int sqlite3VdbeMemGrow(Mem *pMem, int n, int preserve){ in sqlite3VdbeMemGrow()
122 int sqlite3VdbeMemMakeWriteable(Mem *pMem){ in sqlite3VdbeMemMakeWriteable()
148 int sqlite3VdbeMemExpandBlob(Mem *pMem){ in sqlite3VdbeMemExpandBlob()
176 int sqlite3VdbeMemNulTerminate(Mem *pMem){ in sqlite3VdbeMemNulTerminate()
203 int sqlite3VdbeMemStringify(Mem *pMem, int enc){ in sqlite3VdbeMemStringify()
247 int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc){ in sqlite3VdbeMemFinalize()
272 void sqlite3VdbeMemReleaseExternal(Mem *p){ in sqlite3VdbeMemReleaseExternal()
300 void sqlite3VdbeMemRelease(Mem *p){ in sqlite3VdbeMemRelease()
360 i64 sqlite3VdbeIntValue(Mem *pMem){ in sqlite3VdbeIntValue()
[all …]
Dvdbeapi.c141 Mem *p = (Mem*)pVal; in sqlite3_value_blob()
158 return sqlite3VdbeRealValue((Mem*)pVal); in sqlite3_value_double()
161 return (int)sqlite3VdbeIntValue((Mem*)pVal); in sqlite3_value_int()
164 return sqlite3VdbeIntValue((Mem*)pVal); in sqlite3_value_int64()
561 Mem *pMem; in sqlite3_aggregate_context()
683 static Mem *columnMem(sqlite3_stmt *pStmt, int i){ in columnMem()
685 Mem *pOut; in columnMem()
703 static const Mem nullMem in columnMem()
717 pOut = (Mem*)&nullMem; in columnMem()
799 Mem *pOut = columnMem(pStmt, i); in sqlite3_column_value()
[all …]
Dvdbe.h34 typedef struct Mem Mem; typedef
59 Mem *pMem; /* Used when p4type is P4_MEM */
/external/llvm/tools/lli/
DRemoteTarget.cpp26 sys::MemoryBlock Mem = sys::Memory::AllocateRWX(Size, Prev, &ErrorMsg); in allocateSpace() local
27 if (Mem.base() == NULL) in allocateSpace()
29 if ((uintptr_t)Mem.base() % Alignment) { in allocateSpace()
33 Address = reinterpret_cast<uint64_t>(Mem.base()); in allocateSpace()
44 sys::MemoryBlock Mem((void*)Address, Size); in loadCode() local
45 sys::Memory::setExecutable(Mem, &ErrorMsg); in loadCode()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp650 struct MemOp Mem; member
693 return Mem.Disp; in getMemDisp()
697 return Mem.SegReg; in getMemSegReg()
701 return Mem.BaseReg; in getMemBaseReg()
705 return Mem.IndexReg; in getMemIndexReg()
709 return Mem.Scale; in getMemScale()
797 return Kind == Memory && (!Mem.Size || Mem.Size == 8); in isMem8()
800 return Kind == Memory && (!Mem.Size || Mem.Size == 16); in isMem16()
803 return Kind == Memory && (!Mem.Size || Mem.Size == 32); in isMem32()
806 return Kind == Memory && (!Mem.Size || Mem.Size == 64); in isMem64()
[all …]
/external/clang/lib/AST/
DDeclTemplate.cpp64 void *Mem = C.Allocate(Size, Align); in Create() local
65 return new (Mem) TemplateParameterList(TemplateLoc, LAngleLoc, Params, in Create()
236 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FunctionTemplateDecl)); in CreateDeserialized() local
237 return new (Mem) FunctionTemplateDecl(0, SourceLocation(), DeclarationName(), in CreateDeserialized()
317 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ClassTemplateDecl)); in CreateDeserialized() local
318 return new (Mem) ClassTemplateDecl(EmptyShell()); in CreateDeserialized()
483 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(TemplateTypeParmDecl)); in CreateDeserialized() local
484 return new (Mem) TemplateTypeParmDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized()
563 void *Mem = C.Allocate(Size); in Create() local
564 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, in Create()
[all …]
DDeclOpenMP.cpp35 void *Mem = C.Allocate(Size, llvm::alignOf<OMPThreadPrivateDecl>()); in Create() local
36 OMPThreadPrivateDecl *D = new (Mem) OMPThreadPrivateDecl(OMPThreadPrivate, in Create()
48 void *Mem = AllocateDeserializedDecl(C, ID, Size); in CreateDeserialized() local
49 OMPThreadPrivateDecl *D = new (Mem) OMPThreadPrivateDecl(OMPThreadPrivate, in CreateDeserialized()
DDeclFriend.cpp51 void *Mem = C.Allocate(Size); in Create() local
52 FriendDecl *FD = new (Mem) FriendDecl(DC, L, Friend, FriendL, in Create()
62 void *Mem = AllocateDeserializedDecl(C, ID, Size); in CreateDeserialized() local
63 return new (Mem) FriendDecl(EmptyShell(), FriendTypeNumTPLists); in CreateDeserialized()
DDeclGroup.cpp23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment); in Create() local
24 new (Mem) DeclGroup(NumDecls, Decls); in Create()
25 return static_cast<DeclGroup*>(Mem); in Create()
DExprCXX.cpp242 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) + in Create() local
244 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create()
258 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() local
259 UnresolvedLookupExpr *E = new (Mem) UnresolvedLookupExpr(EmptyShell()); in CreateEmpty()
402 void *Mem = C.Allocate(size); in Create() local
403 return new (Mem) DependentScopeDeclRefExpr(C.DependentTy, QualifierLoc, in Create()
414 void *Mem = C.Allocate(size); in CreateEmpty() local
416 = new (Mem) DependentScopeDeclRefExpr(QualType(), NestedNameSpecifierLoc(), in CreateEmpty()
704 void *Mem = C.Allocate(sizeof(CXXDefaultArgExpr) + sizeof(Stmt *)); in Create() local
705 return new (Mem) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param, in Create()
[all …]
DDeclCXX.cpp34 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(AccessSpecDecl)); in CreateDeserialized() local
35 return new (Mem) AccessSpecDecl(EmptyShell()); in CreateDeserialized()
112 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXRecordDecl)); in CreateDeserialized() local
113 CXXRecordDecl *R = new (Mem) CXXRecordDecl(CXXRecord, TTK_Struct, 0, in CreateDeserialized()
1353 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXMethodDecl)); in CreateDeserialized() local
1354 return new (Mem) CXXMethodDecl(CXXMethod, 0, SourceLocation(), in CreateDeserialized()
1565 void *Mem = Context.Allocate(sizeof(CXXCtorInitializer) + in Create() local
1568 return new (Mem) CXXCtorInitializer(Context, Member, MemberLoc, L, Init, R, in Create()
1614 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXConstructorDecl)); in CreateDeserialized() local
1615 return new (Mem) CXXConstructorDecl(0, SourceLocation(),DeclarationNameInfo(), in CreateDeserialized()
[all …]
DStmt.cpp288 void *Mem = C.Allocate(sizeof(AttributedStmt) + in Create() local
291 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
296 void *Mem = C.Allocate(sizeof(AttributedStmt) + in CreateEmpty() local
299 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
742 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in Create() local
743 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create()
752 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in CreateEmpty() local
753 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
769 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() local
770 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); in Create()
[all …]
DDecl.cpp1579 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(VarDecl)); in CreateDeserialized() local
1580 return new (Mem) VarDecl(Var, 0, SourceLocation(), SourceLocation(), 0, in CreateDeserialized()
2047 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ParmVarDecl)); in CreateDeserialized() local
2048 return new (Mem) ParmVarDecl(ParmVar, 0, SourceLocation(), SourceLocation(), in CreateDeserialized()
2980 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FieldDecl)); in CreateDeserialized() local
2981 return new (Mem) FieldDecl(Field, 0, SourceLocation(), SourceLocation(), in CreateDeserialized()
3155 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(EnumDecl)); in CreateDeserialized() local
3156 EnumDecl *Enum = new (Mem) EnumDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized()
3234 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(RecordDecl)); in CreateDeserialized() local
3235 RecordDecl *R = new (Mem) RecordDecl(Record, TTK_Struct, 0, SourceLocation(), in CreateDeserialized()
[all …]
DDeclObjC.cpp575 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCMethodDecl)); in CreateDeserialized() local
576 return new (Mem) ObjCMethodDecl(SourceLocation(), SourceLocation(), in CreateDeserialized()
1067 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCInterfaceDecl)); in CreateDeserialized() local
1068 ObjCInterfaceDecl *Result = new (Mem) ObjCInterfaceDecl(0, SourceLocation(), in CreateDeserialized()
1360 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCIvarDecl)); in CreateDeserialized() local
1361 return new (Mem) ObjCIvarDecl(0, SourceLocation(), SourceLocation(), 0, in CreateDeserialized()
1404 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCAtDefsFieldDecl)); in CreateDeserialized() local
1405 return new (Mem) ObjCAtDefsFieldDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized()
1439 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCProtocolDecl)); in CreateDeserialized() local
1440 ObjCProtocolDecl *Result = new (Mem) ObjCProtocolDecl(0, 0, SourceLocation(), in CreateDeserialized()
[all …]
/external/clang/test/CodeGen/
Dempty-union-init.c4 struct Mem { struct
9 struct Mem *columnMem(){ in columnMem() argument
10 static const struct Mem nullMem = { {} }; in columnMem()
/external/valgrind/main/none/tests/amd64/
DredundantRexW.c24 Mem; typedef
50 void pp_Mem ( char* who, Mem* mem ) { in pp_Mem()
72 void xor_Mem ( Mem* src, Mem* dst ) { in xor_Mem()
78 void setup_regs_mem ( XMMRegs* regs, Mem* mem ) { in setup_regs_mem()
91 void before_test ( XMMRegs* regs, Mem* mem ) { in before_test()
95 void after_test ( char* who, XMMRegs* regs, Mem* mem ) { in after_test()
97 Mem mdiff; in after_test()
170 Mem* mem; in main()
172 mem = memalign16(sizeof(Mem) + 16); in main()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp103 MemOp Mem; member
155 Op->Mem.RegKind = RegKind; in createMem()
156 Op->Mem.Base = Base; in createMem()
157 Op->Mem.Index = Index; in createMem()
158 Op->Mem.Disp = Disp; in createMem()
159 Op->Mem.Length = Length; in createMem()
208 Mem.RegKind == RegKind && in isMem()
209 (MemKind == BDXMem || !Mem.Index) && in isMem()
210 (MemKind == BDLMem) == (Mem.Length != 0)); in isMem()
213 return isMem(RegKind, MemKind) && inRange(Mem.Disp, 0, 0xfff); in isMemDisp12()
[all …]
/external/llvm/lib/Support/
DMemoryBuffer.cpp81 char *Mem = static_cast<char *>(operator new(N + Alloc.Name.size() + 1)); in operator new() local
82 CopyStringRef(Mem + N, Alloc.Name); in operator new()
83 return Mem; in operator new()
138 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local
139 if (!Mem) return 0; in getNewUninitMemBuffer()
142 CopyStringRef(Mem + sizeof(MemoryBufferMem), BufferName); in getNewUninitMemBuffer()
145 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer()
148 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp54 SmallString<1024> Mem; in TEST() local
55 writeModuleToBuffer(Mem); in TEST()
56 MemoryBuffer *Buffer = MemoryBuffer::getMemBuffer(Mem.str(), "test", false); in TEST()
/external/llvm/test/Transforms/GVN/
D2009-01-22-SortInvalidation.ll30 …*, void (%struct.sqlite3_context*, i32, %struct.Mem**)*, void (%struct.sqlite3_context*, i32, %str…
36 …%struct.Mem = type { %struct.CountCtx, double, %struct.sqlite3*, i8*, i32, i16, i8, i8, void (i8*)…
54Mem**, %struct.Mem*, i32, %struct.Cursor**, i32, %struct.Mem*, i8**, i32, i32, i32, %struct.Mem*, …
60 …qlite3*, i32, i8*)*, void (i8*, %struct.sqlite3*, i32, i8*)*, i8*, %struct.Mem*, i8*, i8*, %struct…
62 …%struct.sqlite3_context = type { %struct.FuncDef*, %struct.VdbeFunc*, %struct.Mem, %struct.Mem*, i…
68Mem**)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sq…
/external/llvm/test/CodeGen/X86/
D2009-04-29-RegAllocAssert.ll33 …*, void (%struct.sqlite3_context*, i32, %struct.Mem**)*, void (%struct.sqlite3_context*, i32, %str…
39 …%struct.Mem = type { %struct.CountCtx, double, %struct.sqlite3*, i8*, i32, i16, i8, i8, void (i8*)…
53Mem**, %struct.Mem*, i32, %struct.Cursor**, i32, %struct.Mem*, i8**, i32, i32, i32, %struct.Mem*, …
58 …qlite3*, i32, i8*)*, void (i8*, %struct.sqlite3*, i32, i8*)*, i8*, %struct.Mem*, i8*, i8*, %2, i32…
60 …%struct.sqlite3_context = type { %struct.FuncDef*, %struct.VdbeFunc*, %struct.Mem, %struct.Mem*, i…
66Mem**)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sq…
/external/clang/lib/Sema/
DTypeLocBuilder.h123 void *Mem = Context.Allocate(FullDataSize); in getTypeLocInContext() local
124 memcpy(Mem, &Buffer[Index], FullDataSize); in getTypeLocInContext()
125 return TypeLoc(T, Mem); in getTypeLocInContext()
/external/oprofile/events/x86-64/hammer/
Dunit_masks127 0xa3 Requests Local I/O to Local (I/O or Mem)
132 0xac Requests Local CPU to Local (I/O or Mem)
133 0xaf Requests Local (CPU or I/O) to Local (I/O or Mem)
136 0x93 Requests Local I/O to Remote (I/O or Mem)
141 0x9c Requests Local CPU to Remote (I/O or Mem)
142 0x9f Requests Local (CPU or I/O) to Remote (I/O or Mem)
145 0xb3 Requests Local I/O to Any (I/O or Mem)
150 0xbc Requests Local CPU to Any (I/O or Mem)
151 0xbf Requests Local (CPU or I/O) to Any (I/O or Mem)
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/
Dvectorbuffer.cpp21 Mem::Copy(iSucc, &aNode, sizeof(TNode*)); in Terminator()
52 Mem::Copy(start, aData.Ptr(), aData.Size()); in New()

1234