/libcore/ojluni/src/main/java/sun/nio/ch/ |
SocketOptionRegistry.java | 39 private final ProtocolFamily family; field in class:SocketOptionRegistry.RegistryKey 40 RegistryKey(SocketOption<?> name, ProtocolFamily family) { 42 this.family = family; 45 return name.hashCode() + family.hashCode(); 52 if (this.family != other.family) return false; 80 public static OptionKey findOption(SocketOption<?> name, ProtocolFamily family) { 81 RegistryKey key = new RegistryKey(name, family);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
NameConverter.java | 92 * Parses phonetic name and returns parsed data (family, middle, given) as ContentValues. 105 String family = null; local 113 family = strings[0]; 116 family = strings[0]; 120 family = strings[0]; 130 item.setPhoneticFamilyName(family); 139 public static String buildPhoneticName(String family, String middle, String given) { 140 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) 143 if (!TextUtils.isEmpty(family)) { 144 sb.append(family.trim()).append(' ') [all...] |
/external/drm_gralloc/pci_ids/ |
pci_id_driver_map.h | 32 #define CHIPSET(chip, name, family) chip, 38 #define CHIPSET(chip, name, family) chip, 45 #define CHIPSET(chip, name, family) chip, 51 #define CHIPSET(chip, name, family) chip, 57 #define CHIPSET(chip, name, family) chip,
|
/external/iproute2/ip/ |
ipprefix.c | 44 int family = preferred_family; local 58 if (family == AF_UNSPEC) 59 family = AF_INET6; 60 if (family != AF_INET6) 64 fprintf(stderr, "incorrect protocol family: %d\n", prefix->prefix_family); 76 rt_addr_n2a_rta(family, tb[PREFIX_ADDRESS]),
|
/external/iproute2/lib/ |
libgenl.c | 41 fprintf(stderr, "Missing family id TLV\n"); 48 int genl_resolve_family(struct rtnl_handle *grth, const char *family) 54 family, strlen(family) + 1); 64 int genl_init_handle(struct rtnl_handle *grth, const char *family, 75 *genl_family = genl_resolve_family(grth, family);
|
/external/libnl/src/lib/ |
link.c | 34 struct nl_cache *nl_cli_link_alloc_cache_family(struct nl_sock *sock, int family) 39 if ((err = rtnl_link_alloc_cache(sock, family, &cache)) < 0) 55 int family; local 57 if ((family = nl_str2af(arg)) < 0) 59 "Unable to translate address family \"%s\"", arg); 61 rtnl_link_set_family(link, family);
|
/frameworks/base/services/net/java/android/net/netlink/ |
NetlinkConstants.java | 50 public static String stringForAddressFamily(int family) { 51 if (family == OsConstants.AF_INET) { return "AF_INET"; } 52 if (family == OsConstants.AF_INET6) { return "AF_INET6"; } 53 if (family == OsConstants.AF_NETLINK) { return "AF_NETLINK"; } 54 return String.valueOf(family);
|
/frameworks/minikin/tests/stresstest/ |
FontFamilyTest.cpp | 41 std::shared_ptr<FontFamily> family = std::make_shared<FontFamily>(std::move(fonts)); local 43 hb_font_t* hbFont = family->getFont(0)->baseFont().get(); 47 EXPECT_EQ(family->hasGlyph(codePoint, 0 /* variation selector */), 59 ASSERT_EQ(family->hasGlyph(codePoint, vs), 63 << " Minikin: " << family->hasGlyph(codePoint, vs) << " HarfBuzz: "
|
/external/strace/tests/ |
netlink_sock_diag.c | 56 /* family only */ \ 57 uint8_t family = (family_); \ 61 sizeof(family), &family, sizeof(family), \ 62 printf("{family=%s}", #family_)); \ 64 /* family and string */ \ 65 char buf[sizeof(family) + 4]; \ 66 memcpy(buf, &family, sizeof(family)); \ 133 uint8_t family = 0; local 183 uint8_t family = 0; local [all...] |
/external/strace/tests-m32/ |
netlink_sock_diag.c | 56 /* family only */ \ 57 uint8_t family = (family_); \ 61 sizeof(family), &family, sizeof(family), \ 62 printf("{family=%s}", #family_)); \ 64 /* family and string */ \ 65 char buf[sizeof(family) + 4]; \ 66 memcpy(buf, &family, sizeof(family)); \ 133 uint8_t family = 0; local 183 uint8_t family = 0; local [all...] |
/external/strace/tests-mx32/ |
netlink_sock_diag.c | 56 /* family only */ \ 57 uint8_t family = (family_); \ 61 sizeof(family), &family, sizeof(family), \ 62 printf("{family=%s}", #family_)); \ 64 /* family and string */ \ 65 char buf[sizeof(family) + 4]; \ 66 memcpy(buf, &family, sizeof(family)); \ 133 uint8_t family = 0; local 183 uint8_t family = 0; local [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/multicast/ |
Sender.java | 66 ProtocolFamily family = StandardProtocolFamily.INET; local 68 family = StandardProtocolFamily.INET6; 69 DatagramChannel dc = DatagramChannel.open(family).bind(new InetSocketAddress(0));
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/multicast/ |
Sender.java | 66 ProtocolFamily family = StandardProtocolFamily.INET; local 68 family = StandardProtocolFamily.INET6; 69 DatagramChannel dc = DatagramChannel.open(family).bind(new InetSocketAddress(0));
|
/external/autotest/client/site_tests/cellular_ConnectFailure/ |
cellular_ConnectFailure.py | 18 def _GetModemSuperClass(family): 20 Obtains the correct Modem base class to use for the given family. 22 @param family: The modem family. Should be one of |3GPP|/|CDMA|. 24 @raises error.TestError, if |family| is not one of '3GPP' or 'CDMA'. 27 if family == '3GPP': 29 elif family == 'CDMA': 32 raise error.TestError('Invalid pseudomodem family: %s', family) 35 def GetFailConnectModem(family) [all...] |
/external/pdfium/core/fxge/ |
fx_font.h | 27 /* Font pitch and family flags */ 133 inline bool FontFamilyIsFixedPitch(uint32_t family) { 134 return !!(family & FXFONT_FF_FIXEDPITCH); 136 inline bool FontFamilyIsRoman(uint32_t family) { 137 return !!(family & FXFONT_FF_ROMAN); 139 inline bool FontFamilyIsScript(int32_t family) { 140 return !!(family & FXFONT_FF_SCRIPT);
|
/bionic/libc/bionic/ |
ifaddrs.cpp | 70 void SetAddress(int family, const void* data, size_t byteCount) { 76 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); 79 ifa.ifa_dstaddr = CopyAddress(family, data, byteCount, &ifa_ifu); 83 void SetBroadcastAddress(int family, const void* data, size_t byteCount) { 90 ifa.ifa_broadaddr = CopyAddress(family, data, byteCount, &ifa_ifu); 93 void SetLocalAddress(int family, const void* data, size_t byteCount) { 103 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); 108 void SetNetmask(int family, size_t prefix_length) { 110 netmask.ss_family = family; 111 uint8_t* dst = SockaddrBytes(family, &netmask) [all...] |
/external/iproute2/include/ |
libgenl.h | 23 extern int genl_resolve_family(struct rtnl_handle *grth, const char *family); 24 extern int genl_init_handle(struct rtnl_handle *grth, const char *family,
|
/external/libnetfilter_conntrack/utils/ |
conntrack_flush.c | 11 uint8_t family = AF_INET; local 20 ret = nfct_query(h, NFCT_Q_FLUSH, &family);
|
expect_flush.c | 11 uint8_t family = AF_INET; local 20 ret = nfexp_query(h, NFCT_Q_FLUSH, &family);
|
/external/python/cpython2/Doc/includes/ |
email-mime.py | 12 msg['Subject'] = 'Our family reunion' 14 # family = the list of all recipients' email addresses 16 msg['To'] = COMMASPACE.join(family) 17 msg.preamble = 'Our family reunion' 30 s.sendmail(me, family, msg.as_string())
|
/external/strace/ |
netlink_sock_diag.h | 36 uint8_t family, \ 55 print_inet_diag_sockid(const struct inet_diag_sockid *, const uint8_t family);
|
/external/syslinux/gpxe/src/include/gpxe/ |
socket.h | 60 * Name address family 62 * @v family Address family (e.g. AF_INET) 63 * @ret name Name of address family 66 socket_family_name ( int family ) { 67 switch ( family ) { 74 /** A socket address family */ 87 /** Socket address family 96 * family.
|
/external/v8/tools/profviz/ |
profviz.css | 44 font-family: monospace; 73 font-family: Verdana; 86 font-family: Verdana; 97 font-family: Verdana; 103 font-family: Verdana; 112 font-family: Verdana; 118 font-family: Verdana; 123 font-family: monospace; 129 font-family: Verdana;
|
/external/webrtc/webrtc/base/ |
nullsocketserver.h | 39 virtual rtc::Socket* CreateSocket(int family, int type) { 49 virtual rtc::AsyncSocket* CreateAsyncSocket(int family, int type) {
|
/kernel/tests/net/test/ |
csocket_test.py | 31 def _BuildSocket(self, family, addr): 32 s = socket(family, SOCK_DGRAM, 0) 36 def CheckRecvfrom(self, family, addr): 37 s = self._BuildSocket(family, addr) 51 def CheckRecvmsg(self, family, addr): 52 s = self._BuildSocket(family, addr) 54 if family == AF_INET: 62 elif family == AF_INET6:
|