/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/ |
H A D | printer_info.cpp | 58 hasUri_(right.hasUri_), in PrinterInfo() 59 uri_(right.uri_), in PrinterInfo() 63 option_(right.option_), in PrinterInfo() 72 if (this != &right) { in operator =() 83 hasUri_ = right.hasUri_; in operator =() 84 uri_ = right.uri_; in operator =() 264 PrinterInfo right; in ReadFromParcel() local 301 if (right.hasUri_) { in ReadFromParcel() 311 if (right.hasOption_) { in ReadFromParcel() 316 right.Dump(); in ReadFromParcel() [all …]
|
H A D | print_attributes.cpp | 34 copyNumber_ = right.copyNumber_; in PrintAttributes() 36 pageRange_ = right.pageRange_; in PrintAttributes() 40 pageSize_ = right.pageSize_; in PrintAttributes() 46 colorMode_ = right.colorMode_; in PrintAttributes() 49 hasMargin_ = right.hasMargin_; in PrintAttributes() 50 margin_ = right.margin_; in PrintAttributes() 51 hasOption_ = right.hasOption_; in PrintAttributes() 52 option_ = right.option_; in PrintAttributes() 57 if (this != &right) { in operator =() 75 margin_ = right.margin_; in operator =() [all …]
|
H A D | printer_capability.cpp | 50 *this = right; in PrinterCapability() 55 if (this != &right) { in operator =() 56 colorMode_ = right.colorMode_; in operator =() 58 pageSizeList_.assign(right.pageSizeList_.begin(), right.pageSizeList_.end()); in operator =() 60 resolutionList_.assign(right.resolutionList_.begin(), right.resolutionList_.end()); in operator =() 64 option_ = right.option_; in operator =() 270 PrinterCapability right; in ReadFromParcel() local 290 }, &right.hasResolution_); in ReadFromParcel() 313 if (right.hasMargin_) { in ReadFromParcel() 321 if (right.hasOption_) { in ReadFromParcel() [all …]
|
H A D | print_job.cpp | 33 fdList_.assign(right.fdList_.begin(), right.fdList_.end()); in PrintJob() 36 jobId_ = right.jobId_; in PrintJob() 37 jobState_ = right.jobState_; in PrintJob() 38 subState_ = right.subState_; in PrintJob() 42 pageSize_ = right.pageSize_; in PrintJob() 47 margin_ = right.margin_; in PrintJob() 49 preview_ = right.preview_; in PrintJob() 51 option_ = right.option_; in PrintJob() 56 if (this != &right) { in operator =() 58 fdList_.assign(right.fdList_.begin(), right.fdList_.end()); in operator =() [all …]
|
H A D | print_range.cpp | 28 hasStartPage_ = right.hasStartPage_; in PrintRange() 29 startPage_ = right.startPage_; in PrintRange() 30 hasEndPage_ = right.hasEndPage_; in PrintRange() 31 endPage_ = right.endPage_; in PrintRange() 32 hasPages_ = right.hasPages_; in PrintRange() 33 pages_.assign(right.pages_.begin(), right.pages_.end()); in PrintRange() 38 if (this != &right) { in operator =() 40 startPage_ = right.startPage_; in operator =() 42 endPage_ = right.endPage_; in operator =() 43 hasPages_ = right.hasPages_; in operator =() [all …]
|
H A D | print_margin.cpp | 26 Set(right); in PrintMargin() 31 hasTop_ = right.hasTop_; in Set() 32 top_ = right.top_; in Set() 34 bottom_ = right.bottom_; in Set() 35 hasLeft_ = right.hasLeft_; in Set() 36 left_ = right.left_; in Set() 37 hasRight_ = right.hasRight_; in Set() 38 right_ = right.right_; in Set() 43 if (this != &right) { in operator =() 44 Set(right); in operator =() [all …]
|
H A D | print_extension_info.cpp | 26 extensionId_ = right.extensionId_; in PrintExtensionInfo() 27 vendorId_ = right.vendorId_; in PrintExtensionInfo() 28 vendorName_ = right.vendorName_; in PrintExtensionInfo() 29 vendorIcon_ = right.vendorIcon_; in PrintExtensionInfo() 30 version_ = right.version_; in PrintExtensionInfo() 35 if (this != &right) { in operator =() 36 extensionId_ = right.extensionId_; in operator =() 37 vendorId_ = right.vendorId_; in operator =() 38 vendorName_ = right.vendorName_; in operator =() 39 vendorIcon_ = right.vendorIcon_; in operator =() [all …]
|
H A D | print_resolution.cpp | 23 PrintResolution::PrintResolution(const PrintResolution &right) in PrintResolution() argument 25 SetId(right.id_); in PrintResolution() 26 SetHorizontalDpi(right.horizontalDpi_); in PrintResolution() 27 SetVerticalDpi(right.verticalDpi_); in PrintResolution() 30 PrintResolution &PrintResolution::operator=(const PrintResolution &right) in operator =() argument 32 if (this != &right) { in operator =() 33 SetId(right.id_); in operator =() 34 SetHorizontalDpi(right.horizontalDpi_); in operator =() 35 SetVerticalDpi(right.verticalDpi_); in operator =()
|
H A D | print_preview_attribute.cpp | 25 PrintPreviewAttribute::PrintPreviewAttribute(const PrintPreviewAttribute &right) in PrintPreviewAttribute() argument 27 hasResult_ = right.hasResult_; in PrintPreviewAttribute() 28 result_ = right.result_; in PrintPreviewAttribute() 29 previewRange_ = right.previewRange_; in PrintPreviewAttribute() 32 PrintPreviewAttribute &PrintPreviewAttribute::operator=(const PrintPreviewAttribute &right) in operator =() argument 34 if (this != &right) { in operator =() 35 hasResult_ = right.hasResult_; in operator =() 36 result_ = right.result_; in operator =() 37 previewRange_ = right.previewRange_; in operator =()
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | wm_math.cpp | 36 …{ left.mat_[0][0] * right.mat_[0][0] + left.mat_[0][1] * right.mat_[1][0] + left.mat_[0][2] * righ… in operator *() 37 …left.mat_[0][0] * right.mat_[0][1] + left.mat_[0][1] * right.mat_[1][1] + left.mat_[0][2] * right.… in operator *() 38 …left.mat_[0][0] * right.mat_[0][2] + left.mat_[0][1] * right.mat_[1][2] + left.mat_[0][2] * right.… in operator *() 41 …{ left.mat_[1][0] * right.mat_[0][0] + left.mat_[1][1] * right.mat_[1][0] + left.mat_[1][2] * righ… in operator *() 42 …left.mat_[1][0] * right.mat_[0][1] + left.mat_[1][1] * right.mat_[1][1] + left.mat_[1][2] * right.… in operator *() 43 …left.mat_[1][0] * right.mat_[0][2] + left.mat_[1][1] * right.mat_[1][2] + left.mat_[1][2] * right.… in operator *() 46 …{ left.mat_[2][0] * right.mat_[0][0] + left.mat_[2][1] * right.mat_[1][0] + left.mat_[2][2] * righ… in operator *() 47 …left.mat_[2][0] * right.mat_[0][1] + left.mat_[2][1] * right.mat_[1][1] + left.mat_[2][2] * right.… in operator *() 48 …left.mat_[2][0] * right.mat_[0][2] + left.mat_[2][1] * right.mat_[1][2] + left.mat_[2][2] * right.… in operator *() 63 left.mat_[0][2] * right.mat_[2][0] + left.mat_[0][3] * right.mat_[3][0], in operator *() [all …]
|
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scanner_info.cpp | 39 uuid = right.uuid; in ScanDeviceInfoTCP() 40 model = right.model; in ScanDeviceInfoTCP() 43 port = right.port; in ScanDeviceInfoTCP() 44 addr = right.addr; in ScanDeviceInfoTCP() 45 button = right.button; in ScanDeviceInfoTCP() 46 feeder = right.feeder; in ScanDeviceInfoTCP() 52 if (this != &right) { in operator =() 54 uuid = right.uuid; in operator =() 58 port = right.port; in operator =() 59 addr = right.addr; in operator =() [all …]
|
H A D | scan_option_descriptor.cpp | 28 optionName_ = right.optionName_; in ScanOptionDescriptor() 29 optionTitle_ = right.optionTitle_; in ScanOptionDescriptor() 30 optionDesc_ = right.optionDesc_; in ScanOptionDescriptor() 31 optionType_ = right.optionType_; in ScanOptionDescriptor() 32 optionUnit_ = right.optionUnit_; in ScanOptionDescriptor() 34 optionSize_ = right.optionSize_; in ScanOptionDescriptor() 35 optionCap_ = right.optionCap_; in ScanOptionDescriptor() 38 …optionConstraintString_.assign(right.optionConstraintString_.begin(), right.optionConstraintString… in ScanOptionDescriptor() 45 if (this != &right) { in operator =() 46 optionName_ = right.optionName_; in operator =() [all …]
|
H A D | scan_progress.cpp | 28 progress = right.progress; in ScanProgress() 29 fd = right.fd; in ScanProgress() 30 isFinal = right.isFinal; in ScanProgress() 31 pictureId = right.pictureId; in ScanProgress() 32 timePoint = right.timePoint; in ScanProgress() 33 taskCode = right.taskCode; in ScanProgress() 39 if (this != &right) { in operator =() 40 progress = right.progress; in operator =() 41 fd = right.fd; in operator =() 42 isFinal = right.isFinal; in operator =() [all …]
|
H A D | scan_option_value.cpp | 28 valueType_ = right.valueType_; in ScanOptionValue() 29 valueSize_ = right.valueSize_; in ScanOptionValue() 30 numValue_ = right.numValue_; in ScanOptionValue() 31 strValue_ = right.strValue_; in ScanOptionValue() 32 boolValue_ = right.boolValue_; in ScanOptionValue() 33 numListValue_.assign(right.numListValue_.begin(), right.numListValue_.end()); in ScanOptionValue() 38 if (this != &right) { in operator =() 39 valueType_ = right.valueType_; in operator =() 41 numValue_ = right.numValue_; in operator =() 42 strValue_ = right.strValue_; in operator =() [all …]
|
H A D | scan_parameters.cpp | 26 format_ = right.format_; in ScanParameters() 27 lastFrame_ = right.lastFrame_; in ScanParameters() 28 bytesPerLine_ = right.bytesPerLine_; in ScanParameters() 29 pixelsPerLine_ = right.pixelsPerLine_; in ScanParameters() 30 lines_ = right.lines_; in ScanParameters() 31 depth_ = right.depth_; in ScanParameters() 36 if (this != &right) { in operator =() 37 format_ = right.format_; in operator =() 38 lastFrame_ = right.lastFrame_; in operator =() 41 lines_ = right.lines_; in operator =() [all …]
|
H A D | scan_range.cpp | 23 ScanRange::ScanRange(const ScanRange &right) in ScanRange() argument 25 minValue_ = right.minValue_; in ScanRange() 26 maxValue_ = right.maxValue_; in ScanRange() 27 quantValue_ = right.quantValue_; in ScanRange() 30 ScanRange &ScanRange::operator=(const ScanRange &right) in operator =() argument 32 if (this != &right) { in operator =() 33 minValue_ = right.minValue_; in operator =() 34 maxValue_ = right.maxValue_; in operator =() 35 quantValue_ = right.quantValue_; in operator =()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | position_param.h | 47 std::optional<Dimension> right; member 66 void SetRight(const CalcDimension& right) in SetRight() 68 this->right = right; in SetRight() 74 (this->right == rhs.right)); 82 str.append("right: [").append(right.has_value() ? right->ToString() : "NA").append("]"); in ToString() 105 bool operator==(const AlignRule& right) const 107 return ((this->anchor == right.anchor) && (this->vertical == right.vertical) && 140 return ((this->id == right.id) && (this->direction == right.direction) && 141 (this->start == right.start) && (this->end == right.end)); 151 return ((this->direction == right.direction) && (this->style == right.style)); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | utils.h | 145 return NearEqual(left, right, epsilon); 152 return NearEqual(left, right, epsilon); 158 return left == right; in NearEqual() 181 return (left - right) < epsilon; in LessOrEqual() 186 return (left - right) < epsilon; 192 return (left - right) < epsilon; in LessNotEqual() 197 return (left - right) < epsilon; 203 return (left - right) > epsilon; in GreatOrEqual() 208 return (left - right) > epsilon; 214 return (left - right) > epsilon; in GreatNotEqual() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.h | 122 right_ = right; in SetRight() 127 right_ = AnimatableDimension(right); in SetRight() 130 virtual void SetRight(const Dimension& right) in SetRight() argument 132 right_ = AnimatableDimension(right); in SetRight() 203 EdgePx(double left, double top, double right, double bottom) : Edge(left, top, right, bottom) {} in EdgePx() argument 205 : Edge(left, top, right, bottom) {} in EdgePx() 278 if (right.Unit() != DimensionUnit::PX && right.Unit() != DimensionUnit::CALC) { in SetRight() 281 right_ = right; in SetRight() 286 if (right.Unit() != DimensionUnit::PX) { in SetRight() 289 right_ = AnimatableDimension(right); in SetRight() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_property.h | 371 std::optional<T> right; member 380 right = padding; in SetEdges() 388 right = rightValue; in SetEdges() 412 right = value.right; in UpdateWithCheck() 446 str.append(",").append(right.has_value() ? right->ToString() : "NA"); in ToString() 453 if (top == right && right == bottom && bottom == left) { in ToJsonString() 510 if (right.has_value() ^ value.right.has_value()) { 513 if (!NearEqual(right.value_or(0), value.right.value_or(0))) { 580 right.reset(); 615 if (another.right.has_value() && !right.has_value()) { [all …]
|
H A D | measure_utils.cpp | 122 auto right = ConvertToPx(padding.right, scaleProperty, percentReference); in ConvertToPaddingPropertyF() local 132 right = floor(right.value()); in ConvertToPaddingPropertyF() 146 right = std::max(right.value(), 0.0f); in ConvertToPaddingPropertyF() 191 …right = (GreatOrEqual(right.value(), 1.0f) || NearEqual(right.value(), 0.0f)) ? floor(right.value(… in ConvertToBorderWidthPropertyF() 208 auto right = ConvertToPx(padding.right, scaleProperty, selfSize.Width()); in UpdatePaddingPropertyF() local 214 if (right.has_value()) { in UpdatePaddingPropertyF() 215 paddingValue.right = right; in UpdatePaddingPropertyF() 502 float paddingRight = padding.right.has_value() ? padding.right.value() : 0; in CreateChildrenConstraint() 541 if (right.has_value()) { in ConvertToCalcPaddingProperty() 543 paddings.right = in ConvertToCalcPaddingProperty() [all …]
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | rbtree.c | 70 n->right = NULL; in NewNode() 95 x->right = y->left; in LeftRotate() 114 x->left = y->right; in RightRotate() 126 y->right = x; in RightRotate() 134 y = z->p->p->right; in InsertFixUpRed() 221 y->right = z; in RbTreeInsert() 225 z->right = t->nil; in RbTreeInsert() 259 w = x->p->right; in DeleteFixUpBlack() 341 x = z->right; in RbTreeDelete() 349 x = y->right; in RbTreeDelete() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/ |
H A D | core.rs | 87 let (left, right) = par_iter.split(); in recur() 88 let right = match right { in recur() localVariable 104 let right = spawn_task( in recur() localVariable 107 right, in recur() 113 let right = right.await??; in recur() localVariable 114 Ok(C::combine(left, right)) in recur() 164 let (left, right) = par_iter.split(); in recur_ffrt() 165 let right = match right { in recur_ffrt() localVariable 174 let right = spawn_task_ffrt(task_builder, right, consumer, min_split_len, split_time); in recur_ffrt() localVariable 176 let right = right.await??; in recur_ffrt() localVariable [all …]
|
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/include/ |
H A D | sec_comp_info.h | 42 DimensionT right = DEFAULT_DIMENSION; member 70 inline bool GreatOrEqual(double left, double right) in GreatOrEqual() argument 73 return (left - right) > epsilon; in GreatOrEqual() 76 inline bool GreatNotEqual(double left, double right) in GreatNotEqual() argument 79 return (left - right) > epsilon; in GreatNotEqual() 82 inline bool IsEqual(double left, double right) in IsEqual() argument 85 if (left > right) { in IsEqual() 86 return (left - right) < epsilon; in IsEqual() 87 } else if (right > left) { in IsEqual() 88 return (right - left) < epsilon; in IsEqual()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/layout/ |
H A D | flex_layout.cpp | 102 int16_t right; in CalValidLength() local 112 right = child->GetStyle(STYLE_MARGIN_RIGHT); in CalValidLength() 130 int16_t right; in CalRowCount() local 137 right = child->GetStyle(STYLE_MARGIN_RIGHT); in CalRowCount() 154 int16_t right; in GetRowMaxHeight() local 167 right = child->GetStyle(STYLE_MARGIN_RIGHT); in GetRowMaxHeight() 190 int16_t right; in GetRowsWidth() local 202 right = child->GetStyle(STYLE_MARGIN_RIGHT); in GetRowsWidth() 344 int16_t right; in GetColumnMaxWidth() local 356 right = child->GetStyle(STYLE_MARGIN_RIGHT); in GetColumnMaxWidth() [all …]
|