/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | safe_queue.h | 68 void Push(const T& pt) in Push() argument 71 return DoPush(pt); in Push() 90 bool Pop(T& pt) in Pop() argument 93 return DoPop(pt); in Pop() 98 virtual bool DoPop(T& pt) = 0; 118 deque_.push_back(pt); in DoPush() 125 bool DoPop(T& pt) override in DoPop() argument 128 pt = deque_.front(); in DoPop() 151 deque_.push_back(pt); in DoPush() 158 bool DoPop(T& pt) override in DoPop() argument [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | matrix_test.cpp | 339 Point pt; variable 340 pt.x = 1; 341 pt.y = 1; 360 Point pt; variable 361 pt.x = 1; 362 pt.y = 1; 381 Point pt; variable 382 pt.x = 1; 383 pt.y = 1; 402 Point pt; variable [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/panic_maker/ |
H A D | main.rs | 34 fn test_panic(pt: &String) { in test_panic() 35 if pt == "main" { in test_panic() 37 } else if pt == "child" { in test_panic() 39 } else if pt == "multi" { in test_panic() 41 }else if pt == "print_trace" { in test_panic() 43 } else if pt == "get_trace" { in test_panic()
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c-utils-guide-safe_queue.md | 25 | void | **Push**(const T& pt)<br/>入队操作 | 26 | void | virtual void **DoPush**(const T& pt) = 0<br/>Push底层调用DoPush,需要重写 | 27 | bool | **Pop**(T& pt)<br/>出队操作 | 28 | bool | virtual **DoPop**(T& pt) = 0<br/>Push底层调用DoPop,需要重写 | 35 | void | **DoPush**(const T& pt)<br/>入队操作 | 36 | bool | **DoPop**(T& pt)<br/>出队操作 | 43 | void | **DoPush**(const T& pt)<br/>入栈操作 | 44 | bool | **DoPop**(T& pt)<br/>出栈操作 |
|
/ohos5.0/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); 305 if (this != &pt) { 306 packaged_task tmp(std::move(pt)); 338 void swap(packaged_task& pt) noexcept 340 std::swap(m_fn, pt.m_fn); 341 std::swap(m_state, pt.m_state); [all …]
|
/ohos5.0/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()
|
/ohos5.0/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 | 217 static inline void pointLoop(Point &pt, const Size &size) in pointLoop() argument 219 if (pt.x < 0) { in pointLoop() 220 pt.x = size.width + pt.x; in pointLoop() 222 if (pt.y < 0) { in pointLoop() 223 pt.y = size.height + pt.y; in pointLoop() 357 void BasicTransformer::BilinearProc(const Point &pt, const PixmapInfo &pixmapInfo, const uint32_t r… in BilinearProc() argument 360 uint32_t srcX = (pt.x * MULTI_65536) - HALF_BASIC < 0 ? 0 : (pt.x * MULTI_65536) - HALF_BASIC; in BilinearProc() 361 uint32_t srcY = (pt.y * MULTI_65536) - HALF_BASIC < 0 ? 0 : (pt.y * MULTI_65536) - HALF_BASIC; in BilinearProc()
|
/ohos5.0/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()
|
/ohos5.0/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 …
|
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);
|
/ohos5.0/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()
|
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/resource/ |
H A D | locales.txt | 362 pt 363 pt-AO 364 pt-BR 365 pt-CV 366 pt-GW 367 pt-MO 368 pt-MZ 369 pt-PT 370 pt-ST 371 pt-TL
|
/ohos5.0/base/startup/hvb/libhvb/src/crypto/ |
H A D | hvb_rsa_verify.c | 128 uint8_t *pt = NULL; in rsa_gen_mask_mgf_v1() local 138 pt = (uint8_t *)hvb_malloc(mask_len + hash_len); in rsa_gen_mask_mgf_v1() 139 if (!pt) { in rsa_gen_mask_mgf_v1() 154 p_tmp = pt; in rsa_gen_mask_mgf_v1() 173 hvb_memcpy(mask, pt, mask_len); in rsa_gen_mask_mgf_v1() 176 if (pt != NULL) in rsa_gen_mask_mgf_v1() 177 hvb_free(pt); in rsa_gen_mask_mgf_v1()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | 写作规范.md | 81 线条宽度:0.75pt 89 字体大小:10pt
|
/ohos5.0/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() 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()
|
/ohos5.0/docs/zh-cn/contribute/style-guide/ |
H A D | style-guide-content-elements.md | 88 【建议】字号:中英文正常字号均采用10.5pt(14px)。中文字号下限为9pt(12px),英文字号下限为8pt(11px)。
|
/ohos5.0/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_char_type_emitter.h | 29 std::string EmitRustType(bool pt = false, TypeMode mode = TypeMode::NO_MODE) const override;
|
/ohos5.0/base/msdp/device_status/libs/src/ |
H A D | devicestatus_algorithm_manager.cpp | 105 SensorInfo *pt = sensorInfo + count; in CheckSensorTypeId() local 106 for (SensorInfo *ps = sensorInfo; ps < pt; ++ps) { in CheckSensorTypeId()
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_mem.h | 29 void SoftBusFree(void *pt);
|
/ohos5.0/base/security/permission_lite/services/unittest/pms/src/ |
H A D | acts_pms_test.h | 76 int CheckPermData(const PermissionTrans *pt, const PermissionSaved *ps, const PermissionSaved *pre,…
|
/ohos5.0/foundation/resourceschedule/device_standby/plugins/extend_constraints/src/ |
H A D | motion_sensor_monitor.cpp | 53 SensorInfo *pt = sensorInfo + count; in CheckSersorUsable() local 54 for (SensorInfo *ps = sensorInfo; ps < pt; ++ps) { in CheckSersorUsable()
|