Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/unicode/
Dunistr.h113 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, u ## cs, _length) argument
115 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const char16_t*)u ## cs, _length) argument
3844 int32_t& _length) const in pinIndices() argument
3853 if(_length < 0) { in pinIndices()
3854 _length = 0; in pinIndices()
3855 } else if(_length > (len - start)) { in pinIndices()
3856 _length = (len - start); in pinIndices()
4005 int32_t _length, in compare() argument
4007 { return doCompare(start, _length, srcText, 0, srcText.length()); } in compare()
4016 int32_t _length, in compare() argument
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_vla.h35 #define NIR_VLA(_type, _name, _length) \ argument
36 _type *_name = alloca((_length) * sizeof *_name)
44 #define NIR_VLA_FILL(_type, _name, _length, _byte) \ argument
45 _type *_name = memset(alloca((_length) * sizeof *_name), _byte, (_length) * sizeof *_name)
53 #define NIR_VLA_ZERO(_type, _name, _length) \ argument
54 NIR_VLA_FILL(_type, _name, _length, 0)
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DLOOKUPSWITCH.java44 final short _length = (short) (9 + getMatch_length() * 8); in LOOKUPSWITCH() local
45 super.setLength(_length); in LOOKUPSWITCH()
46 setFixed_length(_length); in LOOKUPSWITCH()
76 final short _length = (short) (_match_length + super.getPadding()); in initFromFile() local
77 super.setLength(_length); in initFromFile()
DTABLESWITCH.java50 final short _length = (short) (13 + getMatch_length() * 4); in TABLESWITCH() local
51 super.setLength(_length); in TABLESWITCH()
52 setFixed_length(_length); in TABLESWITCH()
/external/webrtc/webrtc/modules/video_coding/
Dencoded_frame.cc42 _length = 0; in VCMEncodedFrame()
44 VerifyAndAllocate(rhs._length); in VCMEncodedFrame()
45 memcpy(_buffer, rhs._buffer, rhs._length); in VCMEncodedFrame()
61 _length = 0; in VCMEncodedFrame()
63 VerifyAndAllocate(rhs._length); in VCMEncodedFrame()
64 memcpy(_buffer, rhs._buffer, rhs._length); in VCMEncodedFrame()
65 _length = rhs._length; in VCMEncodedFrame()
91 _length = 0; in Reset()
Dframe_buffer.cc143 _length = Length() + static_cast<uint32_t>(retVal); in InsertPacket()
194 _length = 0; in Reset()
253 _length = _sessionInfo.BuildVP8FragmentationHeader(_buffer, _length, in PrepareForDecode()
257 _length -= bytes_removed; in PrepareForDecode()
261 _length -= bytes_removed; in PrepareForDecode()
/external/scapy/scapy/contrib/
Dlldp.py313 XStrLenField('id', '', length_from=lambda pkt: pkt._length - 1)
362 StrLenField('id', '', length_from=lambda pkt: pkt._length - 1)
395 if conf.contribs['LLDP'].strict_mode() and self._length != 2:
397 '{}'.format(self._length))
424 if conf.contribs['LLDP'].strict_mode() and self._length != 0:
426 '{}'.format(self._length))
444 StrLenField('description', '', length_from=lambda pkt: pkt._length)
455 StrLenField('system_name', '', length_from=lambda pkt: pkt._length)
466 StrLenField('description', '', length_from=lambda pkt: pkt._length)
515 if conf.contribs['LLDP'].strict_mode() and self._length != 4:
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc243 encoded_frame_size_ = encoded_image._length; in FrameEncoded()
253 stat.encoded_frame_length_in_bytes = encoded_image._length; in FrameEncoded()
256 stat.bit_rate_in_kbps = encoded_image._length * bit_rate_factor_; in FrameEncoded()
258 encoded_image._length / config_.networking_config.packet_size_in_bytes + in FrameEncoded()
279 rtc::scoped_ptr<uint8_t[]> copied_buffer(new uint8_t[encoded_image._length]); in FrameEncoded()
280 memcpy(copied_buffer.get(), encoded_image._buffer, encoded_image._length); in FrameEncoded()
283 copied_image._size = copied_image._length; in FrameEncoded()
304 last_frame_missing_ = copied_image._length == 0; in FrameEncoded()
Dpacket_manipulator_unittest.cc37 image_._length = kPacketDataLength; in PacketManipulatorTest()
63 EXPECT_EQ(expected_packet_data_length, image_._length); in VerifyPacketLoss()
82 image_._length = data_length; in TEST_F()
127 image_._length = kDataLength; in TEST_F()
Dpacket_manipulator.cc47 encoded_image->_length, in ManipulatePackets()
71 encoded_image->_length = new_length; in ManipulatePackets()
78 encoded_image->_length); in ManipulatePackets()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc52 if (encoded_frame_->_size < encoded_frame._length) { in Encoded()
54 frame_buffer_.reset(new uint8_t[encoded_frame._length]); in Encoded()
56 encoded_frame_->_size = encoded_frame._length; in Encoded()
58 memcpy(encoded_frame_->_buffer, encoded_frame._buffer, encoded_frame._length); in Encoded()
59 encoded_frame_->_length = encoded_frame._length; in Encoded()
164 return encoded_frame_._length; in WaitForEncodedFrame()
/external/ImageMagick/Magick++/lib/
DPixels.cpp132 return(_length); in length()
148 _length=0; in init()
184 _length=width_*height_*map_.length(); in init()
185 _size=_length*size; in init()
200 _length=0; in relinquish()
/external/webrtc/webrtc/test/
Dfake_encoder.cc113 bits_available -= std::min(encoded._length * 8, bits_available); in Encode()
159 encoded_image._length > kSpsSize + kPpsSize + 1) { in Encoded()
168 encoded_image._length - (kSpsSize + kPpsSize); in Encoded()
179 fragmentation.fragmentationLength[0] = encoded_image._length; in Encoded()
185 for (size_t i = 0; i < encoded_image._length; ++i) { in Encoded()
Dfake_decoder.cc72 for (size_t i = 0; i < input._length; ++i) { in Decode()
74 if (i < input._length - sizeof(kStartCode) && in Decode()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_sequence_coder.cc56 encoded_image_._length = encoded_image._length; in Encoded()
58 if (fwrite(encoded_image._buffer, 1, encoded_image._length, in Encoded()
59 encoded_file_) != encoded_image._length) { in Encoded()
63 encoded_bytes_ += encoded_image_._length; in Encoded()
Dvp8_impl.cc962 encoded_images_[encoder_idx]._length = 0; in GetEncodedPartitions()
974 uint32_t length = encoded_images_[encoder_idx]._length; in GetEncodedPartitions()
981 encoded_images_[encoder_idx]._length += pkt->data.frame.sz; in GetEncodedPartitions()
1009 encoded_images_[encoder_idx]._length, in GetEncodedPartitions()
1012 if (encoded_images_[encoder_idx]._length > 0) { in GetEncodedPartitions()
1014 encoded_images_[encoder_idx]._length); in GetEncodedPartitions()
1033 if (encoded_images_[0]._length > 0) { in GetEncodedPartitions()
1133 if (input_image._buffer == NULL && input_image._length > 0) { in Decode()
1214 if (input_image._length == 0) { in Decode()
1217 if (vpx_codec_decode(decoder_, buffer, input_image._length, 0, in Decode()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/i420/
Di420.cc117 _encodedImage._length = ret_length + kI420HeaderSize; in Encode()
178 if (inputImage._length <= 0) { in Decode()
187 if (inputImage._length < kI420HeaderSize) { in Decode()
201 if (req_length > inputImage._length) { in Decode()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc654 encoded_image_._length = 0; in GetEncodedLayerFrame()
664 memcpy(&encoded_image_._buffer[encoded_image_._length], pkt->data.frame.buf, in GetEncodedLayerFrame()
666 frag_info.fragmentationOffset[part_idx] = encoded_image_._length; in GetEncodedLayerFrame()
671 encoded_image_._length += static_cast<uint32_t>(pkt->data.frame.sz); in GetEncodedLayerFrame()
677 static_cast<unsigned int>(encoded_image_._length), in GetEncodedLayerFrame()
680 assert(encoded_image_._length <= encoded_image_._size); in GetEncodedLayerFrame()
689 if (encoded_image_._length > 0) { in GetEncodedLayerFrame()
690 TRACE_COUNTER1("webrtc", "EncodedFrameSize", encoded_image_._length); in GetEncodedLayerFrame()
909 if (input_image._length == 0) { in Decode()
915 static_cast<unsigned int>(input_image._length), 0, in Decode()
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediadecoder_jni.cc468 if (inputImage._buffer == NULL && inputImage._length > 0) { in Decode()
503 if (inputImage._length == 0) { in Decode()
550 if (CheckException(jni) || buffer_capacity < inputImage._length) { in DecodeOnCodecThread()
551 ALOGE << "Input frame size "<< inputImage._length << in DecodeOnCodecThread()
563 << ". Size: " << inputImage._length; in DecodeOnCodecThread()
565 memcpy(buffer, inputImage._buffer, inputImage._length); in DecodeOnCodecThread()
569 current_bytes_ += inputImage._length; in DecodeOnCodecThread()
576 inputImage._length, in DecodeOnCodecThread()
/external/clang/test/CodeGenCXX/
D2010-07-23-DeclLoc.cpp45 typename SIZE::size_t _length; member in TRange
46 …ame SIZE::ptr_t location, typename SIZE::size_t length) : _location(location), _length(length) { } in TRange()
/external/python/cpython2/Lib/multiprocessing/
Dpool.py645 self._length = None
658 if self._index == self._length:
664 if self._index == self._length:
691 if self._index == self._length:
699 self._length = length
700 if self._index == self._length:
718 if self._index == self._length:
/external/webrtc/webrtc/
Dvideo_frame.h178 : _buffer(buffer), _length(length), _size(size) {} in EncodedImage()
200 size_t _length; variable
/external/libchrome/third_party/jinja2/
Druntime.py357 _length = None variable in LoopContextBase
432 self._length = len(iterable)
434 self._length = None
439 if self._length is None:
447 self._length = len(iterable) + iterations_done
448 return self._length
Dasyncsupport.py197 self._length = length
201 if self._length is None:
204 return self._length
/external/python/cpython3/Lib/multiprocessing/
Dpool.py723 self._length = None
735 if self._index == self._length:
741 if self._index == self._length:
765 if self._index == self._length:
770 self._length = length
771 if self._index == self._length:
786 if self._index == self._length:

123