Searched refs:p_addr (Results 1 – 7 of 7) sorted by relevance
/system/bt/osi/src/socket_utils/ |
D | socket_local_client.c | 35 struct sockaddr_un *p_addr, socklen_t *alen) { in osi_socket_make_sockaddr_un() argument 36 memset(p_addr, 0, sizeof(*p_addr)); in osi_socket_make_sockaddr_un() 45 if ((namelen + 1) > sizeof(p_addr->sun_path)) { in osi_socket_make_sockaddr_un() 54 p_addr->sun_path[0] = 0; in osi_socket_make_sockaddr_un() 55 memcpy(p_addr->sun_path + 1, name, namelen); in osi_socket_make_sockaddr_un() 62 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { in osi_socket_make_sockaddr_un() 66 strcpy(p_addr->sun_path, FILESYSTEM_SOCKET_PREFIX); in osi_socket_make_sockaddr_un() 67 strcat(p_addr->sun_path, name); in osi_socket_make_sockaddr_un() 75 sizeof(*p_addr) - offsetof(struct sockaddr_un, sun_path) - 1) { in osi_socket_make_sockaddr_un() 79 strcpy(p_addr->sun_path, ANDROID_RESERVED_SOCKET_PREFIX); in osi_socket_make_sockaddr_un() [all …]
|
/system/core/libcutils/ |
D | socket_local_client_unix.c | 48 struct sockaddr_un *p_addr, socklen_t *alen) in socket_make_sockaddr_un() argument 50 memset (p_addr, 0, sizeof (*p_addr)); in socket_make_sockaddr_un() 59 if ((namelen + 1) > sizeof(p_addr->sun_path)) { in socket_make_sockaddr_un() 68 p_addr->sun_path[0] = 0; in socket_make_sockaddr_un() 69 memcpy(p_addr->sun_path + 1, name, namelen); in socket_make_sockaddr_un() 75 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 80 strcpy(p_addr->sun_path, FILESYSTEM_SOCKET_PREFIX); in socket_make_sockaddr_un() 81 strcat(p_addr->sun_path, name); in socket_make_sockaddr_un() 88 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 93 strcpy(p_addr->sun_path, ANDROID_RESERVED_SOCKET_PREFIX); in socket_make_sockaddr_un() [all …]
|
D | socket_local_unix.h | 37 struct sockaddr_un *p_addr, socklen_t *alen);
|
/system/core/liblog/ |
D | logd_reader.c | 137 struct sockaddr_un *p_addr, in socket_make_sockaddr_un() argument 140 memset (p_addr, 0, sizeof (*p_addr)); in socket_make_sockaddr_un() 149 if ((namelen + 1) > sizeof(p_addr->sun_path)) { in socket_make_sockaddr_un() 158 p_addr->sun_path[0] = 0; in socket_make_sockaddr_un() 159 memcpy(p_addr->sun_path + 1, name, namelen); in socket_make_sockaddr_un() 165 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 170 strcpy(p_addr->sun_path, FILESYSTEM_SOCKET_PREFIX); in socket_make_sockaddr_un() 171 strcat(p_addr->sun_path, name); in socket_make_sockaddr_un() 178 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 183 strcpy(p_addr->sun_path, ANDROID_RESERVED_SOCKET_PREFIX); in socket_make_sockaddr_un() [all …]
|
/system/bt/osi/include/socket_utils/ |
D | socket_local.h | 36 struct sockaddr_un *p_addr, socklen_t *alen);
|
/system/bt/stack/btm/ |
D | btm_ble_adv_filter.c | 741 tBLE_BD_ADDR *p_addr = (p_cond == NULL) ? NULL : &p_cond->target_addr; in btm_ble_update_addr_filter() local 754 if (NULL == p_addr) in btm_ble_update_addr_filter() 757 BDADDR_TO_STREAM(p, p_addr->bda); in btm_ble_update_addr_filter() 758 UINT8_TO_STREAM(p, p_addr->type); in btm_ble_update_addr_filter()
|
/system/bt/bta/av/ |
D | bta_av_act.c | 2049 UINT8 *p_addr = NULL; in bta_av_rc_disc() local 2062 p_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx-1].addr; in bta_av_rc_disc() 2073 p_addr = p_scb->peer_addr; in bta_av_rc_disc() 2077 if (p_addr) in bta_av_rc_disc() 2090 if (AVRC_FindService(UUID_SERVCLASS_AV_REMOTE_CONTROL, p_addr, in bta_av_rc_disc()
|