Lines Matching refs:variable
95 struct objc_ivar * variable = class_getInstanceVariable (object->class_pointer, name);
97 if (variable != NULL && returnValue != NULL)
99 char *location = (char *)object + variable->ivar_offset;
104 return variable;
115 struct objc_ivar * variable = class_getInstanceVariable (object->class_pointer, name);
117 if (variable != NULL)
119 char *location = (char *)object + variable->ivar_offset;
124 return variable;
128 id object_getIvar (id object, struct objc_ivar * variable)
130 if (object == nil || variable == NULL)
134 char *location = (char *)object + variable->ivar_offset;
140 void object_setIvar (id object, struct objc_ivar * variable, id value)
142 if (object == nil || variable == NULL)
146 char *location = (char *)object + variable->ivar_offset;
152 const char * ivar_getName (struct objc_ivar * variable)
154 if (variable == NULL)
157 return variable->ivar_name;
160 ptrdiff_t ivar_getOffset (struct objc_ivar * variable)
162 if (variable == NULL)
165 return (ptrdiff_t)(variable->ivar_offset);
168 const char * ivar_getTypeEncoding (struct objc_ivar * variable)
170 if (variable == NULL)
173 return variable->ivar_type;
227 /* Check if the class has an instance variable with that name
249 /* Good. Create space for the new instance variable. */
282 /* The new instance variable is placed at the end of the existing