Home
last modified time | relevance | path

Searched refs:trace_ (Results 1 – 2 of 2) sorted by relevance

/thrift-3.4.0/lib/d/test/
Dthrift_test_server.d57 trace_ = trace; in this()
61 if (trace_) writeln("testVoid()"); in testVoid()
65 if (trace_) writefln("testString(\"%s\")", thing); in testString()
70 if (trace_) writefln("testByte(%s)", thing); in testByte()
75 if (trace_) writefln("testI32(%s)", thing); in testI32()
80 if (trace_) writefln("testI64(%s)", thing); in testI64()
85 if (trace_) writefln("testDouble(%s)", thing); in testDouble()
90 if (trace_) writefln("testBinary(\"%s\")", thing); in testBinary()
95 if (trace_) writefln("testBool(\"%s\")", thing); in testBool()
100 if (trace_) writefln("testStruct({\"%s\", %s, %s, %s})", in testStruct()
[all …]
Dasync_test.d168 trace_ = trace; in this()
172 if (trace_) writefln(`echo("%s")`, value); in echo()
177 if (trace_) writef(`delayedEcho("%s", %s ms)... `, value, milliseconds); in delayedEcho()
179 if (trace_) writeln("returning."); in delayedEcho()
185 if (trace_) writefln(`fail("%s")`, reason); in fail()
192 if (trace_) writef(`delayedFail("%s", %s ms)... `, reason, milliseconds); in delayedFail()
194 if (trace_) writeln("returning."); in delayedFail()
202 bool trace_;
232 trace_ = trace; in ServerThread()
248 auto processor = new TServiceProcessor!AsyncTest(new AsyncTestHandler(trace_)); in ServerThread()
[all …]