Lines Matching refs:index
102 int index = adr_lookup_attr_index(o, name);
103 return (index == -1 ? NULL : o->ao_attributes[index]);
107 adr_get_attr(adr_object_t *o, int index)
109 return (index >= 0 && index < o->ao_nattributes ?
110 o->ao_attributes[index] : NULL);
127 int index = adr_lookup_method_index(o, name);
128 return (index == -1 ? NULL : o->ao_methods[index]);
132 adr_get_method(adr_object_t *o, int index)
134 return (index >= 0 && index < o->ao_nmethods ?
135 o->ao_methods[index] : NULL);
152 int index = adr_lookup_event_index(o, name);
153 return (index == -1 ? NULL : &o->ao_events[index]);
157 adr_get_event(adr_object_t *o, int index)
159 return (index >= 0 && index < o->ao_nmethods ?
160 &o->ao_events[index] : NULL);