/external/llvm/lib/Support/ |
Allocator.cpp | 33 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should 36 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) { 41 return (char*)(((uintptr_t)Ptr + Alignment - 1) & 102 char *Ptr = AlignPtr(CurPtr, Alignment); 105 if (Ptr + Size <= End) { 106 CurPtr = Ptr + Size; 110 __msan_allocated_memory(Ptr, Size); 111 return Ptr; 124 Ptr = AlignPtr((char*)(NewSlab + 1), Alignment); 125 assert((uintptr_t)Ptr + Size <= (uintptr_t)NewSlab + NewSlab->Size) [all...] |
raw_ostream.cpp | 289 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) { 294 write_impl(Ptr, Size); 299 return write(Ptr, Size); 309 write_impl(Ptr, BytesToWrite); 313 return write(Ptr + BytesToWrite, BytesRemaining); 315 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); 321 copy_to_buffer(Ptr, NumBytes); 323 return write(Ptr + NumBytes, Size - NumBytes); 326 copy_to_buffer(Ptr, Size); 331 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) [all...] |
/external/clang/lib/Sema/ |
IdentifierResolver.cpp | 146 void *Ptr = Name.getFETokenInfo<void>(); 148 if (!Ptr) { 155 if (isDeclPtr(Ptr)) { 158 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); 161 IDI = toIdDeclInfo(Ptr); 171 void *Ptr = Name.getFETokenInfo<void>(); 173 if (!Ptr) { 178 if (isDeclPtr(Ptr)) { 183 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); 197 IdDeclInfo *IDI = toIdDeclInfo(Ptr); [all...] |
/external/llvm/include/llvm/ADT/ |
SmallPtrSet.h | 100 bool insert_imp(const void * Ptr); 106 bool erase_imp(const void * Ptr); 108 bool count_imp(const void * Ptr) const { 113 if (*APtr == Ptr) 119 return *FindBucketFor(Ptr) == Ptr; 125 const void * const *FindBucketFor(const void *Ptr) const; 253 bool insert(PtrType Ptr) { 254 return insert_imp(PtrTraits::getAsVoidPointer(Ptr)); 259 bool erase(PtrType Ptr) { [all...] |
StringMap.h | 198 char *Ptr = reinterpret_cast<char*>(&V) - 201 return *reinterpret_cast<StringMapEntry*>(Ptr); 210 char *Ptr = const_cast<char*>(KeyData) - sizeof(StringMapEntry<ValueTy>); 211 return *reinterpret_cast<StringMapEntry*>(Ptr); 416 StringMapEntryBase **Ptr; 420 StringMapConstIterator() : Ptr(0) { } 424 : Ptr(Bucket) { 429 return *static_cast<StringMapEntry<ValueTy>*>(*Ptr); 432 return static_cast<StringMapEntry<ValueTy>*>(*Ptr); 436 return Ptr == RHS.Ptr [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
armCOMM.h | 74 #define armAlignToBytes(Ptr,N) (Ptr + ( ((N-(int)Ptr)&(N-1)) / sizeof(*Ptr) )) 75 #define armAlignTo2Bytes(Ptr) armAlignToBytes(Ptr,2) 76 #define armAlignTo4Bytes(Ptr) armAlignToBytes(Ptr,4) 77 #define armAlignTo8Bytes(Ptr) armAlignToBytes(Ptr,8 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
armCOMM.h | 74 #define armAlignToBytes(Ptr,N) (Ptr + ( ((N-(int)Ptr)&(N-1)) / sizeof(*Ptr) )) 75 #define armAlignTo2Bytes(Ptr) armAlignToBytes(Ptr,2) 76 #define armAlignTo4Bytes(Ptr) armAlignToBytes(Ptr,4) 77 #define armAlignTo8Bytes(Ptr) armAlignToBytes(Ptr,8 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/ |
armCOMM.h | 74 #define armAlignToBytes(Ptr,N) (Ptr + ( ((N-(int)Ptr)&(N-1)) / sizeof(*Ptr) )) 75 #define armAlignTo2Bytes(Ptr) armAlignToBytes(Ptr,2) 76 #define armAlignTo4Bytes(Ptr) armAlignToBytes(Ptr,4) 77 #define armAlignTo8Bytes(Ptr) armAlignToBytes(Ptr,8 [all...] |
/external/sfntly/cpp/src/sample/subtly/ |
merger.cc | 45 Ptr<FontInfo> merged_info; 53 Ptr<FontAssembler> font_assembler = new FontAssembler(merged_info); 58 Ptr<FontInfo> font_info = new FontInfo; 62 Ptr<FontSourcedInfoBuilder> info_builder = 64 Ptr<FontInfo> current_font_info;
|
font_info.h | 34 typedef std::map<FontId, sfntly::Ptr<sfntly::Font> > FontIdMap; 119 sfntly::Ptr<sfntly::Font> font_; 123 sfntly::Ptr<sfntly::CMapTable::CMap> cmap_; 124 sfntly::Ptr<sfntly::LocaTable> loca_table_; 125 sfntly::Ptr<sfntly::GlyphTable> glyph_table_;
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglContext.cpp | 26 return surface.Ptr() == m_read.Ptr() || surface.Ptr() == m_draw.Ptr(); 40 m_shareGroup = shared_context.Ptr()?
|
/external/clang/include/clang/Lex/ |
Lexer.h | 429 static inline char getCharAndSizeNoWarn(const char *Ptr, unsigned &Size, 433 if (isObviouslySimpleCharacter(Ptr[0])) { 435 return *Ptr; 439 return getCharAndSizeSlowNoWarn(Ptr, Size, LangOpts); 505 inline char getAndAdvanceChar(const char *&Ptr, Token &Tok) { 508 if (isObviouslySimpleCharacter(Ptr[0])) return *Ptr++; 511 char C = getCharAndSizeSlow(Ptr, Size, &Tok); 512 Ptr += Size; 520 const char *ConsumeChar(const char *Ptr, unsigned Size, Token &Tok) [all...] |
/external/llvm/lib/IR/ |
IRBuilder.cpp | 42 Value *IRBuilderBase::getCastedInt8PtrValue(Value *Ptr) { 43 PointerType *PT = cast<PointerType>(Ptr->getType()); 45 return Ptr; 49 BitCastInst *BCI = new BitCastInst(Ptr, PT, ""); 64 CreateMemSet(Value *Ptr, Value *Val, Value *Size, unsigned Align, 66 Ptr = getCastedInt8PtrValue(Ptr); 67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) }; 68 Type *Tys[] = { Ptr->getType(), Size->getType() }; 125 CallInst *IRBuilderBase::CreateLifetimeStart(Value *Ptr, ConstantInt *Size) [all...] |
/external/clang/include/clang/AST/ |
DeclFriend.h | 173 FriendDecl *Ptr; 176 explicit friend_iterator(FriendDecl *Ptr) : Ptr(Ptr) {} 186 reference operator*() const { return Ptr; } 189 assert(Ptr && "attempt to increment past end of friend list"); 190 Ptr = Ptr->getNextFriend(); 201 return Ptr == Other.Ptr; [all...] |
/external/clang/test/FixIt/ |
fixit-vexing-parse.cpp | 90 typedef void *Ptr; 93 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 97 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/ |
difference_type.pass.cpp | 52 typedef std::unique_ptr<int, do_nothing> Ptr; 53 Ptr p[5]; 56 test(p, 3, Ptr(i+3));
|
/external/clang/test/CXX/temp/temp.param/ |
p4.cpp | 11 template<int *Ptr> struct A5; 20 template<void *Ptr> struct A12;
|
/external/sfntly/cpp/src/sfntly/port/ |
refcount.h | 23 // IUnknown (but no QueryInterface). Use a Ptr<> based smart pointer to hold 29 // Ptr<Foo> obj = new Foo(); // ref count = 1 33 // typedef Ptr<Foo> FooPtr; // common short-hand notation 177 class Ptr { 179 Ptr() : p_(NULL) { 184 Ptr(T* pT) : p_(NULL) { 188 Ptr(const Ptr<T>& p) : p_(NULL) { 192 ~Ptr() { 212 T* operator=(const Ptr<T>& p) [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
generic_table_builder.cc | 27 Ptr<GenericTable> table = new GenericTable(header(), InternalReadData()); 34 Ptr<GenericTableBuilder> builder =
|
table.h | 61 Ptr<Header> header_; 95 Ptr<Header> header_; 96 Ptr<Font> font_; 106 typedef Ptr<Table> TablePtr; 108 typedef Ptr<Table::Builder> TableBuilderPtr;
|
/external/clang/test/CodeGenCXX/ |
arm-cc.cpp | 4 const char *Ptr;
|
/external/llvm/include/llvm/Analysis/ |
Loads.h | 34 /// the memory address *Ptr locally available within a small number of 39 /// find something that invalidates *Ptr or provides it, ScanFrom would be 49 Value *FindAvailableLoadedValue(Value *Ptr, BasicBlock *ScanBB,
|
/external/llvm/include/llvm/Support/ |
raw_os_ostream.h | 29 virtual void write_impl(const char *Ptr, size_t Size) LLVM_OVERRIDE;
|
Allocator.h | 46 void Deallocate(const void *Ptr) { free(const_cast<void*>(Ptr)); } 123 /// AlignPtr - Align Ptr to Alignment bytes, rounding up. Alignment should 126 static char *AlignPtr(char *Ptr, size_t Alignment); 175 void Deallocate(const void * /*Ptr*/) {} 208 for (char *Ptr = (char*)(Slab+1); Ptr < End; Ptr += sizeof(T)) { 209 Ptr = Allocator.AlignPtr(Ptr, alignOf<T>()) [all...] |
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
table_subsetter.h | 34 typedef Ptr<TableSubsetter> TableSubsetterPtr;
|