Home
last modified time | relevance | path

Searched refs:num_members (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/include/fxcrt/
Dfx_memory.h28 inline void* FX_SafeRealloc(void* ptr, size_t num_members, size_t member_size) { in FX_SafeRealloc() argument
29 if (num_members < std::numeric_limits<size_t>::max() / member_size) { in FX_SafeRealloc()
30 return realloc(ptr, num_members * member_size); in FX_SafeRealloc()
35 inline void* FX_AllocOrDie(size_t num_members, size_t member_size) { in FX_AllocOrDie() argument
37 if (void* result = calloc(num_members, member_size)) { in FX_AllocOrDie()
53 size_t num_members, in FX_ReallocOrDie() argument
55 if (void* result = FX_SafeRealloc(ptr, num_members, member_size)) { in FX_ReallocOrDie()
/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c38 unsigned int num_members; member
89 group->num_members = 0; in p2p_group_free_members()
156 if (group->num_members >= group->cfg->max_clients) in p2p_group_add_common_ies()
365 group->num_members * 24 + 100); in wifi_display_build_go_ie()
594 group->num_members--; in p2p_group_remove_member()
628 group->num_members++; in p2p_group_notif_assoc()
633 group->num_members, group->cfg->max_clients); in p2p_group_notif_assoc()
634 if (group->num_members == group->cfg->max_clients) in p2p_group_notif_assoc()
637 if (group->num_members == 1) in p2p_group_notif_assoc()
693 MAC2STR(addr), group->num_members, in p2p_group_notif_disassoc()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c2160 unsigned int num_members; in wpas_dbus_getter_p2p_group_members() local
2183 num_members = p2p_get_group_num_members(wpa_s->p2p_group); in wpas_dbus_getter_p2p_group_members()
2185 paths = os_calloc(num_members, sizeof(char *)); in wpas_dbus_getter_p2p_group_members()
2204 paths, num_members, in wpas_dbus_getter_p2p_group_members()
2207 for (i = 0; i < num_members; i++) in wpas_dbus_getter_p2p_group_members()
2215 for (i = 0; i < num_members; i++) in wpas_dbus_getter_p2p_group_members()