/kernel/linux/linux-5.10/include/kunit/ |
H A D | test.h | 740 left, \ 746 typeof(left) __left = (left); \ 756 #left, \ 768 left, \ 776 left, ==, right, \ 784 left, \ 792 left, !=, right, \ 800 left, \ 808 left, <, righ [all...] |
/foundation/window/window_manager/utils/src/ |
H A D | wm_math.cpp | 32 Matrix3 operator*(const Matrix3& left, const Matrix3& right) in operator *() argument 36 { left.mat_[0][0] * right.mat_[0][0] + left.mat_[0][1] * right.mat_[1][0] + left.mat_[0][2] * right.mat_[2][0], in operator *() 37 left.mat_[0][0] * right.mat_[0][1] + left.mat_[0][1] * right.mat_[1][1] + left.mat_[0][2] * right.mat_[2][1], in operator *() 38 left.mat_[0][0] * right.mat_[0][2] + left.mat_[0][1] * right.mat_[1][2] + left in operator *() 58 operator *(const Matrix4& left, const Matrix4& right) operator *() argument [all...] |
/test/testfwk/arkxtest/uitest/record/ |
H A D | utils.h | 21 inline bool NearEqual(const double left, const double right, const double epsilon) in NearEqual() argument 23 return (std::abs(left - right) <= epsilon); in NearEqual() 27 constexpr bool NearEqual(const T& left, const T& right); 30 inline bool NearEqual<float>(const float& left, const float& right) in NearEqual() argument 33 return NearEqual(left, right, epsilon); in NearEqual() 37 inline bool NearEqual<double>(const double& left, const double& right) in NearEqual() argument 40 return NearEqual(left, right, epsilon); in NearEqual() 44 constexpr bool NearEqual(const T& left, const T& right) in NearEqual() argument 46 return left == right; in NearEqual() 54 inline bool NearEqual(const double left, cons argument 60 NearZero(const double left) NearZero() argument 66 LessOrEqual(double left, double right) LessOrEqual() argument 72 LessNotEqual(double left, double right) LessNotEqual() argument 78 GreatOrEqual(double left, double right) GreatOrEqual() argument 84 GreatNotEqual(double left, double right) GreatNotEqual() argument [all...] |
/kernel/linux/linux-6.6/include/kunit/ |
H A D | test.h | 680 left, \ 686 const typeof(left) __left = (left); \ 690 .left_text = #left, \ 710 left, \ 719 left, op, right, \ 725 left, \ 734 left, op, right, \ 740 left, \ 746 const char *__left = (left); \ [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-rect.h | 62 if (r->left < boundary->left) in v4l2_rect_map_inside() 63 r->left = boundary->left; in v4l2_rect_map_inside() 66 if (r->left + r->width > boundary->left + boundary->width) in v4l2_rect_map_inside() 67 r->left = boundary->left + boundary->width - r->width; in v4l2_rect_map_inside() 95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position() [all...] |
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-rect.h | 62 if (r->left < boundary->left) in v4l2_rect_map_inside() 63 r->left = boundary->left; in v4l2_rect_map_inside() 66 if (r->left + r->width > boundary->left + boundary->width) in v4l2_rect_map_inside() 67 r->left = boundary->left + boundary->width - r->width; in v4l2_rect_map_inside() 95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position() [all...] |
/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
H A D | sfcmp.c | 42 register unsigned int left, right; in sgl_fcmp() local 46 left = *leftptr; in sgl_fcmp() 52 if( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 58 if( ( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 59 && Sgl_isnotzero_mantissa(left) in sgl_fcmp() 60 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp() 76 else if( ((Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 77 && Sgl_isnotzero_mantissa(left)) in sgl_fcmp() 90 Sgl_xortointp1(left,right,xorresult); in sgl_fcmp() 93 /* left negativ in sgl_fcmp() [all...] |
H A D | sfsub.c | 42 register unsigned int left, right, result, extent; in sgl_fsub() local 50 left = *leftptr; in sgl_fsub() 55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 62 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 80 *dstptr = left; in sgl_fsub() 89 if (Sgl_isone_signaling(left)) in sgl_fsub() 95 Sgl_set_quiet(left); in sgl_fsub() 113 *dstptr = left; in sgl_fsub() 116 } /* End left Na in sgl_fsub() [all...] |
H A D | sfadd.c | 42 register unsigned int left, right, result, extent; in sgl_fadd() local 52 left = *leftptr; in sgl_fadd() 57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 64 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 82 *dstptr = left; in sgl_fadd() 91 if (Sgl_isone_signaling(left)) in sgl_fadd() 97 Sgl_set_quiet(left); in sgl_fadd() 115 *dstptr = left; in sgl_fadd() 118 } /* End left Na in sgl_fadd() [all...] |
/kernel/linux/linux-6.6/arch/parisc/math-emu/ |
H A D | sfcmp.c | 42 register unsigned int left, right; in sgl_fcmp() local 46 left = *leftptr; in sgl_fcmp() 52 if( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 58 if( ( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 59 && Sgl_isnotzero_mantissa(left) in sgl_fcmp() 60 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp() 76 else if( ((Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 77 && Sgl_isnotzero_mantissa(left)) in sgl_fcmp() 90 Sgl_xortointp1(left,right,xorresult); in sgl_fcmp() 93 /* left negativ in sgl_fcmp() [all...] |
H A D | sfsub.c | 42 register unsigned int left, right, result, extent; in sgl_fsub() local 50 left = *leftptr; in sgl_fsub() 55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 62 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 80 *dstptr = left; in sgl_fsub() 89 if (Sgl_isone_signaling(left)) in sgl_fsub() 95 Sgl_set_quiet(left); in sgl_fsub() 113 *dstptr = left; in sgl_fsub() 116 } /* End left Na in sgl_fsub() [all...] |
H A D | sfadd.c | 42 register unsigned int left, right, result, extent; in sgl_fadd() local 52 left = *leftptr; in sgl_fadd() 57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 64 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 82 *dstptr = left; in sgl_fadd() 91 if (Sgl_isone_signaling(left)) in sgl_fadd() 97 Sgl_set_quiet(left); in sgl_fadd() 115 *dstptr = left; in sgl_fadd() 118 } /* End left Na in sgl_fadd() [all...] |
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | utils.h | 138 inline bool NearEqual(const double left, const double right, const double epsilon) in NearEqual() argument 140 return (std::abs(left - right) <= epsilon); in NearEqual() 144 constexpr bool NearEqual(const T& left, const T& right); 147 inline bool NearEqual<float>(const float& left, const float& right) in NearEqual() argument 150 return NearEqual(left, right, epsilon); in NearEqual() 154 inline bool NearEqual<double>(const double& left, const double& right) in NearEqual() argument 157 return NearEqual(left, right, epsilon); in NearEqual() 161 constexpr bool NearEqual(const T& left, const T& right) in NearEqual() argument 163 return left == right; in NearEqual() 171 inline bool NearEqual(const double left, cons argument 177 NearZero(const double left) NearZero() argument 183 LessOrEqual(double left, double right) LessOrEqual() argument 189 LessOrEqualCustomPrecision(double left, double right, double epsilon = 0.000001f) LessOrEqualCustomPrecision() argument 194 LessNotEqual(double left, double right) LessNotEqual() argument 200 LessNotEqualCustomPrecision(double left, double right, double epsilon = -0.000001f) LessNotEqualCustomPrecision() argument 205 GreatOrEqual(double left, double right) GreatOrEqual() argument 211 GreatOrEqualCustomPrecision(double left, double right, double epsilon = -0.000001f) GreatOrEqualCustomPrecision() argument 216 GreatNotEqual(double left, double right) GreatNotEqual() argument 222 GreatNotEqualCustomPrecision(double left, double right, double epsilon = 0.000001f) GreatNotEqualCustomPrecision() argument [all...] |
/kernel/liteos_a/kernel/base/ipc/ |
H A D | los_ipcdebug.c | 40 UINT32 left = start; in OsArraySortByTime() local 45 while (left < right) { in OsArraySortByTime() 46 while ((left < right) && (sortArray[right] < sortParam->ipcDebugCBCnt) && (pivot < sortParam->ipcDebugCBCnt) && in OsArraySortByTime() 51 if (left < right) { in OsArraySortByTime() 52 sortArray[left] = sortArray[right]; in OsArraySortByTime() 54 left++; in OsArraySortByTime() 57 while ((left < right) && (sortArray[left] < sortParam->ipcDebugCBCnt) && (pivot < sortParam->ipcDebugCBCnt) && in OsArraySortByTime() 58 compareFunc(sortParam, pivot, sortArray[left])) { in OsArraySortByTime() 59 left in OsArraySortByTime() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | sysctl.c | 90 size_t left, len; in proc_dodebug() local 97 left = *lenp; in proc_dodebug() 101 while (left && isspace(*p)) { in proc_dodebug() 102 left--; in proc_dodebug() 105 if (!left) in proc_dodebug() 108 if (left > sizeof(tmpbuf) - 1) in proc_dodebug() 110 memcpy(tmpbuf, p, left); in proc_dodebug() 111 tmpbuf[left] = '\0'; in proc_dodebug() 115 left -= (s - tmpbuf); in proc_dodebug() 116 if (left in proc_dodebug() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | sysctl.c | 71 size_t left, len; in proc_dodebug() local 78 left = *lenp; in proc_dodebug() 82 while (left && isspace(*p)) { in proc_dodebug() 83 left--; in proc_dodebug() 86 if (!left) in proc_dodebug() 89 if (left > sizeof(tmpbuf) - 1) in proc_dodebug() 91 memcpy(tmpbuf, p, left); in proc_dodebug() 92 tmpbuf[left] = '\0'; in proc_dodebug() 96 left -= (s - tmpbuf); in proc_dodebug() 97 if (left in proc_dodebug() [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | expr.c | 22 e->left.sym = sym; in expr_alloc_symbol() 30 e->left.expr = ce; in expr_alloc_one() 38 e->left.expr = e1; in expr_alloc_two() 47 e->left.sym = s1; in expr_alloc_comp() 77 e->left = org->left; in expr_copy() 80 e->left.expr = expr_copy(org->left.expr); in expr_copy() 88 e->left.sym = org->left in expr_copy() [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | expr.c | 22 e->left.sym = sym; in expr_alloc_symbol() 30 e->left.expr = ce; in expr_alloc_one() 38 e->left.expr = e1; in expr_alloc_two() 47 e->left.sym = s1; in expr_alloc_comp() 77 e->left = org->left; in expr_copy() 80 e->left.expr = expr_copy(org->left.expr); in expr_copy() 88 e->left.sym = org->left in expr_copy() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | uidgid.h | 69 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq() argument 71 return __kuid_val(left) == __kuid_val(right); in uid_eq() 74 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() argument 76 return __kgid_val(left) == __kgid_val(right); in gid_eq() 79 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt() argument 81 return __kuid_val(left) > __kuid_val(right); in uid_gt() 84 static inline bool gid_gt(kgid_t left, kgid_t right) in gid_gt() argument 86 return __kgid_val(left) > __kgid_val(right); in gid_gt() 89 static inline bool uid_gte(kuid_t left, kuid_t right) in uid_gte() argument 91 return __kuid_val(left) > in uid_gte() 94 gid_gte(kgid_t left, kgid_t right) gid_gte() argument 99 uid_lt(kuid_t left, kuid_t right) uid_lt() argument 104 gid_lt(kgid_t left, kgid_t right) gid_lt() argument 109 uid_lte(kuid_t left, kuid_t right) uid_lte() argument 114 gid_lte(kgid_t left, kgid_t right) gid_lte() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | uidgid.h | 69 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq() argument 71 return __kuid_val(left) == __kuid_val(right); in uid_eq() 74 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() argument 76 return __kgid_val(left) == __kgid_val(right); in gid_eq() 79 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt() argument 81 return __kuid_val(left) > __kuid_val(right); in uid_gt() 84 static inline bool gid_gt(kgid_t left, kgid_t right) in gid_gt() argument 86 return __kgid_val(left) > __kgid_val(right); in gid_gt() 89 static inline bool uid_gte(kuid_t left, kuid_t right) in uid_gte() argument 91 return __kuid_val(left) > in uid_gte() 94 gid_gte(kgid_t left, kgid_t right) gid_gte() argument 99 uid_lt(kuid_t left, kuid_t right) uid_lt() argument 104 gid_lt(kgid_t left, kgid_t right) gid_lt() argument 109 uid_lte(kuid_t left, kuid_t right) uid_lte() argument 114 gid_lte(kgid_t left, kgid_t right) gid_lte() argument [all...] |
H A D | regset.h | 22 size_t left; member 27 if (s->left) { in membuf_zero() 28 if (size > s->left) in membuf_zero() 29 size = s->left; in membuf_zero() 32 s->left -= size; in membuf_zero() 34 return s->left; in membuf_zero() 39 if (s->left) { in membuf_write() 40 if (size > s->left) in membuf_write() 41 size = s->left; in membuf_write() 44 s->left in membuf_write() [all...] |
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | base64_encode.h | 36 inline void ToBase64(const uint8_t* threeBytes, char* output, signed left) in ToBase64() argument 41 output[2U] = left > 1 ? (TO_BASE64[((threeBytes[1u] << 2u) | (threeBytes[2u] >> 6u)) & 0x3f]) : '='; in ToBase64() 42 output[3U] = left > 2 ? TO_BASE64[threeBytes[2u] & 0x3f] : '='; in ToBase64() 45 inline signed EncodeTriplets(char*& dst, const uint8_t*& src, signed left) in EncodeTriplets() argument 47 for (; left >= 3; left -= 3) { in EncodeTriplets() 52 return left; in EncodeTriplets() 55 inline void FillTriplet(uint8_t* dst, const uint8_t*& src, signed left) in FillTriplet() argument 57 switch (left) { in FillTriplet() 65 inline void EncodeTail(char* dst, const uint8_t* src, signed left) in EncodeTail() argument 86 signed left = static_cast<signed>(binaryData.size()); Base64Encode() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.h | 30 // Types of padding and margin. Contains four directions: left, top, right and bottom. 38 Edge(double left, double top, double right, double bottom, DimensionUnit unit = DimensionUnit::PX) in Edge() argument 39 : left_(Dimension(left, unit)), top_(Dimension(top, unit)), right_(Dimension(right, unit)), in Edge() 41 Edge(const std::string& left, const std::string& top, const std::string& right, const std::string& bottom, in Edge() argument 42 DimensionUnit unit = DimensionUnit::CALC) : left_(CalcDimension(left, unit)), top_(CalcDimension(top, unit)), in Edge() 44 Edge(const CalcDimension& left, const CalcDimension& top, const CalcDimension& right, const CalcDimension& bottom) in Edge() argument 45 : left_(left), top_(top), right_(right), bottom_(bottom) {} in Edge() 46 Edge(const Dimension& left, const Dimension& top, const Dimension& right, const Dimension& bottom, in Edge() argument 48 : left_(AnimatableDimension(left, option)), top_(AnimatableDimension(top, option)), in Edge() 50 Edge(const CalcDimension& left, cons in Edge() argument 78 SetLeft(const AnimatableDimension& left) SetLeft() argument 83 SetLeft(const CalcDimension& left) SetLeft() argument 89 SetLeft(const Dimension& left) SetLeft() argument 203 EdgePx(double left, double top, double right, double bottom) EdgePx() argument 204 EdgePx(const std::string& left, const std::string& top, const std::string& right, const std::string& bottom) EdgePx() argument [all...] |
/kernel/linux/linux-5.10/fs/quota/ |
H A D | kqid.c | 8 * @left: A qid value 13 bool qid_eq(struct kqid left, struct kqid right) in qid_eq() argument 15 if (left.type != right.type) in qid_eq() 17 switch(left.type) { in qid_eq() 19 return uid_eq(left.uid, right.uid); in qid_eq() 21 return gid_eq(left.gid, right.gid); in qid_eq() 23 return projid_eq(left.projid, right.projid); in qid_eq() 32 * @left: The possibly lesser qid value 35 * Return true if left is less than right and false otherwise. 37 bool qid_lt(struct kqid left, struc argument [all...] |
/kernel/linux/linux-6.6/fs/quota/ |
H A D | kqid.c | 8 * @left: A qid value 13 bool qid_eq(struct kqid left, struct kqid right) in qid_eq() argument 15 if (left.type != right.type) in qid_eq() 17 switch(left.type) { in qid_eq() 19 return uid_eq(left.uid, right.uid); in qid_eq() 21 return gid_eq(left.gid, right.gid); in qid_eq() 23 return projid_eq(left.projid, right.projid); in qid_eq() 32 * @left: The possibly lesser qid value 35 * Return true if left is less than right and false otherwise. 37 bool qid_lt(struct kqid left, struc argument [all...] |