Lines Matching defs:rhs

615      *  \param rhs the string to copy.
619 string& operator=(const string& rhs)
621 if (this == &rhs) {
631 if (rhs.size_ == 0 || rhs.str_ == NULL) {
636 str_ = new char[rhs.size_ + 1];
637 size_ = rhs.size_;
640 memcpy(str_, rhs.str_, (size_ + 1) * sizeof(char));
652 * \param rhs the string to copy.
654 string(const string& rhs) :
658 *this = rhs;
807 * \param rhs vector to copy.
811 vector<T, N>& operator=(const vector<T, N>& rhs)
813 if (this == &rhs) {
817 if (rhs.size_ != 0) {
818 assign(rhs.begin(), rhs.end());
962 iterator(const iterator& rhs) :
963 vec_(rhs.vec_),
964 index_(rhs.index_)
1841 Wrapper(const Wrapper<cl_type>& rhs)
1843 object_ = rhs.object_;
1848 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT
1850 object_ = rhs.object_;
1851 rhs.object_ = NULL;
1855 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1857 if (this != &rhs) {
1859 object_ = rhs.object_;
1866 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1868 if (this != &rhs) {
1870 object_ = rhs.object_;
1871 rhs.object_ = NULL;
1877 Wrapper<cl_type>& operator = (const cl_type &rhs)
1880 object_ = rhs;
1940 Wrapper(const Wrapper<cl_type>& rhs)
1942 object_ = rhs.object_;
1948 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT
1950 object_ = rhs.object_;
1951 referenceCountable_ = rhs.referenceCountable_;
1952 rhs.object_ = NULL;
1953 rhs.referenceCountable_ = false;
1957 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1959 if (this != &rhs) {
1961 object_ = rhs.object_;
1962 referenceCountable_ = rhs.referenceCountable_;
1969 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1971 if (this != &rhs) {
1973 object_ = rhs.object_;
1974 referenceCountable_ = rhs.referenceCountable_;
1975 rhs.object_ = NULL;
1976 rhs.referenceCountable_ = false;
1982 Wrapper<cl_type>& operator = (const cl_type &rhs)
1985 object_ = rhs;
2043 ImageFormat& operator = (const ImageFormat& rhs)
2045 if (this != &rhs) {
2046 this->image_channel_data_type = rhs.image_channel_data_type;
2047 this->image_channel_order = rhs.image_channel_order;
2082 Device& operator = (const cl_device_id& rhs)
2084 detail::Wrapper<cl_type>::operator=(rhs);
2229 Platform& operator = (const cl_platform_id& rhs)
2231 detail::Wrapper<cl_type>::operator=(rhs);
2747 * This effectively transfers ownership of a refcount on the rhs and calls
2750 Context& operator = (const cl_context& rhs)
2752 detail::Wrapper<cl_type>::operator=(rhs);
2883 * This effectively transfers ownership of a refcount on the rhs and calls
2886 Event& operator = (const cl_event& rhs)
2888 detail::Wrapper<cl_type>::operator=(rhs);
3062 * This effectively transfers ownership of a refcount on the rhs and calls
3065 Memory& operator = (const cl_mem& rhs)
3067 detail::Wrapper<cl_type>::operator=(rhs);
3306 Buffer& operator = (const cl_mem& rhs)
3308 Memory::operator=(rhs);
3441 BufferD3D10& operator = (const cl_mem& rhs)
3443 Buffer::operator=(rhs);
3527 BufferGL& operator = (const cl_mem& rhs)
3529 Buffer::operator=(rhs);
3596 Image& operator = (const cl_mem& rhs)
3598 Memory::operator=(rhs);
3713 Image1D& operator = (const cl_mem& rhs)
3715 Image::operator=(rhs);
3790 Image1DBuffer& operator = (const cl_mem& rhs)
3792 Image::operator=(rhs);
3871 Image1DArray& operator = (const cl_mem& rhs)
3873 Image::operator=(rhs);
4001 Image2D& operator = (const cl_mem& rhs)
4003 Image::operator=(rhs);
4094 Image2DGL& operator = (const cl_mem& rhs)
4096 Image2D::operator=(rhs);
4181 Image2DArray& operator = (const cl_mem& rhs)
4183 Image::operator=(rhs);
4315 Image3D& operator = (const cl_mem& rhs)
4317 Image::operator=(rhs);
4405 Image3DGL& operator = (const cl_mem& rhs)
4407 Image3D::operator=(rhs);
4480 ImageGL& operator = (const cl_mem& rhs)
4482 Image::operator=(rhs);
4580 BufferRenderGL& operator = (const cl_mem& rhs)
4583 ImageGL::operator=(rhs);
4585 Image2DGL::operator=(rhs);
4603 BufferRenderGL& operator = (const BufferRenderGL &rhs)
4606 ImageGL::operator=(rhs);
4608 Image2DGL::operator=(rhs);
4698 * This effectively transfers ownership of a refcount on the rhs and calls
4701 Sampler& operator = (const cl_sampler& rhs)
4703 detail::Wrapper<cl_type>::operator=(rhs);
4892 * This effectively transfers ownership of a refcount on the rhs and calls
4895 Kernel& operator = (const cl_kernel& rhs)
4897 detail::Wrapper<cl_type>::operator=(rhs);
5230 Program& operator = (const cl_program& rhs)
5232 detail::Wrapper<cl_type>::operator=(rhs);
5688 CommandQueue& operator = (const cl_command_queue& rhs)
5690 detail::Wrapper<cl_type>::operator=(rhs);