Home
last modified time | relevance | path

Searched refs:hp (Results 1 – 18 of 18) sorted by relevance

/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp201 struct hostent* hp = gethostbyname(name); local
202 if (nullptr != hp) {
203 memcpy((char*)&(mAddr.sin_addr.s_addr), hp->h_addr_list[0], hp->h_length);
/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng.cpp2154 struct hostent *hp; in resolve_in_addr() local
2155 hp = gethostbyname(host_addr); in resolve_in_addr()
2156 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2158 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng.cpp2154 struct hostent *hp; in resolve_in_addr() local
2155 hp = gethostbyname(host_addr); in resolve_in_addr()
2156 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2158 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng.cpp2484 struct hostent *hp; in resolve_in_addr() local
2485 hp = gethostbyname(host_addr); in resolve_in_addr()
2486 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2488 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng.cpp2511 struct hostent *hp; in resolve_in_addr() local
2512 hp = gethostbyname(host_addr); in resolve_in_addr()
2513 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2515 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng.cpp2508 struct hostent *hp; in resolve_in_addr() local
2509 hp = gethostbyname(host_addr); in resolve_in_addr()
2510 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2512 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng.cpp2485 struct hostent *hp; in resolve_in_addr() local
2486 hp = gethostbyname(host_addr); in resolve_in_addr()
2487 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2489 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng.cpp2511 struct hostent *hp; in resolve_in_addr() local
2512 hp = gethostbyname(host_addr); in resolve_in_addr()
2513 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2515 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng.cpp2486 struct hostent *hp; in resolve_in_addr() local
2487 hp = gethostbyname(host_addr); in resolve_in_addr()
2488 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2490 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng.cpp2486 struct hostent *hp; in resolve_in_addr() local
2487 hp = gethostbyname(host_addr); in resolve_in_addr()
2488 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2490 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng.cpp2508 struct hostent *hp; in resolve_in_addr() local
2509 hp = gethostbyname(host_addr); in resolve_in_addr()
2510 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2512 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng.cpp2485 struct hostent *hp; in resolve_in_addr() local
2486 hp = gethostbyname(host_addr); in resolve_in_addr()
2487 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2489 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/
Dloc_eng.cpp2484 struct hostent *hp; in resolve_in_addr() local
2485 hp = gethostbyname(host_addr); in resolve_in_addr()
2486 if (hp != NULL) /* DNS OK */ in resolve_in_addr()
2488 memcpy(in_addr_ptr, hp->h_addr_list[0], hp->h_length); in resolve_in_addr()
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp455 struct hostent* hp; in resolveInAddress() local
456 hp = gethostbyname(hostAddress); in resolveInAddress()
457 if (hp != NULL) { /* DNS OK */ in resolveInAddress()
458 memcpy(inAddress, hp->h_addr_list[0], hp->h_length); in resolveInAddress()
/hardware/qcom/sdm845/gps/msm8998/gnss/
DGnssAdapter.cpp452 struct hostent* hp; in resolveInAddress() local
453 hp = gethostbyname(hostAddress); in resolveInAddress()
454 if (hp != NULL) { /* DNS OK */ in resolveInAddress()
455 memcpy(inAddress, hp->h_addr_list[0], hp->h_length); in resolveInAddress()
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp474 struct hostent* hp; in resolveInAddress() local
475 hp = gethostbyname(hostAddress); in resolveInAddress()
476 if (hp != NULL) { /* DNS OK */ in resolveInAddress()
477 memcpy(inAddress, hp->h_addr_list[0], hp->h_length); in resolveInAddress()
/hardware/qcom/sdm845/gps/sdm845/gnss/
DGnssAdapter.cpp608 struct hostent* hp; in resolveInAddress() local
609 hp = gethostbyname(hostAddress); in resolveInAddress()
610 if (hp != NULL) { /* DNS OK */ in resolveInAddress()
611 memcpy(inAddress, hp->h_addr_list[0], hp->h_length); in resolveInAddress()
/hardware/qcom/sm8150/gps/gnss/
DGnssAdapter.cpp855 struct hostent* hp; in gnssUpdateConfig() local
858 hp = gethostbyname( in gnssUpdateConfig()
860 if (hp != NULL) { /* DNS OK */ in gnssUpdateConfig()
861 memcpy(&addr, hp->h_addr_list[0], hp->h_length); in gnssUpdateConfig()