Home
last modified time | relevance | path

Searched refs:front (Results 1 – 25 of 1169) sorted by relevance

12345678910>>...47

/ohos5.0/commonlibrary/ets_utils/js_util_module/container/deque/
H A Djs_deque.ts95 private front: number;
100 this.front = 0;
115 this.front = (this.front - 1 + this.capacity) % this.capacity;
116 this[this.front] = element;
131 return this[this.front];
156 result = this[this.front];
157 this.front = (this.front + 1) % (this.capacity + 1);
175 let i: number = this.front;
191 this.front = (this.front + 1) % this.capacity;
200 this.front = 0;
[all …]
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/
H A Dcamera_stream_info_parse.h116 for (uint32_t k = streamStartIndex_.front(); k < streamEndIndex_.front(); k++) { in getStreamInfo()
117 if (k == streamStartIndex_.front()) { in getStreamInfo()
137 for (uint32_t j = 0; j < streamTypeCount_.front(); j++) { in getDetailStreamInfo()
153 for (uint32_t k = 0; k < deatiInfoCount_.front(); k++) { in getDetailAbilityInfo()
154 for (uint32_t m = abilityStartIndex_.front(); m < abilityEndIndex_.front(); m++) { in getDetailAbilityInfo()
170 m += abilityEndIndex_.front(); in getDetailAbilityInfo()
241 for (uint32_t k = streamStartIndex_.front(); k < streamEndIndex_.front(); k++) { in getStreamInfo()
242 if (k == streamStartIndex_.front()) { in getStreamInfo()
272 for (uint32_t k = 0; k < deatiInfoCount_.front(); k++) { in getDetailAbilityInfo()
273 for (uint32_t m = abilityStartIndex_.front(); m < abilityEndIndex_.front(); m++) { in getDetailAbilityInfo()
[all …]
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dfreeze_json_util.cpp87 jsonCollector.timestamp = std::stoull(collectMap["timestamp"].front()); in FormatCollect()
91 jsonCollector.pid = std::stol(collectMap["pid"].front()); in FormatCollect()
95 jsonCollector.uid = std::stol(collectMap["uid"].front()); in FormatCollect()
99 jsonCollector.domain = collectMap["domain"].front(); in FormatCollect()
103 jsonCollector.stringId = collectMap["stringId"].front(); in FormatCollect()
107 jsonCollector.package_name = collectMap["package_name"].front(); in FormatCollect()
111 jsonCollector.process_name = collectMap["process_name"].front(); in FormatCollect()
116 jsonCollector.message = collectMap["message"].front(); in FormatCollect()
121 jsonCollector.peer_binder = collectMap["peer_binder"].front(); in FormatCollect()
138 jsonCollector.stack = collectMap["stack"].front(); in FormatCollect()
[all …]
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_device_pipe_test.cpp522 UsbInterface interface = device.GetConfigs().front().GetInterfaces().front();
561 UsbInterface interface = device.GetConfigs().front().GetInterfaces().front();
602 UsbInterface interface = device.GetConfigs().front().GetInterfaces().front();
1345 UsbInterface interface = device.GetConfigs().front().GetInterfaces().front();
1384 UsbInterface interface = device.GetConfigs().front().GetInterfaces().front();
1425 UsbInterface interface = device.GetConfigs().front().GetInterfaces().front();
1942 UsbInterface interface = devi.front().GetConfigs().front().GetInterfaces().front();
1977 UsbInterface interface = devi.front().GetConfigs().front().GetInterfaces().front();
2012 UsbInterface interface = devi.front().GetConfigs().front().GetInterfaces().at(1);
2082 UsbInterface interface = devi.front().GetConfigs().front().GetInterfaces().front();
[all …]
H A Dusb_bulkcallback_test.cpp127 UsbDevice device = devi.front();
175 UsbDevice device = devi.front();
223 UsbDevice device = devi.front();
273 UsbDevice device = devi.front();
323 UsbDevice device = devi.front();
373 UsbDevice device = devi.front();
424 UsbDevice device = devi.front();
478 UsbDevice device = devi.front();
532 UsbDevice device = devi.front();
588 UsbDevice device = devi.front();
[all …]
H A Dusb_device_status_test.cpp95 UsbDevice device = devi.front();
131 UsbDevice device = devi.front();
170 UsbDevice device = devi.front();
209 UsbDevice device = devi.front();
250 UsbDevice device = devi.front();
292 UsbDevice device = devi.front();
335 UsbDevice device = devi.front();
378 UsbDevice device = devi.front();
421 UsbDevice device = devi.front();
462 UsbDevice device = devi.front();
[all …]
H A Dusb_request_test.cpp90 UsbDevice device = delist.front();
133 UsbDevice device = delist.front();
179 UsbDevice device = delist.front();
222 UsbDevice device = delist.front();
265 UsbDevice device = delist.front();
311 UsbDevice device = delist.front();
357 UsbDevice device = delist.front();
405 UsbDevice device = delist.front();
453 UsbDevice device = delist.front();
504 UsbDevice device = delist.front();
[all …]
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/queue/
H A Djs_queue.ts92 private front: number;
97 this.front = 0;
103 return this.rear - this.front;
119 return this[this.front];
127 result = this[this.front];
128 this.front = (this.front + 1) % (this.capacity + 1);
136 let i: number = this.front;
158 let count: number = this.front;
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dappspawn_permission.c66 OH_ListAddWithOrder(&queue->front, &node->section.sandboxNode.node, PermissionNodeCompareProc); in AddSandboxPermissionNode()
76 OH_ListAddWithOrder(&queue->front, &node->sandboxNode.node, PermissionNodeCompareProc); in AddSandboxPermissionNode()
84 ListNode *node = queue->front.next; in DeleteSandboxPermissions()
85 while (node != &queue->front) { in DeleteSandboxPermissions()
95 node = queue->front.next; in DeleteSandboxPermissions()
103 ListNode *node = queue->front.next; in PermissionRenumber()
105 while (node != &queue->front) { in PermissionRenumber()
125 ListNode *node = OH_ListFind(&queue->front, (void *)permission, PermissionNodeCompareName); in GetPermissionNodeInQueue()
137 ListNode *node = OH_ListFind(&queue->front, (void *)&index, PermissionNodeCompareIndex); in GetPermissionNodeInQueueByIndex()
H A Dsandbox_manager.c196 OH_ListInit(&section->front); in InitSandboxSection()
230 ListNode *node = section->front.next; in ClearSandboxSection()
231 while (node != &section->front) { in ClearSandboxSection()
238 node = section->front.next; in ClearSandboxSection()
242 static void DumpSandboxQueue(const ListNode *front, in DumpSandboxQueue() argument
246 ListNode *node = front->next; in DumpSandboxQueue()
247 while (node != front) { in DumpSandboxQueue()
337 ListNode *node = queue->front.next; in SandboxQueueClear()
338 while (node != &queue->front) { in SandboxQueueClear()
342 node = queue->front.next; in SandboxQueueClear()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/panel/
H A DdragBar_pattern_test_ng.cpp110 auto columnNode = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
118 auto dragBarNode = AceType::DynamicCast<FrameNode>(columnNode->GetChildren().front());
158 auto columnNode = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
166 auto dragBarNode = AceType::DynamicCast<FrameNode>(columnNode->GetChildren().front());
212 auto columnNode = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
252 EXPECT_EQ(touchEventInfo.GetTouches().front().GetTouchType(), TOUCH_TYPES[i]);
272 auto columnNode = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
347 auto columnNode = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
376 auto columnNode = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
409 auto columnNode = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/search/
H A Dsearch_test_update_ng.cpp141 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
172 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
203 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
234 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
265 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
296 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
327 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
358 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
389 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
420 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front());
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/mock/src/
H A Dmedia_sync_center_mock.cpp23 auto result = returnStatusQueue_.front(); in Reset()
52 auto result = returnInt64Queue_.front(); in GetMediaTimeNow()
59 auto result = returnInt64Queue_.front(); in GetClockTimeNow()
67 auto result = returnInt64Queue_.front(); in GetClockTime()
100 auto result = returnInt64Queue_.front(); in GetSeekTime()
108 auto result = returnStatusQueue_.front(); in SetPlaybackRate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_model_ng.cpp333 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetPlaceholderColor()
345 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetPlaceholderFont()
369 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetSelectedBackgroundColor()
381 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetTextFont()
405 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetTextColor()
418 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetInputFilter()
433 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetInputFilter()
449 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetOnEditChanged()
460 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetTextIndent()
471 auto textFieldChild = AceType::DynamicCast<FrameNode>(frameNode->GetChildren().front()); in SetTextIndent()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/drop_filter/
H A Drender_drop_filter.cpp39 GetChildren().front()->Layout(GetLayoutParam()); in PerformLayout()
40 SetLayoutSize(GetChildren().front()->GetLayoutSize()); in PerformLayout()
55 auto box = GetChildren().front(); in UpdateTouchRect()
59 auto focus = box->GetChildren().front(); in UpdateTouchRect()
63 auto panel = focus->GetChildren().front(); in UpdateTouchRect()
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/app_account/
H A Dapp_account_subscribe_info_test.cpp81 EXPECT_EQ(owners.front(), ownersFromSubscribeInfo.front());
106 EXPECT_EQ(owners.front(), subscribeInfo.owners_.front());
140 EXPECT_EQ(owners.front(), ownersFromSubscribeInfo.front());
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_transaction_testcase.cpp225 EXPECT_TRUE(value.front() == VALUE_1.front()); in Commit003()
264 EXPECT_TRUE(value.front() == VALUE_2.front()); in Commit004()
376 EXPECT_TRUE(value.front() == VALUE_1.front()); in Commit007()
519 EXPECT_TRUE(value.front() == VALUE_1.front()); in RollBack004()
558 EXPECT_TRUE(value.front() == VALUE_1.front()); in RollBack005()
649 EXPECT_TRUE(value.front() == VALUE_1.front()); in RollBack007()
653 EXPECT_TRUE(value.front() == VALUE_2.front()); in RollBack007()
710 EXPECT_TRUE(value.front() == VALUE_1.front()); in RollBack008()
714 EXPECT_TRUE(value.front() == VALUE_2.front()); in RollBack008()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Drender_indexer_item.cpp64 box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in PerformLayout()
66 RefPtr<RenderNode> transform = GetChildren().front(); in PerformLayout()
68 box = AceType::DynamicCast<RenderBox>(transform->GetChildren().front()); in PerformLayout()
77 text = AceType::DynamicCast<RenderText>(box->GetChildren().front()); in PerformLayout()
92 auto child = GetChildren().front(); in PerformLayout()
110 RefPtr<RenderBox> box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in UpdateItemBackground()
165 RefPtr<RenderBox> box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in OnMouseHoverExitTest()
203 RefPtr<RenderBox> box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in CreateColorAnimation()
248 RefPtr<RenderBox> box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in UpdateItemStyle()
253 RefPtr<RenderText> text = AceType::DynamicCast<RenderText>(box->GetChildren().front()); in UpdateItemStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Drender_indexer_item.cpp60 box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in PerformLayout()
62 RefPtr<RenderNode> transform = GetChildren().front(); in PerformLayout()
64 box = AceType::DynamicCast<RenderBox>(transform->GetChildren().front()); in PerformLayout()
72 auto child = GetChildren().front(); in PerformLayout()
133 RefPtr<RenderBox> box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in OnMouseHoverExitTest()
171 RefPtr<RenderBox> box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in CreateColorAnimation()
201 RefPtr<RenderBox> box = AceType::DynamicCast<RenderBox>(GetChildren().front()); in UpdateItemStyle()
206 RefPtr<RenderText> text = AceType::DynamicCast<RenderText>(box->GetChildren().front()); in UpdateItemStyle()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dqueue.rs128 front: AtomicU32, field
184 front: AtomicU32::new(0), in new()
205 let mut head = self.front.load(Acquire); in pop_front()
238 let front = self.front.load(Acquire); in remaining() localVariable
269 let front = self.front.load(Acquire); in push_back() localVariable
271 let (steal_pos, _) = unwrap(front); in push_back()
300 front: u16, in push_overflowed()
304 let prev = wrap(front, front); in push_overflowed()
305 let next = wrap(front, front.wrapping_add(count as u16)); in push_overflowed()
374 .front in steal_into()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_container.cpp483 if (front) { in CreateContainer()
520 if (front) { in RunPage()
521 auto type = front->GetType(); in RunPage()
587 if (!front) { in NativeOnConfigurationUpdated()
659 auto front = GetFrontend(); in DispatchPluginError() local
660 if (!front) { in DispatchPluginError()
852 auto front = GetFrontend(); in AttachView() local
853 if (front) { in AttachView()
948 if (front) { in AttachView()
1075 CHECK_NULL_RETURN(front, ""); in GetContentInfo()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/
H A Dmanifest_router.cpp28 return pages_.front() + suffix; in GetEntry()
42 uri = pages_.front(); in GetPagePath()
43 return pages_.front() + suffix; in GetPagePath()
58 if (uri.front() == '/') { in GetPagePath()
60 return pages_.front() + suffix; in GetPagePath()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_register_conflict_test.cpp425 EXPECT_EQ(g_conflictData.front() == expectNotifyData, true);
454 EXPECT_EQ(g_conflictData.front() == expectNotifyData, true);
487 EXPECT_EQ(g_conflictData.front() == expectNotifyData, true);
519 EXPECT_EQ(g_conflictData.front() == expectNotifyData, true);
601 EXPECT_EQ(CheckOldConflictData(g_conflictDataConnect.front(), expectNotifyData), true);
602 EXPECT_EQ(CheckNewConflictData(g_conflictDataConnect.front(), expectNotifyData), true);
625 EXPECT_EQ(CheckOldConflictData(g_conflictDataConnect.front(), expectNotifyData), true);
626 EXPECT_EQ(CheckNewConflictData(g_conflictDataConnect.front(), expectNotifyData), true);
648 EXPECT_EQ(CheckOldConflictData(g_conflictDataConnect.front(), expectNotifyData), true);
649 EXPECT_EQ(CheckNewConflictData(g_conflictDataConnect.front(), expectNotifyData), true);
[all …]
/ohos5.0/base/usb/usb_manager/test/fuzztest/usbmgrrequestfree_fuzzer/
H A Dusbmgrrequestfree_fuzzer.cpp34 UsbDevice device = devList.front(); in UsbMgrRequestFreeFuzzTest()
42 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrRequestFreeFuzzTest()
/ohos5.0/base/usb/usb_manager/test/fuzztest/usbmgrrequestqueue_fuzzer/
H A Dusbmgrrequestqueue_fuzzer.cpp34 UsbDevice device = devList.front(); in UsbMgrRequestQueueFuzzTest()
42 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrRequestQueueFuzzTest()

12345678910>>...47