/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | paint.cpp | 268 p1.color_ == p2.color_ && in operator ==() 270 p1.style_ == p2.style_ && in operator ==() 273 p1.join_ == p2.join_ && in operator ==() 274 p1.cap_ == p2.cap_ && in operator ==() 275 p1.filter_ == p2.filter_ && in operator ==() 279 p1.blender_ == p2.blender_ && in operator ==() 287 p1.color_ != p2.color_ || in operator !=() 289 p1.style_ != p2.style_ || in operator !=() 292 p1.join_ != p2.join_ || in operator !=() 293 p1.cap_ != p2.cap_ || in operator !=() [all …]
|
H A D | pen.cpp | 247 bool operator==(const Pen& p1, const Pen& p2) in operator ==() argument 249 …return p1.width_ == p2.width_ && p1.miterLimit_ == p2.miterLimit_ && p1.join_ == p2.join_ && p1.ca… in operator ==() 250 p1.pathEffect_ == p2.pathEffect_ && p1.brush_ == p2.brush_; in operator ==() 253 bool operator!=(const Pen& p1, const Pen& p2) in operator !=() argument 255 return !(p1 == p2); in operator !=()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | point.h | 145 return PointF(p1.x_ + p2.x_, p1.y_ + p2.y_); 150 return PointF(p1.x_ - p2.x_, p1.y_ - p2.y_); 181 inline bool operator==(const PointF& p1, const PointF& p2) 183 return IsScalarAlmostEqual(p1.x_, p2.x_) && IsScalarAlmostEqual(p1.y_, p2.y_); 186 inline bool operator!=(const PointF& p1, const PointF& p2) 188 return !IsScalarAlmostEqual(p1.x_, p2.x_) || !IsScalarAlmostEqual(p1.y_, p2.y_); 291 return PointI(p1.x_ + p2.x_, p1.y_ + p2.y_); 296 return PointI(p1.x_ - p2.x_, p1.y_ - p2.y_); 327 inline bool operator==(const PointI& p1, const PointI& p2) 329 return p1.x_ == p2.x_ && p1.y_ == p2.y_; [all …]
|
H A D | point3.h | 53 friend inline bool operator==(const Point3& p1, const Point3& p2); 54 friend inline bool operator!=(const Point3& p1, const Point3& p2); 133 inline const Point3 operator+(const Point3& p1, const Point3& p2) 135 return Point3(p1.x_ + p1.y_, p2.x_ + p2.y_, p1.z_ + p2.z_); 138 inline const Point3 operator-(const Point3& p1, const Point3& p2) 140 return Point3(p1.x_ - p2.x_, p1.y_ - p2.y_, p1.z_ - p2.z_); 173 inline bool operator==(const Point3& p1, const Point3& p2) 175 …return IsScalarAlmostEqual(p1.x_, p2.x_) && IsScalarAlmostEqual(p1.y_, p2.y_) && IsScalarAlmostEqu… 178 inline bool operator!=(const Point3& p1, const Point3& p2) 180 return !IsScalarAlmostEqual(p1.x_, p2.x_) || !IsScalarAlmostEqual(p1.y_, p2.y_) || [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_triangle.cpp | 35 if ((p1.x == p2.x) && ((p1.y == p2.y) || (p1.x == p3.x))) { in Draw() 38 if ((p2.x == p3.x) && (p2.y == p3.y)) { in Draw() 44 SortVertexs(p1, p2, p3); in Draw() 45 Edge edge1 = InitEdge(p1, p2); in Draw() 53 edge1 = InitEdge(p2, p3); in Draw() 79 SortPoint(p1, p2); in SortVertexs() 80 SortPoint(p2, p3); in SortVertexs() 81 SortPoint(p1, p2); in SortVertexs() 87 if (p1.y > p2.y) { in SortPoint() 89 p1 = p2; in SortPoint() [all …]
|
H A D | draw_utils.cpp | 1727 … triangleInfo.p1.x * triangleInfo.p2.y - triangleInfo.p2.x * triangleInfo.p1.y) < 0; 1752 … edge1 = TriangleEdge(triangleInfo.p1.x, triangleInfo.p1.y, triangleInfo.p2.x, triangleInfo.p2.y); 1755 … edge2 = TriangleEdge(triangleInfo.p1.x, triangleInfo.p1.y, triangleInfo.p2.x, triangleInfo.p2.y); 1778 … edge2 = TriangleEdge(triangleInfo.p2.x, triangleInfo.p2.y, triangleInfo.p3.x, triangleInfo.p3.y); 1781 … edge1 = TriangleEdge(triangleInfo.p2.x, triangleInfo.p2.y, triangleInfo.p3.x, triangleInfo.p3.y); 1785 … edge1 = TriangleEdge(triangleInfo.p2.x, triangleInfo.p2.y, triangleInfo.p3.x, triangleInfo.p3.y); 1787 … edge2 = TriangleEdge(triangleInfo.p2.x, triangleInfo.p2.y, triangleInfo.p3.x, triangleInfo.p3.y); 1931 Point p2; local 1937 …triangleInfo.isRightPart = ((p1.y - p3.y) * p2.x + (p3.x - p1.x) * p2.y + p1.x * p3.y - p3.x * p1.… 1942 triangleInfo.p2 = p2; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/ |
H A D | dstream_adaptor_client_test.c | 72 p2->pkgName = PKGNAME; in ConstructVtpStreamOpenParam() 73 p2->myIp = "127.0.0.1"; in ConstructVtpStreamOpenParam() 74 p2->peerIp = "127.0.0.1"; in ConstructVtpStreamOpenParam() 75 p2->peerPort = port2; in ConstructVtpStreamOpenParam() 76 p2->type = RAW_STREAM; in ConstructVtpStreamOpenParam() 78 p2->keyLen = SESSION_KEY_LENGTH; in ConstructVtpStreamOpenParam() 85 if (p1 == NULL || p2 == NULL) { in SendVtpStreamTest() 95 ret = StartVtpStreamChannelClient(CHANNELID2, p2, callback); in SendVtpStreamTest() 136 VtpStreamOpenParam p2; in main() local 137 int ret = ConstructVtpStreamOpenParam(&p1, &p2, argv); in main() [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | recentphotocomponent.js | 100 handleOnReceive(p2) { argument 102 let q2 = p2.dataType; 105 this.onRecentPhotoCheckResult(p2.isExist); 111 r2.uri = p2.uri; 112 r2.mimeType = p2.mimeType; 113 r2.width = p2.width; 114 r2.height = p2.height; 115 r2.size = p2.size; 116 r2.duration = p2.duration; 126 s2.identifier = p2.identifier; [all …]
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/ |
H A D | reclaim_priority_manager.h | 84 if (p1->uid_ == p2->uid_) { in operator() 88 if (p1->priority_ != p2->priority_) { in operator() 94 return p1->uid_ < p2->uid_; in operator() 103 if (p1.uid_ == p2.uid_) { in operator() 107 if (p1.priority_ != p2.priority_) { in operator() 109 return p1.priority_ > p2.priority_; in operator() 113 return p1.uid_ < p2.uid_; in operator() 122 if (p1.pid_ == p2.pid_) { in operator() 125 if (p1.priority_ != p2.priority_) { in operator() 126 return p1.priority_ < p2.priority_; in operator() [all …]
|
/ohos5.0/foundation/multimodalinput/input/util/network/test/ |
H A D | net_packet_test.cpp | 179 std::string p2 = "test111"; variable 181 pkt << p1 << p2; 187 EXPECT_EQ(p2, r2); 199 std::string p2 = "test111"; variable 201 pkt << p1 << p2; 221 std::string p2 = "test111"; variable 223 pkt << p1 << p2; 231 EXPECT_EQ(p2, r2);
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-new-appstoragev2.md | 130 Text(`Page1 add 1 to prop.p2: ${this.prop.p2}`) 133 // 页面不刷新,但是p2的值改变了 134 this.prop.p2++; 177 Text(`Page2 add 1 to prop.p2: ${this.prop.p2}`) 180 // 页面不刷新,但是p2的值改变了;只有重新初始化才会改变 181 this.prop.p2++; 217 p2: number = 10;
|
H A D | arkts-new-persistencev2.md | 191 Text(`Page1 add 1 to prop.p2: ${this.prop.f.p2}`) 194 // 页面不刷新,但是p2的值改变了 195 this.prop.f.p2++; 240 Text(`Page2 add 1 to prop.p2: ${this.prop.f.p2}`) 243 // 页面不刷新,但是p2的值改变了;只有重新初始化才会改变 244 this.prop.f.p2++; 282 p2: number = 10;
|
/ohos5.0/drivers/peripheral/secure_element/test/unittest/se_impl_test/ |
H A D | se_impl_test.cpp | 108 uint8_t p2 = 0; variable 113 int ret = seImpl->openLogicalChannel(aid, p2, response, channelNumber, status); 125 uint8_t p2 = 0; variable 130 int ret = seImpl->openLogicalChannel(aid, p2, response, channelNumber, status); 142 uint8_t p2 = 0; variable 146 int ret = seImpl->openBasicChannel(aid, p2, response, status); 158 uint8_t p2 = 0; variable 162 int ret = seImpl->openBasicChannel(aid, p2, response, status);
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/utils/bundle_lite/ |
H A D | uptr.h | 92 void swap(Uptr &p2) 95 ptr_ = p2.ptr_; 96 p2.ptr_ = tmp; 109 template<class T2> bool operator==(Uptr<T2> const &p2) const; 110 template<class T2> bool operator!=(Uptr<T2> const &p2) const;
|
/ohos5.0/base/update/updater/services/fs_manager/ |
H A D | do_partition.cpp | 283 for (auto& p2 : ulist) { in AddPartitions() local 284 if (p2->partName == USERDATA_PARTNAME) { in AddPartitions() 288 if (p2->partName == UPDATER_PARTNAME) { in AddPartitions() 292 p2->partNum = userNum + step; in AddPartitions() 293 …if (snprintf_s(pdevname, sizeof(pdevname), sizeof(pdevname) - 1, "%sp%d", MMC_DEV, p2->partNum) ==… in AddPartitions() 296 p2->devName.clear(); in AddPartitions() 297 p2->devName = pdevname; in AddPartitions() 298 LOG(INFO) << "Adding partition " << p2->partName; in AddPartitions() 299 if (!DoAddPartition (disk, *p2)) { in AddPartitions() 300 LOG(ERROR) << "Add partition fail for " << p2->partName; in AddPartitions()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/ |
H A D | _apdu_sim_i_o_request_info_v10.md | 25 | int [p2](#p2) | SIM数据请求命令参数2,参考3GPP TS 51.011[28] | 73 ### p2 subsection 76 int ApduSimIORequestInfo::p2
|
H A D | _apdu_sim_i_o_request_info_v11.md | 25 | int [p2](#p2) | SIM数据请求命令参数2,参考3GPP TS 51.011[28] | 73 ### p2 subsection 76 int ApduSimIORequestInfo::p2
|
H A D | _sim_io_request_info_v10.md | 23 | int [p2](#p2) | SIM数据请求命令参数2,参考3GPP TS 51.011[28] | 85 ### p2 subsection 88 int SimIoRequestInfo::p2
|
H A D | _sim_io_request_info_v11.md | 23 | int [p2](#p2) | SIM数据请求命令参数2,参考3GPP TS 51.011[28] | 85 ### p2 subsection 88 int SimIoRequestInfo::p2
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/secureelement/ |
H A D | interface_i_secure_element_interface.md | 23 …nlogicalchannel) ([in] List< unsigned char > aid, [in] unsigned char p2, [out] List< unsi… 24 …penbasicchannel) ([in] List< unsigned char > aid, [in] unsigned char p2, [out] List< unsi… 114 ISecureElementInterface::openBasicChannel ([in] List< unsigned char > aid, [in] unsigned char p2, [… 128 | p2 | 在该通道上执行的SELECT APDU。 | 136 ISecureElementInterface::openLogicalChannel ([in] List< unsigned char > aid, [in] unsigned char p2,… 150 | p2 | 在该通道上执行的SELECT APDU。 |
|
/ohos5.0/drivers/peripheral/secure_element/hdi_service/ |
H A D | se_impl.cpp | 58 int32_t SeImpl::openLogicalChannel(const std::vector<uint8_t>& aid, uint8_t p2, std::vector<uint8_t… in openLogicalChannel() argument 61 return adaptor_.openLogicalChannel(aid, p2, response, channelNumber, status); in openLogicalChannel() 64 int32_t SeImpl::openBasicChannel(const std::vector<uint8_t>& aid, uint8_t p2, std::vector<uint8_t>&… in openBasicChannel() argument 67 return adaptor_.openBasicChannel(aid, p2, response, status); in openBasicChannel()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | macros.h | 27 #define META_GET_MACRO3_IMPL(p0, p1, p2, macro, ...) macro argument 28 #define META_GET_MACRO4_IMPL(p0, p1, p2, p3, macro, ...) macro argument 29 #define META_GET_MACRO5_IMPL(p0, p1, p2, p3, p4, macro, ...) macro argument
|
/ohos5.0/drivers/peripheral/secure_element/sim_hdi_service/ |
H A D | secure_element_interface_service.cpp | 48 …32_t SecureElementInterfaceService::openLogicalChannel(const std::vector<uint8_t>& aid, uint8_t p2, in openLogicalChannel() argument 52 return adaptor_.openLogicalChannel(aid, p2, response, channelNumber, status); in openLogicalChannel() 55 int32_t SecureElementInterfaceService::openBasicChannel(const std::vector<uint8_t>& aid, uint8_t p2, in openBasicChannel() argument 58 return adaptor_.openBasicChannel(aid, p2, response, status); in openBasicChannel()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_attraction_effect_filter_test.cpp | 155 Drawing::Point p2 = { 10.0f, 10.0f }; variable 158 Drawing::Point point = firstEffectFilter.LerpPoint(p1, p2, firstFactor, secondFactor); 172 Drawing::Point p2 = { 10.0f, 10.0f }; variable 176 Drawing::Point point = firstEffectFilter.CubicBezier(p1, p2, p3, p4, t); 190 float p2 = 0.8f; variable 192 EXPECT_NE(firstEffectFilter.CalculateCubic(p1, p2, t), 0.0f); 205 Drawing::Point p2 = { 0.2f, 1.0f }; variable 207 EXPECT_NE(firstEffectFilter.BinarySearch(targetX, p1, p2), 0.0f);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/ |
H A D | CubeShape.js | 68 …let p2 = new Point(this.center.x + this.width / 2, this.center.y + this.height / 2, this.center.z … 73 let x = p1.x + j * (p2.x - p1.x) / this.widthSegments; 91 …let p2 = new Point(this.center.x + this.width / 2, this.center.y - this.height / 2, this.center.z … 96 let x = p1.x + j * (p2.x - p1.x) / this.widthSegments; 114 …let p2 = new Point(this.center.x - this.width / 2, this.center.y + this.height / 2, this.center.z … 119 let z = p1.z + j * (p2.z - p1.z) / this.depthSegments; 137 …let p2 = new Point(this.center.x + this.width / 2, this.center.y + this.height / 2, this.center.z … 142 let z = p1.z + j * (p2.z - p1.z) / this.depthSegments; 160 …let p2 = new Point(this.center.x + this.width / 2, this.center.y + this.height / 2, this.center.z … 165 let x = p1.x + j * (p2.x - p1.x) / this.widthSegments; [all …]
|