/foundation/communication/dsoftbus/adapter/common/kernel/liteos_m/ |
H A D | softbus_adapter_mem.c | 53 void SoftBusFree(void *pt) in SoftBusFree() argument 55 if (pt == NULL) { in SoftBusFree() 59 OhosFree(pt); in SoftBusFree() 61 free(pt); in SoftBusFree() 65 void SoftBusClearFree(void *pt, unsigned int size) in SoftBusClearFree() argument 67 if (pt == NULL) { in SoftBusClearFree() 70 (void)memset_s(pt, size, 0, size); in SoftBusClearFree() 71 SoftBusFree(pt); in SoftBusClearFree()
|
/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_mem.c | 43 void SoftBusFree(void *pt) in SoftBusFree() argument 45 if (pt == NULL) { in SoftBusFree() 48 free(pt); in SoftBusFree() 51 void SoftBusClearFree(void *pt, unsigned int size) in SoftBusClearFree() argument 53 if (pt == NULL) { in SoftBusClearFree() 56 (void)memset_s(pt, size, 0, size); in SoftBusClearFree() 57 SoftBusFree(pt); in SoftBusClearFree()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/ |
H A D | rtp_unpack_impl.cpp | 43 auto pt = header->pt_; in ParseRtp() local 44 auto decoder = rtpDecoder_[pt]; in ParseRtp() 50 switch (pt) { in ParseRtp() 53 CreateRtpDecoder(RtpPlaylodParam{pt, 90000, RtpPayloadStream::MPEG2_TS}); // 90000:audio clock cycle in ParseRtp() 57 // todo not support this pt in ParseRtp() 62 if (rtpSort_[pt]) { in ParseRtp() 63 rtpSort_[pt]->InputRtp(TRACK_VIDEO, (unsigned char *)data, len); in ParseRtp() 81 MEDIA_LOGD("rtpUnpackImpl::OnRtpSorted seq: %{public}d, pt: %{public}d.", rtp->GetSeq(), rtp->GetHeader()->pt_); in OnRtpSorted() 93 void RtpUnpackImpl::OnRtpDecode(int32_t pt, const Frame::Ptr &frame) in OnRtpDecode() argument 96 onRtpUnpack_(rtpSort_[pt] in OnRtpDecode() [all...] |
H A D | rtp_factory.cpp | 22 RtpPack::Ptr RtpFactory::CreateRtpPack(uint32_t ssrc, size_t mtuSize, uint32_t sampleRate, uint8_t pt, in CreateRtpPack() argument 25 return std::make_shared<RtpPackImpl>(ssrc, mtuSize, sampleRate, pt, ps, audioChannels); in CreateRtpPack()
|
H A D | rtp_pack_impl.cpp | 22 RtpPackImpl::RtpPackImpl(uint32_t ssrc, size_t mtuSize, uint32_t sampleRate, uint8_t pt, RtpPayloadStream ps, in RtpPackImpl() argument 24 : pt_(pt), ssrc_(ssrc), channels_(channels), sampleRate_(sampleRate), mtuSize_(mtuSize), ps_(ps) in RtpPackImpl()
|
/foundation/filemanagement/dfs_service/utils/system/include/ |
H A D | dfsu_thread_safe_queue.h | 42 void Push(std::unique_ptr<T> pt) in Push() argument 44 if (!pt) { in Push() 49 queue_.emplace_back(std::move(pt)); in Push() 54 void PushFront(std::unique_ptr<T> pt) in PushFront() argument 56 if (!pt) { in PushFront() 61 queue_.emplace_front(std::move(pt)); in PushFront()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | matrix_test.cpp | 339 Point pt; in HWTEST_F() local 340 pt.x = 1; in HWTEST_F() 341 pt.y = 1; in HWTEST_F() 342 matrix_.IdentityXY(m, sx, sy, pt); in HWTEST_F() 360 Point pt; in HWTEST_F() local 361 pt.x = 1; in HWTEST_F() 362 pt.y = 1; in HWTEST_F() 363 matrix_.ScaleXY(m, sx, sy, pt); in HWTEST_F() 381 Point pt; in HWTEST_F() local 382 pt in HWTEST_F() 402 Point pt; HWTEST_F() local 442 Point pt; HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | matrix.cpp | 203 void Matrix::IdentityXY(const Matrix &m, const float sx, const float sy, Point &pt) in IdentityXY() argument 206 pt.x = sx; in IdentityXY() 207 pt.y = sy; in IdentityXY() 211 void Matrix::ScaleXY(const Matrix &m, const float sx, const float sy, Point &pt) in ScaleXY() argument 214 pt.x = sx * m.fMat_[IMAGE_SCALEX] + m.fMat_[IMAGE_TRANSX]; in ScaleXY() 215 pt.y = sy * m.fMat_[IMAGE_SCALEY] + m.fMat_[IMAGE_TRANSY]; in ScaleXY() 219 void Matrix::TransXY(const Matrix &m, const float tx, const float ty, Point &pt) in TransXY() argument 222 pt.x = tx + m.fMat_[IMAGE_TRANSX]; in TransXY() 223 pt.y = ty + m.fMat_[IMAGE_TRANSY]; in TransXY() 227 void Matrix::RotXY(const Matrix &m, const float rx, const float ry, Point &pt) in RotXY() argument [all...] |
H A D | basic_transformer.cpp | 214 static inline void pointLoop(Point &pt, const Size &size) in pointLoop() argument 216 if (pt.x < 0) { in pointLoop() 217 pt.x = size.width + pt.x; in pointLoop() 219 if (pt.y < 0) { in pointLoop() 220 pt.y = size.height + pt.y; in pointLoop() 354 void BasicTransformer::BilinearProc(const Point &pt, const PixmapInfo &pixmapInfo, const uint32_t rb, in BilinearProc() argument 357 uint32_t srcX = (pt.x * MULTI_65536) - HALF_BASIC < 0 ? 0 : (pt in BilinearProc() [all...] |
/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_mem.h | 29 void SoftBusFree(void *pt); 30 void SoftBusClearFree(void *pt, unsigned int size);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | basic_transformer.h | 45 static inline bool CheckOutOfRange(const Point &pt, const Size &size) in CheckOutOfRange() argument 47 if ((pt.x >= 0) && (pt.x < size.width) && (pt.y >= 0) && (pt.y < size.height)) { in CheckOutOfRange() 174 void BilinearProc(const Point &pt, const PixmapInfo &pixmapInfo, const uint32_t rb, const int32_t shiftBytes,
|
H A D | matrix.h | 137 static void IdentityXY(const Matrix &m, const float sx, const float sy, Point &pt); 139 static void ScaleXY(const Matrix &m, const float sx, const float sy, Point &pt); 141 static void TransXY(const Matrix &m, const float tx, const float sy, Point &pt); 143 static void RotXY(const Matrix &m, const float rx, const float ry, Point &pt);
|
/foundation/resourceschedule/ffrt/interfaces/inner_api/cpp/ |
H A D | future.h | 292 packaged_task(const packaged_task& pt) noexcept 294 m_fn = pt.m_fn; 295 m_state = pt.m_state; 298 packaged_task(packaged_task&& pt) noexcept 300 swap(pt); 303 packaged_task& operator=(packaged_task&& pt) noexcept 305 if (this != &pt) { 306 packaged_task tmp(std::move(pt)); 338 void swap(packaged_task& pt) noexcept 340 std::swap(m_fn, pt [all...] |
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | base_thread.cpp | 38 BaseThread *pt = static_cast<BaseThread *>(arg); in RunInThread() local 39 pt->Run(); in RunInThread()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | text_blob_test.cpp | 96 OH_Drawing_Point2D pt; in OnTestPerformance() local 97 pt.x = rand.nextULessThan(bitmapWidth_); in OnTestPerformance() 98 pt.y = rand.nextULessThan(bitmapHeight_); in OnTestPerformance() 100 OH_Drawing_TextBlobCreateFromPosText(text.c_str(), len, &pt, font, TEXT_ENCODING_UTF8); in OnTestPerformance()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/type/ |
H A D | sa_string_type_emitter.cpp | 42 std::string SaStringTypeEmitter::EmitRustType(bool pt, TypeMode mode) const in EmitRustType() argument 44 return pt ? "str" : "String"; in EmitRustType()
|
H A D | sa_boolean_type_emitter.h | 29 std::string EmitRustType(bool pt = false, TypeMode mode = TypeMode::NO_MODE) const override;
|
H A D | sa_byte_type_emitter.h | 28 std::string EmitRustType(bool pt = false, TypeMode mode = TypeMode::NO_MODE) const override;
|
H A D | sa_char_type_emitter.h | 29 std::string EmitRustType(bool pt = false, TypeMode mode = TypeMode::NO_MODE) const override;
|
H A D | sa_interface_type_emitter.h | 28 std::string EmitRustType(bool pt = false, TypeMode mode = TypeMode::NO_MODE) const override;
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/include/ |
H A D | rtp_factory.h | 38 * @param pt payload type 40 static RtpPack::Ptr CreateRtpPack(uint32_t ssrc, size_t mtuSize, uint32_t sampleRate, uint8_t pt,
|
H A D | rtp_pack_impl.h | 29 RtpPackImpl(uint32_t ssrc, size_t mtuSize, uint32_t sampleRate, uint8_t pt, RtpPayloadStream ps,
|
H A D | rtp_unpack_impl.h | 40 void OnRtpDecode(int32_t pt, const Frame::Ptr &frame);
|
/foundation/arkui/ace_engine/frameworks/core/image/apng/ |
H A D | apng_image_player.cpp | 418 SkPaint pt; in DrawTest() local 419 pt.setStyle(SkPaint::kFill_Style); in DrawTest() 420 pt.setColor(SK_ColorRED); in DrawTest() 421 blendCanvas_->drawRect(SkRect::MakeXYWH(TestX, TestX, TestWidth, TestWidth), pt); in DrawTest() local 434 SkPaint pt; in DrawTestBorder() local 435 pt.setStyle(SkPaint::kStroke_Style); in DrawTestBorder() 436 pt.setColor(SK_ColorRED); in DrawTestBorder() 437 pt.setStrokeWidth(1); in DrawTestBorder() 438 blendCanvas_->drawRect(rect, pt); in DrawTestBorder()
|
/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | touch_gesture_detector.h | 41 Point(float px, float py, int64_t pt) in Point() 42 : x(px), y(py), time(pt) {} in Point()
|