Home
last modified time | relevance | path

Searched refs:its (Results 1 – 25 of 1351) sorted by relevance

12345678910>>...55

/ohos5.0/foundation/communication/netstack/utils/http_over_curl/include/
H A Dtimeout_timer.h65 itimerspec its{}; in SetTimeoutNs()
66 memset_s(&its, sizeof(itimerspec), 0, sizeof(itimerspec)); in SetTimeoutNs()
69 its.it_value.tv_nsec = timeoutNs; in SetTimeoutNs()
72 timerfd_settime(underlying_, 0, &its, nullptr); in SetTimeoutNs()
77 itimerspec its{}; in SetTimeoutMs()
78 memset_s(&its, sizeof(itimerspec), 0, sizeof(itimerspec)); in SetTimeoutMs()
81 its.it_value.tv_sec = timeoutMs / MILLISECONDS_IN_SECOND; in SetTimeoutMs()
82its.it_value.tv_nsec = (timeoutMs % MILLISECONDS_IN_SECOND) * NANOSECONDS_IN_MILLISECOND; in SetTimeoutMs()
85 timerfd_settime(underlying_, 0, &its, nullptr); in SetTimeoutMs()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dprofile_list.h118 auto its = profiles_.find(transport); in Contains() local
119 if (its != profiles_.end()) { in Contains()
139 for (auto &its : profiles_) { in Contains()
140 auto it = profiles_[its.first].find(name); in Contains()
141 if (it != profiles_[its.first].end()) { in Contains()
162 auto its = profiles_.find(transport); in Find() local
163 if (its != profiles_.end()) { in Find()
186 for (auto its = profiles_.begin(); its != profiles_.end(); its++) { in Find() local
187 auto it = profiles_[its->first].find(name); in Find()
188 if (it != profiles_[its->first].end()) { in Find()
[all …]
H A Dpower_spec.cpp226 auto its = profileIts->second.find(status); in GetPowerSpec() local
227 if (its != profileIts->second.end()) { in GetPowerSpec()
228 return its->second; in GetPowerSpec()
236 auto its = POWER_PARAM.find(level); in GetPowerParam() local
237 if (its != POWER_PARAM.end()) { in GetPowerParam()
238 return its->second; in GetPowerParam()
247 auto its = profileIts->second.find(status); in GetPowerSsrLevel() local
248 if (its != profileIts->second.end()) { in GetPowerSsrLevel()
249 return its->second; in GetPowerSsrLevel()
H A Dpower_manager.cpp180 auto its = powerDevices_.find(rawAddr); in UpdatePowerDevicesInfo() local
181 if (its != powerDevices_.end()) { in UpdatePowerDevicesInfo()
182 its->second->DeleteRequestPower(profileName); in UpdatePowerDevicesInfo()
275 auto its = powerDevices_.find(iter->second); in DisconnectionCompleteCallBackProcess() local
276 if (its != powerDevices_.end()) { in DisconnectionCompleteCallBackProcess()
277 powerDevices_.erase(its); in DisconnectionCompleteCallBackProcess()
H A Dpower_device.cpp178 for (auto &its : pimpl->requestPower_) { in CalcMaxPower() local
179 PowerInfo itSpec = PowerSpec::GetPowerSpec(its.first, its.second); in CalcMaxPower()
190 for (auto &its : pimpl->requestPower_) { in CalcLowestSsrLevel() local
191 PowerSsrLevel level = PowerSpec::GetPowerSsrLevel(its.first, its.second); in CalcLowestSsrLevel()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/internal/
H A Dtimer_linux.cpp225 struct itimerspec its; in Start() local
226 (void)memset_s(&its, sizeof(its), 0, sizeof(its)); in Start()
228 its.it_value.tv_sec = ms / MS_PER_SECOND; in Start()
229 its.it_value.tv_nsec = (ms % MS_PER_SECOND) * NS_PER_MS; in Start()
231 its.it_interval = its.it_value; in Start()
234 if (timerfd_settime(fd_, 0, &its, NULL) == -1) { in Start()
243 struct itimerspec its; in Stop() local
244 (void)memset_s(&its, sizeof(its), 0, sizeof(its)); in Stop()
246 if (timerfd_settime(fd_, 0, &its, NULL) == -1) { in Stop()
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgraphic_timer.cpp246 struct itimerspec its; in Start() local
248 its.it_value.tv_sec = periodMs_ / MS_PER_SECOND; in Start()
250 its.it_interval.tv_nsec = its.it_value.tv_nsec; in Start()
251 its.it_interval.tv_sec = its.it_value.tv_sec; in Start()
253 its.it_interval.tv_nsec = 0; in Start()
254 its.it_interval.tv_sec = 0; in Start()
256 if (timer_settime(timer_, 0, &its, nullptr) == -1) { in Start()
268 struct itimerspec its; in Stop() local
269 its.it_value.tv_nsec = 0; in Stop()
270 its.it_value.tv_sec = 0; in Stop()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dalarm_linux.c169 struct itimerspec its = {0}; in AlarmSet() local
170 its.it_value.tv_sec = timeMs / MS_PER_SECOND; in AlarmSet()
171 its.it_value.tv_nsec = (timeMs % MS_PER_SECOND) * NS_PER_MS; in AlarmSet()
173 its.it_interval = its.it_value; in AlarmSet()
176 if (timerfd_settime(alarm->timerFd, 0, &its, NULL) == -1) { in AlarmSet()
191 struct itimerspec its = {0}; in AlarmCancel() local
192 if (timerfd_settime(alarm->timerFd, 0, &its, NULL) == -1) { in AlarmCancel()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-renderfit.md3 …ibute sets how the final state of a component's content is rendered during its width and height an…
13 Sets how the final state of the component's content is rendered during its width and height animati…
23 …| Yes | How the final state of the component's content is rendered during its width and height an…
48 …is always resized to fill the component's content box, without considering its aspect ratio in the…
49 | RESIZE_CONTAIN | While maintaining its aspect ratio in the final state, the componen…
50 | RESIZE_CONTAIN_TOP_LEFT | While maintaining its aspect ratio in the final state, the componen…
51 | RESIZE_CONTAIN_BOTTOM_RIGHT | While maintaining its aspect ratio in the final state, the componen…
52its aspect ratio in the final state, the component's content is scaled to cover the component's en…
53its aspect ratio in the final state, the component's content is scaled to cover the component's en…
54its aspect ratio in the final state, the component's content is scaled to cover the component's en…
H A Dts-universal-attributes-hit-test-behavior.md29 | Default | 0 |Both the node and its child nodes respond to the hit test of a touch event, but
30 | Block | 1 |The node responds to the hit test of a touch event, but its child nodes and sibl…
31 | Transparent | 2 |Both the node and its child nodes respond to the hit test of a touch event, and
32 | None | 3 |The node does not respond to the hit test of a touch event, but its child node a…
H A Dts-universal-attributes-opacity.md23 … setting from its parent component and multiplies it by its own setting. For example, if the opaci…
H A Dts-securitycomponent-attributes.md60 …onent, that is, the offset of the component's upper left corner relative to its parent container's.
70 …ion) |Yes|Offset of the security component's upper left corner relative to its parent container's.…
82 Sets the anchor of the security component for moving the component with its upper left corner as th…
92 …ition) |Yes|Anchor of the security component for moving the component with its upper left corner a…
104 Sets the coordinate offset of the security control relative to its own layout position.
114 …calizededges12) |Yes|Coordinate offset of the security control relative to its own layout position…
412 …ecurity component. By default, the security component automatically adapts its width to the conten…
434 …ecurity component. By default, the security component automatically adapts its height to the conte…
444 …ecurity component. By default, the security component automatically adapts its height to the conte…
456 …ecurity component. By default, the security component automatically adapts its size to the content.
[all …]
H A Dts-universal-attributes-accessibility.md25 …nd all its child components form an entire selectable component, and the accessibility service wil…
43its **accessibilityGroup** attribute set to **true** does not have **accessibilityText** set and d…
61its **accessibilityGroup** attribute set to **true** does not have **accessibilityText** set and d…
116 …ility service.<br>**"no-hide-descendants"**: The current component and all its child components ar…
H A Dts-universal-focus-event.md11 …ents can trigger a focus event. To enable a component to be focusable, set its **focusable** attri…
43 … between the three buttons. When a button gains focus, its color changes. When it loses focus, its
H A Dts-custom-component-layout.md3 The custom layout of a custom component is used to lay out its child components through data calcul…
13 …voked when the custom component lays out its child components. Through this callback the component…
31 …d when the custom component needs to determine its size. Through this callback the component recei…
42 …nt layout information.<br>**NOTE**<br>When a child component does not have its layout information …
330 …hows how to determine whether a component participates in layout calculation based on its position.
382 …// Hide any child component that extends beyond the area of its parent component by placing it in …
434 …voked when the custom component lays out its child components. Through this callback the component…
449 …d when the custom component needs to determine its size. Through this callback the component recei…
H A Dts-appendix-enums.md214 … component. After execution, the animation restores the target component to its default state. |
408 | Butt | The ends of the line are squared off, and the line does not extend beyond its two endpoi…
722 | Default | Both the node and its child node respond to the hit test of a touch event, but its
723 | Block | The node responds to the hit test of a touch event, but its child node and sibling …
724 | Transparent | Both the node and its child node respond to the hit test of a touch event, and its
725 | None | The node does not respond to the hit test of a touch event, but its child node and …
763 | PARALLEL | The component and its parent component scroll at the same time. When both the compone…
1093 Enumerates the modes in which the final state of the component's content is rendered during its wid…
1114its aspect ratio in the final state, the component's content is scaled to cover the component's en…
1115its aspect ratio in the final state, the component's content is scaled to cover the component's en…
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/
H A Ddelayed_worker.cpp138 …itimerspec its = { {0, 0}, {static_cast<long>(ns / NS_PER_SEC), static_cast<long>(ns % NS_PER_SEC)… in ThreadInit() local
139 int ret = timerfd_settime(timerfd_, TFD_TIMER_ABSTIME, &its, nullptr); in ThreadInit()
149 itimerspec its = { {0, 0}, {FFRT_DELAY_WORKER_IDLE_TIMEOUT_SECONDS, 0} }; in ThreadInit() local
150 int ret = timerfd_settime(timerfd_, 0, &its, nullptr); in ThreadInit()
224 itimerspec its = { {0, 0}, {0, 1} }; in ~DelayedWorker() local
225 timerfd_settime(timerfd_, 0, &its, nullptr); in ~DelayedWorker()
304 …itimerspec its = { {0, 0}, {static_cast<long>(ns / NS_PER_SEC), static_cast<long>(ns % NS_PER_SEC)… in dispatch() local
305 int ret = timerfd_settime(timerfd_, TFD_TIMER_ABSTIME, &its, nullptr); in dispatch()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-basic-image.md21 …*NOTE**<br>To display an online image, download it and then access it with its in-memory path. Do …
33 …o| Whether the **\<image>** component adapts to the image source size when its width and height ar…
39 | cover | The image is scaled with its aspect ratio retained for both sides to be greater than or e…
41 | fill | The image is scaled to fill the display area, and its aspect ratio is not retained.|
42 | none | The image is displayed in the middle with its aspect ratio and size retained.|
43 | scale-down | The image is displayed in the middle with its aspect ratio retained, in the size equ…
55 …nt is too small to afford the SVG image, the SVG image is cropped and only its upper left part is …
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-layout-development-create-looping.md11its own size settings if they are configured. If the component does not have its own size settings…
86 - Example of using the navigation point indicator in its default style:
225 You can set the playback direction for the Swiper component through its **vertical** attribute.
260 You can set the number of child components per page for the **Swiper** component through its [displ…
H A Darkts-common-components-progress-indicator.md28 Progress indicators come in five styles. When creating a progress indicator, you can specify its st…
35 …> Since API version 9, the progress indicator adaptively switches to the vertical layout if its he…
48 …// The progress indicator in the indeterminate ring style on the left: Retain its default settings…
77 …// The progress indicator in the eclipse style on the left: Retain its default settings for the fo…
79 // The progress indicator in the eclipse style on the right: Set its foreground color to gray.
H A Darkts-common-events-focus-event.md156 … between the three buttons. When a button gains focus, its color changes. When it loses focus, its
162 …// Listen for the focus obtaining event of the first component and change its color when it obtain…
166 …// Listen for the focus loss event of the first component and change its color when it loses focus.
180 …// Listen for the focus loss event of the second component and change its color when it loses focu…
194 …// Listen for the focus loss event of the third component and change its color when it loses focus.
210its **onFocus** callbacktriggered, and its background color turns green, while **First Button** lo…
211its **onFocus** callback, and its background color turns green. Concurrently, **Second Button** lo…
375 … between the three buttons. When a button gains focus, its color changes. When it loses focus, its
385 …// Listen for the focus loss event of the first component and change its color when it loses focus.
399 …// Listen for the focus loss event of the second component and change its color when it loses focu…
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-image.md33 … | Whether the **\<image>** component adapts to the image source size when its width and height ar…
40 | cover | The image is scaled with its aspect ratio retained for both sides to be greater than…
42 | fill | The image is scaled to fill the display area, and its aspect ratio is not retained. …
43 | none | The image is displayed in the middle with its aspect ratio and size retained. …
44 | scale-down | The image is displayed in the middle with its aspect ratio retained. The size is equ…
56 …nt is too small to afford the SVG image, the SVG image is cropped and only its upper left part is …
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.8.1/
H A Dchangelogs-arkui.md5 Changed the namespace **uiAppearance** and its internal **DarkMode** enum predicates from public AP…
9 None. The namespace **uiAppearance** and its internal **DarkMode** enum are used only by system API…
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/
H A Drender_compatibility_common.h72 #define CORE_GET_FRAGCOORD_UV(uv, fc, its) (uv = GetFragCoordUv(fc, its)) argument
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.5.5/
H A Dchangelogs-security.md28 | function getSdkVersion(options: HuksOptions): string; | This interface is reserved, and its funct…
29 | enum HUKS_AES_KEY_SIZE_512 | This interface is reserved, and its functi…

12345678910>>...55