/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | RBxliffExporter.java | 68 private String getLocale(Bundle item) { in getLocale() argument 69 String language = item.getLanguageEncoding(); in getLocale() 72 String country = item.getCountryEncoding(); in getLocale() 75 String variant = item.getVariantEncoding(); in getLocale() 99 private void addTransUnit(Document xml, Element groupElem, BundleItem item, BundleItem parent_item) { in addTransUnit() argument 101 transUnit.setAttribute("date",convertToISO(item.getModifiedDate())); in addTransUnit() 102 transUnit.setAttribute("id",item.getKey()); in addTransUnit() 117 if (item.isTranslated()) { in addTransUnit() 121 target.appendChild(xml.createTextNode(item.getTranslation())); in addTransUnit() 124 if (item in addTransUnit() [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
H A D | BundleItemCreationDialog.java | 23 BundleItem item; field in BundleItemCreationDialog 69 item = null; in BundleItemCreationDialog() 77 item = null; in BundleItemCreationDialog() 81 public BundleItemCreationDialog(BundleItem item, RBManager rbm, JFrame frame, String title, boolean modal) { in BundleItemCreationDialog() argument 83 this.item = item; in BundleItemCreationDialog() 85 groupName = item.getParentGroup().getName(); in BundleItemCreationDialog() 106 if (item == null) return false; in editItem() 116 return rbm.editItem(item, nameField.getText().trim(), in editItem() 143 if (dialog.item in processKeyEvent() [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/common/src/ |
H A D | trans_lane_pending_ctl.c | 155 TransReqLaneItem *item = NULL; in TransReqLanePendingDeinit() local 157 LIST_FOR_EACH_ENTRY_SAFE(item, next, &g_reqLanePendingList->list, TransReqLaneItem, node) { in TransReqLanePendingDeinit() 158 (void)SoftBusCondDestroy(&item->cond); in TransReqLanePendingDeinit() 159 ListDelete(&item->node); in TransReqLanePendingDeinit() 160 SoftBusFree(item); in TransReqLanePendingDeinit() 180 TransReqLaneItem *item = NULL; in TransAsyncReqLanePendingDeinit() local 182 LIST_FOR_EACH_ENTRY_SAFE(item, next, &g_asyncReqLanePendingList->list, TransReqLaneItem, node) { in TransAsyncReqLanePendingDeinit() 183 ListDelete(&item->node); in TransAsyncReqLanePendingDeinit() 184 DestroyAsyncReqItemParam(&(item->param)); in TransAsyncReqLanePendingDeinit() 185 SoftBusFree(item); in TransAsyncReqLanePendingDeinit() 198 TransFreeLaneItem *item = NULL; TransFreeLanePendingDeinit() local 254 TransReqLaneItem *item = (TransReqLaneItem *)SoftBusCalloc(sizeof(TransReqLaneItem)); TransAddLaneReqFromPendingList() local 382 TransReqLaneItem *item = (TransReqLaneItem *)SoftBusCalloc(sizeof(TransReqLaneItem)); TransAddAsyncLaneReqFromPendingList() local 430 TransReqLaneItem *item = NULL; TransGetLaneReqItemByLaneHandle() local 465 TransReqLaneItem *item = NULL; TransGetLaneReqItemParamByLaneHandle() local 500 TransReqLaneItem *item = NULL; TransUpdateLaneConnInfoByLaneHandle() local 1100 TransReqLaneItem *item = NULL; TransWaitingRequestCallback() local 1561 TransReqLaneItem *item = NULL; TransCancelLaneItemCondByLaneHandle() local 1592 TransAuthWithParaNode *item = NULL; TransAuthWithParaReqLanePendingDeinit() local 1614 FillTransAuthWithParaNode(TransAuthWithParaNode *item, uint32_t laneReqId, const char *sessionName, const LinkPara *linkPara, int32_t channelId) FillTransAuthWithParaNode() argument 1647 TransAuthWithParaNode *item = (TransAuthWithParaNode *)SoftBusCalloc(sizeof(TransAuthWithParaNode)); TransAuthWithParaAddLaneReqToList() local 1715 TransAuthWithParaNode *item = NULL; TransUpdateAuthWithParaLaneConnInfo() local 1750 TransAuthWithParaNode *item = NULL; TransAuthWithParaGetLaneReqByLaneReqId() local [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/features/ |
H A D | moon_capture_boost_feature.cpp | 35 camera_metadata_item_t item; in MoonCaptureBoostFeature() local 36 int ret = OHOS::Camera::FindCameraMetadataItem(deviceAbility->get(), OHOS_ABILITY_MOON_CAPTURE_BOOST, &item); in MoonCaptureBoostFeature() 37 CHECK_ERROR_RETURN_LOG(ret != CAM_META_SUCCESS || item.count <= 0, in MoonCaptureBoostFeature() 43 for (uint32_t i = 0; i < item.count; i++) { in MoonCaptureBoostFeature() 45 currentMode = static_cast<SceneMode>(item.data.ui32[i]); in MoonCaptureBoostFeature() 49 currentMinRatio = static_cast<float>(item.data.ui32[i]) / SKETCH_DIV; in MoonCaptureBoostFeature() 53 currentMaxRatio = static_cast<float>(item.data.ui32[i]) / SKETCH_DIV; in MoonCaptureBoostFeature() 57 fovRange.zoomMin = static_cast<float>(item.data.ui32[i]) / SKETCH_DIV; in MoonCaptureBoostFeature() 58 fovRange.zoomMax = static_cast<float>(item.data.ui32[i + 1]) / SKETCH_DIV; // Offset 1 data in MoonCaptureBoostFeature() 59 fovRange.referenceValue = static_cast<float>(item in MoonCaptureBoostFeature() [all...] |
/foundation/multimedia/ringtone_library/test/unittest/ringtone_utils_test/src/ |
H A D | ringtone_mimetype_utils_test.cpp | 280 for (const auto &item : g_testExt2MimeType) { in HWTEST_F() 281 auto mimeType = RingtoneMimeTypeUtils::GetMimeTypeFromExtension(item.first); in HWTEST_F() 282 if (item.first == "yt") { in HWTEST_F() 285 ASSERT_EQ(mimeType, item.second); in HWTEST_F() 287 string upperExtension = item.first; in HWTEST_F() 290 if (item.first == "yt") { in HWTEST_F() 293 ASSERT_EQ(mimeType, item.second); in HWTEST_F() 302 for (const auto &item : g_testMimeType2MediaType) { in HWTEST_F() 303 auto mediaType = RingtoneMimeTypeUtils::GetMediaTypeFromMimeType(item.first); in HWTEST_F() 304 ASSERT_EQ(mediaType, item in HWTEST_F() [all...] |
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | stylus_key_handler.cpp | 64 void StylusKeyHandler::CreateStatusConfigObserver(T& item) in CreateStatusConfigObserver() argument 67 SettingObserver::UpdateFunc updateFunc = [&item](const std::string& key) { in CreateStatusConfigObserver() 76 item.statusConfigValue = statusValue; in CreateStatusConfigObserver() 79 .CreateObserver(item.statusConfig, updateFunc); in CreateStatusConfigObserver() 87 .GetBoolValue(item.statusConfig, configValue); in CreateStatusConfigObserver() 92 MMI_HILOGI("Get value success key:%{public}s, value:%{public}d", item.statusConfig.c_str(), configValue); in CreateStatusConfigObserver() 93 item.statusConfigValue = configValue; in CreateStatusConfigObserver() 123 for (const auto &item : ability.params) { in LaunchAbility() 124 want.SetParam(item.first, item in LaunchAbility() [all...] |
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
H A D | iteration_check.c | 24 struct item *item = item_create(index, 0); in my_item_insert() local 31 item->order = order; in my_item_insert() 34 xas_store(&xas, item); in my_item_insert() 42 free(item); in my_item_insert() 139 struct item *item; in remove_entries_fn() local 143 item = xa_erase(&array, pgoff); in remove_entries_fn() 144 if (item) in remove_entries_fn() 145 item_free(item, pgof in remove_entries_fn() [all...] |
/kernel/linux/linux-6.6/tools/testing/radix-tree/ |
H A D | iteration_check.c | 24 struct item *item = item_create(index, 0); in my_item_insert() local 31 item->order = order; in my_item_insert() 34 xas_store(&xas, item); in my_item_insert() 42 free(item); in my_item_insert() 139 struct item *item; in remove_entries_fn() local 143 item = xa_erase(&array, pgoff); in remove_entries_fn() 144 if (item) in remove_entries_fn() 145 item_free(item, pgof in remove_entries_fn() [all...] |
/third_party/cJSON/tests/ |
H A D | parse_number.c | 31 static cJSON item[1]; variable 52 TEST_ASSERT_TRUE(parse_number(item, &buffer)); in assert_parse_number() 53 assert_is_number(item); in assert_parse_number() 54 TEST_ASSERT_EQUAL_INT(integer, item->valueint); in assert_parse_number() 55 TEST_ASSERT_EQUAL_DOUBLE(real, item->valuedouble); in assert_parse_number() 71 TEST_ASSERT_TRUE(parse_number(item, &buffer)); in assert_parse_int64_number() 72 TEST_ASSERT_EQUAL_INT64(integer, item->valueint); in assert_parse_int64_number() 73 TEST_ASSERT_EQUAL_DOUBLE(real, item->valuedouble); in assert_parse_int64_number() 79 assert_is_int64(item); in assert_parse_int64_number_with_type() 150 /* initialize cJSON item */ in main() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | ExtensionRegistry.cs | 122 public bool Contains(Extension item) in Contains() argument 124 ProtoPreconditions.CheckNotNull(item, nameof(item)); in Contains() 126 return extensions.ContainsKey(new ObjectIntPair<Type>(item.TargetType, item.FieldNumber)); in Contains() 165 /// <param name="item">The extension</param> 167 public bool Remove(Extension item) in Remove() argument 169 ProtoPreconditions.CheckNotNull(item, nameof(item)); in Remove() 171 return extensions.Remove(new ObjectIntPair<Type>(item in Remove() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | llist.h | 32 /* The pointers in the linked list's items. Use this in the item structure */ 37 #define PA_LLIST_HEAD_INIT(t,item) \ 39 (item) = (t*) NULL; } \ 42 /* Initialize a list item */ 43 #define PA_LLIST_INIT(t,item) \ 45 t *_item = (item); \ 50 /* Prepend an item to the list */ 51 #define PA_LLIST_PREPEND(t,head,item) \ 53 t **_head = &(head), *_item = (item); \ 61 /* Remove an item fro [all...] |
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | sdmmc_vendor_storage.c | 57 struct vendor_item item[126];
member 144 if (g_vendor->item[i].id == id) {
in emmc_vendor_read() 145 if (size > g_vendor->item[i].size) {
in emmc_vendor_read() 146 size = g_vendor->item[i].size;
in emmc_vendor_read() 148 memcpy(pbuf, &g_vendor->data[g_vendor->item[i].offset], size);
in emmc_vendor_read() 160 struct vendor_item *item;
in emmc_vendor_write() local 172 item = &g_vendor->item[i];
in emmc_vendor_write() 173 if (item->id == id) {
in emmc_vendor_write() 174 alloc_size = ALIGN(item in emmc_vendor_write() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | sdmmc_vendor_storage.c | 57 struct vendor_item item[126]; /* 126 * 8*/ member 144 if (g_vendor->item[i].id == id) { in emmc_vendor_read() 145 if (size > g_vendor->item[i].size) in emmc_vendor_read() 146 size = g_vendor->item[i].size; in emmc_vendor_read() 148 &g_vendor->data[g_vendor->item[i].offset], in emmc_vendor_read() 161 struct vendor_item *item; in emmc_vendor_write() local 172 item = &g_vendor->item[i]; in emmc_vendor_write() 173 if (item->id == id) { in emmc_vendor_write() 174 alloc_size = ALIGN(item in emmc_vendor_write() [all...] |
/foundation/multimodalinput/input/frameworks/proxy/events/test/ |
H A D | key_event_test.cpp | 78 KeyEvent::KeyItem item; in HWTEST_F() local 79 item.SetKeyCode(KeyEvent::KEYCODE_UNKNOWN); in HWTEST_F() 80 KeyEvent1->AddKeyItem(item); in HWTEST_F() 88 item.SetKeyCode(KeyEvent::KEYCODE_HOME); in HWTEST_F() 89 item.SetDownTime(0); in HWTEST_F() 90 KeyEvent2->AddKeyItem(item); in HWTEST_F() 108 KeyEvent::KeyItem item; in HWTEST_F() local 109 item.SetKeyCode(KeyEvent::KEYCODE_HOME); in HWTEST_F() 110 item.SetDownTime(100); in HWTEST_F() 111 item in HWTEST_F() 223 KeyEvent::KeyItem item; HWTEST_F() local 421 KeyEvent::KeyItem item; HWTEST_F() local 449 KeyEvent::KeyItem item; HWTEST_F() local [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/ |
H A D | res_sched_client.cpp | 159 auto item = registeredInnerEvents.find(eventType);
in RegisterEventListener() local 160 if ((item == registeredInnerEvents.end() || item->second.count(listenerGroup) == 0) &&
in RegisterEventListener() 163 if (item == registeredInnerEvents.end()) {
in RegisterEventListener() 367 auto item = registeredInnerEvents.find(eventType);
in UnRegisterEventListenerLocked() local 368 if (item != registeredInnerEvents.end()) {
in UnRegisterEventListenerLocked() 369 item->second.erase(listenerGroup);
in UnRegisterEventListenerLocked() 461 auto item = eventListeners_.find(eventType);
in RegisterEventListener() local 462 if (item == eventListeners_.end()) {
in RegisterEventListener() 467 auto listenerItem = item in RegisterEventListener() 487 auto item = eventListeners_.find(eventType); UnRegisterEventListener() local 520 auto item = eventListeners_.find(eventType); OnReceiveEvent() local 540 auto item = eventListeners_.find(eventType); IsInnerEventMapEmpty() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_buf_item_recover.c | 128 /* log buffer item recovery */ 136 * buffer item can remove the incore record. 146 struct xlog_recover_item *item) in xlog_recover_buf_reorder() 148 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_reorder() 160 struct xlog_recover_item *item) in xlog_recover_buf_ra_pass2() 162 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_ra_pass2() 174 struct xlog_recover_item *item) in xlog_recover_buf_commit_pass1() 176 struct xfs_buf_log_format *bf = item->ri_buf[0].i_addr; in xlog_recover_buf_commit_pass1() 178 if (!xfs_buf_log_check_iovec(&item->ri_buf[0])) { in xlog_recover_buf_commit_pass1() 179 xfs_err(log->l_mp, "bad buffer log item siz in xlog_recover_buf_commit_pass1() 145 xlog_recover_buf_reorder( struct xlog_recover_item *item) xlog_recover_buf_reorder() argument 158 xlog_recover_buf_ra_pass2( struct xlog *log, struct xlog_recover_item *item) xlog_recover_buf_ra_pass2() argument 172 xlog_recover_buf_commit_pass1( struct xlog *log, struct xlog_recover_item *item) xlog_recover_buf_commit_pass1() argument 436 xlog_recover_do_reg_buffer( struct xfs_mount *mp, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f, xfs_lsn_t current_lsn) xlog_recover_do_reg_buffer() argument 530 xlog_recover_do_dquot_buffer( struct xfs_mount *mp, struct xlog *log, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) xlog_recover_do_dquot_buffer() argument 577 xlog_recover_do_inode_buffer( struct xfs_mount *mp, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) xlog_recover_do_inode_buffer() argument 865 xlog_recover_buf_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) xlog_recover_buf_commit_pass2() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_buf_item_recover.c | 137 /* log buffer item recovery */ 145 * buffer item can remove the incore record. 155 struct xlog_recover_item *item) in xlog_recover_buf_reorder() 157 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_reorder() 169 struct xlog_recover_item *item) in xlog_recover_buf_ra_pass2() 171 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_ra_pass2() 183 struct xlog_recover_item *item) in xlog_recover_buf_commit_pass1() 185 struct xfs_buf_log_format *bf = item->ri_buf[0].i_addr; in xlog_recover_buf_commit_pass1() 187 if (!xfs_buf_log_check_iovec(&item->ri_buf[0])) { in xlog_recover_buf_commit_pass1() 188 xfs_err(log->l_mp, "bad buffer log item siz in xlog_recover_buf_commit_pass1() 154 xlog_recover_buf_reorder( struct xlog_recover_item *item) xlog_recover_buf_reorder() argument 167 xlog_recover_buf_ra_pass2( struct xlog *log, struct xlog_recover_item *item) xlog_recover_buf_ra_pass2() argument 181 xlog_recover_buf_commit_pass1( struct xlog *log, struct xlog_recover_item *item) xlog_recover_buf_commit_pass1() argument 445 xlog_recover_do_reg_buffer( struct xfs_mount *mp, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f, xfs_lsn_t current_lsn) xlog_recover_do_reg_buffer() argument 539 xlog_recover_do_dquot_buffer( struct xfs_mount *mp, struct xlog *log, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) xlog_recover_do_dquot_buffer() argument 586 xlog_recover_do_inode_buffer( struct xfs_mount *mp, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) xlog_recover_do_inode_buffer() argument 884 xlog_recover_buf_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) xlog_recover_buf_commit_pass2() argument [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | filters.py | 75 def attrgetter(item): 77 item = environment.getitem(item, part) 80 item = postprocess(item) 82 return item 174 As you can see it automatically prepends a space in front of the item 201 [item[0].upper() + item[1:].lower() 202 for item i [all...] |
/kernel/linux/linux-5.10/net/ceph/crush/ |
H A D | mapper.c | 62 * will produce an item in the bucket. 151 dprintk("list_choose i=%d x=%d r=%d item %d weight %x " in bucket_list_choose() 338 dprintk("weight 0x%x item %d\n", weights[i], ids[i]); in bucket_straw2_choose() 415 int item, int x) in is_out() 417 if (item >= weight_max) in is_out() 419 if (weight[item] >= 0x10000) in is_out() 421 if (weight[item] == 0) in is_out() 423 if ((crush_hash32_2(CRUSH_HASH_RJENKINS1, x, item) & 0xffff) in is_out() 424 < weight[item]) in is_out() 432 * @bucket: the bucket we are choose an item fro 413 is_out(const struct crush_map *map, const __u32 *weight, int weight_max, int item, int x) is_out() argument 473 int item = 0; crush_choose_firstn() local 662 int item = 0; crush_choose_indep() local [all...] |
/kernel/linux/linux-6.6/net/ceph/crush/ |
H A D | mapper.c | 62 * will produce an item in the bucket. 151 dprintk("list_choose i=%d x=%d r=%d item %d weight %x " in bucket_list_choose() 338 dprintk("weight 0x%x item %d\n", weights[i], ids[i]); in bucket_straw2_choose() 415 int item, int x) in is_out() 417 if (item >= weight_max) in is_out() 419 if (weight[item] >= 0x10000) in is_out() 421 if (weight[item] == 0) in is_out() 423 if ((crush_hash32_2(CRUSH_HASH_RJENKINS1, x, item) & 0xffff) in is_out() 424 < weight[item]) in is_out() 432 * @bucket: the bucket we are choose an item fro 413 is_out(const struct crush_map *map, const __u32 *weight, int weight_max, int item, int x) is_out() argument 473 int item = 0; crush_choose_firstn() local 662 int item = 0; crush_choose_indep() local [all...] |
/third_party/python/Objects/ |
H A D | genericaliasobject.c | 170 // Index of item in self[:len], or -1 if not found (self is a tuple) 172 tuple_index(PyObject *self, Py_ssize_t len, PyObject *item) in tuple_index() argument 175 if (PyTuple_GET_ITEM(self, i) == item) { in tuple_index() 183 tuple_add(PyObject *self, Py_ssize_t len, PyObject *item) in tuple_add() argument 185 if (tuple_index(self, len, item) < 0) { in tuple_add() 186 Py_INCREF(item); in tuple_add() 187 PyTuple_SET_ITEM(self, len, item); in tuple_add() 203 PyObject *item = src[i]; in tuple_extend() local 204 Py_INCREF(item); in tuple_extend() 205 PyTuple_SET_ITEM(*dst, dstindex + i, item); in tuple_extend() 365 _unpack_args(PyObject *item) _unpack_args() argument 407 _Py_subs_parameters(PyObject *self, PyObject *args, PyObject *parameters, PyObject *item) _Py_subs_parameters() argument 519 ga_getitem(PyObject *self, PyObject *item) ga_getitem() argument [all...] |
/third_party/python/Modules/ |
H A D | _collectionsmodule.c | 187 PyObject *item; in deque_pop() local 194 item = deque->rightblock->data[deque->rightindex]; in deque_pop() 216 return item; in deque_pop() 224 PyObject *item; in deque_popleft() local 232 item = deque->leftblock->data[deque->leftindex]; in deque_popleft() 254 return item; in deque_popleft() 262 * After an item is added to a deque, we check to see if the size has 264 * by popping an item off of the opposite end. The methods that can 274 deque_append_internal(dequeobject *deque, PyObject *item, Py_ssize_t maxlen) in deque_append_internal() argument 289 deque->rightblock->data[deque->rightindex] = item; in deque_append_internal() 300 deque_append(dequeobject *deque, PyObject *item) deque_append() argument 311 deque_appendleft_internal(dequeobject *deque, PyObject *item, Py_ssize_t maxlen) deque_appendleft_internal() argument 337 deque_appendleft(dequeobject *deque, PyObject *item) deque_appendleft() argument 368 PyObject *item; consume_iterator() local 380 PyObject *it, *item; deque_extend() local 427 PyObject *it, *item; deque_extendleft() local 499 PyObject *item = old_deque->leftblock->data[old_deque->leftindex]; deque_copy() local 564 PyObject *item; deque_clear() local 670 PyObject *item = deque->leftblock->data[deque->leftindex]; deque_inplace_repeat() local 970 PyObject *item; deque_count() local 1009 PyObject *item; deque_contains() local 1045 PyObject *v, *item; deque_index() local 1172 PyObject *item; deque_item() local 1211 PyObject *item; deque_del_item() local 1227 PyObject *item; deque_remove() local 1327 PyObject *item; deque_traverse() local 1716 PyObject *item; dequeiter_next() local 1756 PyObject *item = dequeiter_next(it); dequeiter_new() local 1858 PyObject *item; dequereviter_next() local 1898 PyObject *item = dequereviter_next(it); dequereviter_new() local [all...] |
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_gatt_manager.cpp | 87 for (auto &item : devices) { in GetDevicesByStates() 88 if (stateSet.find(item.connectState_) != stateSet.end()) { in GetDevicesByStates() 89 result.push_back(BluetoothRemoteDevice(item.addr_.GetAddress(), in GetDevicesByStates() 90 item.transport_ == (GATT_TRANSPORT_TYPE_LE ? BT_TRANSPORT_BLE : BT_TRANSPORT_BREDR))); in GetDevicesByStates() 112 for (auto &item : device) { in GetConnectedDevices() 113 if (item.connectState_ == static_cast<int>(BTConnectState::CONNECTED)) { in GetConnectedDevices() 114 result.push_back(BluetoothRemoteDevice(item.addr_.GetAddress(), in GetConnectedDevices() 115 item.transport_ == (GATT_TRANSPORT_TYPE_LE ? BT_TRANSPORT_BLE : BT_TRANSPORT_BREDR))); in GetConnectedDevices()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/ |
H A D | rs_hgm_config_data.cpp | 49 AnimDynamicItem item = {type, name, minSpeed, maxSpeed, preferredFps}; in Unmarshalling() local 50 data->AddAnimDynamicItem(item); in Unmarshalling() 63 for (auto& item : configData_) { in Marshalling() 64 parcel.WriteString(item.animType); in Marshalling() 65 parcel.WriteString(item.animName); in Marshalling() 66 parcel.WriteInt32(item.minSpeed); in Marshalling() 67 parcel.WriteInt32(item.maxSpeed); in Marshalling() 68 parcel.WriteInt32(item.preferredFps); in Marshalling()
|
/third_party/gn/src/gn/ |
H A D | vector_utils.h | 42 // Add one single item to the sorter. 43 void Add(const T& item) { in Add() argument 44 ptrs_.push_back(&item); in Add() 64 // |item_callback| is a callable that will be invoked for each item in the 72 for (const T* item : ptrs_) { in IterateOver() 73 if (!prev_item || *prev_item != *item) { in IterateOver() 74 item_callback(*item); in IterateOver() 75 prev_item = item; in IterateOver() 85 IterateOver([&result](const T& item) { result.push_back(item); }); in AsVector() [all...] |