Home
last modified time | relevance | path

Searched refs:left (Results 1 - 25 of 90) sorted by relevance

1234

/base/inputmethod/imf/frameworks/ndk/src/
H A Dinputmethod_cursor_info_capi.cpp20 InputMethod_CursorInfo *OH_CursorInfo_Create(double left, double top, double width, double height) in OH_CursorInfo_Create() argument
22 return new InputMethod_CursorInfo({ left, top, width, height }); in OH_CursorInfo_Create()
33 InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) in OH_CursorInfo_SetRect()
39 cursorInfo->left = left; in OH_CursorInfo_SetRect()
47 InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) in OH_CursorInfo_GetRect()
53 if (left == nullptr || top == nullptr || width == nullptr || height == nullptr) { in OH_CursorInfo_GetRect()
57 *left = cursorInfo->left; in OH_CursorInfo_GetRect()
32 OH_CursorInfo_SetRect( InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) OH_CursorInfo_SetRect() argument
46 OH_CursorInfo_GetRect( InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) OH_CursorInfo_GetRect() argument
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Drbtree.c69 n->left = NULL; in NewNode()
95 x->right = y->left; in LeftRotate()
96 if (y->left != t->nil) { in LeftRotate()
97 y->left->p = x; in LeftRotate()
102 } else if (x == x->p->left) { in LeftRotate()
103 x->p->left = y; in LeftRotate()
107 y->left = x; in LeftRotate()
113 struct RbTreeNode *y = x->left; in RightRotate()
114 x->left = y->right; in RightRotate()
124 x->p->left in RightRotate()
[all...]
/base/security/security_component_manager/interfaces/inner_api/security_component/include/
H A Dsec_comp_info.h44 DimensionT left = 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) < epsilo in IsEqual()
[all...]
/base/security/device_security_level/baselib/msglib/src/utils/
H A Dmessenger_utils.h67 static inline bool IsSameDevice(const DeviceIdentify *left, const DeviceIdentify *right) in IsSameDevice() argument
69 if ((left == NULL) || (right == NULL)) { in IsSameDevice()
73 if (left->length != right->length) { in IsSameDevice()
77 if (memcmp(left->identity, right->identity, left->length) != 0) { in IsSameDevice()
/base/sensors/sensor/vibration_convert/core/utils/include/
H A Dutils.h156 inline bool IsLessOrEqual(const T& left, const T& right) in IsLessOrEqual() argument
158 return (left - right) < std::numeric_limits<T>::epsilon(); in IsLessOrEqual()
162 inline bool IsGreatOrEqual(const T& left, const T& right) in IsGreatOrEqual() argument
164 return (left - right) > -std::numeric_limits<T>::epsilon(); in IsGreatOrEqual()
168 inline bool IsLessNotEqual(const T& left, const T& right) in IsLessNotEqual() argument
170 return (left - right) < -std::numeric_limits<T>::epsilon(); in IsLessNotEqual()
174 inline bool IsGreatNotEqual(const T& left, const T& right) in IsGreatNotEqual() argument
176 return (left - right) > std::numeric_limits<T>::epsilon(); in IsGreatNotEqual()
180 inline bool IsEqual(const T& left, const T& right) in IsEqual() argument
182 return (std::abs(left in IsEqual()
[all...]
/base/inputmethod/imf/interfaces/kits/c/
H A Dinputmethod_cursor_info_capi.h53 * @param left The left point of the cursor and must be absolute coordinate of the physical screen.
61 InputMethod_CursorInfo *OH_CursorInfo_Create(double left, double top, double width, double height);
75 * @param left The left point of the cursor and must be absolute coordinate of the physical screen.
86 InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height);
92 * @param left The left point of the cursor and must be absolute coordinate of the physical screen.
103 InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height);
/base/update/updater/services/script/script_interpreter/
H A Dscript_expression.cpp46 UScriptExpression *left, in CreateExpression()
49 return new BinaryExpression(action, left, right); in CreateExpression()
126 UScriptValuePtr left; in Execute() local
131 left = left_->Execute(inter, local); in Execute()
134 if (action_ == OR_OPERATOR && left != nullptr && left->IsTrue()) { in Execute()
135 INTERPRETER_LOGE(inter, local, "BinaryExpression::Execute left:%s %s", in Execute()
136 UScriptValue::ScriptToString(left).c_str(), opStr[action_].c_str()); in Execute()
142 if (left != nullptr && right != nullptr) { in Execute()
143 UScriptValuePtr value = left in Execute()
45 CreateExpression(ExpressionAction action, UScriptExpression *left, UScriptExpression *right) CreateExpression() argument
[all...]
/base/sensors/sensor/utils/common/include/
H A Dsensor_utils.h23 bool IsEqual(const T &left, const T &right) in IsEqual() argument
25 return std::abs(left - right) <= std::numeric_limits<T>::epsilon(); in IsEqual()
/base/telephony/core_service/services/sim/src/
H A Dsim_utils.cpp165 int left = 0; in Gsm7bitConvertToString() local
168 left = BYTE_LENGTH; in Gsm7bitConvertToString()
172 if (left == BYTE_LENGTH) { in Gsm7bitConvertToString()
174 left -= CHAR_GSM_7BIT; in Gsm7bitConvertToString()
175 } else if (left == CHAR_GSM_7BIT) { in Gsm7bitConvertToString()
176 str.push_back((bytes[pos] & (0xFF << (BYTE_LENGTH - left))) >> (BYTE_LENGTH - left)); in Gsm7bitConvertToString()
177 left = BYTE_LENGTH; in Gsm7bitConvertToString()
180 low = (bytes[pos] & (unsigned char)(0xFF << (BYTE_LENGTH - left))) >> (BYTE_LENGTH - left); in Gsm7bitConvertToString()
[all...]
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dfault_stack_test.cpp98 uint32_t left = 10; in HWTEST_F() local
99 while (left > 0) { in HWTEST_F()
100 left = sleep(left); in HWTEST_F()
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
H A Dwatchdog_inner_test.cpp322 int32_t left = 4; in HWTEST_F() local
323 int32_t end = time(nullptr) + left; in HWTEST_F()
324 while (left > 0) { in HWTEST_F()
325 left = end - time(nullptr); in HWTEST_F()
329 left = 10; in HWTEST_F()
330 end = time(nullptr) + left; in HWTEST_F()
331 while (left > 0) { in HWTEST_F()
332 left = end - time(nullptr); in HWTEST_F()
336 left = 5; in HWTEST_F()
337 end = time(nullptr) + left; in HWTEST_F()
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_mmap.cpp84 size_t left = size_ - ptr; in Read() local
86 size_t actualLen = std::min(left, size); in Read()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dutils.cpp207 bool Utils::StrCompare(const char *left, const char *right, size_t len, bool isCaseSensitive) in StrCompare() argument
209 if (left == nullptr && right == nullptr) { in StrCompare()
212 if (left == nullptr || right == nullptr) { in StrCompare()
219 c1 = (unsigned char)*left; in StrCompare()
235 ++left; in StrCompare()
290 // 4 means the bits shifted left, and increment at 4-bit intervals base len in ConvertColorToUInt32()
/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_manager_cpu_service.cpp382 bool DumpManagerCpuService::SortProcInfo(std::shared_ptr<ProcInfo> &left, std::shared_ptr<ProcInfo> &right) in SortProcInfo() argument
384 if (right->totalUsage != left->totalUsage) { in SortProcInfo()
385 return right->totalUsage < left->totalUsage; in SortProcInfo()
387 if (right->userSpaceUsage != left->userSpaceUsage) { in SortProcInfo()
388 return right->userSpaceUsage < left->userSpaceUsage; in SortProcInfo()
390 if (right->sysSpaceUsage != left->sysSpaceUsage) { in SortProcInfo()
391 return right->sysSpaceUsage < left->sysSpaceUsage; in SortProcInfo()
393 if (right->pid.length() != left->pid.length()) { in SortProcInfo()
394 return right->pid.length() < left->pid.length(); in SortProcInfo()
396 return (right->pid.compare(left in SortProcInfo()
[all...]
H A Ddump_log_manager.cpp79 [] (const std::string &left, const std::string &right) { in EraseLogs()
80 return (right.compare(left) > 0); in EraseLogs()
/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Dstring_utils.cpp105 * @param {bool} &left-true:Add characters on the left,false:Add characters to the right
109 void StringUtils::SetWidth(const int &width, const char &fileStr, const bool &left, string &str) in SetWidth() argument
114 if (left) { in SetWidth()
115 s << setw(width) << setfill(fileStr) << setiosflags(ios::left) << str; in SetWidth()
/base/msdp/device_status/services/native/include/
H A Ddevicestatus_manager.h60 bool operator()(sptr<IRemoteDevStaCallback> left, sptr<IRemoteDevStaCallback> right) const in operator ()()
62 return left->AsObject() < right->AsObject(); in operator ()()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_window_info.h29 int32_t left{ 0 }; // the abscissa of the upper-left vertex of inputWindow
30 int32_t top{ 0 }; // the ordinate of the upper-left vertex of inputWindow
H A Dinput_method_utils.h110 double left = -1.0; member
116 return (left == info.left && top == info.top && width == info.width && height == info.height); in operator ==()
193 config.append(" cursor: " + std::to_string(cursorInfo.left) + "/" + std::to_string(cursorInfo.top) + "/" + in ToString()
216 config.append(" cursor: " + std::to_string(cursorInfo.left) + "/" + std::to_string(cursorInfo.top) + "/" + in ToString()
/base/inputmethod/imf/services/include/
H A Dsys_cfg_parser.h78 int32_t left = 0; member
85 ret = GetValue(node, GET_NAME(left), left) && ret;
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dmemory_info.cpp368 [] (pair<string, uint64_t> &left, pair<string, uint64_t> &right) { in PairToStringMatrix()
369 return right.second < left.second; in PairToStringMatrix()
906 [] (MemInfoData::MemUsage &left, MemInfoData::MemUsage &right) { in GetSortedMemoryInfoNoPid()
907 if (right.pss + right.swapPss != left.pss + left.swapPss) { in GetSortedMemoryInfoNoPid()
908 return right.pss + right.swapPss < left.pss + left.swapPss; in GetSortedMemoryInfoNoPid()
910 if (right.vss != left.vss) { in GetSortedMemoryInfoNoPid()
911 return right.vss < left.vss; in GetSortedMemoryInfoNoPid()
913 if (right.rss != left in GetSortedMemoryInfoNoPid()
[all...]
/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprint_margin.cpp77 void PrintMargin::SetLeft(uint32_t left) in SetLeft() argument
80 left_ = left; in SetLeft()
/base/request/request/test/rustest/src/
H A Dlib.rs488 let (left, right) = self.split_at(std::mem::size_of::<u16>()); in take_value()
490 u16::from_le_bytes(left.try_into().unwrap()) in take_value()
496 let (left, right) = self.split_at(std::mem::size_of::<u32>()); in take_value()
498 u32::from_le_bytes(left.try_into().unwrap()) in take_value()
504 let (left, right) = self.split_at(std::mem::size_of::<u64>()); in take_value()
506 u64::from_le_bytes(left.try_into().unwrap()) in take_value()
537 let (left, right) = self.split_at(len + 1); in take_value()
539 CString::from_vec_with_nul(left.to_vec()) in take_value()
/base/inputmethod/imf/frameworks/cj/include/
H A Dinput_method_ffi_structs.h71 double left; member
/base/inputmethod/imf/frameworks/ndk/include/
H A Dnative_inputmethod_types.h27 double left = -1.0; member

Completed in 13 milliseconds

1234