/thrift-3.4.0/lib/cpp/src/thrift/transport/ |
D | TBufferTransports.cpp | 57 uint32_t give = (std::min)(len, static_cast<uint32_t>(rBound_ - rBase_)); in readSlow() local 58 memcpy(buf, rBase_, give); in readSlow() 59 rBase_ += give; in readSlow() 61 return give; in readSlow() 164 uint32_t give = (std::min)(want, static_cast<uint32_t>(rBound_ - rBase_)); in readSlow() local 165 memcpy(buf, rBase_, give); in readSlow() 166 rBase_ += give; in readSlow() 167 want -= give; in readSlow() 319 uint32_t give = (std::min)(len, available_read()); in computeRead() local 322 *out_give = give; in computeRead() [all …]
|
D | TTransportUtils.cpp | 57 uint32_t give = need; in read() local 58 if (rLen_ - rPos_ < give) { in read() 59 give = rLen_ - rPos_; in read() 61 if (give > 0) { in read() 62 memcpy(buf, rBuf_ + rPos_, give); in read() 63 rPos_ += give; in read() 64 need -= give; in read()
|
D | THttpTransport.cpp | 158 uint32_t give = avail; in readContent() local 159 if (need < give) { in readContent() 160 give = need; in readContent() 162 readBuffer_.write((uint8_t*)(httpBuf_ + httpPos_), give); in readContent() 163 httpPos_ += give; in readContent() 164 need -= give; in readContent()
|
D | TZlibTransport.cpp | 147 int give = (std::min)((uint32_t)readAvail(), need); in read() local 148 memcpy(buf, urbuf_ + urpos_, give); in read() 149 need -= give; in read() 150 buf += give; in read() 151 urpos_ += give; in read()
|
D | TWebSocketServer.h | 96 uint32_t give = (std::min)(want, readBuffer_.available_read()); in readAll_virt() local 97 return readBuffer_.read(buf, give); in readAll_virt()
|
/thrift-3.4.0/lib/perl/lib/Thrift/ |
D | MemoryBuffer.pm | 103 my $give = $len; 104 $give = $avail if $avail < $len; 106 $ret = substr($self->{buffer},$self->{rPos},$give); 108 $self->{rPos} += $give;
|
/thrift-3.4.0/lib/d/src/thrift/transport/ |
D | buffered.d | 114 auto give = min(readAvail_.length, buf.length); in read() local 115 buf[0 .. give] = readAvail_[0 .. give]; in read() 116 readAvail_ = readAvail_[give .. $]; in read() 117 return give; in read()
|
D | zlib.d | 129 auto give = min(readAvail, buf.length); in read() local 133 buf[0 .. give] = urbuf_[urpos_ .. urpos_ + give]; in read() 134 buf = buf[give .. $]; in read() 135 urpos_ += give; in read()
|
D | http.d | 256 auto give = min(httpBufRemaining_.length, need); in readContent() local 257 readBuffer_.write(cast(ubyte[])httpBufRemaining_[0 .. give]); in readContent() 258 httpBufRemaining_ = httpBufRemaining_[give .. $]; in readContent() 259 need -= give; in readContent()
|
/thrift-3.4.0/lib/nodejs/lib/thrift/ |
D | ws_transport.js | 170 var give = len; 173 give = avail; 176 var ret = this.read_buf.substr(this.rpos, give); 177 this.rpos += give;
|
D | xhr_connection.js | 228 var give = len; 231 give = avail; 234 var ret = this.read_buf.substr(this.rpos, give); 235 this.rpos += give;
|
/thrift-3.4.0/lib/c_glib/src/thrift/c_glib/transport/ |
D | thrift_memory_buffer.c | 80 guint32 give = len; in thrift_memory_buffer_read() local 91 give = t->buf->len; in thrift_memory_buffer_read() 94 memcpy (buf, t->buf->data, give); in thrift_memory_buffer_read() 95 g_byte_array_remove_range (t->buf, 0, give); in thrift_memory_buffer_read() 97 return give; in thrift_memory_buffer_read()
|
D | thrift_zlib_transport.c | 161 gint give; in thrift_zlib_transport_read_slow() local 167 give = thrift_zlib_transport_read_avail (transport); in thrift_zlib_transport_read_slow() 169 give = need; in thrift_zlib_transport_read_slow() 171 memcpy (buf_tmp, t->urbuf+t->urpos, give); in thrift_zlib_transport_read_slow() 172 if (give > need) { in thrift_zlib_transport_read_slow() 175 need -= give; in thrift_zlib_transport_read_slow() 177 buf_tmp += give; in thrift_zlib_transport_read_slow() 178 t->urpos += give; in thrift_zlib_transport_read_slow() 191 return give; in thrift_zlib_transport_read_slow()
|
D | thrift_buffered_transport.c | 120 guint32 give; in thrift_buffered_transport_read_slow() local 133 give = want < t->r_buf->len ? want : t->r_buf->len; in thrift_buffered_transport_read_slow() 136 memcpy ((guint8 *)buf + len - want, t->r_buf->data, give); in thrift_buffered_transport_read_slow() 137 t->r_buf = g_byte_array_remove_range (t->r_buf, 0, give); in thrift_buffered_transport_read_slow() 138 want -= give; in thrift_buffered_transport_read_slow()
|
D | thrift_framed_transport.c | 150 guint32 give = want < t->r_buf->len ? want : t->r_buf->len; in thrift_framed_transport_read_slow() local 153 memcpy ((guint8 *)buf + len - want, t->r_buf->data, give); in thrift_framed_transport_read_slow() 154 t->r_buf = g_byte_array_remove_range (t->r_buf, 0, give); in thrift_framed_transport_read_slow() 155 want -= give; in thrift_framed_transport_read_slow()
|
/thrift-3.4.0/lib/js/src/ |
D | thrift.js | 497 var give = len; 500 give = avail; 503 var ret = this.read_buf.substr(this.rpos, give); 504 this.rpos += give; 686 var give = len; 689 give = avail; 692 var ret = this.read_buf.substr(this.rpos, give); 693 this.rpos += give;
|
/thrift-3.4.0/test/ |
D | DenseLinkingTest.thrift | 33 then compiling this should give errors because of doubly defined symbols.
|
/thrift-3.4.0/contrib/vagrant/centos-6.5/ |
D | README.md | 22 #Create the vagrant user and give it sudo permission
|
/thrift-3.4.0/contrib/fb303/aclocal/ |
D | ax_boost_base.m4 | 184 …not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-bo…
|
/thrift-3.4.0/doc/licenses/ |
D | lgpl-2.1.txt | 41 or for a fee, you must give the recipients all the rights that we gave 278 You must give prominent notice with each copy of the work that the 307 least three years, to give the same user the materials 473 <one line to give the library's name and a brief idea of what it does.>
|
/thrift-3.4.0/aclocal/ |
D | ax_boost_base.m4 | 286 …not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-bo…
|
D | ax_lua.m4 | 87 # the default behavior, give ':' as an action.
|
/thrift-3.4.0/doc/specs/ |
D | thrift-parameter-validation-proposal.md | 191 …rface of feedback messages. However, by practice we suggest developers to give below three detail …
|
D | thrift.tex | 589 The \texttt{TProtocol} abstractions are also designed to give protocol
|
/thrift-3.4.0/ |
D | LICENSE | 95 (a) You must give any other recipients of the Work or
|