Lines Matching refs:Constructor
3410 std::string Constructor = " " + Tag; in SynthesizeBlockImpl() local
3416 Constructor += "(void *fp, "; // Invoke function pointer. in SynthesizeBlockImpl()
3417 Constructor += "struct " + Desc; // Descriptor pointer. in SynthesizeBlockImpl()
3418 Constructor += " *desc"; in SynthesizeBlockImpl()
3439 Constructor += ", void *" + ArgName; in SynthesizeBlockImpl()
3446 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3462 Constructor += ", " + ArgName; in SynthesizeBlockImpl()
3467 Constructor += ", int flags=0)"; in SynthesizeBlockImpl()
3474 Constructor += " : "; in SynthesizeBlockImpl()
3478 Constructor += ", "; in SynthesizeBlockImpl()
3480 Constructor += Name + "((struct __block_impl *)_" + Name + ")"; in SynthesizeBlockImpl()
3482 Constructor += Name + "(_" + Name + ")"; in SynthesizeBlockImpl()
3489 Constructor += " : "; in SynthesizeBlockImpl()
3493 Constructor += ", "; in SynthesizeBlockImpl()
3494 Constructor += Name + "(_" + Name + "->__forwarding)"; in SynthesizeBlockImpl()
3497 Constructor += " {\n"; in SynthesizeBlockImpl()
3499 Constructor += " impl.isa = &_NSConcreteGlobalBlock;\n"; in SynthesizeBlockImpl()
3501 Constructor += " impl.isa = &_NSConcreteStackBlock;\n"; in SynthesizeBlockImpl()
3502 Constructor += " impl.Flags = flags;\n impl.FuncPtr = fp;\n"; in SynthesizeBlockImpl()
3504 Constructor += " Desc = desc;\n"; in SynthesizeBlockImpl()
3507 Constructor += ", int flags=0) {\n"; in SynthesizeBlockImpl()
3509 Constructor += " impl.isa = &_NSConcreteGlobalBlock;\n"; in SynthesizeBlockImpl()
3511 Constructor += " impl.isa = &_NSConcreteStackBlock;\n"; in SynthesizeBlockImpl()
3512 Constructor += " impl.Flags = flags;\n impl.FuncPtr = fp;\n"; in SynthesizeBlockImpl()
3513 Constructor += " Desc = desc;\n"; in SynthesizeBlockImpl()
3515 Constructor += " "; in SynthesizeBlockImpl()
3516 Constructor += "}\n"; in SynthesizeBlockImpl()
3517 S += Constructor; in SynthesizeBlockImpl()