Home
last modified time | relevance | path

Searched refs:family (Results 1 - 25 of 532) sorted by relevance

12345678910>>...22

/third_party/skia/third_party/externals/freetype/src/cache/
H A Dftcglyph.c32 FTC_Family family ) in FTC_GNode_Init()
34 gnode->family = family; in FTC_GNode_Init()
36 family->num_nodes++; in FTC_GNode_Init()
44 FTC_Family family = gnode->family; in FTC_GNode_UnselectFamily() local
47 gnode->family = NULL; in FTC_GNode_UnselectFamily()
48 if ( family && --family->num_nodes == 0 ) in FTC_GNode_UnselectFamily()
49 FTC_FAMILY_FREE( family, cach in FTC_GNode_UnselectFamily()
105 FTC_Family_Init( FTC_Family family, FTC_Cache cache ) FTC_Family_Init() argument
200 FTC_Family family = query->family; FT_LOCAL_DEF() local
[all...]
/third_party/mesa3d/src/amd/vulkan/winsys/null/
H A Dradv_null_winsys.c77 const char *family = getenv("RADV_FORCE_FAMILY"); in radv_null_winsys_query_info() local
81 info->family = CHIP_UNKNOWN; in radv_null_winsys_query_info()
84 if (!strcasecmp(family, ac_get_family_name(i))) { in radv_null_winsys_query_info()
85 /* Override family and gfx_level. */ in radv_null_winsys_query_info()
86 info->family = i; in radv_null_winsys_query_info()
89 if (info->family >= CHIP_GFX1100) in radv_null_winsys_query_info()
106 if (info->family == CHIP_UNKNOWN) { in radv_null_winsys_query_info()
107 fprintf(stderr, "radv: Unknown family: %s\n", family); in radv_null_winsys_query_info()
111 info->pci_id = gpu_info[info->family] in radv_null_winsys_query_info()
[all...]
/third_party/node/test/parallel/
H A Dtest-dns-lookup-promises.js38 expectation: { address: '::1', family: 6 }
43 expectation: { address: '127.0.0.1', family: 4 }
46 stub: getaddrinfoPositive(['127.0.0.1'], { family: 4 }),
48 expectation: { address: '127.0.0.1', family: 4 }
53 expectation: { address: 'some-address', family: 0 }
57 factory: () => dnsPromises.lookup('example.com', { family: 6 }),
58 expectation: { address: 'some-address2', family: 6 }
82 { address: '::1', family: 6 },
83 { address: '::2', family: 6 },
88 factory: () => dnsPromises.lookup('example', { all: true, family
[all...]
H A Dtest-dns-lookup.js61 family: 0,
72 const family = 20;
76 message: `The property 'options.family' must be one of: 0, 4, 6. Received ${family}`
80 family,
91 .forEach((family) => {
93 const options = { family };
99 [0n, 1n, '', '0', Symbol(), true, false].forEach((family) => {
101 assert.throws(() => { dnsPromises.lookup(false, family); }, err);
103 dns.lookup(false, family, commo
[all...]
H A Dtest-net-connect-options-port.js136 const family = 4;
139 const portArgFunctions = doConnect([{ port, family }],
148 family }],
155 const portOptFunctions = doConnect([{ port, family }],
164 family: family }],
175 const family = 4;
178 const portArgFunctions = doConnect([{ port, family }], noop);
184 const portHostArgFunctions = doConnect([{ port, host: 'localhost', family }],
191 const portOptFunctions = doConnect([{ port, family }], noo
[all...]
/third_party/node/lib/
H A Ddns.js109 this.callback(null, addresses[0], this.family || isIP(addresses[0]));
121 const family = this.family;
126 family: family || isIP(addr),
142 let family = 0;
153 family = 0;
157 validateOneOf(options, 'family', validFamilies);
158 family = options;
170 if (options?.family !
[all...]
/third_party/node/lib/internal/
H A Dblocklist.js60 addAddress(address, family = 'ipv4') {
63 validateString(family, 'family');
66 family,
72 addRange(start, end, family = 'ipv4') {
75 validateString(family, 'family');
78 family,
83 validateString(family, 'family');
[all...]
H A Dsocketaddress.js51 let { family = 'ipv4' } = options;
53 address = (family === 'ipv4' ? '127.0.0.1' : '::'),
59 if (typeof family?.toLowerCase === 'function')
60 family = family.toLowerCase();
61 switch (family) {
69 throw new ERR_INVALID_ARG_VALUE('options.family', options.family);
80 family: undefined,
93 get family() {
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares__addrinfo2hostent.c57 ares_status_t ares__addrinfo2hostent(const struct ares_addrinfo *ai, int family, in ares__addrinfo2hostent() argument
73 /* Use the first node of the response as the family, since hostent can only in ares__addrinfo2hostent()
74 * represent one family. We assume getaddrinfo() returned a sorted list if in ares__addrinfo2hostent()
76 if (family == AF_UNSPEC && ai->nodes) { in ares__addrinfo2hostent()
77 family = ai->nodes->ai_family; in ares__addrinfo2hostent()
80 if (family != AF_INET && family != AF_INET6) { in ares__addrinfo2hostent()
92 if (next->ai_family == family) { in ares__addrinfo2hostent()
147 (*host)->h_addrtype = (HOSTENT_ADDRTYPE_TYPE)family; in ares__addrinfo2hostent()
149 if (family in ares__addrinfo2hostent()
203 ares__addrinfo2addrttl(const struct ares_addrinfo *ai, int family, size_t req_naddrttls, struct ares_addrttl *addrttls, struct ares_addr6ttl *addr6ttls, size_t *naddrttls) ares__addrinfo2addrttl() argument
[all...]
H A Dares_gethostbyaddr.c72 int addrlen, int family, in ares_gethostbyaddr_int()
77 if (family != AF_INET && family != AF_INET6) { in ares_gethostbyaddr_int()
82 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addr.addr4)) || in ares_gethostbyaddr_int()
83 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addr.addr6))) { in ares_gethostbyaddr_int()
100 if (family == AF_INET) { in ares_gethostbyaddr_int()
105 aquery->addr.family = family; in ares_gethostbyaddr_int()
115 int family, ares_host_callback callback, void *arg) in ares_gethostbyaddr()
121 ares_gethostbyaddr_int(channel, addr, addrlen, family, callbac in ares_gethostbyaddr()
71 ares_gethostbyaddr_int(ares_channel_t *channel, const void *addr, int addrlen, int family, ares_host_callback callback, void *arg) ares_gethostbyaddr_int() argument
114 ares_gethostbyaddr(ares_channel_t *channel, const void *addr, int addrlen, int family, ares_host_callback callback, void *arg) ares_gethostbyaddr() argument
[all...]
H A Dares_update_servers.c77 if (addr1->family != addr2->family) { in ares__addr_match()
81 if (addr1->family == AF_INET && memcmp(&addr1->addr.addr4, &addr2->addr.addr4, in ares__addr_match()
86 if (addr1->family == AF_INET6 && in ares__addr_match()
108 if (addr->family != subnet->family) { in ares__subnet_match()
112 if (addr->family == AF_INET) { in ares__subnet_match()
120 } else if (addr->family == AF_INET6) { in ares__subnet_match()
157 subnet.family = AF_INET6; in ares__addr_is_linklocal()
181 if (addr->family ! in ares_server_blacklisted()
[all...]
/third_party/node/test/internet/
H A Dtest-dns-ipv4.js88 assert.strictEqual(res.family, 4);
95 common.mustSucceed((ip, family) => {
96 validateResult({ address: ip, family });
106 assert.strictEqual(res.family, 4);
113 common.mustSucceed((ip, family) => {
114 validateResult({ address: ip, family });
124 assert.strictEqual(res.family, 4);
127 validateResult(await dnsPromises.lookup(addresses.INET4_HOST, { family: 4 }));
130 family: 4,
131 }, common.mustSucceed((ip, family)
[all...]
H A Dtest-dns-ipv6.js87 assert.strictEqual(res.family, 6);
95 common.mustSucceed((ip, family) => {
96 validateResult({ address: ip, family });
105 // var req = dns.lookup(addresses.INET6_HOST, function(err, ip, family) {
108 // assert.strictEqual(family, 6);
119 assert.strictEqual(res.family, 6);
122 validateResult(await dnsPromises.lookup(addresses.INET6_HOST, { family: 6 }));
125 family: 6,
126 }, common.mustSucceed((ip, family) => {
127 validateResult({ address: ip, family });
[all...]
/third_party/node/lib/internal/dns/
H A Dpromises.js86 const family = this.family || isIP(addresses[0]);
87 this.resolve({ address: addresses[0], family });
99 const family = this.family;
106 family: family || isIP(addresses[i]),
118 * @param {0 | 4 | 6} family - The IP address family (4 or 6, or 0 for both).
127 * @property {0 | 4 | 6} family
[all...]
/third_party/node/test/fixtures/snapshot/
H A Ddns-lookup.js15 function onLookup(address, family) {
17 console.log(`family: ${JSON.stringify(family)}`);
23 dns.promises.lookup(host, { family: 4 }).then(
24 ({address, family}) => onLookup(address, family),
27 dns.lookup(host, { family: 4 }, (err, address, family) => {
31 onLookup(address, family);
/third_party/musl/src/network/
H A Dlookup_name.c39 static int name_from_null(struct address buf[static 2], const char *name, int family, int flags) in name_from_null() argument
44 if (family != AF_INET6) in name_from_null()
45 buf[cnt++] = (struct address){ .family = AF_INET }; in name_from_null()
46 if (family != AF_INET) in name_from_null()
47 buf[cnt++] = (struct address){ .family = AF_INET6 }; in name_from_null()
49 if (family != AF_INET6) in name_from_null()
50 buf[cnt++] = (struct address){ .family = AF_INET, .addr = { 127,0,0,1 } }; in name_from_null()
51 if (family != AF_INET) in name_from_null()
52 buf[cnt++] = (struct address){ .family = AF_INET6, .addr = { [15] = 1 } }; in name_from_null()
57 static int name_from_numeric(struct address buf[static 1], const char *name, int family) in name_from_numeric() argument
83 name_from_hosts(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family) name_from_hosts() argument
150 int family; dns_parse_callback() local
214 name_from_dns(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, const struct resolvconf *conf, int netid) name_from_dns() argument
299 name_from_dns_search(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int netid) name_from_dns_search() argument
433 lookup_name_ext(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int flags, int netid) lookup_name_ext() argument
515 int family = buf[i].family; lookup_name_ext() local
579 __lookup_name(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int flags) __lookup_name() argument
820 predefined_host_name_from_hosts( struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family) predefined_host_name_from_hosts() argument
[all...]
H A Dgetaddrinfo.c25 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo() local
31 family = hint->ai_family; in getaddrinfo()
41 switch (family) { in getaddrinfo()
53 * families via ability to create a socket for the family plus in getaddrinfo()
54 * routability of the loopback address for the family. */ in getaddrinfo()
68 if (family==tf[1-i]) continue; in getaddrinfo()
92 if (family == tf[i]) return EAI_NONAME; in getaddrinfo()
93 family = tf[1-i]; in getaddrinfo()
100 naddrs = __lookup_name(addrs, canon, host, family, flags); in getaddrinfo()
118 .ai_family = addrs[i].family, in getaddrinfo()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_pipe.c181 rctx->has_vertex_cache = !(rctx->b.family == CHIP_RV610 || in r600_create_context()
182 rctx->b.family == CHIP_RV620 || in r600_create_context()
183 rctx->b.family == CHIP_RS780 || in r600_create_context()
184 rctx->b.family == CHIP_RS880 || in r600_create_context()
185 rctx->b.family == CHIP_RV710); in r600_create_context()
196 rctx->has_vertex_cache = !(rctx->b.family == CHIP_CEDAR || in r600_create_context()
197 rctx->b.family == CHIP_PALM || in r600_create_context()
198 rctx->b.family == CHIP_SUMO || in r600_create_context()
199 rctx->b.family == CHIP_SUMO2 || in r600_create_context()
200 rctx->b.family in r600_create_context()
259 enum radeon_family family = rscreen->b.family; r600_get_param() local
[all...]
/third_party/python/Lib/test/
H A Dtest_asyncore.py97 """Helper function to bind a socket according to its family."""
98 if HAS_UNIX_SOCKETS and sock.family == socket.AF_UNIX:
475 def __init__(self, family, addr, handler=BaseTestHandler):
477 self.create_socket(family)
496 def __init__(self, family, address):
498 self.create_socket(family)
528 server = BaseServer(self.family, self.addr)
529 client = TestClient(self.family, server.address)
537 def __init__(self, family, addr):
539 self.create_socket(family)
800 family = socket.AF_INET global() variable in TestAPI_UseIPv4Sockets
805 family = socket.AF_INET6 global() variable in TestAPI_UseIPv6Sockets
811 family = socket.AF_UNIX global() variable in TestAPI_UseUnixSockets
[all...]
/third_party/musl/porting/linux/user/src/network/
H A Dlookup_name.c39 static int name_from_null(struct address buf[static 2], const char *name, int family, int flags) in name_from_null() argument
44 if (family != AF_INET6) in name_from_null()
45 buf[cnt++] = (struct address){ .family = AF_INET }; in name_from_null()
46 if (family != AF_INET) in name_from_null()
47 buf[cnt++] = (struct address){ .family = AF_INET6 }; in name_from_null()
49 if (family != AF_INET6) in name_from_null()
50 buf[cnt++] = (struct address){ .family = AF_INET, .addr = { 127,0,0,1 } }; in name_from_null()
51 if (family != AF_INET) in name_from_null()
52 buf[cnt++] = (struct address){ .family = AF_INET6, .addr = { [15] = 1 } }; in name_from_null()
57 static int name_from_numeric(struct address buf[static 1], const char *name, int family) in name_from_numeric() argument
83 name_from_hosts(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family) name_from_hosts() argument
193 name_from_dns(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, const struct resolvconf *conf, int netid) name_from_dns() argument
248 name_from_dns_search(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int netid) name_from_dns_search() argument
374 lookup_name_ext(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int flags, int netid) lookup_name_ext() argument
447 int family = buf[i].family; lookup_name_ext() local
511 __lookup_name(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int flags) __lookup_name() argument
731 predefined_host_name_from_hosts( struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family) predefined_host_name_from_hosts() argument
[all...]
/third_party/ltp/include/
H A Dtst_netdevice.h39 const char *ifname, unsigned int family, const void *address,
41 #define NETDEV_ADD_ADDRESS(ifname, family, address, prefix, addrlen, flags) \
42 tst_netdev_add_address(__FILE__, __LINE__, 1, (ifname), (family), \
53 const char *ifname, unsigned int family, const void *address,
55 #define NETDEV_REMOVE_ADDRESS(ifname, family, address, addrlen) \
56 tst_netdev_remove_address(__FILE__, __LINE__, 1, (ifname), (family), \
80 const char *ifname, unsigned int family, const void *srcaddr,
84 #define NETDEV_ADD_ROUTE(ifname, family, srcaddr, srcprefix, srclen, dstaddr, \
86 tst_netdev_add_route(__FILE__, __LINE__, 1, (ifname), (family), \
107 const char *ifname, unsigned int family, cons
[all...]
/third_party/python/Lib/
H A Dsocket.py73 # where needed (e.g. .family property of a socket object).
100 """Convert a numeric family value to an IntEnum member.
136 errorTab[10046] = "Protocol family not supported."
137 errorTab[10047] = "Address family not supported by protocol family."
220 def __init__(self, family=-1, type=-1, proto=-1, fileno=None):
221 # For user code address family and type values are IntEnum members, but
226 if family == -1:
227 family = AF_INET
232 _socket.socket.__init__(self, family, typ
516 def family(self): global() member in socket
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_gpu_info.c106 uint32_t family; member
659 if (device_info.family == FAMILY_NV && in ac_query_gpu_info()
664 else if (device_info.family == FAMILY_NV || in ac_query_gpu_info()
665 device_info.family == FAMILY_VGH || in ac_query_gpu_info()
666 device_info.family == FAMILY_RMB || in ac_query_gpu_info()
667 device_info.family == FAMILY_GC_10_3_6 || in ac_query_gpu_info()
668 device_info.family == FAMILY_GC_10_3_7) in ac_query_gpu_info()
760 info->family = CHIP_##chipname; \ in ac_query_gpu_info()
765 switch (device_info.family) { in ac_query_gpu_info()
841 device_info.family, device_inf in ac_query_gpu_info()
1630 ac_get_gs_table_depth(enum amd_gfx_level gfx_level, enum radeon_family family) ac_get_gs_table_depth() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/truetype/
H A Dttsubpix.c754 /* Does font name match rule family? */ in is_member_of_family_class()
819 const FT_String* family, in FT_LOCAL_DEF()
832 if ( family && in FT_LOCAL_DEF()
833 ( is_member_of_family_class ( family, rule[i].family ) ) ) in FT_LOCAL_DEF()
850 const FT_String* family, in scale_test_tweak()
863 if ( family && in scale_test_tweak()
864 ( is_member_of_family_class ( family, rule[i].family ) ) ) in scale_test_tweak()
881 const FT_String* family, in FT_LOCAL_DEF()
849 scale_test_tweak( TT_Face face, const FT_String* family, FT_UInt ppem, const FT_String* style, FT_UInt glyph_index, const SPH_ScaleRule* rule, FT_UInt num_rules ) scale_test_tweak() argument
907 FT_String* family = face->root.family_name; sph_set_tweaks() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_llvm_helper.cpp31 : family(arg_family), tm_options(arg_tm_options), wave_size(arg_wave_size), passes(NULL) in radv_llvm_per_thread_info()
42 if (!ac_init_llvm_compiler(&llvm_info, family, tm_options)) in init()
60 if (arg_family == family && arg_tm_options == tm_options && arg_wave_size == wave_size) in is_same()
67 enum radeon_family family; member in radv_llvm_per_thread_info
100 radv_init_llvm_compiler(struct ac_llvm_compiler *info, enum radeon_family family, in radv_init_llvm_compiler() argument
104 if (I.is_same(family, tm_options, wave_size)) { in radv_init_llvm_compiler()
110 radv_llvm_per_thread_list.emplace_back(family, tm_options, wave_size); in radv_init_llvm_compiler()

Completed in 12 milliseconds

12345678910>>...22