Searched refs:OID (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-13-stable/contrib/bsnmp/snmpd/
H A Dsnmpmod.h79 #define NEXT_OBJECT_OID_LINK_INDEX_TYPE(LIST, OID, SUB, LINK, INDEX, TYPE) ({\
83 if (index_compare(OID, SUB, &_lelem->INDEX) < 0) \
88 #define FIND_OBJECT_OID_LINK_INDEX_TYPE(LIST, OID, SUB, LINK, INDEX, TYPE) ({\
92 if (index_compare(OID, SUB, &_lelem->INDEX) == 0) \
99 * The index is an OID.
149 #define FIND_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, INDEX) ({ \
153 if (index_compare(OID, SUB, &_lelem->INDEX) == 0) \
158 #define NEXT_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, INDEX) ({ \
162 if (index_compare(OID, SUB, &_lelem->INDEX) < 0) \
167 #define FIND_OBJECT_INT_LINK_INDEX(LIST, OID, SU
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h79 const ObjCInterfaceDecl *OID,
82 const ObjCImplementationDecl *OID,
86 const ObjCInterfaceDecl *OID,
153 virtual void GenerateClass(const ObjCImplementationDecl *OID) = 0;
183 const ObjCInterfaceDecl *OID,
258 const ObjCInterfaceDecl *OID) = 0;
H A DCGObjCRuntime.cpp31 const ObjCInterfaceDecl *OID,
33 return CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar) /
38 const ObjCImplementationDecl *OID,
40 return CGM.getContext().lookupFieldBitOffset(OID->getClassInterface(), OID,
54 const ObjCInterfaceDecl *OID,
60 QualType InterfaceTy{OID->getTypeForDecl(), 0};
90 CGF.CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar);
30 ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, const ObjCInterfaceDecl *OID, const ObjCIvarDecl *Ivar) argument
37 ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, const ObjCImplementationDecl *OID, const ObjCIvarDecl *Ivar) argument
53 EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, const ObjCInterfaceDecl *OID, llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers, llvm::Value *Offset) argument
H A DCGObjCGNU.cpp594 const ObjCInterfaceDecl *OID) override;
1239 const ObjCInterfaceDecl *OID = nullptr; local
1241 if ((OID = dyn_cast<ObjCInterfaceDecl>(Result)))
1247 assert(OID && "Failed to find ObjCInterfaceDecl");
1248 const ObjCInterfaceDecl *OIDDef = OID->getDefinition();
1250 OID = OIDDef;
1253 if (OID->hasAttr<DLLImportAttr>())
1255 else if (OID->hasAttr<DLLExportAttr>())
1702 void GenerateClass(const ObjCImplementationDecl *OID) override {
1708 const_cast<ObjCInterfaceDecl *>(OID
2303 GetClass(CodeGenFunction &CGF, const ObjCInterfaceDecl *OID) argument
3396 GenerateClass(const ObjCImplementationDecl *OID) argument
4063 FindIvarInterface(ASTContext &Context, const ObjCInterfaceDecl *OID, const ObjCIvarDecl *OIVD) argument
[all...]
H A DCGObjCMac.cpp1553 void GetClassSizeInfo(const ObjCImplementationDecl *OID,
1852 const ObjCInterfaceDecl *OID) {
1853 if (OID->hasAttr<ObjCExceptionAttr>())
1855 if (const ObjCInterfaceDecl *Super = OID->getSuperClass())
3284 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD))
3285 for (const ObjCCategoryDecl *ClassExt : OID->known_extensions())
3307 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) {
3308 for (const auto *P : OID->all_referenced_protocols())
3822 const ObjCInterfaceDecl *OID = ID->getClassInterface(); local
3829 for (const ObjCIvarDecl *IVD = OID
1851 hasObjCExceptionAttribute(ASTContext &Context, const ObjCInterfaceDecl *OID) argument
4096 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(CD); local
6419 const ObjCInterfaceDecl *OID = ID->getClassInterface(); local
6499 GetClassSizeInfo(const ObjCImplementationDecl *OID, uint32_t &InstanceStart, uint32_t &InstanceSize) argument
6977 const ObjCInterfaceDecl *OID = ID->getClassInterface(); local
[all...]
H A DCGObjC.cpp437 const ObjCInterfaceDecl *OID, const ObjCMethodDecl *Method,
444 return GenerateMessageSend(CGF, Return, ResultType, Sel, Receiver, Args, OID,
537 ObjCInterfaceDecl *OID = nullptr; local
556 OID = ReceiverType->castAs<ObjCObjectType>()->getInterface();
557 assert(OID && "Invalid Objective-C class message send");
558 Receiver = Runtime.GetClass(*this, OID);
626 *this, Return, ResultType, E->getSelector(), Receiver, Args, OID,
434 GeneratePossiblySpecializedMessageSend( CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, Selector Sel, llvm::Value *Receiver, const CallArgList &Args, const ObjCInterfaceDecl *OID, const ObjCMethodDecl *Method, bool isClassMessage) argument
H A DCGDebugInfo.cpp290 if (const auto *OID = dyn_cast<ObjCImplementationDecl>(DC)) {
291 OS << OID->getName();
292 } else if (const auto *OID = dyn_cast<ObjCInterfaceDecl>(DC)) {
293 OS << OID->getName();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp1269 void DeclPrinter::VisitObjCImplementationDecl(ObjCImplementationDecl *OID) { argument
1270 std::string I = OID->getNameAsString();
1271 ObjCInterfaceDecl *SID = OID->getSuperClass();
1279 if (OID->ivar_size() > 0) {
1283 for (const auto *I : OID->ivars()) {
1290 else if (SID || (OID->decls_begin() != OID->decls_end())) {
1294 VisitDeclContext(OID, false);
1300 void DeclPrinter::VisitObjCInterfaceDecl(ObjCInterfaceDecl *OID) { argument
1301 std::string I = OID
[all...]
H A DMangle.cpp391 if (const auto *OID = dyn_cast<ObjCInterfaceDecl>(OCD))
392 ClassName = OID->getObjCRuntimeNameAsString();
393 else if (const auto *OID = dyn_cast<ObjCImplementationDecl>(OCD))
394 ClassName = OID->getObjCRuntimeNameAsString();
H A DDeclObjC.cpp272 const auto *OID = cast<ObjCInterfaceDecl>(this); local
274 for (const auto *Cat : OID->visible_categories()) {
282 for (const auto *I : OID->all_referenced_protocols())
288 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass())
1091 const ObjCInterfaceDecl *OID,
1100 if (OID) {
1101 selfTy = Context.getObjCInterfaceType(OID);
1136 const ObjCInterfaceDecl *OID) {
1139 getSelfType(Context, OID, selfIsPseudoStrong, selfIsConsumed);
1090 getSelfType(ASTContext &Context, const ObjCInterfaceDecl *OID, bool &selfIsPseudoStrong, bool &selfIsConsumed) const argument
1135 createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *OID) argument
H A DDeclBase.cpp1242 if (auto *OID = dyn_cast<ObjCInterfaceDecl>(this))
1243 if (auto *Def = OID->getDefinition())
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp594 if (const auto *OID = dyn_cast<ObjCImplementationDecl>(DC)) {
595 OS << OID->getName();
596 } else if (const auto *OID = dyn_cast<ObjCInterfaceDecl>(DC)) {
597 OS << OID->getName();
/freebsd-13-stable/crypto/heimdal/lib/asn1/
H A Dasn1parse.c2159 lex_error_message("Non-OID used in ENCODED BY constraint");
2170 lex_error_message("Non-OID used in ENCODED BY constraint");
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp144 const ObjCInterfaceDecl *OID = ObjTy->getInterface(); local
148 if (OID->getName() == "NSMapTable" ||
149 OID->getName() == "NSLocale")
150 return OID;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp850 const ObjCInterfaceDecl *OID = D->getClassInterface(); local
851 if (dyn_cast<ObjCInterfaceDecl>(D->getParent()) != OID)
852 for (auto *Ext : OID->known_extensions()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp939 ObjCIvarDecl *OID = PID->getPropertyIvarDecl(); local
940 assert(IMD && OID && "Synthesized ivars must be attached to @implementation");
955 RewriteObjCMethodDecl(OID->getContainingInterface(),
961 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1)
991 RewriteIvarOffsetComputation(OID, Getr);
995 Getr += "return " + getIvarAccessString(OID);
1015 RewriteObjCMethodDecl(OID->getContainingInterface(),
1022 RewriteIvarOffsetComputation(OID, Setr);
1036 Setr += getIvarAccessString(OID) + " = ";
1332 void RewriteModernObjC::RewriteImplementationDecl(Decl *OID) { argument
6996 hasObjCExceptionAttribute(ASTContext &Context, const ObjCInterfaceDecl *OID) argument
[all...]
H A DRewriteObjC.cpp756 static std::string getIvarAccessString(ObjCIvarDecl *OID) { argument
757 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface();
762 S += OID->getName();
785 ObjCIvarDecl *OID = PID->getPropertyIvarDecl(); local
787 if (!OID)
803 RewriteObjCMethodDecl(OID->getContainingInterface(),
809 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1)
839 RewriteIvarOffsetComputation(OID, Getr);
843 Getr += "return " + getIvarAccessString(OID);
863 RewriteObjCMethodDecl(OID
1166 RewriteImplementationDecl(Decl *OID) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp447 if (ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(ContDeclOfMethodDecl))
448 ImplDeclOfMethodDecl = OID->getImplementation();
451 if (ObjCInterfaceDecl *OID = CD->getClassInterface())
452 ImplDeclOfMethodDecl = OID->getImplementation();
3922 if (auto *OID = dyn_cast<ObjCImplementationDecl>(CurContext)) {
3923 for (auto PropImpl : OID->property_impls()) {
3926 OID->makeDeclVisibleInContext(Getter);
3927 OID->addDecl(Getter);
3931 OID->makeDeclVisibleInContext(Setter);
3932 OID
[all...]
/freebsd-13-stable/sys/dev/aic7xxx/
H A Daic7xxx_pci.c872 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID;
874 our_id = ahc_inb(ahc, SCSIID) & OID;
H A Daic79xx.h86 ((scsiid) & OID)
H A Daic7xxx.h84 ((scsiid) & OID)
H A Daic7xxx.c2193 our_id = ahc_inb(ahc, TARGIDIN) & OID;
2195 our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID;
2197 our_id = ahc_inb(ahc, SCSIID) & OID;
7660 * for selection enables, ensure that OID
7668 scsiid_mask = 0x1 << (scsiid & OID);
H A Daic7xxx_reg.h1647 #define OID 0x0f macro
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2249 uint64_t lookupFieldBitOffset(const ObjCInterfaceDecl *OID,
H A DDeclObjC.h413 QualType getSelfType(ASTContext &Context, const ObjCInterfaceDecl *OID,

Completed in 426 milliseconds

12