Home | History | Annotate | Download | only in Frontend

Lines Matching refs:ByrefType

5166   std::string ByrefType;
5167 RewriteByRefString(ByrefType, Name, ND, true);
5168 ByrefType += " {\n";
5169 ByrefType += " void *__isa;\n";
5170 RewriteByRefString(ByrefType, Name, ND);
5171 ByrefType += " *__forwarding;\n";
5172 ByrefType += " int __flags;\n";
5173 ByrefType += " int __size;\n";
5179 ByrefType += " void (*__Block_byref_id_object_copy)(void*, void*);\n";
5180 ByrefType += " void (*__Block_byref_id_object_dispose)(void*);\n";
5187 ByrefType += " " + Name + ";\n";
5188 ByrefType += "};\n";
5197 InsertText(FunLocStart, ByrefType);
5233 ByrefType.clear();
5234 RewriteByRefString(ByrefType, Name, ND);
5236 ForwardingCastType += ByrefType + " *)";
5237 ByrefType += " " + Name + " = {(void*)";
5238 ByrefType += utostr(isa);
5239 ByrefType += "," + ForwardingCastType + "&" + Name + ", ";
5240 ByrefType += utostr(flags);
5241 ByrefType += ", ";
5242 ByrefType += "sizeof(";
5243 RewriteByRefString(ByrefType, Name, ND);
5244 ByrefType += ")";
5246 ByrefType += ", __Block_byref_id_object_copy_";
5247 ByrefType += utostr(flag);
5248 ByrefType += ", __Block_byref_id_object_dispose_";
5249 ByrefType += utostr(flag);
5267 ByrefType += "};\n";
5273 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5276 ByrefType += ", ";
5285 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);