Lines Matching refs:Constructor
3391 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
3397 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
3398 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
3399 Constructor += " *desc"; in SynthesizeBlockImpl()
3420 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
3427 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3443 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3448 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
3455 Constructor += " : "; in SynthesizeBlockImpl()
3459 Constructor += ", "; in SynthesizeBlockImpl()
3461 Constructor += Name + "((struct __block_impl *)_" + Name + ")"; in SynthesizeBlockImpl()
3463 Constructor += Name + "(_" + Name + ")"; in SynthesizeBlockImpl()
3470 Constructor += " : "; in SynthesizeBlockImpl()
3474 Constructor += ", "; in SynthesizeBlockImpl()
3475 Constructor += Name + "(_" + Name + "->__forwarding)"; in SynthesizeBlockImpl()
3478 Constructor += " {\n"; in SynthesizeBlockImpl()
3480 Constructor += " impl.isa = &_NSConcreteGlobalBlock;\n"; in SynthesizeBlockImpl()
3482 Constructor += " impl.isa = &_NSConcreteStackBlock;\n"; in SynthesizeBlockImpl()
3483 Constructor += " impl.Flags = flags;\n impl.FuncPtr = fp;\n"; in SynthesizeBlockImpl()
3485 Constructor += " Desc = desc;\n"; in SynthesizeBlockImpl()
3488 Constructor += ", int flags=0) {\n"; in SynthesizeBlockImpl()
3490 Constructor += " impl.isa = &_NSConcreteGlobalBlock;\n"; in SynthesizeBlockImpl()
3492 Constructor += " impl.isa = &_NSConcreteStackBlock;\n"; in SynthesizeBlockImpl()
3493 Constructor += " impl.Flags = flags;\n impl.FuncPtr = fp;\n"; in SynthesizeBlockImpl()
3494 Constructor += " Desc = desc;\n"; in SynthesizeBlockImpl()
3496 Constructor += " "; in SynthesizeBlockImpl()
3497 Constructor += "}\n"; in SynthesizeBlockImpl()
3498 S += Constructor; in SynthesizeBlockImpl()