Home
last modified time | relevance | path

Searched refs:len_ (Results 1 – 25 of 46) 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
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DChunk.java124 private int len_; field in Chunk.Iterator
130 this.len_ = itemSize; in Iterator()
133 boolean HasNext() { return !HadError() && len_ != 0; }; in HasNext()
144 assert (len_ != 0) : "called Next() after last chunk"; in Next()
151 int remaining = len_ - dtohl(this_chunk.size); in Next()
158 len_ -= dtohl(this_chunk.size); in Next()
160 if (len_ != 0) { in Next()
172 if (len_ < ResChunk_header.SIZEOF) { in VerifyNextChunkNonFatal()
178 if (size > len_) { in VerifyNextChunkNonFatal()
199 if (len_ < ResChunk_header.SIZEOF) { in VerifyNextChunk()
[all …]
/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/freetype/src/autofit/
Dafblue.hin34 FT_UInt len_; \
39 len_ = 1; \
44 len_ = 2; \
49 len_ = 3; \
53 for ( ; len_ > 0; len_-- ) \
Dafblue.h37 FT_UInt len_; \
42 len_ = 1; \
47 len_ = 2; \
52 len_ = 3; \
56 for ( ; len_ > 0; len_-- ) \
/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins_test.py72 self.assertEqual(py_builtins.len_([1, 2, 3]), 3)
74 t = py_builtins.len_(constant_op.constant([[1], [2], [3]]))
76 ta = py_builtins.len_(tensor_array_ops.TensorArray(dtypes.int32, size=5))
78 tl = py_builtins.len_(data_structures.tf_tensor_list_new([3, 4, 5]))
83 py_builtins.len_(constant_op.constant(1))
89 t = py_builtins.len_(p)
93 t = py_builtins.len_(p)
Dpy_builtins.py102 def len_(s): function
239 'len': len_,
D__init__.py68 from tensorflow.python.autograph.operators.py_builtins import len_
/external/harfbuzz_ng/src/
Dhb-array.hh47 hb_array_t (Type *array_, unsigned int len_) : arrayZ (array_), len (len_) {} in hb_array_t()
48 template <unsigned int len_> hb_array_t (Type (&array_)[len_]) : arrayZ (array_), len (len_) {} in hb_array_t()
203 hb_sorted_array_t (Type *array_, unsigned int len_) : hb_array_t<Type> (array_, len_) {} in hb_sorted_array_t()
/external/webp/src/utils/
Dbit_reader_utils.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()
195 if (br->pos_ + sizeof(br->val_) < br->len_) { in VP8LDoFillBitWindow()
Dbit_reader_utils.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/tensorflow/tensorflow/core/kernels/
Ddecode_compressed_op.cc33 : buf_(buffer), len_(length), pos_(0) {} in MemoryInputStream()
45 if (pos_ + bytes_to_read > len_) { in ReadNBytes()
46 bytes = len_ - pos_; in ReadNBytes()
66 int64 len_; member in tensorflow::__anonae82e0830111::MemoryInputStream
/external/piex/src/binary_parse/
Drange_checked_byte_ptr.cc44 const size_t len_; member in piex::binary_parse::__anon59ac88330111::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/v8/src/runtime/
Druntime-array.cc746 Handle<Object> len_; in RUNTIME_FUNCTION() local
748 isolate, len_, in RUNTIME_FUNCTION()
752 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, len_, in RUNTIME_FUNCTION()
753 Object::ToLength(isolate, len_)); in RUNTIME_FUNCTION()
754 len = static_cast<int64_t>(len_->Number()); in RUNTIME_FUNCTION()
755 DCHECK_EQ(len, len_->Number()); in RUNTIME_FUNCTION()
848 Handle<Object> len_; in RUNTIME_FUNCTION() local
850 isolate, len_, in RUNTIME_FUNCTION()
854 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, len_, in RUNTIME_FUNCTION()
855 Object::ToLength(isolate, len_)); in RUNTIME_FUNCTION()
[all …]
/external/strace/
Dprint_fields.h144 #define PRINT_FIELD_STRING(prefix_, where_, field_, len_, style_) \ argument
148 (len_), (style_)); \
233 #define PRINT_FIELD_STRN(prefix_, where_, field_, len_, tcp_) \ argument
236 printstrn((tcp_), (where_).field_, (len_)); \
/external/v8/src/ia32/
Dassembler-ia32-inl.h326 DCHECK_EQ(len_, 1); in set_sib()
331 len_ = 2; in set_sib()
336 DCHECK(len_ == 1 || len_ == 2); in set_disp8()
337 *reinterpret_cast<int8_t*>(&buf_[len_++]) = disp; in set_disp8()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dbuffer_map.cc71 len_ = tensor->bytes; in TfLiteTensorBuffer()
85 size_t size() const override { return len_; } in size()
88 size_t len_; member in tflite::flex::__anon9c2038410111::TfLiteTensorBuffer
/external/freetype/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/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc308 : TensorBuffer(data), array_(array), len_(len) {} in NumpyTensorBuffer()
313 DelayedNumpyDecref(data(), len_, array_); in ~NumpyTensorBuffer()
316 size_t size() const override { return len_; } in size()
324 CHECK_EQ(len_, shape.num_elements() * DataTypeSize(dtype)); in MakeTensor()
333 size_t len_; member in tensorflow::NumpyTensorBuffer
/external/perf_data_converter/src/quipper/
Dtest_perf_data.h255 len_(len), in ExampleMmapEvent()
265 const u64 len_; variable
284 len_(len), in ExampleMmap2Event()
305 const u64 len_; variable
/external/v8/src/builtins/
Dbuiltins-array-gen.h80 TNode<Number> len() { return len_; } in len()
179 TNode<Number> len_; variable

12