HomeSort by relevance Sort by last modified time
    Searched defs:getAs (Results 1 - 8 of 8) sorted by null

  /external/clang/include/clang/Sema/
Ownership.h 55 template <typename T> T* getAs() const {
102 // FIXME: Doesn't work? return P.getAs< void >();
  /hardware/ril/mock-ril/src/java/com/android/internal/communication/
Msg.java 302 public static final <T extends MessageMicro> T getAs(Class<T> c, byte[] data) {
330 o = getAs(c, mData.array());
  /external/clang/include/clang/AST/
CanonicalType.h 95 /// The getAs() function is typically used to try to downcast to a
100 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) {
109 template<typename U> CanProxy<U> getAs() const;
239 /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) { ... }
245 template<typename U> CanProxy<U> getAs() const {
246 return this->Stored.template getAs<U>();
327 /// canonical type or as the result of the @c CanQual<T>::getAs member
721 if (CanQual<ReferenceType> RefType = getAs<ReferenceType>())
748 CanProxy<U> CanQual<T>::getAs() const {
Type.h     [all...]
  /external/llvm/utils/yaml2obj/
yaml2obj.cpp 43 getAs(const llvm::yaml::ScalarNode *SN, T &Result) {
152 if (!getAs(Value, Machine)) {
206 if (!getAs(Value, Header.NumberOfSections)) {
211 if (!getAs(Value, Header.TimeDateStamp)) {
216 if (!getAs(Value, Header.PointerToSymbolTable)) {
221 if (!getAs(Value, Header.NumberOfSymbols)) {
226 if (!getAs(Value, Header.SizeOfOptionalHeader)) {
249 if (!getAs(Value, Header.Characteristics)) {
350 if (!getAs(Value, Sec.Header.VirtualSize)) {
355 if (!getAs(Value, Sec.Header.VirtualAddress))
    [all...]
  /external/clang/include/clang/Analysis/
CFG.h 86 template<class ElemTy> const ElemTy *getAs() const {
723 if (const CFGStmt *stmt = BI->getAs<CFGStmt>())
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 171 template<typename RegionTy> const RegionTy* getAs() const;
498 if (T->getAs<ObjCObjectType>())
1070 const RegionTy* MemRegion::getAs() const {
    [all...]
  /external/clang/lib/AST/
Type.cpp 51 ND = ty->getAs<RecordType>()->getDecl();
53 ND = ty->getAs<EnumType>()->getDecl();
55 ND = ty->getAs<TypedefType>()->getDecl();
286 while (const ParenType *PT = T->getAs<ParenType>())
293 template <> const TypedefType *Type::getAs() const {
351 if (const RecordType *RT = getAs<RecordType>())
356 if (const RecordType *RT = getAs<RecordType>())
361 if (const RecordType *RT = getAs<RecordType>())
366 if (const RecordType *RT = getAs<RecordType>())
372 if (const PointerType *PT = getAs<PointerType>()
    [all...]

Completed in 310 milliseconds