Home
last modified time | relevance | path

Searched refs:cap_ (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_shared_buffer.cpp24 cap_ = A2DP_SBC_MAX_PACKET_SIZE * FRAME_THREE; in A2dpSharedBuffer()
41 __func__, size_, len, cap_); in Read()
50 if (memcpy_s(shiftBuf_, cap_, buf_ + len, size_) != EOK) { in Read()
53 if (memcpy_s(buf_, cap_, shiftBuf_, size_) != EOK) { in Read()
57 __func__, size_, len, cap_); in Read()
69 __func__, size_, len, cap_); in Write()
70 if (size_ + len > cap_) { in Write()
72 __func__, size_, len, cap_); in Write()
75 if (memcpy_s(buf_ + size_, cap_ - size_, buf, len) != EOK) { in Write()
80 __func__, size_, len, cap_); in Write()
[all …]
H A Da2dp_shared_buffer.h33 uint32_t cap_;
/ohos5.0/foundation/multimedia/media_foundation/src/common/
H A Dplugin_caps_builder.h41 cap_.keys[key] = val; \
50 cap_.keys[key] = std::make_pair(min, max); \
57 cap_.keys[key] = val; \
81 cap_.mime = std::move(mime); in SetMime()
115 return cap_; in Build()
123 cap_.mime.clear(); in Reset()
124 cap_.keys.clear(); in Reset()
127 Capability cap_;
/ohos5.0/foundation/multimedia/media_foundation/engine/include/plugin/common/
H A Dplugin_caps_builder.h41 cap_.keys[key] = val; \
50 cap_.keys[key] = std::make_pair(min, max); \
57 cap_.keys[key] = val; \
81 cap_.mime = std::move(mime); in SetMime()
115 return cap_; in Build()
123 cap_.mime.clear(); in Reset()
124 cap_.keys.clear(); in Reset()
127 Capability cap_;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpaint.cpp32 cap_ = other.cap_; in Paint()
60 cap_ = other.cap_; in operator =()
120 cap_ = pen.GetCapStyle(); in AttachPen()
185 cap_ = cs; in SetCapStyle()
248 cap_ = Pen::CapStyle::DEFAULT_CAP; in Reset()
274 p1.cap_ == p2.cap_ && in operator ==()
293 p1.cap_ != p2.cap_ || in operator !=()
H A Dpen.cpp27 cap_(Pen::CapStyle::FLAT_CAP), in Pen()
124 return cap_; in GetCapStyle()
129 cap_ = cs; in SetCapStyle()
249 …_ == p2.width_ && p1.miterLimit_ == p2.miterLimit_ && p1.join_ == p2.join_ && p1.cap_ == p2.cap_ && in operator ==()
264 out += " capStyle:" + std::to_string(static_cast<int>(cap_)); in Dump()
/ohos5.0/drivers/peripheral/display/composer/test/common/
H A Dhdi_test_display.cpp33 int ret = device_->GetDisplayCapability(id_, cap_); in Init()
36 cap_.name.c_str(), cap_.type, cap_.phyWidth, cap_.phyHeight); in Init()
H A Dhdi_test_display.h70 DisplayCapability cap_; variable
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/network/async_context/include/
H A Dgettype_context.h43 void SetCap(const NetAllCapabilities &cap_);
56 NetAllCapabilities cap_; variable
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/network/async_context/src/
H A Dgettype_context.cpp156 cap_ = cap; in SetCap()
161 return cap_; in GetCap()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A Dpaint.h71 Pen::CapStyle GetCapStyle() const { return cap_; } in GetCapStyle()
118 Pen::CapStyle cap_ = Pen::CapStyle::DEFAULT_CAP; variable
H A Dpen.h331 CapStyle cap_; variable