Home
last modified time | relevance | path

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

12

/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/icu/icu4c/source/common/unicode/
Dunistr.h118 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)U_DECLARE_UTF16(cs),… argument
120 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)L ## cs, _length) argument
122 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)cs, _length) argument
124 # define UNICODE_STRING(cs, _length) icu::UnicodeString(cs, _length, US_INV) argument
3739 int32_t& _length) const in pinIndices() argument
3748 if(_length < 0) { in pinIndices()
3749 _length = 0; in pinIndices()
3750 } else if(_length > (len - start)) { in pinIndices()
3751 _length = (len - start); in pinIndices()
3888 int32_t _length, in compare() argument
[all …]
/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()
Dencoded_frame.h62 size_t Length() const { return _length; } in Length()
/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.cpp137 return(_length); in length()
153 _length=0; in init()
189 _length=width_*height_*map_.length(); in init()
190 _size=_length*size; in init()
205 _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/webrtc/webrtc/
Dvideo_frame.h178 : _buffer(buffer), _length(length), _size(size) {} in EncodedImage()
200 size_t _length; variable
/external/python/cpython2/Lib/multiprocessing/
Dpool.py640 self._length = None
653 if self._index == self._length:
659 if self._index == self._length:
686 if self._index == self._length:
694 self._length = length
695 if self._index == self._length:
713 if self._index == self._length:
/external/libmojo/third_party/jinja2/
Druntime.py295 self._length = len(iterable)
297 self._length = None
338 if self._length is None:
345 self._length = len(iterable) + self.index0 + 1
346 return self._length
/external/webrtc/webrtc/video/
Dencoded_frame_callback_adapter.cc30 const EncodedFrame frame(encodedImage._buffer, encodedImage._length, in Encoded()
/external/protobuf/cmake/
Dinstall.cmake56 string(LENGTH "${_found}" _length)
57 string(SUBSTRING "${_string}" ${_length} -1 _draft_list)
/external/libevent/include/event2/
Drpc_compat.h55 #define EVTAG_LEN(msg, member) ((msg)->member##_length)
/external/skia/tests/
DBitmapCopyTest.cpp39 explicit Coordinates(int _length): length(_length) in Coordinates()

12