Home
last modified time | relevance | path

Searched refs:pre (Results 1 – 25 of 202) sorted by relevance

123456789

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dhttp_body.rs61 kind: Kind::Text(Text::new(len, pre, io)), in text()
81 pre: Option<Cursor<Vec<u8>>>, field
89 pre: (!pre.is_empty()).then_some(Cursor::new(pre.to_vec())), in new()
128 if let Some(pre) = self.pre.as_mut() { in data()
130 let this_read = pre.read(buf).unwrap(); in data()
132 self.pre = None; in data()
191 pre: Option<Cursor<Vec<u8>>>, field
199 pre: (!pre.is_empty()).then_some(Cursor::new(pre.to_vec())), in new()
213 while let Some(pre) = self.pre.as_mut() { in data()
215 let size = pre.read(&mut buf[read..]).unwrap(); in data()
[all …]
/ohos5.0/foundation/distributeddatamgr/preferences/test/js/unittest/preferences/src/
H A DPreferencesCallBackJsunit.test.js66 expect("defaultvalue").assertEqual(pre);
224 expect(true).assertEqual(pre);
243 expect(4.0).assertEqual(pre);
262 expect(4).assertEqual(pre);
282 expect(4).assertEqual(pre);
301 expect('').assertEqual(pre);
331 expect('').assertEqual(pre);
382 expect(100 === pre[0]).assertTrue();
469 expect(bigint === pre).assertTrue();
606 expect(pre.length).assertEqual(0);
[all …]
H A DPreferencesPromiseJsunit.test.js65 expect(stringArr[i]).assertEqual(pre[i]);
79 expect(numberArr[i]).assertEqual(pre[i]);
93 expect(boolArr[i]).assertEqual(pre[i]);
452 expect(pre instanceof Array).assertEqual(true);
453 expect(pre.length).assertEqual(0);
476 expect(pre.length).assertEqual(0);
524 expect(100 === pre[0]).assertTrue();
620 expect(bigint === pre).assertTrue();
640 expect(bigint === pre).assertTrue();
658 expect(bigint === pre).assertTrue();
[all …]
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-security-huks-guide.md128 <pre>
131 </pre>
156 <pre>
159 </pre>
184 <pre>
238 <pre>
296 <pre>
359 <pre>
400 <pre>
452 <pre>
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Dhttp_body.rs77 pre: &[u8], in new()
190 pre: Option<Cursor<Vec<u8>>>, field
198 pre: (!pre.is_empty()).then_some(Cursor::new(pre.to_vec())), in new()
212 if let Some(pre) = self.pre.as_mut() { in data()
216 self.pre = None; in data()
279 pre: &[u8], in new()
286 pre: (!pre.is_empty()).then_some(Cursor::new(pre.to_vec())), in new()
304 if let Some(pre) = self.pre.as_mut() { in data()
308 self.pre = None; in data()
412 pre: (!pre.is_empty()).then_some(Cursor::new(pre.to_vec())), in new()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Dinteger.rs24 pub(crate) fn index(pre: u8, index: usize, mask: u8) -> Self { in index()
26 int: IntegerEncoder::new(pre, index, mask), in index()
87 pre: u8, field
102 pub(crate) fn new(pre: u8, i: usize, mask: u8) -> Self { in new()
104 pre, in new()
116 self.pre in get_pre()
126 return Some(self.pre | (self.i as u8)); in next_byte()
130 Some(self.pre | self.mask) in next_byte()
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/
H A Ddate_time_format_impl.cpp161 char pre = '\0'; in Format() local
165 if ((current != pre) && (count != 0)) { in Format()
177 pre = current; in Format()
246 if (IsTimeChar(pre)) { in Process()
250 switch (pre) { in Process()
282 switch (pre) { in ProcessWeekDayYear()
337 switch (pre) { in ProcessTime()
531 char pre = '\0'; in FormatElapsedDuration() local
536 if ((current != pre) && (count != 0)) { in FormatElapsedDuration()
548 pre = current; in FormatElapsedDuration()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Dinteger.rs100 pre: u8, field
113 pub(crate) fn new(i: usize, mask: u8, pre: u8) -> Self { in new()
117 pre, in new()
129 return Some(self.pre | (self.i as u8)); in next_byte()
133 Some(self.pre | self.mask) in next_byte()
219 ($int: expr, $mask: expr, $pre: expr $(, $byte: expr)* $(,)? ) => { in ut_integer_encode()
220 let mut integer = IntegerEncoder::new($int, $mask, $pre); in ut_integer_encode()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-security-huks-guide.md131 <pre>
134 </pre>
158 <pre>
186 <pre>
240 <pre>
298 <pre>
361 <pre>
402 <pre>
454 <pre>
505 <pre>
[all …]
/ohos5.0/docs/zh-cn/third-party-cases/
H A DHow-do-you-add-or-delete-tab-tags-in-the-tab-component.md60 @State pre: number = -1
114 if (this.pre >= 0) {
115 this.focusIndex = this.pre
120 …设置为前一个页签下标,tabArray数组通过splice方法删除页签,并通过TabsController完成跳转,此外页面只要有关闭操作,页面就不可以跳回打开该页面的页面,即将 pre设置为-1。
125 this.pre = -1
170 @State pre: number = -1
185 if (this.pre >= 0) {
186 this.focusIndex = this.pre
192 this.pre = -1
249 this.pre = this.focusIndex
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dskiplist.c133 list->hnode[index]->pre[index] = FILLP_NULL_PTR; in SkipListPopValue()
170 tnode = tail->pre[index]; in SkipListPopTail()
181 list->tail = tail->pre[0]; in SkipListPopTail()
224 list->hnode[index]->pre[index] = node; in SkiplistInsertAtMid()
229 node->pre[index] = prevRecord[index]; in SkiplistInsertAtMid()
233 prevRecord[index]->forward[index]->pre[index] = node; in SkiplistInsertAtMid()
260 node->pre[index] = list->tnode[index]; in SkipListInsertAtTail()
270 list->hnode[index]->pre[index] = node; in SkipListInsertAtHead()
308 node->pre[i] = FILLP_NULL; in SkipListInsert()
/ohos5.0/base/security/permission_lite/services/pms/src/
H A Dperm_operate.c69 TNode *pre = NULL; in DeleteTask() local
72 if (pre == NULL) { in DeleteTask()
75 pre->next = cur->next; in DeleteTask()
81 pre = cur; in DeleteTask()
/ohos5.0/docs/en/application-dev/performance/
H A Dswiper_optimization.md15 This is where the pre-loading mechanism of the **Swiper ** component comes into picture. By allowin…
19 The pre-loading mechanism of the **Swiper ** component is preferred where time-consuming loading is…
31pre-loading mechanism of **Swiper ** is designed to offer an uninterrupted swiping experience, by …
37 Below shows the pre-loading result of the **Swiper ** component that contains five pages and its **…
41 …Below shows the pre-loading result of the **Swiper ** component that contains five pages and its *…
150 To better demonstrate the performance improvements brought by the **Swiper ** component's pre-loadi…
156 Under these prerequisites, using the **Swiper ** component's pre-loading mechanism can save about 4…
160 … ms, you are advised to set **cachedCount** to **1** or **2**, so that the pre-loading can be comp…
316 - A tie-in of the **Swiper ** component's pre-loading mechanism and **LazyForEach** delivers optima…
318 - The value of **cachedCount** for pre-loading must be set appropriately based on the loading durat…
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/src/reader/
H A Dio_reader.rs42 pre: usize, // Last cached location. field
50 pre: 0, in new()
93 cacher.cache.extend_from_slice(&self.buf[cacher.pre..]); in load()
94 cacher.pre = 0; in load()
107 if self.cur > cacher.pre { in update_cache()
110 .extend_from_slice(&self.buf[cacher.pre..self.cur]); in update_cache()
112 cacher.pre = self.cur; in update_cache()
191 cacher.pre = self.cur; in start_caching()
194 cache.pre = self.cur; in start_caching()
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/
H A Ddate_time_format_impl.h81 …void Process(const tm &time, std::string &append, char pre, uint32_t count, I18nStatus &status) c…
82 …void ProcessTime(const tm &time, std::string &append, char pre, uint32_t count, I18nStatus &status…
83 void ProcessWeekDayYear(const tm &time, std::string &appendTo, char pre,
88 …void FormatElapsed(const struct ElapsedTime &time, char pre, uint32_t count, std::string &appendTo,
/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/src/
H A Dlinked_list.c61 LinkedListNode *pre = NULL; in RemoveNode() local
67 pre = node; in RemoveNode()
73 if (pre == NULL) { in RemoveNode()
76 pre->next = node->next; in RemoveNode()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/conn/
H A Dhttp1.rs82 let (part, pre) = { in request()
113 match (chunked, content_length, pre.is_empty()) { in request()
114 (true, None, _) => HttpBody::chunk(pre, Box::new(conn), is_trailer), in request()
115 (false, Some(len), _) => HttpBody::text(len, pre, Box::new(conn)), in request()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_swipe_view.cpp318 UIView* pre = childrenHead_; in SortChild() local
321 pre->SetX(0); in SortChild()
323 pre->SetY(0); in SortChild()
325 pre->SetViewIndex(index); in SortChild()
330 next->SetX(pre->GetRelativeRect().GetRight() + pre->GetStyle(STYLE_MARGIN_RIGHT) + 1); in SortChild()
332 next->SetY(pre->GetRelativeRect().GetBottom() + pre->GetStyle(STYLE_MARGIN_BOTTOM) + 1); in SortChild()
334 pre = next; in SortChild()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dasset_loader_impl.cpp38 auto pre = std::get_if<std::string>(&prefix); in Download() local
39 if (pre != nullptr) { in Download()
40 pref = *pre; in Download()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_utils.cpp223 auto pre = srcFile.find("/"); in Anonymous() local
225 if (pre == std::string::npos || end - pre < FILE_PATH_MINI_SIZE) { in Anonymous()
228 auto path = srcFile.substr(pre, end - pre); in Anonymous()
239 return srcFile.substr(0, pre + PRE_OFFSET_SIZE) + "***" + path + fileName; in Anonymous()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_preferences_helper.cpp21 void MockPreferences(std::shared_ptr<Preferences> pre, int errCode) in MockPreferences() argument
23 mockPreference = pre; in MockPreferences()
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_crpc_server.c363 g_wifiHalEventCallback->cbmsgs[i].pre = g_wifiHalEventCallback->cbmsgs + i; in InitCallbackMsg()
398 msg->pre = head; in PushBackCallbackMsg()
401 head->pre = msg; in PushBackCallbackMsg()
403 msg->pre = head->pre; in PushBackCallbackMsg()
404 head->pre->next = msg; in PushBackCallbackMsg()
406 head->pre = msg; in PushBackCallbackMsg()
421 WifiHalEventCallbackMsg *tail = head->pre; in PopBackCallbackMsg()
422 head->pre = tail->pre; in PopBackCallbackMsg()
423 tail->pre->next = head; in PopBackCallbackMsg()
454 p->next->pre = head; in PopFrontCallbackMsg()
/ohos5.0/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_composer.cpp21 HdiComposer::HdiComposer(std::unique_ptr<HdiComposition> pre, std::unique_ptr<HdiComposition> post) in HdiComposer() argument
23 mPreComp = std::move(pre); in HdiComposer()
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-shell-cmd-memcheck.md50 pre node: 0x81f28a98
51 pre node was allocated by task:sofia
/ohos5.0/docs/en/application-dev/web/
H A Dweb-offline-mode.md3 …nce. For example, when a tab page is implemented with a **Web** component, pre-creation of the **W…
7 Offline **Web** components can be used to optimize the pre-start rendering process and pre-renderin…
20 …sary. Such an offline **Web** component can be used in pre-starting the rendering process and pre-…
159 In the following example, a **Web** component is pre-created during **onWindowStageCreate** phase t…
274 // The rendering process has been pre-started.
310 To pre-render a web page, create an offline **Web** component in advance and activate it. The activ…
314 > 1. For a web page to be pre-rendered successfully, identify the resources to be loaded beforehand.
315 …, which converts it to the **active** state. Due to this activation, avoid pre-rendering pages tha…
316pre-rendered web page is continuously rendered. To prevent overheating and power consumption, you …
350 // Use the Boolean variable shouldInactive to stop rendering after the web page is pre-rendered in …
[all …]

123456789