/thrift-3.4.0/compiler/cpp/src/thrift/ |
D | logging.cc | 30 void pdebug(const char* fmt, ...) { in pdebug() argument 36 va_start(args, fmt); in pdebug() 37 vprintf(fmt, args); in pdebug() 42 void pverbose(const char* fmt, ...) { in pverbose() argument 47 va_start(args, fmt); in pverbose() 48 vprintf(fmt, args); in pverbose() 52 void pwarning(int level, const char* fmt, ...) { in pwarning() argument 58 va_start(args, fmt); in pwarning() 59 vprintf(fmt, args); in pwarning() 64 void failure(const char* fmt, ...) { in failure() argument [all …]
|
D | logging.h | 30 void pdebug(const char* fmt, ...); 35 void pwarning(int level, const char* fmt, ...); 40 void pverbose(const char* fmt, ...); 45 void failure(const char* fmt, ...);
|
D | main.cc | 229 void yyerror(const char* fmt, ...) { in yyerror() argument 233 va_start(args, fmt); in yyerror() 234 vfprintf(stderr, fmt, args); in yyerror() 245 void pdebug(const char* fmt, ...) { in pdebug() argument 251 va_start(args, fmt); in pdebug() 252 vprintf(fmt, args); in pdebug() 262 void pverbose(const char* fmt, ...) { in pverbose() argument 267 va_start(args, fmt); in pverbose() 268 vprintf(fmt, args); in pverbose() 277 void pwarning(int level, const char* fmt, ...) { in pwarning() argument [all …]
|
/thrift-3.4.0/test/go/src/common/ |
D | printing_handler.go | 41 fmt.Println("testVoid()") 52 fmt.Printf("testString(\"%s\")\n", thing) 63 fmt.Printf("testBool(%t)\n", thing) 74 fmt.Printf("testByte(%d)\n", thing) 85 fmt.Printf("testI32(%d)\n", thing) 96 fmt.Printf("testI64(%d)\n", thing) 107 fmt.Printf("testDouble(%f)\n", thing) 118 fmt.Printf("testBinary(%s)\n", hex.EncodeToString(thing)) 129 fmt.Printf("testUuid(%s)\n", thing.String()) 140 …fmt.Printf("testStruct({\"%s\", %d, %d, %d})\n", thing.StringThing, thing.ByteThing, thing.I32Thin… [all …]
|
D | client.go | 47 hostPort := fmt.Sprintf("%s:%d", host, port) 67 return nil, nil, fmt.Errorf("invalid protocol specified %s", protocol) 91 …trans, err = thrift.NewTHttpClientWithOptions(fmt.Sprintf("https://%s/", hostPort), thrift.THttpCl… 92 fmt.Println(hostPort) 94 trans, err = thrift.NewTHttpClient(fmt.Sprintf("http://%s/", hostPort)) 105 return nil, nil, fmt.Errorf("invalid transport specified %s", transport)
|
D | server.go | 52 hostPort := fmt.Sprintf("%s:%d", host, port) 68 return nil, nil, nil, nil, fmt.Errorf("invalid protocol specified %s", protocol) 110 return nil, nil, nil, nil, fmt.Errorf("invalid transport specified %s", transport)
|
/thrift-3.4.0/tutorial/go/src/ |
D | client.go | 34 fmt.Println("ping()") 37 fmt.Print("1+1=", sum, "\n") 47 fmt.Println("Invalid operation:", v) 49 fmt.Println("Error during operation:", err) 52 fmt.Println("Whoa we can divide by 0 with new value:", quotient) 62 fmt.Println("Invalid operation:", v) 64 fmt.Println("Error during operation:", err) 68 fmt.Print("15-10=", diff, "\n") 73 fmt.Println("Unable to get struct:", err) 76 fmt.Println("Check log:", log.Value)
|
D | main.go | 32 fmt.Fprint(os.Stderr, "Usage of ", os.Args[0], ":\n") 34 fmt.Fprint(os.Stderr, "\n") 59 fmt.Fprint(os.Stderr, "Invalid protocol specified", protocol, "\n") 82 fmt.Println("error running server:", err) 86 fmt.Println("error running client:", err)
|
D | handler.go | 40 fmt.Print("ping()\n") 45 fmt.Print("add(", num1, ",", num2, ")\n") 50 fmt.Print("calculate(", logid, ", {", w.Op, ",", w.Num1, ",", w.Num2, "})\n") 91 fmt.Print("getStruct(", key, ")\n") 97 fmt.Print("zip()\n")
|
D | server.go | 48 fmt.Printf("%T\n", transport) 53 fmt.Println("Starting the simple server... on ", addr)
|
/thrift-3.4.0/lib/go/thrift/ |
D | serializer_types_test.go | 57 var _ = fmt.Printf 95 return MyTestEnum(0), fmt.Errorf("not a valid MyTestEnum string") 168 return PrependError(fmt.Sprintf("%T read error: ", p), err) 173 return PrependError(fmt.Sprintf("%T field %d read error: ", p, fieldId), err) 237 return PrependError(fmt.Sprintf("%T read struct end error: ", p), err) 399 return PrependError(fmt.Sprintf("%T write struct begin error: ", p), err) 448 return PrependError(fmt.Sprintf("%T write field begin error 1:on: ", p), err) 451 return PrependError(fmt.Sprintf("%T.on (1) field write error: ", p), err) 454 return PrependError(fmt.Sprintf("%T write field end error 1:on: ", p), err) 461 return PrependError(fmt.Sprintf("%T write field begin error 2:b: ", p), err) [all …]
|
D | simple_json_protocol.go | 209 return fmt.Errorf("Expected '%s' but found '%s' while parsing JSON.", expected, actual) 400 e := fmt.Errorf("Expected \"}\" or '\"', but found: '%s'", string(b)) 480 e := fmt.Errorf("Expected \"true\" but found: %s", string(b)) 492 e := fmt.Errorf("Expected \"false\" but found: %s", string(b)) 504 e := fmt.Errorf("Expected \"null\" but found: %s", string(b)) 508 e := fmt.Errorf("Expected \"true\", \"false\", or \"null\" but found: %s", string(f)) 560 e := fmt.Errorf("Expected a JSON string, found unquoted data started with %s", string(b)) 564 e := fmt.Errorf("Expected a JSON string, found unquoted data started with %s", string(f)) 590 e := fmt.Errorf("Expected a JSON string, found unquoted data started with %s", string(b)) 594 e := fmt.Errorf("Expected a JSON string, found unquoted data started with %s", string(f)) [all …]
|
D | server_socket_test.go | 30 addr := fmt.Sprintf("%s:%d", host, port) 47 addr := fmt.Sprintf("%s:%d", host, port)
|
D | client.go | 63 return NewTApplicationException(WRONG_METHOD_NAME, fmt.Sprintf("%s: wrong method name", method)) 65 …return NewTApplicationException(BAD_SEQUENCE_ID, fmt.Sprintf("%s: out of order sequence response",… 78 …return NewTApplicationException(INVALID_MESSAGE_TYPE_EXCEPTION, fmt.Sprintf("%s: invalid message t…
|
D | uuid.go | 99 return u, fmt.Errorf("malformed Tuuid string: %q", s) 111 return u, fmt.Errorf("malformed Tuuid string: %q", s)
|
D | multiplexed_protocol.go | 198 return false, NewTProtocolException(fmt.Errorf("Unexpected message type %v", typeId)) 207 return false, NewTProtocolException(fmt.Errorf( 214 return false, NewTProtocolException(fmt.Errorf(
|
/thrift-3.4.0/lib/rs/src/ |
D | errors.rs | 20 use std::fmt::{Debug, Display, Formatter}; 21 use std::{error, fmt, io, string}; 271 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() method 273 Error::Transport(ref e) => Debug::fmt(e, f), in fmt() 274 Error::Protocol(ref e) => Debug::fmt(e, f), in fmt() 275 Error::Application(ref e) => Debug::fmt(e, f), in fmt() 276 Error::User(ref e) => Debug::fmt(e, f), in fmt() 282 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() method 284 Error::Transport(ref e) => Display::fmt(e, f), in fmt() 285 Error::Protocol(ref e) => Display::fmt(e, f), in fmt() [all …]
|
/thrift-3.4.0/lib/go/test/fuzz/ |
D | fuzz.go | 75 fmt.Printf("lol %d %s %v\n", n, err, res) 89 fmt.Print("ping()\n") 94 fmt.Print("add(", num1, ",", num2, ")\n") 99 fmt.Print("calculate(", logid, ", {", w.Op, ",", w.Num1, ",", w.Num2, "})\n") 136 fmt.Print("getStruct(", key, ")\n") 142 fmt.Print("zip()\n")
|
/thrift-3.4.0/test/go/src/bin/testserver/ |
D | main.go | 54 err := http.ListenAndServeTLS(fmt.Sprintf(":%d", *port), 58 fmt.Println(err) 62 http.ListenAndServe(fmt.Sprintf(":%d", *port), nil)
|
/thrift-3.4.0/lib/rs/ |
D | Makefile.am | 35 $(CARGO) fmt --all -- --check 40 $(CARGO) fmt --all -- --check
|
D | README.md | 71 use std::fmt; 72 use std::fmt::{Display, Formatter}; 97 fn fmt(&self, f: &mut Formatter) -> fmt::Result { 107 use std::fmt; 108 use std::fmt::{Display, Formatter}; 129 fn fmt(&self, f: &mut Formatter) -> fmt::Result {
|
/thrift-3.4.0/lib/d/src/thrift/ |
D | base.d | 96 T...)(string fmt, T args) if ( in logFormatted() 110 g_formatBuffer.put(fmt); in logFormatted() 112 formattedWrite(g_formatBuffer, fmt, args); in logFormatted()
|
/thrift-3.4.0/lib/cpp/test/processor/ |
D | EventLog.cpp | 32 void debug(const char* fmt, ...) { in debug() argument 35 va_start(ap, fmt); in debug() 36 vfprintf(stderr, fmt, ap); in debug()
|
/thrift-3.4.0/lib/rb/benchmark/ |
D | benchmark.rb | 194 fmt = "%.4f seconds" 207 tabulate fmt, 233 def tabulate(fmt, *labels_and_values) argument 237 f = fmt
|
/thrift-3.4.0/lib/rs/test_recursive/ |
D | Makefile.am | 23 $(CARGO) fmt --all -- --check
|