/external/clang/test/CodeGen/ |
empty-union-init.c | 4 struct Mem { 9 struct Mem *columnMem(){ 10 static const struct Mem nullMem = { {} };
|
/external/chromium_org/third_party/sqlite/src/src/ |
vdbeInt.h | 113 Mem *aMem; /* Array of memory cells for parent frame */ 125 #define VdbeFrameMem(p) ((Mem *)&((u8 *)p)[ROUND8(sizeof(VdbeFrame))]) 133 ** Internally, the vdbe manipulates nearly all SQL values as Mem 134 ** structures. Each Mem struct may cache multiple representations (string, 137 struct Mem { 153 Mem *pScopyFrom; /* This Mem is a shallow copy of pScopyFrom */ 154 void *pFiller; /* So that sizeof(Mem) is a multiple of 8 */ 156 void (*xDel)(void *); /* If not null, call this function to delete Mem.z */ 161 ** representations of the value stored in the Mem struct [all...] |
vdbemem.c | 13 ** This file contains code use to manipulate "Mem" structure. A "Mem" 14 ** stores a single value in the VDBE. Mem is an opaque structure visible 15 ** only within the VDBE. Interface routines refer to a Mem using the 22 ** Call sqlite3VdbeMemExpandBlob() on the supplied value (type Mem*) 40 int sqlite3VdbeChangeEncoding(Mem *pMem, int desiredEnc){ 75 ** not set, Mem.n is zeroed. 77 int sqlite3VdbeMemGrow(Mem *pMem, int n, int preserve){ 115 ** Make the given Mem object MEM_Dyn. In other words, make it so 122 int sqlite3VdbeMemMakeWriteable(Mem *pMem) [all...] |
vdbeapi.c | 137 ** The following routines extract information from a Mem or sqlite3_value 141 Mem *p = (Mem*)pVal; 158 return sqlite3VdbeRealValue((Mem*)pVal); 161 return (int)sqlite3VdbeIntValue((Mem*)pVal); 164 return sqlite3VdbeIntValue((Mem*)pVal); 561 Mem *pMem; 679 ** it is, return a pointer to the Mem for the value of that column. 680 ** If iCol is not valid, return a pointer to a Mem which has a value 683 static Mem *columnMem(sqlite3_stmt *pStmt, int i) [all...] |
vdbe.h | 34 typedef struct Mem Mem; 59 Mem *pMem; /* Used when p4type is P4_MEM */ 110 #define P4_MEM (-8) /* P4 is a pointer to a Mem* structure */ 131 ** The Vdbe.aColName array contains 5n Mem structures, where n is the
|
vdbetrace.c | 75 Mem *pVar; /* Value of a host parameter */ 127 Mem utf8;
|
vdbe.c | 103 static void updateMaxBlobsize(Mem *p){ 155 ** Call sqlite3VdbeMemExpandBlob() on the supplied value (type Mem*) 166 void sqlite3VdbeMemStoreType(Mem *pMem){ 213 Mem *pMem = &p->aMem[p->nMem-iCur]; 250 static void applyNumericAffinity(Mem *pRec){ 286 Mem *pRec, /* The value to apply affinity to */ 316 Mem *pMem = (Mem*)pVal; 326 ** not the internal Mem* type. 333 applyAffinity((Mem *)pVal, affinity, enc) [all...] |
vdbeaux.c | 620 Mem *p = (Mem*)p4; 909 Mem *pMem = pOp->p4.pMem; 1052 ** Release an array of N Mem elements 1054 static void releaseMemArray(Mem *p, int N){ 1056 Mem *pEnd; 1099 Mem *aMem = VdbeFrameMem(p); [all...] |
utf.c | 193 ** If the TRANSLATE_TRACE macro is defined, the value of each Mem is 204 int sqlite3VdbeMemTranslate(Mem *pMem, u8 desiredEnc){ 342 ** the encoding of the Mem adjusted. This routine does not do any 343 ** byte-swapping, it just sets Mem.enc appropriately. 345 ** The allocation (static, dynamic etc.) and encoding of the Mem may be 348 int sqlite3VdbeMemHandleBom(Mem *pMem){ 441 Mem m; 469 Mem m;
|
/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);
|
/external/clang/lib/AST/ |
DeclGroup.cpp | 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment); 24 new (Mem) DeclGroup(NumDecls, Decls); 25 return static_cast<DeclGroup*>(Mem);
|
Stmt.cpp | 289 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * Attrs.size(), 291 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); 297 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * NumAttrs, 299 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); 740 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); 741 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, 750 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); 751 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); 767 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); 768 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers) [all...] |
ExprCXX.cpp | 303 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) + 305 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, 319 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); 320 UnresolvedLookupExpr *E = new (Mem) UnresolvedLookupExpr(EmptyShell()); 464 void *Mem = C.Allocate(size); 465 return new (Mem) DependentScopeDeclRefExpr(C.DependentTy, QualifierLoc, 476 void *Mem = C.Allocate(size); 478 = new (Mem) DependentScopeDeclRefExpr(QualType(), NestedNameSpecifierLoc(), 774 void *Mem = C.Allocate(sizeof(CXXDefaultArgExpr) + sizeof(Stmt *)); 775 return new (Mem) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param, [all...] |
Expr.cpp | 417 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); 418 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, 436 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); 437 return new (Mem) DeclRefExpr(EmptyShell()); 803 void *Mem = C.Allocate(sizeof(StringLiteral)+ 806 StringLiteral *SL = new (Mem) StringLiteral(Ty); 821 void *Mem = C.Allocate(sizeof(StringLiteral)+ 824 StringLiteral *SL = new (Mem) StringLiteral(QualType()); [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86Operand.h | 62 struct MemOp Mem; 105 return Mem.Disp; 109 return Mem.SegReg; 113 return Mem.BaseReg; 117 return Mem.IndexReg; 121 return Mem.Scale; 209 return Kind == Memory && (!Mem.Size || Mem.Size == 8); 212 return Kind == Memory && (!Mem.Size || Mem.Size == 16) [all...] |
/external/llvm/unittests/CodeGen/ |
DIEHashTest.cpp | 164 auto Mem = make_unique<DIE>(dwarf::DW_TAG_member); 165 DIEString MemStr(&One, "mem"); 166 Mem->addValue(dwarf::DW_AT_name, dwarf::DW_FORM_strp, &MemStr); 168 Mem->addValue(dwarf::DW_AT_type, dwarf::DW_FORM_ref4, &FooRef); 171 Foo.addChild(std::move(Mem)); 178 // struct foo { foo *mem; }; 186 auto Mem = make_unique<DIE>(dwarf::DW_TAG_member); 187 DIEString MemStr(&Eight, "mem"); 188 Mem->addValue(dwarf::DW_AT_name, dwarf::DW_FORM_strp, &MemStr); 190 Mem->addValue(dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, &Zero) [all...] |
/external/llvm/unittests/Bitcode/ |
BitReaderTest.cpp | 26 Module* Mod = new Module("test-mem", getGlobalContext()); 54 SmallString<1024> Mem; 55 writeModuleToBuffer(Mem); 56 MemoryBuffer *Buffer = MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
|
/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 | 255 char *Mem = (char *)Allocate(String.size() + 1, 1); 256 std::copy(String.begin(), String.end(), Mem); 257 Mem[String.size()] = 0; 258 return Mem; 332 void *Mem = getAllocator().Allocate( 337 = new (Mem) CodeCompletionString(Chunks.data(), Chunks.size(),
|
/external/llvm/lib/Support/ |
MemoryBuffer.cpp | 73 char *Mem = static_cast<char *>(operator new(N + Alloc.Name.size() + 1)); 74 CopyStringRef(Mem + N, Alloc.Name); 75 return Mem; 131 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); 132 if (!Mem) return nullptr; 135 CopyStringRef(Mem + sizeof(MemoryBufferMem), BufferName); 138 char *Buf = Mem + AlignedStringLen; 141 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true);
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
SystemZAsmParser.cpp | 104 MemOp Mem; 156 Op->Mem.RegKind = RegKind; 157 Op->Mem.Base = Base; 158 Op->Mem.Index = Index; 159 Op->Mem.Disp = Disp; 160 Op->Mem.Length = Length; 209 Mem.RegKind == RegKind && 210 (MemKind == BDXMem || !Mem.Index) && 211 (MemKind == BDLMem) == (Mem.Length != nullptr)); 214 return isMem(RegKind, MemKind) && inRange(Mem.Disp, 0, 0xfff) [all...] |
/external/oprofile/events/x86-64/family11h/ |
unit_masks | 133 0xa3 Requests Local I/O to Local (I/O or Mem) 138 0xac Requests Local CPU to Local (I/O or Mem) 139 0xaf Requests Local (CPU or I/O) to Local (I/O or Mem) 142 0x93 Requests Local I/O to Remote (I/O or Mem) 147 0x9c Requests Local CPU to Remote (I/O or Mem) 148 0x9f Requests Local (CPU or I/O) to Remote (I/O or Mem) 151 0xb3 Requests Local I/O to Any (I/O or Mem) 156 0xbc Requests Local CPU to Any (I/O or Mem) 157 0xbf Requests Local (CPU or I/O) to Any (I/O or Mem)
|
/external/oprofile/events/x86-64/hammer/ |
unit_masks | 127 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/llvm/lib/Target/Sparc/AsmParser/ |
SparcAsmParser.cpp | 176 struct MemOp Mem; 215 return Mem.Base; 220 return Mem.OffsetReg; 225 return Mem.Off; 242 case k_MemoryReg: OS << "Mem: " << getMemBase() << "+" 245 OS << "Mem: " << getMemBase() 356 Op->Mem.Base = Base; 357 Op->Mem.OffsetReg = offsetReg; 358 Op->Mem.Off = nullptr; 365 Op->Mem.Base = Base [all...] |
/external/clang/include/clang/AST/ |
CommentSema.h | 84 T *Mem = Allocator.Allocate<T>(Size); 85 std::uninitialized_copy(Source.begin(), Source.end(), Mem); 86 return llvm::makeArrayRef(Mem, Size);
|