Home
last modified time | relevance | path

Searched refs:len_ (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/webrtc/base/
Dtransformadapter.cc25 direction_read_(direction_read), state_(ST_PROCESSING), len_(0) { in TransformAdapter()
44 if ((state_ == ST_PROCESSING) && (len_ < sizeof(buffer_))) { in Read()
47 buffer_ + len_, in Read()
48 sizeof(buffer_) - len_, in Read()
59 len_ += subread; in Read()
64 size_t in_len = len_; in Read()
84 len_ -= in_len; in Read()
85 if (len_ > 0) in Read()
86 memmove(buffer_, buffer_ + in_len, len_); in Read()
112 if (len_ < sizeof(buffer_)) { in Write()
[all …]
Dhttpbase.cc414 len_ = 0; in send()
427 len_ = data_->formatLeader(buffer_, sizeof(buffer_)); in send()
428 len_ += strcpyn(buffer_ + len_, sizeof(buffer_) - len_, "\r\n"); in send()
451 len_ = 0; in recv()
515 if (len_ < sizeof(buffer_)) { in DoReceiveLoop()
519 StreamResult read_result = http_stream_->Read(buffer_ + len_, in DoReceiveLoop()
520 sizeof(buffer_) - len_, in DoReceiveLoop()
524 ASSERT(len_ + read <= sizeof(buffer_)); in DoReceiveLoop()
525 len_ += read; in DoReceiveLoop()
557 ProcessResult process_result = Process(buffer_, len_, &processed, in DoReceiveLoop()
[all …]
Dtransformadapter.h77 size_t len_; variable
Dhttpbase.h177 size_t len_; variable
/external/opencv3/modules/core/include/opencv2/core/
Dcvstd.hpp570 size_t len_; member in cv::String
584 : cstr_(0), len_(0) in String()
589 : cstr_(str.cstr_), len_(str.len_) in String()
597 : cstr_(0), len_(0) in String()
599 pos = min(pos, str.len_); in String()
600 len = min(str.len_ - pos, len); in String()
602 if (len == str.len_) in String()
606 len_ = str.len_; in String()
614 : cstr_(0), len_(0) in String()
623 : cstr_(0), len_(0) in String()
[all …]
Dcvstd.inl.hpp76 : cstr_(0), len_(0) in String()
87 : cstr_(0), len_(0) in String()
118 return std::string(cstr_, len_); in operator std::string()
126 s.allocate(lhs.len_ + rhslen); in operator +()
127 memcpy(s.cstr_, lhs.cstr_, lhs.len_); in operator +()
128 memcpy(s.cstr_ + lhs.len_, rhs.c_str(), rhslen); in operator +()
137 s.allocate(lhslen + rhs.len_); in operator +()
139 memcpy(s.cstr_ + lhslen, rhs.cstr_, rhs.len_); in operator +()
/external/skia/src/images/
Dbmpdecoderhelper.cpp26 len_ = len; in DecodeImage()
91 if (pos_ + (cols * colLen) > len_) { in DecodeImage()
112 if (pos_ + 12 > len_) { in DecodeImage()
156 if (offset > 0 && (size_t)offset > pos_ && (size_t)offset < len_) { in DecodeImage()
161 if (!rle && (pos_ + (rowLen * height_) > len_ + 1)) { in DecodeImage()
185 while (pos_ + 1 < len_) { in DoRLEDecode()
213 if (pos_ + 1 < len_) { in DoRLEDecode()
229 while (cmd-- && pos_ < len_) { in DoRLEDecode()
249 if ((bytesRead & 1) && pos_ < len_) { in DoRLEDecode()
339 CHECK(pos_ <= len_); in GetByte()
[all …]
Dbmpdecoderhelper.h94 size_t len_; variable
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/
Dconference_transport.h110 Packet() : len_(0) {} in Packet()
112 : type_(type), len_(len), send_time_ms_(time_ms) { in Packet()
113 EXPECT_LE(len_, kMaxPacketSizeByte); in Packet()
114 memcpy(data_, data, len_); in Packet()
118 size_t len_; member
Dconference_transport.cc151 rtp_header_parser_->Parse(packet.data_, packet.len_, &rtp_header); in SendPacket()
154 packet.len_, webrtc::PacketTime()); in SendPacket()
160 packet.len_, in SendPacket()
168 unsigned int sender_ssrc = ParseRtcpSsrc(packet.data_, packet.len_); in SendPacket()
171 packet.len_); in SendPacket()
174 packet.len_); in SendPacket()
179 packet.len_); in SendPacket()
/external/opencv3/3rdparty/libwebp/utils/
Dbit_reader.c136 br->len_ = length; in VP8LInitBitReader()
142 for (i = 0; i < sizeof(br->val_) && i < br->len_; ++i) { in VP8LInitBitReader()
155 br->len_ = len; in VP8LBitReaderSetBuffer()
160 while (br->bit_pos_ >= 8 && br->pos_ < br->len_) { in ShiftBytes()
171 if (br->pos_ + sizeof(br->val_) < br->len_) { in VP8LFillBitWindow()
182 if (br->pos_ == br->len_ && br->bit_pos_ == LBITS) { in VP8LFillBitWindow()
197 if (br->pos_ == br->len_) { in VP8LReadBits()
Dbit_reader.h294 size_t len_; // buffer length member
/external/webp/src/utils/
Dbit_reader.c147 br->len_ = length; in VP8LInitBitReader()
169 br->len_ = len; in VP8LBitReaderSetBuffer()
171 br->eos_ = (br->pos_ > br->len_) || VP8LIsEndOfStream(br); in VP8LBitReaderSetBuffer()
181 while (br->bit_pos_ >= 8 && br->pos_ < br->len_) { in ShiftBytes()
197 if (br->pos_ + sizeof(br->val_) < br->len_) { in VP8LDoFillBitWindow()
Dbit_reader.h124 size_t len_; // buffer length member
152 assert(br->pos_ <= br->len_); in VP8LIsEndOfStream()
153 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS)); in VP8LIsEndOfStream()
/external/v8/src/x64/
Dassembler-x64-inl.h604 DCHECK(len_ == 1); in set_sib()
611 len_ = 2; in set_sib()
616 DCHECK(len_ == 1 || len_ == 2); in set_disp8()
617 int8_t* p = reinterpret_cast<int8_t*>(&buf_[len_]); in set_disp8()
619 len_ += sizeof(int8_t); in set_disp8()
623 DCHECK(len_ == 1 || len_ == 2); in set_disp32()
624 int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]); in set_disp32()
626 len_ += sizeof(int32_t); in set_disp32()
630 DCHECK_EQ(1, len_); in set_disp64()
631 int64_t* p = reinterpret_cast<int64_t*>(&buf_[len_]); in set_disp64()
[all …]
/external/v8/src/x87/
Dassembler-x87-inl.h513 len_ = 1; in set_modrm()
518 DCHECK(len_ == 1); in set_sib()
523 len_ = 2; in set_sib()
528 DCHECK(len_ == 1 || len_ == 2); in set_disp8()
529 *reinterpret_cast<int8_t*>(&buf_[len_++]) = disp; in set_disp8()
534 DCHECK(len_ == 1 || len_ == 2); in set_dispr()
535 int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]); in set_dispr()
537 len_ += sizeof(int32_t); in set_dispr()
/external/v8/src/ia32/
Dassembler-ia32-inl.h512 len_ = 1; in set_modrm()
517 DCHECK(len_ == 1); in set_sib()
522 len_ = 2; in set_sib()
527 DCHECK(len_ == 1 || len_ == 2); in set_disp8()
528 *reinterpret_cast<int8_t*>(&buf_[len_++]) = disp; in set_disp8()
533 DCHECK(len_ == 1 || len_ == 2); in set_dispr()
534 int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]); in set_dispr()
536 len_ += sizeof(int32_t); in set_dispr()
/external/opencv3/modules/core/src/
Dstl.cpp53 len_ = len; in allocate()
62 len_ = 0; in deallocate()
/external/opencv3/3rdparty/libjasper/
Djas_stream.c226 obj->len_ = bufsize; in jas_stream_memopen()
229 obj->len_ = 0; in jas_stream_memopen()
992 n = m->len_ - m->pos_; in mem_read()
1031 if (m->pos_ > m->len_) { in mem_write()
1034 n = JAS_MIN(m->pos_, m->bufsize_) - m->len_; in mem_write()
1036 memset(&m->buf_[m->len_], 0, n); in mem_write()
1037 m->len_ += n; in mem_write()
1039 if (m->pos_ != m->len_) { in mem_write()
1050 if (m->pos_ > m->len_) { in mem_write()
1051 m->len_ = m->pos_; in mem_write()
[all …]
/external/piex/src/binary_parse/
Drange_checked_byte_ptr.cc44 const size_t len_; member in piex::binary_parse::__anonf0906eb60111::MemoryPagedByteArray
49 : buffer_(buffer), len_(len) {} in MemoryPagedByteArray()
51 size_t MemoryPagedByteArray::length() const { return len_; } in length()
53 size_t MemoryPagedByteArray::pageSize() const { return len_; } in pageSize()
60 *end = buffer_ + len_; in getPage()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gxvalid/
Dgxvmod.c78 FT_ULong len_ ## _sfnt = 0
85 &_sfnt, &len_ ## _sfnt ); \
93 ft_validator_init( &valid, _sfnt, _sfnt + len_ ## _sfnt, \
/external/pdfium/third_party/agg23/
Dagg_rendering_buffer.h41 span_data(int x_, unsigned len_, int8u* ptr_) : in span_data()
42 x(x_), len(len_), ptr(ptr_) {} in span_data()
/external/boringssl/src/crypto/aes/asm/
Daesni-x86_64.pl1727 my ($key2,$ivp,$len_)=("%r8","%r9","%r9");
1766 mov $len,$len_ # backup $len
2118 and \$15,$len_ # see if $len%16 is 0
2120 mov $len_,$len
2132 sub $len_,$out # rewind $out
2250 mov $len,$len_ # backup $len
2516 and \$15,$len_
2611 and \$15,$len_ # see if $len%16 is 0
2614 mov $len_,$len
2636 sub $len_,$out # rewind $out
/external/opencv3/3rdparty/libjasper/jasper/
Djas_stream.h278 int_fast32_t len_; member
/external/llvm/test/CodeGen/X86/
Dremat-fold-load.ll59 %len_.i.i.i.i86 = getelementptr inbounds %type_e, %type_e* %tmp9, i32 0, i32 0, i32 0
60 %tmp10 = load i32, i32* %len_.i.i.i.i86, align 4

12