Searched refs:sa (Results 1 – 8 of 8) sorted by relevance
/device/google/cuttlefish/common/libs/device_config/ |
D | host_device_config.cpp | 63 struct sockaddr_in* sa; in ParseInterfaceAttributes() local 67 sa = reinterpret_cast<sockaddr_in*>(ifa->ifa_addr); in ParseInterfaceAttributes() 68 addr_str = inet_ntoa(sa->sin_addr); in ParseInterfaceAttributes() 70 auto gateway_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes() 73 sa = reinterpret_cast<sockaddr_in*>(ifa->ifa_broadaddr); in ParseInterfaceAttributes() 74 addr_str = inet_ntoa(sa->sin_addr); in ParseInterfaceAttributes() 76 auto broadcast_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes() 89 sa = reinterpret_cast<sockaddr_in*>(ifa->ifa_netmask); in ParseInterfaceAttributes() 90 this->ril_prefixlen = number_of_ones(sa->sin_addr.s_addr); in ParseInterfaceAttributes() 91 auto netmask_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes()
|
/device/generic/goldfish-opengl/shared/qemupipe/ |
D | qemu_pipe_guest.cpp | 69 struct sockaddr_vm sa; in open_verbose_vsock() local 70 memset(&sa, 0, sizeof(sa)); in open_verbose_vsock() 71 sa.svm_family = AF_VSOCK; in open_verbose_vsock() 72 sa.svm_port = static_cast<int>(port); in open_verbose_vsock() 73 sa.svm_cid = VMADDR_CID_HOST; in open_verbose_vsock() 78 reinterpret_cast<const struct sockaddr*>(&sa), in open_verbose_vsock() 79 sizeof(sa))); in open_verbose_vsock()
|
/device/google/cuttlefish/common/libs/net/ |
D | netlink_client.cpp | 63 struct sockaddr_nl sa; in CheckResponse() local 67 msg.msg_name = &sa; in CheckResponse() 68 msg.msg_namelen = sizeof(sa); in CheckResponse()
|
/device/google/contexthub/util/nanotool/ |
D | nanotool.cpp | 404 struct sigaction sa; in SetHandlers() local 405 memset(&sa, 0, sizeof(sa)); in SetHandlers() 406 sa.sa_handler = SignalHandler; in SetHandlers() 407 sigaction(SIGINT, &sa, NULL); in SetHandlers()
|
/device/generic/vulkan-cereal/third-party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 16683 uint32_t sa = 0x101 * (0xFF & (src_nonpremul >> 24)); in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() local 16694 uint32_t ia = 0xFFFF - sa; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() 16697 da = sa + ((da * ia) / 0xFFFF); in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() 16698 dr = ((sr * sa) + (dr * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() 16699 dg = ((sg * sa) + (dg * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() 16700 db = ((sb * sa) + (db * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() 16736 uint64_t sa = 0xFFFF & (src_nonpremul >> 48); in wuffs_base__composite_nonpremul_nonpremul_u64_axxx() local 16747 uint64_t ia = 0xFFFF - sa; in wuffs_base__composite_nonpremul_nonpremul_u64_axxx() 16750 da = sa + ((da * ia) / 0xFFFF); in wuffs_base__composite_nonpremul_nonpremul_u64_axxx() 16751 dr = ((sr * sa) + (dr * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u64_axxx() [all …]
|
/device/google/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 6277 struct sockaddr_vm sa; local 6278 memset(&sa, 0, sizeof(struct sockaddr_vm)); 6279 sa.svm_family = AF_VSOCK; 6280 sa.svm_cid = VMADDR_CID_HOST; 6281 sa.svm_port = s_modem_simulator_port; 6283 if (connect(fd, (struct sockaddr *)(&sa), sizeof(sa)) < 0) {
|
/device/google/coral/audio/acdbdata/OEM/sm8150-iaxxx-jaws-snd-card/ |
D | workspaceFile.qwsp | 1 …Bh/P+mbZiKVQlWOqrWQXv+pHj+Yu4VS9K3ar3X55H+s3oOd+1er8NLeUG7y3iYQVfd1FbsY4EL+sa/aCONjNu7paNBuKeba+eP…
|
/device/generic/goldfish-opengl/system/profiler/ |
D | perfetto.cpp | 116 struct sigaction sa {}; in InstallCtrCHandler() struct 123 sa.sa_handler = [](int) { g_handler(); }; in InstallCtrCHandler() 124 sa.sa_flags = static_cast<decltype(sa.sa_flags)>(SA_RESETHAND | SA_RESTART); in InstallCtrCHandler() 126 sigaction(SIGINT, &sa, nullptr); in InstallCtrCHandler() 127 sigaction(SIGTERM, &sa, nullptr); in InstallCtrCHandler()
|