Searched refs:tb (Results 1 – 8 of 8) sorted by relevance
/thrift-3.4.0/lib/go/thrift/ |
D | socket_conn_test.go | 32 func serverSocketConn(tb testing.TB, f serverSocketConnCallback) (net.Listener, error) { 33 tb.Helper() 47 go f(tb, sc) 53 func writeFully(tb testing.TB, w io.Writer, s string) bool { 54 tb.Helper() 58 tb.Errorf("Failed to write %q: %v", s, err) 62 tb.Errorf("Only wrote %d out of %q", n, s) 77 func(tb testing.TB, sc *socketConn) { 80 if !writeFully(tb, sc, first) { 84 writeFully(tb, sc, second)
|
D | logger.go | 58 func TestLogger(tb testing.TB) Logger { 60 tb.Errorf("logger called with msg: %q", msg)
|
D | socket_unix_conn_test.go | 40 func(tb testing.TB, sc *socketConn) { 44 if !writeFully(tb, sc, first) { 48 writeFully(tb, sc, second)
|
/thrift-3.4.0/lib/go/test/tests/ |
D | processor_middleware_test.go | 56 func checkError(tb testing.TB, err error) { 57 tb.Helper() 61 tb.Errorf("expected error to be of type *processormiddlewaretest.Error, actual %T, %#v", err, err) 65 tb.Errorf("expected error message to be %q, actual %q", errorMessage, actual)
|
/thrift-3.4.0/lib/c_glib/src/thrift/c_glib/protocol/ |
D | thrift_binary_protocol_factory.c | 30 ThriftBinaryProtocol *tb = g_object_new (THRIFT_TYPE_BINARY_PROTOCOL, in G_DEFINE_TYPE() local 35 return THRIFT_PROTOCOL (tb); in G_DEFINE_TYPE()
|
/thrift-3.4.0/lib/c_glib/test/ |
D | testbinaryprotocol.c | 133 ThriftBinaryProtocol *tb = NULL; in test_read_and_write_primitives() local 160 tb = g_object_new (THRIFT_TYPE_BINARY_PROTOCOL, "transport", in test_read_and_write_primitives() 162 protocol = THRIFT_PROTOCOL (tb); in test_read_and_write_primitives() 218 ThriftBinaryProtocol *tb = NULL; in test_read_and_write_complex_types() local 243 tb = g_object_new (THRIFT_TYPE_BINARY_PROTOCOL, "transport", in test_read_and_write_complex_types() 245 protocol = THRIFT_PROTOCOL (tb); in test_read_and_write_complex_types() 402 ThriftBinaryProtocol *tb = NULL; in test_read_and_write_many_frames() local 437 tb = g_object_new (THRIFT_TYPE_BINARY_PROTOCOL, "transport", in test_read_and_write_many_frames() 439 protocol = THRIFT_PROTOCOL (tb); in test_read_and_write_many_frames() 475 g_object_unref (tb); in test_read_and_write_many_frames()
|
D | testthriftbinaryreadcheck.c | 149 ThriftBinaryProtocol *tb = NULL; in test_read_and_wirte_complex_types() local 181 tb = g_object_new (THRIFT_TYPE_BINARY_PROTOCOL, "transport", in test_read_and_wirte_complex_types() 183 protocol = THRIFT_PROTOCOL (tb); in test_read_and_wirte_complex_types()
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/ |
D | TDeserializer.java | 189 TBase tb, byte[] bytes, TFieldIdEnum fieldIdPathFirst, TFieldIdEnum... fieldIdPathRest) in partialDeserialize() argument 194 tb.read(protocol_); in partialDeserialize()
|