Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 61) sorted by relevance

123

/thrift-3.4.0/lib/cpp/src/thrift/transport/
DTHttpTransport.cpp111 char* line = readLine(); in readChunked() local
112 uint32_t chunkSize = parseChunkSize(line); in readChunked()
127 char* line = readLine(); in readChunkedFooters() local
128 if (strlen(line) == 0) { in readChunkedFooters()
135 uint32_t THttpTransport::parseChunkSize(char* line) { in parseChunkSize() argument
136 char* semi = strchr(line, ';'); in parseChunkSize()
141 sscanf(line, "%x", &size); in parseChunkSize()
183 char* line = httpBuf_ + httpPos_; in readLine() local
185 return line; in readLine()
237 char* line = readLine(); in readHeaders() local
[all …]
DTHttpTransport.h92 uint32_t parseChunkSize(char* line);
/thrift-3.4.0/build/
Dfixchanges.sh33 while IFS='' read -r line || [[ -n "$line" ]]; do
34 if [[ "$line" =~ ^(.*)\[(THRIFT-[[:digit:]]+)\][^\(](.*)$ ]]; then
37 echo "$line"
/thrift-3.4.0/lib/d/src/thrift/server/transport/
Dbase.d97 this(Type type, string file = __FILE__, size_t line = __LINE__, Throwable next = null) {
98 this(errorMsg(type), type, file, line, next);
102 this(string msg, string file = __FILE__, size_t line = __LINE__,
105 this(msg, Type.UNKNOWN, file, line, next);
109 this(string msg, Type type, string file = __FILE__, size_t line = __LINE__,
112 super(msg, file, line, next);
/thrift-3.4.0/lib/d/src/thrift/
Dbase.d26 this(string msg = "", string file = __FILE__, size_t line = __LINE__,
29 super(msg, file, line, next);
39 size_t line = __LINE__, Throwable next = null)
41 super(msg, file, line, next);
95 void logFormatted(string file = __FILE__, int line = __LINE__, in logFormatted()
107 formattedWrite(g_formatBuffer, "%s:%s: ", file, line); in logFormatted()
/thrift-3.4.0/lib/d/src/thrift/protocol/
Dbase.d215 this(Type type, string file = __FILE__, size_t line = __LINE__, Throwable next = null) {
228 this(msgForType(type), type, file, line, next);
232 this(string msg, string file = __FILE__, size_t line = __LINE__,
235 this(msg, Type.UNKNOWN, file, line, next);
239 this(string msg, Type type, string file = __FILE__, size_t line = __LINE__,
242 super(msg, file, line, next);
357 this(Type type, string file = __FILE__, size_t line = __LINE__, Throwable next = null) {
374 this(msgForType(type), type, file, line, next);
378 this(string msg, string file = __FILE__, size_t line = __LINE__,
381 this(msg, Type.UNKNOWN, file, line, next);
[all …]
/thrift-3.4.0/contrib/
Dparse_profiling.py192 line = in_file.readline()
193 if not line:
196 if line == '\n' or line.startswith('Thrift virtual call info:'):
199 virt_call_match = virt_call_regex.match(line)
220 gen_prot_match = gen_prot_regex.match(line)
235 bt_match = bt_regex.match(line)
245 raise Exception('unexpected line in input: %r' % (line,))
/thrift-3.4.0/lib/lua/
DTHttpTransport.lua106 local line = ""
108 line = string.sub(self.rBuf, 0, a-1)
111 return line
118 local line = self:getLine()
119 for key, val in string.gmatch(line, "([%w%-]+)%s*:%s*(.+)") do
130 until string.find(line, "^%s*$")
/thrift-3.4.0/lib/d/src/thrift/transport/
Dbase.d322 this(Type type, string file = __FILE__, size_t line = __LINE__, Throwable next = null) {
337 this(msgForType(type), type, file, line, next);
341 this(string msg, string file = __FILE__, size_t line = __LINE__,
344 this(msg, Type.UNKNOWN, file, line, next);
348 this(string msg, Type type, string file = __FILE__, size_t line = __LINE__,
351 super(msg, file, line, next);
Dhttp.d192 auto line = readLine(); in readHeaders() local
194 if (line.length == 0) { in readHeaders()
205 finished = parseStatusLine(line); in readHeaders()
207 parseHeader(line); in readHeaders()
216 auto line = readLine(); in readChunked() local
219 auto charLine = cast(char[])line; in readChunked()
222 throw new TTransportException("Invalid chunk size: " ~ to!string(line), in readChunked()
239 auto line = readLine(); in readChunkedFooters() local
240 if (line.length == 0) { in readChunkedFooters()
Dssl.d499 void lockingCallback(int mode, int n, const(char)* file, int line) { in lockingCallback() argument
507 CRYPTO_dynlock_value* dynlockCreateCallback(const(char)* file, int line) { in dynlockCreateCallback() argument
517 const(char)* file, int line) in dynlockLockCallback() argument
528 const(char)* file, int line) in dynlockDestroyCallback() argument
685 this(string msg, string file = __FILE__, size_t line = __LINE__,
688 super(msg, TTransportException.Type.INTERNAL_ERROR, file, line, next);
/thrift-3.4.0/lib/d/src/thrift/util/
Dcancellation.d100 this(string msg = null, string file = __FILE__, size_t line = __LINE__,
103 super(msg ? msg : "The operation has been cancelled.", file, line, next);
/thrift-3.4.0/lib/go/thrift/
Dsimple_json_protocol.go921 line, err := p.reader.ReadString(JSON_QUOTE)
925 l := len(line)
929 if line[l-i-1] != '\\' {
934 v, ok := jsonUnquote(string(JSON_QUOTE) + line)
944 str := string(JSON_QUOTE) + line + s
954 line, err := p.reader.ReadString(JSON_QUOTE)
958 l := len(line)
962 if line[l-i-1] != '\\' {
967 return line, nil
973 v := line + s
[all …]
/thrift-3.4.0/test/py/
Dsetup.cfg2 max-line-length = 100
/thrift-3.4.0/test/crossrunner/
Dsetup.cfg2 max-line-length = 100
/thrift-3.4.0/test/features/
Dsetup.cfg2 max-line-length = 100
/thrift-3.4.0/test/py.tornado/
Dsetup.cfg3 max-line-length = 100
/thrift-3.4.0/test/py.twisted/
Dsetup.cfg3 max-line-length = 100
/thrift-3.4.0/lib/py/
Dsetup.cfg6 max-line-length = 100
/thrift-3.4.0/
D.flake85 max-line-length = 120
/thrift-3.4.0/doc/
Dcoding_standards.md20 When making a small change / bugfix - like a single line fix - do *not* refactor the whole function.
31 * Commit to the repository using Unix-style line endings (LF)
34 * Maximum line width - 100 characters
/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_generator.cc171 char line[1024]; in generate_docstring_comment() local
172 docs.getline(line, 1024); in generate_docstring_comment()
174 if (strlen(line) > 0) { in generate_docstring_comment()
175 indent(out) << line_prefix << line << std::endl; in generate_docstring_comment()
/thrift-3.4.0/test/
DDocTest.thrift164 * The last line is non-blank.
168 /** Both the first line
170 * and the last line */
179 /** First line indented.
195 * This line is indented further.
/thrift-3.4.0/lib/d/src/thrift/internal/
Dssl.d209 int line = void; variable
213 while ((code = ERR_get_error_line_data(&file, &line, &data, &flags)) != 0) {
/thrift-3.4.0/contrib/transport-sample/
DREADME.md6 through command-line switches.
14 line apps. The server runs until it's aborted (Ctl-C). The client connects to

123