Home
last modified time | relevance | path

Searched refs:item (Results 76 - 100 of 3327) sorted by relevance

12345678910>>...134

/foundation/arkui/ace_engine/frameworks/base/json/
H A Duobject.cpp166 for (const auto& item : stringItems_) { in Serialize()
167 WriteKV(item.first, item.second); in Serialize()
169 for (const auto& item : sizetItems_) { in Serialize()
170 WriteKV(item.first, item.second); in Serialize()
172 for (const auto& item : int32Items_) { in Serialize()
173 WriteKV(item.first, item.second); in Serialize()
175 for (const auto& item in Serialize()
[all...]
/third_party/nghttp2/lib/
H A Dnghttp2_submit.c75 nghttp2_outbound_item *item = NULL; in submit_headers_shared() local
82 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in submit_headers_shared()
83 if (item == NULL) { in submit_headers_shared()
88 nghttp2_outbound_item_init(item); in submit_headers_shared()
91 item->aux_data.headers.data_prd = *data_prd; in submit_headers_shared()
94 item->aux_data.headers.stream_user_data = stream_user_data; in submit_headers_shared()
115 frame = &item->frame; in submit_headers_shared()
120 rv = nghttp2_session_add_item(session, item); in submit_headers_shared()
137 nghttp2_mem_free(mem, item); in submit_headers_shared()
225 nghttp2_outbound_item *item; in nghttp2_submit_priority() local
319 nghttp2_outbound_item *item; nghttp2_submit_push_promise() local
510 nghttp2_outbound_item *item; nghttp2_submit_altsvc() local
591 nghttp2_outbound_item *item; nghttp2_submit_origin() local
676 nghttp2_outbound_item *item; nghttp2_submit_priority_update() local
814 nghttp2_outbound_item *item; nghttp2_submit_data() local
868 nghttp2_outbound_item *item; nghttp2_submit_extension() local
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_submit.c75 nghttp2_outbound_item *item = NULL; in submit_headers_shared() local
82 item = nghttp2_mem_malloc(mem, sizeof(nghttp2_outbound_item)); in submit_headers_shared()
83 if (item == NULL) { in submit_headers_shared()
88 nghttp2_outbound_item_init(item); in submit_headers_shared()
91 item->aux_data.headers.data_prd = *data_prd; in submit_headers_shared()
94 item->aux_data.headers.stream_user_data = stream_user_data; in submit_headers_shared()
115 frame = &item->frame; in submit_headers_shared()
120 rv = nghttp2_session_add_item(session, item); in submit_headers_shared()
137 nghttp2_mem_free(mem, item); in submit_headers_shared()
225 nghttp2_outbound_item *item; in nghttp2_submit_priority() local
319 nghttp2_outbound_item *item; nghttp2_submit_push_promise() local
510 nghttp2_outbound_item *item; nghttp2_submit_altsvc() local
591 nghttp2_outbound_item *item; nghttp2_submit_origin() local
676 nghttp2_outbound_item *item; nghttp2_submit_priority_update() local
814 nghttp2_outbound_item *item; nghttp2_submit_data() local
868 nghttp2_outbound_item *item; nghttp2_submit_extension() local
[all...]
/third_party/cJSON/tests/
H A Dmisc_tests.c68 cJSON *item = NULL; in cjson_get_object_item_should_get_object_items() local
71 item = cJSON_Parse("{\"one\":1, \"Two\":2, \"tHree\":3}"); in cjson_get_object_item_should_get_object_items()
76 found = cJSON_GetObjectItem(item, NULL); in cjson_get_object_item_should_get_object_items()
79 found = cJSON_GetObjectItem(item, "one"); in cjson_get_object_item_should_get_object_items()
80 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_should_get_object_items()
83 found = cJSON_GetObjectItem(item, "tWo"); in cjson_get_object_item_should_get_object_items()
84 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_should_get_object_items()
87 found = cJSON_GetObjectItem(item, "three"); in cjson_get_object_item_should_get_object_items()
88 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find item."); in cjson_get_object_item_should_get_object_items()
91 found = cJSON_GetObjectItem(item, "fou in cjson_get_object_item_should_get_object_items()
99 cJSON *item = NULL; cjson_get_object_item_case_sensitive_should_get_object_items() local
155 cJSON item[1]; typecheck_functions_should_check_type() local
364 cJSON *item = cJSON_CreateString("item"); cjson_functions_should_not_crash_with_null_pointers() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dflex_property.h166 [](float inMapValue, FlexItemProperty& item) { item.UpdateAlignLeft(inMapValue); } }, in SetAlignValue()
168 [](float inMapValue, FlexItemProperty& item) { item.UpdateAlignRight(inMapValue); } }, in SetAlignValue()
170 [](float inMapValue, FlexItemProperty& item) { item.UpdateAlignMiddle(inMapValue); } }, in SetAlignValue()
171 { AlignDirection::TOP, [](float inMapValue, FlexItemProperty& item) { item.UpdateAlignTop(inMapValue); } }, in SetAlignValue()
173 [](float inMapValue, FlexItemProperty& item) { item in SetAlignValue()
250 OnAlignRulesUpdate(const AlignRulesItem& item) OnAlignRulesUpdate() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
H A Dpool.h30 // Call the Pool items constructor on borrow(), and destruct the item
31 // when the item is returned.
52 // Loans track the number of references to the loaned item, and return the
53 // item to the pool when the final Loan reference is dropped.
69 Item* item = nullptr; member in marl::Pool::Loan
83 // The backing data of a single item in the pool.
85 // get() returns a pointer to the item's data.
88 // construct() calls the constructor on the item's data.
91 // destruct() calls the destructor on the item's data.
97 Item* next = nullptr; // pointer to the next free item i
127 Loan(Item* item, const std::shared_ptr<Storage>& storage) Loan() argument
287 auto item = storage->free; borrow() local
299 Item* item = nullptr; tryBorrow() local
316 return_(Item* item) return_() argument
410 auto item = allocator->create<Item>(); borrow() local
420 auto item = storage->free; borrow() local
430 return_(Item* item) return_() argument
[all...]
/foundation/multimodalinput/input/tools/event_inject/src/
H A Dprocessing_mouse_device.cpp43 for (const auto &item : mouseEventArray) { in TransformMouseEventToInputEvent()
44 if (item.eventType == "KEY_EVENT_PRESS") { in TransformMouseEventToInputEvent()
45 TransformKeyPressEvent(item, inputEventArray); in TransformMouseEventToInputEvent()
46 } else if (item.eventType == "KEY_EVENT_RELEASE") { in TransformMouseEventToInputEvent()
47 TransformKeyReleaseEvent(item, inputEventArray); in TransformMouseEventToInputEvent()
48 } else if (item.eventType == "KEY_EVENT_CLICK") { in TransformMouseEventToInputEvent()
49 TransformKeyClickEvent(item, inputEventArray); in TransformMouseEventToInputEvent()
50 } else if (item.eventType == "MOUSE_EVENT_MOVE") { in TransformMouseEventToInputEvent()
51 TransformMouseMoveEvent(item, inputEventArray); in TransformMouseEventToInputEvent()
52 } else if (item in TransformMouseEventToInputEvent()
[all...]
/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_containers.cc99 // Retrieve item by index (usually the order of declaration in the proto file)
102 // Retrieve item by name (usually a call to some 'FindByName' method).
105 // Retrieve item by camelcase name (usually a call to some
108 // Retrieve item by declared number (field tag, or enum value).
111 // Converts a item C++ descriptor to a Python object. Returns a new reference.
113 // Retrieve the name of an item. Used by iterators on "by_name" mappings.
115 // Retrieve the camelcase name of an item. Used by iterators on
118 // Retrieve the number of an item. Used by iterators on "by_number" mappings.
120 // Retrieve the index of an item for the container type.
166 // Returns the C++ item descripto
170 _GetItemByKey(PyContainer* self, PyObject* key, const void** item) _GetItemByKey() argument
230 const void* item = self->container_def->get_by_index_fn(self, index); _NewKey_ByIndex() local
268 const void* item = NULL; Subscript() local
296 const void* item = NULL; Contains() local
464 const void* item; Get() local
616 SeqSubscript(PyContainer* self, PyObject* item) SeqSubscript() argument
635 Find(PyContainer* self, PyObject* item) Find() argument
674 Index(PyContainer* self, PyObject* item) Index() argument
685 SeqContains(PyContainer* self, PyObject* item) SeqContains() argument
696 Count(PyContainer* self, PyObject* item) Count() argument
982 NewObjectFromItem(const void* item) NewObjectFromItem() argument
986 GetItemName(const void* item) GetItemName() argument
990 GetItemCamelcaseName(const void* item) GetItemCamelcaseName() argument
994 GetItemNumber(const void* item) GetItemNumber() argument
998 GetItemIndex(const void* item) GetItemIndex() argument
1051 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1055 GetItemName(const void* item) GetItemName() argument
1059 GetItemIndex(const void* item) GetItemIndex() argument
1103 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1107 GetItemName(const void* item) GetItemName() argument
1111 GetItemIndex(const void* item) GetItemIndex() argument
1181 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1186 GetItemName(const void* item) GetItemName() argument
1226 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1230 GetItemName(const void* item) GetItemName() argument
1234 GetItemIndex(const void* item) GetItemIndex() argument
1278 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1282 GetItemName(const void* item) GetItemName() argument
1286 GetItemIndex(const void* item) GetItemIndex() argument
1344 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1349 GetItemName(const void* item) GetItemName() argument
1353 GetItemNumber(const void* item) GetItemNumber() argument
1357 GetItemIndex(const void* item) GetItemIndex() argument
1411 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1415 GetItemIndex(const void* item) GetItemIndex() argument
1465 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1469 GetItemName(const void* item) GetItemName() argument
1473 GetItemIndex(const void* item) GetItemIndex() argument
1527 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1531 GetItemName(const void* item) GetItemName() argument
1535 GetItemIndex(const void* item) GetItemIndex() argument
1575 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1579 GetItemName(const void* item) GetItemName() argument
1583 GetItemIndex(const void* item) GetItemIndex() argument
1623 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1627 GetItemName(const void* item) GetItemName() argument
1631 GetItemIndex(const void* item) GetItemIndex() argument
1671 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1675 GetItemName(const void* item) GetItemName() argument
1679 GetItemIndex(const void* item) GetItemIndex() argument
1715 NewObjectFromItem(const void* item) NewObjectFromItem() argument
1751 NewObjectFromItem(const void* item) NewObjectFromItem() argument
[all...]
/foundation/arkui/ui_lite/test/framework/src/
H A Dtest_case_list_adapter.cpp147 UILabelButton* item = nullptr; in GetView() local
149 item = new UILabelButton(); in GetView()
150 item->SetPosition(0, 0); in GetView()
151 item->SetStyleForState(STYLE_BORDER_WIDTH, STYLE_BORDER_WIDTH_VALUE, UIButton::RELEASED); in GetView()
152 item->SetStyleForState(STYLE_BORDER_WIDTH, STYLE_BORDER_WIDTH_VALUE, UIButton::PRESSED); in GetView()
153 item->SetStyleForState(STYLE_BORDER_WIDTH, STYLE_BORDER_WIDTH_VALUE, UIButton::INACTIVE); in GetView()
154 item->SetStyleForState(STYLE_BORDER_OPA, 0, UIButton::RELEASED); in GetView()
155 item->SetStyleForState(STYLE_BORDER_OPA, 0, UIButton::PRESSED); in GetView()
156 item->SetStyleForState(STYLE_BORDER_OPA, 0, UIButton::INACTIVE); in GetView()
157 item in GetView()
[all...]
/third_party/rust/crates/clap/clap_derive/src/derives/
H A Dsubcommand.rs20 use crate::item::{Item, Kind, Name};
29 let item = Item::from_subcommand_enum(input, name)?; in derive_subcommand()
34 let item = in derive_subcommand()
35 Item::from_subcommand_variant(variant, item.casing(), item.env_casing())?; in derive_subcommand()
36 Ok((variant, item)) in derive_subcommand()
39 gen_for_enum(&item, ident, &input.generics, &variants) in derive_subcommand()
46 item: &Item, in gen_for_enum()
51 if !matches!(&*item.kind(), Kind::Command(_)) { in gen_for_enum()
52 abort! { item in gen_for_enum()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/wrap/
H A Drender_wrap.cpp87 // number of item in content in PerformLayout()
95 for (auto& item : GetChildren()) { in PerformLayout()
96 auto flexItem = AceType::DynamicCast<RenderFlexItem>(item); in PerformLayout()
99 CalculateMargin(item, beforeIsBlock, beforeMarginBottom); in PerformLayout()
100 item->Layout(layoutParam); in PerformLayout()
101 AddBlock(count, item, itemsList, currentMainLength, currentCrossLength, baselineDistance); in PerformLayout()
106 SetDefault(item); in PerformLayout()
107 item->Layout(layoutParam); in PerformLayout()
111 item->Layout(layoutParam); in PerformLayout()
114 if (mainLengthLimit_ >= currentMainLength + GetMainItemLength(item)) { in PerformLayout()
170 AddBlock(int32_t& count, const RefPtr<RenderNode>& item, std::list<RefPtr<RenderNode>>& itemsList, double& currentMainLength, double& currentCrossLength, double& baselineDistance) AddBlock() argument
194 CalculateMargin(const RefPtr<RenderNode>& item, bool& beforeIsBlock, double& beforeMarginBottom) CalculateMargin() argument
228 SetDefault(const RefPtr<RenderNode>& item) SetDefault() argument
619 HandleCenterAlignment(double totalCrossSpace, const RefPtr<RenderNode>& item, const Offset& position, double betweenSpace, Offset& itemPositionOffset) const HandleCenterAlignment() argument
636 HandleEndAlignment(double totalCrossSpace, const RefPtr<RenderNode>& item, const Offset& position, double betweenSpace, Offset& itemPositionOffset) const HandleEndAlignment() argument
653 HandleBaselineAlignment(double totalCrossSpace, const RefPtr<RenderNode>& item, const Offset& position, double betweenSpace, Offset& itemPositionOffset) const HandleBaselineAlignment() argument
663 HandleStartAlignment( const RefPtr<RenderNode>& item, const Offset& position, double betweenSpace, Offset& itemPositionOffset) const HandleStartAlignment() argument
[all...]
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_simulate_test.cpp187 PointerEvent::PointerItem item; in HWTEST_F() local
188 item.SetPointerId(0); in HWTEST_F()
189 item.SetDisplayX(POINTER_ITEM_DISPLAY_X_FIVE); in HWTEST_F()
190 item.SetDisplayY(POINTER_ITEM_DISPLAY_Y_FOUR); in HWTEST_F()
191 item.SetPressure(POINTER_ITEM_PRESSURE_ONE); in HWTEST_F()
192 item.SetDeviceId(1); in HWTEST_F()
193 pointerEvent->AddPointerItem(item); in HWTEST_F()
194 item.SetPointerId(1); in HWTEST_F()
195 item.SetDisplayX(POINTER_ITEM_DISPLAY_X_SIXTEEN); in HWTEST_F()
196 item in HWTEST_F()
231 PointerEvent::PointerItem item; HWTEST_F() local
279 PointerEvent::PointerItem item; HWTEST_F() local
368 PointerEvent::PointerItem item; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/service/touch_event_normalize/src/
H A Dtouch_transform_processor.cpp70 PointerEvent::PointerItem item; in OnEventTouchDown() local
81 item.SetMoveFlag(moveFlag); in OnEventTouchDown()
82 item.SetPressure(pressure); in OnEventTouchDown()
83 item.SetLongAxis(longAxis); in OnEventTouchDown()
84 item.SetShortAxis(shortAxis); in OnEventTouchDown()
85 item.SetPointerId(seatSlot); in OnEventTouchDown()
86 item.SetDownTime(time); in OnEventTouchDown()
87 item.SetPressed(true); in OnEventTouchDown()
88 UpdatePointerItemProperties(item, touchInfo); in OnEventTouchDown()
89 item in OnEventTouchDown()
102 UpdatePointerItemProperties(PointerEvent::PointerItem &item, EventTouch &touchInfo) UpdatePointerItemProperties() argument
161 PointerEvent::PointerItem item; OnEventTouchMotion() local
210 PointerEvent::PointerItem item; OnEventTouchUp() local
[all...]
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_reliability.c50 LaneDetectInfo *item = NULL; in GetSameLaneDetectInfo() local
52 LIST_FOR_EACH_ENTRY_SAFE(item, next, &g_laneDetectList.list, LaneDetectInfo, node) { in GetSameLaneDetectInfo()
57 item->link.linkInfo.wlan.connInfo.addr, MAX_SOCKET_ADDR_LEN) == 0) && in GetSameLaneDetectInfo()
59 item->link.linkInfo.wlan.connInfo.port)) { in GetSameLaneDetectInfo()
60 infoItem->connId.wlanFd = item->connId.wlanFd; in GetSameLaneDetectInfo()
61 infoItem->laneDetectId = item->laneDetectId; in GetSameLaneDetectInfo()
109 LaneDetectInfo *item = NULL; in DelLaneDetectInfo() local
111 LIST_FOR_EACH_ENTRY_SAFE(item, next, &g_laneDetectList.list, LaneDetectInfo, node) { in DelLaneDetectInfo()
112 if (item->laneDetectId == detectId) { in DelLaneDetectInfo()
113 ListDelete(&item in DelLaneDetectInfo()
125 LaneDetectInfo *item = NULL; GetLaneDetectInfoByWlanFd() local
236 LaneDetectInfo *item = NULL; GetAllDetectInfoWithDetectId() local
257 LaneDetectInfo *item = NULL; NotifyWlanDetectResult() local
344 LaneDetectInfo *item = NULL; NotifyDetectTimeout() local
379 LaneDetectInfo *item = NULL; DeinitLaneReliability() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/mem/
H A Ditems_pool.h31 Item item; member
37 new (&item) Item(); in PaddedItem()
41 item.~Item(); in ~PaddedItem()
50 static PaddedItem *GetPaddedItem(Item *item) in GetPaddedItem() argument
52 ASSERT(uintptr_t(item) % PADDED_ITEM_SIZE == 0); in GetPaddedItem()
53 return reinterpret_cast<PaddedItem *>(item); in GetPaddedItem()
72 return &freeList_->item; in GetNextAlloc()
74 return (currentPos_ < dataEnd_) ? &currentPos_->item : nullptr; in GetNextAlloc()
82 return &(new (newItem) PaddedItem())->item; in AllocItem()
92 return &(new (newItem) PaddedItem())->item; in AllocItem()
95 FreeItem(Item *item) FreeItem() argument
114 GetIndexByItem(Item *item) GetIndexByItem() argument
[all...]
/third_party/jerryscript/jerry-core/ext/
H A Dtracker.c46 void RefInfoResetFn(IStorageItem* item) in RefInfoResetFn() argument
48 RefInfoItem* ref_item = (RefInfoItem*)item; in RefInfoResetFn()
72 IStorageItem* item = (IStorageItem*)storage->data[key]; in StoragePut() local
76 new_item->next = item; in StoragePut()
91 IStorageItem* item = (IStorageItem*)storage->data[key]; in StorageReset() local
93 while (item != NULL) { in StorageReset()
94 IStorageItem* next = item->next; in StorageReset()
95 reset_fn(item); in StorageReset()
96 item = next; in StorageReset()
115 RefInfoItem* item in CreateRefInfoItem() local
168 RefInfoItem* item = (RefInfoItem*)storage->data[i]; DumpTracker() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_frame.c35 FILLP_LOGDBG("item refcnt: %d, seq: %d", refCnt, frameItem->info.seqNum); in FillpFrameItemHold()
42 FILLP_LOGDBG("free frame item of seq: %d", frameItem->info.seqNum); in FillpFrameItemPut()
55 FILLP_LOGERR("alloc frame item failed, seq: %d", frame->seqNum); in FillpFrameItemAlloc()
58 /* hold the frame item until the sending of socket app ended */ in FillpFrameItemAlloc()
60 FILLP_LOGDBG("alloc frame item succeeded, seq: %d", frame->seqNum); in FillpFrameItemAlloc()
67 void FillpFrameItemReference(struct FillpPcbItem *item, struct FillpFrameItem *frameItem) in FillpFrameItemReference() argument
71 item->frame = frameItem; in FillpFrameItemReference()
73 item->frame = FILLP_NULL_PTR; in FillpFrameItemReference()
93 FILLP_INT FillpFrameAddItem(struct FillpFrameHandle *h, struct FillpPcbItem *item) in FillpFrameAddItem() argument
97 if (item in FillpFrameAddItem()
116 FillpFrameFreeItem(struct FillpPcbItem *item) FillpFrameFreeItem() argument
122 FillpFrameTxInitItem(struct FillpFrameHandle *h, struct FillpPcbItem *item, const struct FrameInfo *info, FILLP_UINT32 fragSize, FILLP_BOOL firstPkt) FillpFrameTxInitItem() argument
163 FillpFrameBuildOption(const struct FillpPcbItem *item, FILLP_UINT8 *option) FillpFrameBuildOption() argument
189 FillpFrameParseOption(struct FillpFrameHandle *h, struct FillpPcbItem *item, FILLP_UINT8 *option, FILLP_UINT8 optLen) FillpFrameParseOption() argument
228 FillpFrameRxNewFrag(struct FillpFrame *frame, const struct FillpPcbItem *item) FillpFrameRxNewFrag() argument
271 FillpFrameRxUpdateAndNotify(struct FillpFrameHandle *h, const struct FillpPcbItem *item) FillpFrameRxUpdateAndNotify() argument
299 FillpFrameRx(struct FillpFrameHandle *h, const struct FillpPcbItem *item) FillpFrameRx() argument
[all...]
/arkcompiler/runtime_core/libpandafile/
H A Dpgo.cpp23 std::string ProfileOptimizer::GetNameInfo(const std::unique_ptr<BaseItem> &item) in GetNameInfo() argument
26 if (item->GetName() == CLASS_ITEM) { in GetNameInfo()
27 identity = static_cast<ClassItem *>(item.get())->GetNameItem()->GetData(); in GetNameInfo()
34 } else if (item->GetName() == STRING_ITEM) { in GetNameInfo()
35 identity = static_cast<StringItem *>(item.get())->GetData(); in GetNameInfo()
44 void ProfileOptimizer::MarkProfileItem(std::unique_ptr<BaseItem> &item, bool set_pgo) const in MarkProfileItem() argument
47 if (item->GetName() == CLASS_ITEM) { in MarkProfileItem()
48 item->SetPGORank(PGO_CLASS_DEFAULT_COUNT + inc); in MarkProfileItem()
49 } else if (item->GetName() == STRING_ITEM) { in MarkProfileItem()
50 item in MarkProfileItem()
[all...]
/arkcompiler/runtime_core/libpandafile/tests/
H A Dpgo_test.cpp63 for (auto &item : container.GetItems()) { in HWTEST()
64 if (item->GetName() == CLASS_ITEM) { in HWTEST()
65 profile_opt.MarkProfileItem(item, true); in HWTEST()
66 EXPECT_EQ(item->GetPGORank(), panda::panda_file::PGO_CLASS_DEFAULT_COUNT + 1U); // 1 means set pgo in HWTEST()
67 profile_opt.MarkProfileItem(item, false); in HWTEST()
68 EXPECT_EQ(item->GetPGORank(), panda::panda_file::PGO_CLASS_DEFAULT_COUNT); in HWTEST()
69 } else if (item->GetName() == STRING_ITEM) { in HWTEST()
70 profile_opt.MarkProfileItem(item, true); in HWTEST()
71 EXPECT_EQ(item->GetPGORank(), panda::panda_file::PGO_STRING_DEFAULT_COUNT + 1U); // 1 means set pgo in HWTEST()
72 profile_opt.MarkProfileItem(item, fals in HWTEST()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/
H A Ddbm_kv_store.c47 | item sum num | KVDB magic | sum file flag | DB version | KVDB magic | Data Item | Data Item |
50 data item struct
53 | item flag | key length | key | KVDB magic |
56 item sum num: means total number of entries in the current database
60 item flag: 1st byte constant 0, 2nd means item valid, 3rd means bak valid
101 int kvItemSum; // database max kv item size.
110 // data item struct def
301 static int LoadDataItem(DBHandle db, int index, KeyItem* item) in LoadDataItem() argument
303 if (item in LoadDataItem()
383 DelItem(DBHandle db, const KeyItem* item) DelItem() argument
429 RecoverItem(DBHandle db, const KeyItem* item) RecoverItem() argument
453 CheckPointItem(DBHandle db, const KeyItem* item) CheckPointItem() argument
505 KeyItem* item = (KeyItem *)malloc(sizeof(KeyItem)); VacuumStore() local
875 BackupItem(DBHandle db, const KeyItem* item) BackupItem() argument
926 InsertKV(DBHandle db, const KeyItem* item, const void* value, unsigned int len) InsertKV() argument
956 UpdateKV(DBHandle db, const KeyItem* item, const void* value, unsigned int len) UpdateKV() argument
1006 WriteNewItemToSumFile(DBHandle db, const KeyItem* item) WriteNewItemToSumFile() argument
1031 AddNewDataItem(DBHandle db, KeyItem* item) AddNewDataItem() argument
1060 FindDataItem(DBHandle db, KeyItem* item, boolean kvExisted) FindDataItem() argument
1093 PrePut(DBHandle db, KeyItem* item, boolean* newItem) PrePut() argument
1141 KeyItem* item = (KeyItem *)malloc(sizeof(KeyItem)); Put() local
1184 ExeDelete(KVStoreHandle db, const KeyItem* item, boolean newItem) ExeDelete() argument
1226 KeyItem* item = (KeyItem *)malloc(sizeof(KeyItem)); Delete() local
[all...]
/foundation/multimodalinput/input/tools/inject_event/src/
H A Dinput_manager_command.cpp240 PointerEvent::PointerItem item; in ParseCommand() local
241 item.SetPointerId(0); in ParseCommand()
242 item.SetDisplayX(px); in ParseCommand()
243 item.SetDisplayY(py); in ParseCommand()
244 pointerEvent->AddPointerItem(item); in ParseCommand()
317 PointerEvent::PointerItem item; in ParseCommand() local
318 item.SetPointerId(0); in ParseCommand()
319 item.SetDisplayX(px); in ParseCommand()
320 item.SetDisplayY(py); in ParseCommand()
322 pointerEvent->AddPointerItem(item); in ParseCommand()
368 PointerEvent::PointerItem item; ParseCommand() local
394 PointerEvent::PointerItem item; ParseCommand() local
416 PointerEvent::PointerItem item; ParseCommand() local
467 PointerEvent::PointerItem item; ParseCommand() local
554 PointerEvent::PointerItem item; ParseCommand() local
627 PointerEvent::PointerItem item; ParseCommand() local
728 KeyEvent::KeyItem item[downKey.size()]; ParseCommand() local
824 KeyEvent::KeyItem item; ParseCommand() local
886 KeyEvent::KeyItem item; ParseCommand() local
1108 PointerEvent::PointerItem item; ParseCommand() local
1141 PointerEvent::PointerItem item; ParseCommand() local
1168 PointerEvent::PointerItem item; ParseCommand() local
1194 PointerEvent::PointerItem item; ParseCommand() local
1220 PointerEvent::PointerItem item; ParseCommand() local
1248 PointerEvent::PointerItem item; ParseCommand() local
1278 PointerEvent::PointerItem item; ParseCommand() local
1327 PointerEvent::PointerItem item; ParseCommand() local
1420 PointerEvent::PointerItem item; ParseCommand() local
1722 KeyEvent::KeyItem item; PrintKeyboardTextChar() local
1942 PointerEvent::PointerItem item; SingleKnuckleClickEvent() local
1972 PointerEvent::PointerItem item; DoubleKnuckleClickEvent() local
2079 PointerEvent::PointerItem item; ProcessRotateGesture() local
2160 PointerEvent::PointerItem item; SwipeActionEvent() local
2226 FillPointerItem( PointerEvent::PointerItem &item, int32_t pointX, int32_t pointY, int32_t id, bool press) FillPointerItem() argument
[all...]
/foundation/multimedia/media_foundation/tests/unittest/meta/
H A Dmeta_func_unit_test.cpp523 for (auto item : testBoolData) { in HWTEST_F()
524 int32_t valueIn = item.second; in HWTEST_F()
525 SetMetaData(*metaIn, item.first, valueIn); in HWTEST_F()
529 for (auto item : testBoolData) { in HWTEST_F()
530 int32_t valueIn = item.second; in HWTEST_F()
532 ASSERT_TRUE(GetMetaData(*metaOut, item.first, valueOut)); in HWTEST_F()
533 std::cout << item.first << " , " << valueOut << " , " << valueIn << std::endl; in HWTEST_F()
545 for (auto item : testInt32Data) { in HWTEST_F()
546 int32_t valueIn = item.second; in HWTEST_F()
547 SetMetaData(*metaIn, item in HWTEST_F()
[all...]
/third_party/vk-gl-cts/scripts/khr_util/
H A Dregistry.py91 def append(self, item):
92 keys = self.getkeys(item)
94 self[key] = item
95 self.items.append(item)
98 for item in items:
99 self.append(item)
107 def getkeys(self, item):
113 def __setitem__(self, key, item):
116 self.duplicateKey(key, item)
118 self.index[key] = item
[all...]
/foundation/multimodalinput/input/service/window_manager/test/
H A Dknuckle_dynamic_drawing_manager_test.cpp96 PointerEvent::PointerItem item; in HWTEST_F() local
97 item.SetPointerId(1); in HWTEST_F()
98 item.SetToolType(PointerEvent::TOOL_TYPE_MOUSE); in HWTEST_F()
100 pointerEvent->AddPointerItem(item); in HWTEST_F()
118 PointerEvent::PointerItem item; in HWTEST_F() local
119 item.SetPointerId(1); in HWTEST_F()
120 item.SetToolType(PointerEvent::TOOL_TYPE_KNUCKLE); in HWTEST_F()
122 pointerEvent->AddPointerItem(item); in HWTEST_F()
163 PointerEvent::PointerItem item; in HWTEST_F() local
164 item in HWTEST_F()
275 PointerEvent::PointerItem item; HWTEST_F() local
304 PointerEvent::PointerItem item; HWTEST_F() local
371 PointerEvent::PointerItem item; HWTEST_F() local
400 PointerEvent::PointerItem item; HWTEST_F() local
429 PointerEvent::PointerItem item; HWTEST_F() local
506 PointerEvent::PointerItem item; HWTEST_F() local
546 PointerEvent::PointerItem item; HWTEST_F() local
568 PointerEvent::PointerItem item; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dsub_managers_helper.cpp180 for (auto& item: dataAbilityManagers_) { in GetDataAbilityManager()
181 if (item.second && item.second->ContainsDataAbility(scheduler)) { in GetDataAbilityManager()
182 return item.second; in GetDataAbilityManager()
209 for (auto& item: dataAbilityManagers_) { in GetDataAbilityManagerByToken()
210 if (item.second && item.second->GetAbilityRecordByToken(token)) { in GetDataAbilityManagerByToken()
211 return item.second; in GetDataAbilityManagerByToken()
244 for (auto& item: connectManagers_) { in GetConnectManagerByToken()
245 if (item in GetConnectManagerByToken()
[all...]

Completed in 20 milliseconds

12345678910>>...134