/kernel/linux/linux-6.6/lib/ |
H A D | parman.c | 45 struct parman_item *item); 47 struct parman_item *item); 126 struct parman_item *item, unsigned long to_index, in __parman_prio_move() 129 parman->ops->move(parman->priv, item->index, to_index, count); in __parman_prio_move() 135 struct parman_item *item; in parman_prio_shift_down() local 140 item = parman_prio_first_item(prio); in parman_prio_shift_down() 142 __parman_prio_move(parman, prio, item, to_index, 1); in parman_prio_shift_down() 143 list_move_tail(&item->list, &prio->item_list); in parman_prio_shift_down() 144 item->index = to_index; in parman_prio_shift_down() 150 struct parman_item *item; in parman_prio_shift_up() local 125 __parman_prio_move(struct parman *parman, struct parman_prio *prio, struct parman_item *item, unsigned long to_index, unsigned long count) __parman_prio_move() argument 162 parman_prio_item_remove(struct parman *parman, struct parman_prio *prio, struct parman_item *item) parman_prio_item_remove() argument 181 parman_lsort_item_add(struct parman *parman, struct parman_prio *prio, struct parman_item *item) parman_lsort_item_add() argument 207 parman_lsort_item_remove(struct parman *parman, struct parman_prio *prio, struct parman_item *item) parman_lsort_item_remove() argument 351 parman_item_add(struct parman *parman, struct parman_prio *prio, struct parman_item *item) parman_item_add() argument 366 parman_item_remove(struct parman *parman, struct parman_prio *prio, struct parman_item *item) parman_item_remove() argument [all...] |
/third_party/cJSON/tests/ |
H A D | parse_with_opts.c | 30 cJSON *item = NULL; in parse_with_opts_should_handle_null() local 32 item = cJSON_ParseWithOpts("{}", NULL, false); in parse_with_opts_should_handle_null() 33 TEST_ASSERT_NOT_NULL_MESSAGE(item, "Failed to handle NULL error pointer."); in parse_with_opts_should_handle_null() 34 cJSON_Delete(item); in parse_with_opts_should_handle_null() 64 cJSON *item = cJSON_ParseWithOpts("{}", NULL, true); in parse_with_opts_should_require_null_if_requested() local 65 TEST_ASSERT_NOT_NULL(item); in parse_with_opts_should_require_null_if_requested() 66 cJSON_Delete(item); in parse_with_opts_should_require_null_if_requested() 67 item = cJSON_ParseWithOpts("{} \n", NULL, true); in parse_with_opts_should_require_null_if_requested() 68 TEST_ASSERT_NOT_NULL(item); in parse_with_opts_should_require_null_if_requested() 69 cJSON_Delete(item); in parse_with_opts_should_require_null_if_requested() 78 cJSON *item = cJSON_ParseWithOpts(json, &parse_end, false); parse_with_opts_should_return_parse_end() local [all...] |
/third_party/python/Tools/c-analyzer/cpython/ |
H A D | _capi.py | 288 for item in items: 289 outer = getattr(item, _outer) 290 inner = getattr(item, _inner) 337 for item in _parse_capi(infile, filename): 338 yield item 345 def filter(item, *, log=None): 346 if item.name not in ignored: 349 log(f'ignored {item.name!r}') 396 for item in items: 397 key = getattr(item, groupb [all...] |
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | processing_joystick_device.cpp | 49 for (const auto &item : inputData) { in TransformPadEventToInputEvent() 50 if (item.eventType.empty()) { in TransformPadEventToInputEvent() 54 if (item.eventType == "KEY_EVENT_PRESS") { in TransformPadEventToInputEvent() 55 TransformKeyPressEvent(item, inputEventArray); in TransformPadEventToInputEvent() 56 } else if (item.eventType == "ROCKER_1") { in TransformPadEventToInputEvent() 57 TransformRocker1Event(item, inputEventArray); in TransformPadEventToInputEvent() 58 } else if (item.eventType == "KEY_EVENT_RELEASE") { in TransformPadEventToInputEvent() 59 TransformKeyReleaseEvent(item, inputEventArray); in TransformPadEventToInputEvent() 60 } else if (item.eventType == "KEY_EVENT_CLICK") { in TransformPadEventToInputEvent() 61 TransformKeyClickEvent(item, inputEventArra in TransformPadEventToInputEvent() [all...] |
/test/xts/acts/kernel_lite/util_posix/src/ |
H A D | ActsUtilDataStructApiTest.cpp | 91 ENTRY item;
in HWTEST_F() local 100 item.key = hashKey;
in HWTEST_F() 101 item.data = hashValue;
in HWTEST_F() 103 searchResult = hsearch(item, ENTER);
in HWTEST_F() 106 item.key = hashKey;
in HWTEST_F() 107 searchResult = hsearch(item, FIND);
in HWTEST_F() 123 ENTRY item;
in HWTEST_F() local 131 item.key = hashKey;
in HWTEST_F() 132 searchResult = hsearch(item, FIND);
in HWTEST_F() 148 ENTRY item;
in HWTEST_F() local 182 ENTRY item; HWTEST_F() local [all...] |
/third_party/libxml2/ |
H A D | generate_header.py | 36 for item in self.read_buffer: 37 if not item.startswith("#cmakedefine") and not item.startswith("#define"): 38 self.write_buffer.append(item) 41 value = item 42 if item.startswith("#cmakedefine"): 43 value = item.replace("#cmakedefine", "#define") 46 self.write_buffer.append("/* " + item + " */") 51 self.write_buffer.append("/* " + item + " */") 61 self.write_buffer.append("/* " + item [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/ |
H A D | pdl.py | 19 def assignType(item, type, is_array=False, map_binary_to_string=False): 21 item['type'] = 'array' 22 item['items'] = collections.OrderedDict() 23 assignType(item['items'], type, False, map_binary_to_string) 30 if 'description' in item: 31 item['description'] = (item['description'] + 34 item['type'] = type 36 item['$ref'] = type 58 item [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | netconsole.c | 80 * @item: Links us into the configfs subsystem hierarchy. 103 struct config_item item; member 135 if (config_item_name(&nt->item)) in netconsole_target_get() 136 config_item_get(&nt->item); in netconsole_target_get() 141 if (config_item_name(&nt->item)) in netconsole_target_put() 142 config_item_put(&nt->item); in netconsole_target_put() 268 static struct netconsole_target *to_target(struct config_item *item) in to_target() argument 270 return item ? in to_target() 271 container_of(item, struct netconsole_target, item) in to_target() 279 enabled_show(struct config_item *item, char *buf) enabled_show() argument 284 extended_show(struct config_item *item, char *buf) extended_show() argument 289 release_show(struct config_item *item, char *buf) release_show() argument 294 dev_name_show(struct config_item *item, char *buf) dev_name_show() argument 299 local_port_show(struct config_item *item, char *buf) local_port_show() argument 304 remote_port_show(struct config_item *item, char *buf) remote_port_show() argument 309 local_ip_show(struct config_item *item, char *buf) local_ip_show() argument 319 remote_ip_show(struct config_item *item, char *buf) remote_ip_show() argument 329 local_mac_show(struct config_item *item, char *buf) local_mac_show() argument 337 remote_mac_show(struct config_item *item, char *buf) remote_mac_show() argument 349 enabled_store(struct config_item *item, const char *buf, size_t count) enabled_store() argument 409 release_store(struct config_item *item, const char *buf, size_t count) release_store() argument 437 extended_store(struct config_item *item, const char *buf, size_t count) extended_store() argument 465 dev_name_store(struct config_item *item, const char *buf, size_t count) dev_name_store() argument 490 local_port_store(struct config_item *item, const char *buf, size_t count) local_port_store() argument 513 remote_port_store(struct config_item *item, const char *buf, size_t count) remote_port_store() argument 536 local_ip_store(struct config_item *item, const char *buf, size_t count) local_ip_store() argument 572 remote_ip_store(struct config_item *item, const char *buf, size_t count) remote_ip_store() argument 608 remote_mac_store(struct config_item *item, const char *buf, size_t count) remote_mac_store() argument 663 netconsole_target_release(struct config_item *item) netconsole_target_release() argument 703 drop_netconsole_target(struct config_group *group, struct config_item *item) drop_netconsole_target() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/ |
H A D | configfs.c | 64 static inline struct gadget_info *to_gadget_info(struct config_item *item) in to_gadget_info() argument 66 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info() 78 static inline struct config_usb_cfg *to_config_usb_cfg(struct config_item *item) in to_config_usb_cfg() argument 80 return container_of(to_config_group(item), struct config_usb_cfg, in to_config_usb_cfg() 137 static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ 141 to_gadget_info(item)->cdev.desc.__name); \ 145 static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ 149 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \ 154 static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ 162 to_gadget_info(item) 205 gadget_dev_desc_bcdDevice_store(struct config_item *item, const char *page, size_t len) gadget_dev_desc_bcdDevice_store() argument 222 gadget_dev_desc_bcdUSB_store(struct config_item *item, const char *page, size_t len) gadget_dev_desc_bcdUSB_store() argument 239 gadget_dev_desc_UDC_show(struct config_item *item, char *page) gadget_dev_desc_UDC_show() argument 268 gadget_dev_desc_UDC_store(struct config_item *item, const char *page, size_t len) gadget_dev_desc_UDC_store() argument 311 gadget_dev_desc_max_speed_show(struct config_item *item, char *page) gadget_dev_desc_max_speed_show() argument 319 gadget_dev_desc_max_speed_store(struct config_item *item, const char *page, size_t len) gadget_dev_desc_max_speed_store() argument 377 to_gadget_language(struct config_item *item) to_gadget_language() argument 383 to_gadget_config_name( struct config_item *item) to_gadget_config_name() argument 390 to_usb_function_instance( struct config_item *item) to_usb_function_instance() argument 397 gadget_info_attr_release(struct config_item *item) gadget_info_attr_release() argument 413 gadget_config_attr_release(struct config_item *item) gadget_config_attr_release() argument 521 gadget_config_desc_MaxPower_show(struct config_item *item, char *page) gadget_config_desc_MaxPower_show() argument 529 gadget_config_desc_MaxPower_store(struct config_item *item, const char *page, size_t len) gadget_config_desc_MaxPower_store() argument 544 gadget_config_desc_bmAttributes_show(struct config_item *item, char *page) gadget_config_desc_bmAttributes_show() argument 552 gadget_config_desc_bmAttributes_store(struct config_item *item, const char *page, size_t len) gadget_config_desc_bmAttributes_store() argument 647 function_drop( struct config_group *group, struct config_item *item) function_drop() argument 679 gadget_config_name_attr_release(struct config_item *item) gadget_config_name_attr_release() argument 756 config_desc_drop( struct config_group *group, struct config_item *item) config_desc_drop() argument 784 gadget_language_attr_release(struct config_item *item) gadget_language_attr_release() argument 800 gadget_string_id_show(struct config_item *item, char *page) gadget_string_id_show() argument 810 gadget_string_s_show(struct config_item *item, char *page) gadget_string_s_show() argument 819 gadget_string_s_store(struct config_item *item, const char *page, size_t len) gadget_string_s_store() argument 838 gadget_string_release(struct config_item *item) gadget_string_release() argument 876 gadget_language_string_drop(struct config_group *group, struct config_item *item) gadget_language_string_drop() argument 947 gadget_language_drop(struct config_group *group, struct config_item *item) gadget_language_drop() argument 963 webusb_item_to_gadget_info( struct config_item *item) webusb_item_to_gadget_info() argument 970 webusb_use_show(struct config_item *item, char *page) webusb_use_show() argument 976 webusb_use_store(struct config_item *item, const char *page, size_t len) webusb_use_store() argument 994 webusb_bcdVersion_show(struct config_item *item, char *page) webusb_bcdVersion_show() argument 1000 webusb_bcdVersion_store(struct config_item *item, const char *page, size_t len) webusb_bcdVersion_store() argument 1022 webusb_bVendorCode_show(struct config_item *item, char *page) webusb_bVendorCode_show() argument 1028 webusb_bVendorCode_store(struct config_item *item, const char *page, size_t len) webusb_bVendorCode_store() argument 1046 webusb_landingPage_show(struct config_item *item, char *page) webusb_landingPage_show() argument 1051 webusb_landingPage_store(struct config_item *item, const char *page, size_t len) webusb_landingPage_store() argument 1108 os_desc_item_to_gadget_info( struct config_item *item) os_desc_item_to_gadget_info() argument 1115 os_desc_use_show(struct config_item *item, char *page) os_desc_use_show() argument 1121 os_desc_use_store(struct config_item *item, const char *page, size_t len) os_desc_use_store() argument 1139 os_desc_b_vendor_code_show(struct config_item *item, char *page) os_desc_b_vendor_code_show() argument 1145 os_desc_b_vendor_code_store(struct config_item *item, const char *page, size_t len) os_desc_b_vendor_code_store() argument 1163 os_desc_qw_sign_show(struct config_item *item, char *page) os_desc_qw_sign_show() argument 1175 os_desc_qw_sign_store(struct config_item *item, const char *page, size_t len) os_desc_qw_sign_store() argument 1267 to_usb_os_desc_ext_prop(struct config_item *item) to_usb_os_desc_ext_prop() argument 1272 ext_prop_type_show(struct config_item *item, char *page) ext_prop_type_show() argument 1277 ext_prop_type_store(struct config_item *item, const char *page, size_t len) ext_prop_type_store() argument 1316 ext_prop_data_show(struct config_item *item, char *page) ext_prop_data_show() argument 1330 ext_prop_data_store(struct config_item *item, const char *page, size_t len) ext_prop_data_store() argument 1373 usb_os_desc_ext_prop_release(struct config_item *item) usb_os_desc_ext_prop_release() argument 1429 ext_prop_drop(struct config_group *group, struct config_item *item) ext_prop_drop() argument 1450 interf_grp_compatible_id_show(struct config_item *item, char *page) interf_grp_compatible_id_show() argument 1457 interf_grp_compatible_id_store(struct config_item *item, const char *page, size_t len) interf_grp_compatible_id_store() argument 1476 interf_grp_sub_compatible_id_show(struct config_item *item, char *page) interf_grp_sub_compatible_id_show() argument 1483 interf_grp_sub_compatible_id_store(struct config_item *item, const char *page, size_t len) interf_grp_sub_compatible_id_store() argument 2043 gadgets_drop(struct config_group *group, struct config_item *item) gadgets_drop() argument 2068 unregister_gadget_item(struct config_item *item) unregister_gadget_item() argument [all...] |
/third_party/cJSON/ |
H A D | cJSON.h | 116 /* An array or object item will have a child pointer pointing to a chain of the items in the array/object. */ 119 /* The type of the item, as above. */ 122 /* The item's string, if type==cJSON_String and type == cJSON_Raw */ 131 /* The item's number, if type==cJSON_Number */ 134 /* The item's name string, if this item is the child of, or is in the list of subitems of an object. */ 169 CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item); variable 171 CJSON_PUBLIC(char *) cJSON_PrintUnformatted(const cJSON *item); variable 173 CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt); 176 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, cha 178 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item); global() variable 192 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON * const item); global() variable 194 CJSON_PUBLIC(long long *) cJSON_GetInt64NumberValue(cJSON * const item); global() variable 196 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item); global() variable 199 CJSON_PUBLIC(cJSON_bool) cJSON_IsInvalid(const cJSON * const item); global() variable 200 CJSON_PUBLIC(cJSON_bool) cJSON_IsFalse(const cJSON * const item); global() variable 201 CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item); global() variable 202 CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); global() variable 203 CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item); global() variable 205 CJSON_PUBLIC(cJSON_bool) cJSON_IsInt64Number(const cJSON * const item); global() variable 207 CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); global() variable 208 CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); global() variable 209 CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); global() variable 210 CJSON_PUBLIC(cJSON_bool) cJSON_IsObject(const cJSON * const item); global() variable 211 CJSON_PUBLIC(cJSON_bool) cJSON_IsRaw(const cJSON * const item); global() variable [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | grid_property.cpp | 48 for (const auto& item : typedPropertySet_) { in UpdateContainer() 49 builder.SetSizeColumn(item.type_, item.span_); in UpdateContainer() 50 builder.SetOffset(item.offset_, item.type_); in UpdateContainer() 92 auto item = std::find_if(typedPropertySet_.begin(), typedPropertySet_.end(), in SetSpan() local 94 if (item == typedPropertySet_.end()) { in SetSpan() 98 if (item->span_ == span) { in SetSpan() 101 item->span_ = span; in SetSpan() 107 auto item in SetOffset() local 139 auto item = std::find_if(typedPropertySet_.begin(), typedPropertySet_.end(), ToJsonValue() local [all...] |
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/statistics/src/ |
H A D | client_trans_statistics.c | 35 static void CreateSocketResource(SocketResource *item, const char *sessionName, const ChannelInfo *channel) in CreateSocketResource() argument 37 if (item == NULL || sessionName == NULL || channel == NULL) { in CreateSocketResource() 41 item->laneId = channel->laneId; in CreateSocketResource() 42 item->channelId = channel->channelId; in CreateSocketResource() 43 item->channelType = channel->channelType; in CreateSocketResource() 44 item->startTime = (int64_t)SoftBusGetSysTimeMs(); in CreateSocketResource() 48 if (strcpy_s(item->socketName, SESSION_NAME_SIZE_MAX, AnonymizeWrapper(tmpSessionName)) != EOK) { in CreateSocketResource() 91 SocketResource *item = NULL; in AddSocketResource() local 92 LIST_FOR_EACH_ENTRY(item, &g_channelStatisticsList->list, SocketResource, node) { in AddSocketResource() 93 if (item in AddSocketResource() 122 SocketResource *item = NULL; UpdateChannelStatistics() local 203 SocketResource *item = NULL; DeleteSocketResourceByChannelId() local [all...] |
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_configfs.c | 80 item_to_hba(struct config_item *item) in item_to_hba() argument 82 return container_of(to_config_group(item), struct se_hba, hba_group); in item_to_hba() 88 static ssize_t target_core_item_version_show(struct config_item *item, in target_core_item_version_show() argument 101 static ssize_t target_core_item_dbroot_show(struct config_item *item, in target_core_item_dbroot_show() argument 107 static ssize_t target_core_item_dbroot_store(struct config_item *item, in target_core_item_dbroot_store() argument 272 struct config_item *item) in target_core_deregister_fabric() 275 to_config_group(item), struct target_fabric_configfs, tf_group); in target_core_deregister_fabric() 278 " tf list\n", config_item_name(item)); in target_core_deregister_fabric() 285 " %s\n", config_item_name(item)); in target_core_deregister_fabric() 288 config_item_put(item); in target_core_deregister_fabric() 270 target_core_deregister_fabric( struct config_group *group, struct config_item *item) target_core_deregister_fabric() argument 323 target_depend_item(struct config_item *item) target_depend_item() argument 329 target_undepend_item(struct config_item *item) target_undepend_item() argument 535 to_attrib(struct config_item *item) to_attrib() argument 655 emulate_model_alias_store(struct config_item *item, const char *page, size_t count) emulate_model_alias_store() argument 685 emulate_write_cache_store(struct config_item *item, const char *page, size_t count) emulate_write_cache_store() argument 707 emulate_ua_intlck_ctrl_store(struct config_item *item, const char *page, size_t count) emulate_ua_intlck_ctrl_store() argument 737 emulate_tas_store(struct config_item *item, const char *page, size_t count) emulate_tas_store() argument 761 emulate_tpu_store(struct config_item *item, const char *page, size_t count) emulate_tpu_store() argument 791 emulate_tpws_store(struct config_item *item, const char *page, size_t count) emulate_tpws_store() argument 821 pi_prot_type_store(struct config_item *item, const char *page, size_t count) pi_prot_type_store() argument 885 pi_prot_format_show(struct config_item *item, char *page) pi_prot_format_show() argument 890 pi_prot_format_store(struct config_item *item, const char *page, size_t count) pi_prot_format_store() argument 928 pi_prot_verify_store(struct config_item *item, const char *page, size_t count) pi_prot_verify_store() argument 957 force_pr_aptpl_store(struct config_item *item, const char *page, size_t count) force_pr_aptpl_store() argument 979 emulate_rest_reord_store(struct config_item *item, const char *page, size_t count) emulate_rest_reord_store() argument 1001 unmap_zeroes_data_store(struct config_item *item, const char *page, size_t count) unmap_zeroes_data_store() argument 1040 queue_depth_store(struct config_item *item, const char *page, size_t count) queue_depth_store() argument 1077 optimal_sectors_store(struct config_item *item, const char *page, size_t count) optimal_sectors_store() argument 1107 block_size_store(struct config_item *item, const char *page, size_t count) block_size_store() argument 1139 alua_support_show(struct config_item *item, char *page) alua_support_show() argument 1148 alua_support_store(struct config_item *item, const char *page, size_t count) alua_support_store() argument 1178 pgr_support_show(struct config_item *item, char *page) pgr_support_show() argument 1187 pgr_support_store(struct config_item *item, const char *page, size_t count) pgr_support_store() argument 1217 emulate_rsoc_store(struct config_item *item, const char *page, size_t count) emulate_rsoc_store() argument 1350 to_t10_wwn(struct config_item *item) to_t10_wwn() argument 1381 target_wwn_vendor_id_show(struct config_item *item, char *page) target_wwn_vendor_id_show() argument 1387 target_wwn_vendor_id_store(struct config_item *item, const char *page, size_t count) target_wwn_vendor_id_store() argument 1437 target_wwn_product_id_show(struct config_item *item, char *page) target_wwn_product_id_show() argument 1443 target_wwn_product_id_store(struct config_item *item, const char *page, size_t count) target_wwn_product_id_store() argument 1493 target_wwn_revision_show(struct config_item *item, char *page) target_wwn_revision_show() argument 1499 target_wwn_revision_store(struct config_item *item, const char *page, size_t count) target_wwn_revision_store() argument 1550 target_wwn_company_id_show(struct config_item *item, char *page) target_wwn_company_id_show() argument 1558 target_wwn_company_id_store(struct config_item *item, const char *page, size_t count) target_wwn_company_id_store() argument 1600 target_wwn_vpd_unit_serial_show(struct config_item *item, char *page) target_wwn_vpd_unit_serial_show() argument 1607 target_wwn_vpd_unit_serial_store(struct config_item *item, const char *page, size_t count) target_wwn_vpd_unit_serial_store() argument 1668 target_wwn_vpd_protocol_identifier_show(struct config_item *item, char *page) target_wwn_vpd_protocol_identifier_show() argument 1769 pr_to_dev(struct config_item *item) pr_to_dev() argument 1813 target_pr_res_holder_show(struct config_item *item, char *page) target_pr_res_holder_show() argument 1833 target_pr_res_pr_all_tgt_pts_show(struct config_item *item, char *page) target_pr_res_pr_all_tgt_pts_show() argument 1854 target_pr_res_pr_generation_show(struct config_item *item, char *page) target_pr_res_pr_generation_show() argument 1861 target_pr_res_pr_holder_tg_port_show(struct config_item *item, char *page) target_pr_res_pr_holder_tg_port_show() argument 1897 target_pr_res_pr_registered_i_pts_show(struct config_item *item, char *page) target_pr_res_pr_registered_i_pts_show() argument 1938 target_pr_res_pr_type_show(struct config_item *item, char *page) target_pr_res_pr_type_show() argument 1957 target_pr_res_type_show(struct config_item *item, char *page) target_pr_res_type_show() argument 1971 target_pr_res_aptpl_active_show(struct config_item *item, char *page) target_pr_res_aptpl_active_show() argument 1984 target_pr_res_aptpl_metadata_show(struct config_item *item, char *page) target_pr_res_aptpl_metadata_show() argument 2021 target_pr_res_aptpl_metadata_store(struct config_item *item, const char *page, size_t count) target_pr_res_aptpl_metadata_store() argument 2236 to_device(struct config_item *item) to_device() argument 2241 target_dev_info_show(struct config_item *item, char *page) target_dev_info_show() argument 2254 target_dev_control_store(struct config_item *item, const char *page, size_t count) target_dev_control_store() argument 2262 target_dev_alias_show(struct config_item *item, char *page) target_dev_alias_show() argument 2272 target_dev_alias_store(struct config_item *item, const char *page, size_t count) target_dev_alias_store() argument 2302 target_dev_udev_path_show(struct config_item *item, char *page) target_dev_udev_path_show() argument 2312 target_dev_udev_path_store(struct config_item *item, const char *page, size_t count) target_dev_udev_path_store() argument 2343 target_dev_enable_show(struct config_item *item, char *page) target_dev_enable_show() argument 2350 target_dev_enable_store(struct config_item *item, const char *page, size_t count) target_dev_enable_store() argument 2370 target_dev_alua_lu_gp_show(struct config_item *item, char *page) target_dev_alua_lu_gp_show() argument 2394 target_dev_alua_lu_gp_store(struct config_item *item, const char *page, size_t count) target_dev_alua_lu_gp_store() argument 2473 target_dev_lba_map_show(struct config_item *item, char *page) target_dev_lba_map_show() argument 2518 target_dev_lba_map_store(struct config_item *item, const char *page, size_t count) target_dev_lba_map_store() argument 2652 target_core_dev_release(struct config_item *item) target_core_dev_release() argument 2675 to_lu_gp(struct config_item *item) to_lu_gp() argument 2681 target_lu_gp_lu_gp_id_show(struct config_item *item, char *page) target_lu_gp_lu_gp_id_show() argument 2690 target_lu_gp_lu_gp_id_store(struct config_item *item, const char *page, size_t count) target_lu_gp_lu_gp_id_store() argument 2722 target_lu_gp_members_show(struct config_item *item, char *page) target_lu_gp_members_show() argument 2763 target_core_alua_lu_gp_release(struct config_item *item) target_core_alua_lu_gp_release() argument 2811 target_core_alua_drop_lu_gp( struct config_group *group, struct config_item *item) target_core_alua_drop_lu_gp() argument 2843 to_tg_pt_gp(struct config_item *item) to_tg_pt_gp() argument 2849 target_tg_pt_gp_alua_access_state_show(struct config_item *item, char *page) target_tg_pt_gp_alua_access_state_show() argument 2856 target_tg_pt_gp_alua_access_state_store(struct config_item *item, const char *page, size_t count) target_tg_pt_gp_alua_access_state_store() argument 2900 target_tg_pt_gp_alua_access_status_show(struct config_item *item, char *page) target_tg_pt_gp_alua_access_status_show() argument 2908 target_tg_pt_gp_alua_access_status_store( struct config_item *item, const char *page, size_t count) target_tg_pt_gp_alua_access_status_store() argument 2940 target_tg_pt_gp_alua_access_type_show(struct config_item *item, char *page) target_tg_pt_gp_alua_access_type_show() argument 2946 target_tg_pt_gp_alua_access_type_store(struct config_item *item, const char *page, size_t count) target_tg_pt_gp_alua_access_type_store() argument 2998 target_tg_pt_gp_alua_write_metadata_show( struct config_item *item, char *page) target_tg_pt_gp_alua_write_metadata_show() argument 3005 target_tg_pt_gp_alua_write_metadata_store( struct config_item *item, const char *page, size_t count) target_tg_pt_gp_alua_write_metadata_store() argument 3028 target_tg_pt_gp_nonop_delay_msecs_show(struct config_item *item, char *page) target_tg_pt_gp_nonop_delay_msecs_show() argument 3034 target_tg_pt_gp_nonop_delay_msecs_store(struct config_item *item, const char *page, size_t count) target_tg_pt_gp_nonop_delay_msecs_store() argument 3041 target_tg_pt_gp_trans_delay_msecs_show(struct config_item *item, char *page) target_tg_pt_gp_trans_delay_msecs_show() argument 3047 target_tg_pt_gp_trans_delay_msecs_store(struct config_item *item, const char *page, size_t count) target_tg_pt_gp_trans_delay_msecs_store() argument 3054 target_tg_pt_gp_implicit_trans_secs_show( struct config_item *item, char *page) target_tg_pt_gp_implicit_trans_secs_show() argument 3060 target_tg_pt_gp_implicit_trans_secs_store( struct config_item *item, const char *page, size_t count) target_tg_pt_gp_implicit_trans_secs_store() argument 3067 target_tg_pt_gp_preferred_show(struct config_item *item, char *page) target_tg_pt_gp_preferred_show() argument 3073 target_tg_pt_gp_preferred_store(struct config_item *item, const char *page, size_t count) target_tg_pt_gp_preferred_store() argument 3079 target_tg_pt_gp_tg_pt_gp_id_show(struct config_item *item, char *page) target_tg_pt_gp_tg_pt_gp_id_show() argument 3089 target_tg_pt_gp_tg_pt_gp_id_store(struct config_item *item, const char *page, size_t count) target_tg_pt_gp_tg_pt_gp_id_store() argument 3121 target_tg_pt_gp_members_show(struct config_item *item, char *page) target_tg_pt_gp_members_show() argument 3193 target_core_alua_tg_pt_gp_release(struct config_item *item) target_core_alua_tg_pt_gp_release() argument 3242 target_core_alua_drop_tg_pt_gp( struct config_group *group, struct config_item *item) target_core_alua_drop_tg_pt_gp() argument 3293 target_core_stat_rmdir( struct config_group *group, struct config_item *item) target_core_stat_rmdir() argument 3391 target_core_drop_subdev( struct config_group *group, struct config_item *item) target_core_drop_subdev() argument 3433 to_hba(struct config_item *item) to_hba() argument 3438 target_hba_info_show(struct config_item *item, char *page) target_hba_info_show() argument 3447 target_hba_mode_show(struct config_item *item, char *page) target_hba_mode_show() argument 3458 target_hba_mode_store(struct config_item *item, const char *page, size_t count) target_hba_mode_store() argument 3493 target_core_hba_release(struct config_item *item) target_core_hba_release() argument 3576 target_core_call_delhbafromtarget( struct config_group *group, struct config_item *item) target_core_call_delhbafromtarget() argument [all...] |
/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_module_checker.cpp | 58 for (const auto& item : allowList) {
in CheckApiAllowList() 59 if (CheckApiWithSuffix(apiPath, item)) {
in CheckApiAllowList() 67 bool FormModuleChecker::CheckApiWithSuffix(const std::string& apiPath, const std::string& item)
in CheckApiWithSuffix() argument 69 if (item.compare(0, apiPath.size(), apiPath) == 0) {
in CheckApiWithSuffix() 70 HILOG_DEBUG("api allowed by allowlist: '%{public}s' matches '%{public}s'", apiPath.c_str(), item.c_str());
in CheckApiWithSuffix() 74 if (item.size() >= kSuffixLength && item.substr(item.size() - kSuffixLength) == ".*") {
in CheckApiWithSuffix() 75 const std::string path = item.substr(0, item in CheckApiWithSuffix() [all...] |
/foundation/multimodalinput/input/uinput/ |
H A D | virtual_device.cpp | 67 for (const auto &item : GetEventTypes()) { in SetUp() 68 if (!DoIoctl(fd_, UI_SET_EVBIT, item)) { in SetUp() 69 MMI_HILOGE("Error setting event type:%{public}u", item); in SetUp() 73 for (const auto &item : GetKeys()) { in SetUp() 74 if (!DoIoctl(fd_, UI_SET_KEYBIT, item)) { in SetUp() 75 MMI_HILOGE("Error setting key:%{public}u", item); in SetUp() 79 for (const auto &item : GetProperties()) { in SetUp() 80 if (!DoIoctl(fd_, UI_SET_PROPBIT, item)) { in SetUp() 81 MMI_HILOGE("Error setting property:%{public}u", item); in SetUp() 85 for (const auto &item in SetUp() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | instanceofWithStructurallyIdenticalTypes.js | 4 class C1 { item: string } 5 class C2 { item: string[] } 6 class C3 { item: string } 10 return x.item; 13 return x.item[0]; 16 return x.item; 27 return x.item; 30 return x.item[0]; 33 return x.item; 107 return x.item;
[all...] |
/third_party/protobuf/js/experimental/runtime/kernel/ |
H A D | message_set.js | 43 for (const item of kernel.getRepeatedGroupIterable( 45 itemMap.set(item.getTypeId(), item); 109 const item = this.itemMap_.get(typeId); 110 return item ? item.getMessageOrNull(instanceCreator, pivot) : null; 121 let item = this.itemMap_.get(typeId); 122 if (item) { 123 return item.getMessageAttach(instanceCreator, pivot); 136 const item [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 124 ProxyChannelInfo *item = NULL; in TransProxyGetAppInfoType() local 125 LIST_FOR_EACH_ENTRY(item, &g_proxyChannelList->list, ProxyChannelInfo, node) { in TransProxyGetAppInfoType() 126 if ((item->myId == myId) && (strcmp(item->identity, identity) == 0)) { in TransProxyGetAppInfoType() 127 *appType = item->appInfo.appType; in TransProxyGetAppInfoType() 139 "g_proxyChannelList or item is null"); in TransProxyUpdateAckInfo() 142 ProxyChannelInfo *item = NULL; in TransProxyUpdateAckInfo() local 143 LIST_FOR_EACH_ENTRY(item, &g_proxyChannelList->list, ProxyChannelInfo, node) { in TransProxyUpdateAckInfo() 144 if ((item->myId == info->myId) && (strncmp(item in TransProxyUpdateAckInfo() 176 ProxyChannelInfo *item = NULL; TransRefreshProxyTimesNative() local 208 ProxyChannelInfo *item = NULL; TransProxySpecialUpdateChanInfo() local 242 ProxyChannelInfo *item = NULL; TransProxyGetChanByChanId() local 263 ProxyChannelInfo *item = NULL; TransProxyGetChanByReqId() local 281 ProxyChannelInfo *item = NULL; TransProxyDelChanByReqId() local 307 ProxyChannelInfo *item = NULL; TransProxyDelChanByChanId() local 336 ProxyChannelInfo *item = NULL; TransProxyChanProcessByReqId() local 491 ProxyChannelInfo *item = NULL; TransProxyGetRecvMsgChanInfo() local 518 ProxyChannelInfo *item = NULL; TransProxyKeepAliveChan() local 546 ProxyChannelInfo *item = NULL; TransProxyGetSendMsgChanInfo() local 573 ProxyChannelInfo *item = NULL; TransProxyGetNewChanSeq() local 597 ProxyChannelInfo *item = NULL; TransProxyGetAuthId() local 617 ProxyChannelInfo *item = NULL; TransProxyGetSessionKeyByChanId() local 655 ProxyChannelInfo *item = NULL; TransProxyGetAppInfo() local 684 ProxyChannelInfo *item = NULL; TransProxyGetReqIdAndStatus() local 1233 ProxyChannelInfo *item = NULL; TransGetRemoteDeviceIdByReqId() local 1891 ProxyChannelInfo *item = NULL; TransProxyManagerDeinitInner() local 1944 ProxyChannelInfo *item = NULL; TransProxyDeathCallback() local 1969 ProxyChannelInfo *item = NULL; TransProxyGetAppInfoByChanId() local 1998 ProxyChannelInfo *item = NULL; TransProxyGetConnIdByChanId() local 2033 ProxyChannelInfo *item = NULL; TransProxyGetProxyChannelInfoByChannelId() local 2115 ProxyChannelInfo *item = NULL; TransProxySetAuthHandleByChanId() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_component.cpp | 108 auto item = ListItemComponent::GetListItem(child); in InsertChild() local 109 if (!item) { in InsertChild() 110 LOGE("InsertChild: no list item in child"); in InsertChild() 140 item->SetOperation(LIST_ITEM_OP_ADD); in InsertChild() 147 auto item = ListItemComponent::GetListItem(child); in AppendChild() local 148 if (!item) { in AppendChild() 160 item->MarkNeedDivider(needDivider_); in AppendChild() 161 item->SetDividerColor(dividerColor_); in AppendChild() 162 item->SetDividerHeight(dividerHeight_); in AppendChild() 163 item in AppendChild() 182 auto item = ListItemComponent::GetListItem(child); RemoveChild() local [all...] |
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | anr_manager.cpp | 68 for (int32_t item : timerIds) { in MarkProcessed() 69 if (item != -1) { in MarkProcessed() 70 TimerMgr->RemoveTimer(item); in MarkProcessed() 73 "count:%{public}d", eventType, eventId, item, anrTimerCount_); in MarkProcessed() 83 for (int32_t item : DispatchTimerIds) { in RemoveTimers() 84 if (item != -1) { in RemoveTimers() 85 TimerMgr->RemoveTimer(item); in RemoveTimers() 90 for (int32_t item : MonitorTimerIds) { in RemoveTimers() 91 if (item != -1) { in RemoveTimers() 92 TimerMgr->RemoveTimer(item); in RemoveTimers() [all...] |
/test/ostest/wukong/common/src/ |
H A D | multimode_manager.cpp | 50 MMI::KeyEvent::KeyItem item; in SingleKeyCodeInput() local 51 item.SetKeyCode(keycode); in SingleKeyCodeInput() 52 item.SetPressed(true); in SingleKeyCodeInput() 53 item.SetDownTime(downtime); in SingleKeyCodeInput() 56 keyKeyboardEvent->AddPressedKeyItems(item); in SingleKeyCodeInput() 64 keyKeyboardEvent->RemoveReleasedKeyItems(item); in SingleKeyCodeInput() 65 item.SetKeyCode(keycode); in SingleKeyCodeInput() 66 item.SetPressed(false); in SingleKeyCodeInput() 67 item.SetDownTime(downtime); in SingleKeyCodeInput() 70 keyKeyboardEvent->AddPressedKeyItems(item); in SingleKeyCodeInput() 112 MMI::PointerEvent::PointerItem item; PointerInput() local [all...] |
/third_party/libwebsockets/lib/system/ |
H A D | system.c | 159 struct lws_attach_item *item; in __lws_system_attach() local 166 item = lws_zalloc(sizeof(*item), __func__); in __lws_system_attach() 167 if (!item) in __lws_system_attach() 170 item->cb = cb; in __lws_system_attach() 171 item->opaque = opaque; in __lws_system_attach() 172 item->state = state; in __lws_system_attach() 174 lws_dll2_add_head(&item->list, &pt->attach_owner); in __lws_system_attach() 192 item = lws_container_of(d, lws_attach_item_t, list); in __lws_system_attach() 194 if (pt->context->mgr_system.state >= (int)item in __lws_system_attach() 222 struct lws_attach_item *item; lws_system_do_attach() local [all...] |
/foundation/multimodalinput/input/service/device_manager/src/ |
H A D | input_device_manager.cpp | 112 for (const auto &item : axisType) { in GetInputDevice() 113 int32_t min = libinput_device_get_axis_min(inputDeviceOrigin, item.first); in GetInputDevice() 118 if (item.first == ABS_MT_PRESSURE) { in GetInputDevice() 123 axis.SetMaximum(libinput_device_get_axis_max(inputDeviceOrigin, item.first)); in GetInputDevice() 125 axis.SetAxisType(item.first); in GetInputDevice() 126 axis.SetFuzz(libinput_device_get_axis_fuzz(inputDeviceOrigin, item.first)); in GetInputDevice() 127 axis.SetFlat(libinput_device_get_axis_flat(inputDeviceOrigin, item.first)); in GetInputDevice() 128 axis.SetResolution(libinput_device_get_axis_resolution(inputDeviceOrigin, item.first)); in GetInputDevice() 161 for (const auto &item : inputDevice_) { in GetInputDeviceIds() 162 if (!item in GetInputDeviceIds() 277 auto item = virtualInputDevices_.find(deviceId); GetKeyboardType() local [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_device.cpp | 97 camera_metadata_item_t item; in init() local 99 int ret = Camera::FindCameraMetadataItem(metadata, OHOS_ABILITY_CAMERA_POSITION, &item); in init() 101 auto itr = metaToFwCameraPosition_.find(static_cast<camera_position_enum_t>(item.data.u8[0])); in init() 107 ret = Camera::FindCameraMetadataItem(metadata, OHOS_ABILITY_CAMERA_TYPE, &item); in init() 109 auto itr = metaToFwCameraType_.find(static_cast<camera_type_enum_t>(item.data.u8[0])); in init() 115 ret = Camera::FindCameraMetadataItem(metadata, OHOS_ABILITY_CAMERA_CONNECTION_TYPE, &item); in init() 117 auto itr = metaToFwConnectionType_.find(static_cast<camera_connection_type_t>(item.data.u8[0])); in init() 123 ret = Camera::FindCameraMetadataItem(metadata, OHOS_ABILITY_CAMERA_FOLDSCREEN_TYPE, &item); in init() 125 auto itr = metaToFwCameraFoldScreenType_.find(static_cast<camera_foldscreen_enum_t>(item.data.u8[0])); in init() 131 ret = OHOS::Camera::FindCameraMetadataItem(metadata, OHOS_SENSOR_ORIENTATION, &item); in init() 238 camera_metadata_item_t item; GetZoomRatioRange() local 290 camera_metadata_item_t item; GetExposureBiasRange() local [all...] |
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | camera_fwk_metadata_utils.cpp | 60 "Failed to get metadata item at index: %{public}d", index); in MergeMetadata() 63 ret = OHOS::Camera::FindCameraMetadataItemIndex(dstHeader, srcItem.item, ¤tIndex); in MergeMetadata() 65 status = dstMetadata->addEntry(srcItem.item, srcItem.data.u8, srcItem.count); in MergeMetadata() 67 status = dstMetadata->updateEntry(srcItem.item, srcItem.data.u8, srcItem.count); in MergeMetadata() 69 CHECK_ERROR_RETURN_RET_LOG(!status, false, "Failed to update metadata item: %{public}d", srcItem.item); in MergeMetadata() 89 int32_t result = OHOS::Camera::FindCameraMetadataItemIndex(dstMetadata->get(), srcItem.item, &itemIndex); in UpdateMetadataTag() 92 status = dstMetadata->addEntry(srcItem.item, srcItem.data.u8, srcItem.count); in UpdateMetadataTag() 94 status = dstMetadata->updateEntry(srcItem.item, srcItem.data.u8, srcItem.count); in UpdateMetadataTag() 113 camera_metadata_item_t item; in DumpMetadataInfo() local 177 camera_metadata_item_t item; RecreateMetadata() local [all...] |