Lines Matching refs:Constructor
4180 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
4186 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
4187 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
4188 Constructor += " *desc"; in SynthesizeBlockImpl()
4209 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
4216 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4232 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
4237 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
4244 Constructor += " : "; in SynthesizeBlockImpl()
4248 Constructor += ", "; in SynthesizeBlockImpl()
4250 Constructor += Name + "((struct __block_impl *)_" + Name + ")"; in SynthesizeBlockImpl()
4252 Constructor += Name + "(_" + Name + ")"; in SynthesizeBlockImpl()
4259 Constructor += " : "; in SynthesizeBlockImpl()
4263 Constructor += ", "; in SynthesizeBlockImpl()
4264 Constructor += Name + "(_" + Name + "->__forwarding)"; in SynthesizeBlockImpl()
4267 Constructor += " {\n"; in SynthesizeBlockImpl()
4269 Constructor += " impl.isa = &_NSConcreteGlobalBlock;\n"; in SynthesizeBlockImpl()
4271 Constructor += " impl.isa = &_NSConcreteStackBlock;\n"; in SynthesizeBlockImpl()
4272 Constructor += " impl.Flags = flags;\n impl.FuncPtr = fp;\n"; in SynthesizeBlockImpl()
4274 Constructor += " Desc = desc;\n"; in SynthesizeBlockImpl()
4277 Constructor += ", int flags=0) {\n"; in SynthesizeBlockImpl()
4279 Constructor += " impl.isa = &_NSConcreteGlobalBlock;\n"; in SynthesizeBlockImpl()
4281 Constructor += " impl.isa = &_NSConcreteStackBlock;\n"; in SynthesizeBlockImpl()
4282 Constructor += " impl.Flags = flags;\n impl.FuncPtr = fp;\n"; in SynthesizeBlockImpl()
4283 Constructor += " Desc = desc;\n"; in SynthesizeBlockImpl()
4285 Constructor += " "; in SynthesizeBlockImpl()
4286 Constructor += "}\n"; in SynthesizeBlockImpl()
4287 S += Constructor; in SynthesizeBlockImpl()