Searched defs:family (Results 1 - 25 of 40) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSelectorProviderImpl.java45 public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException { argument
46 return new DatagramChannelImpl(this, family);
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DSelectorProvider.java193 * @param family
194 * The protocol family
199 * If the specified protocol family is not supported
205 public abstract DatagramChannel openDatagramChannel(ProtocolFamily family) argument
/openjdk7/jdk/src/share/native/sun/nio/ch/
H A DgenSocketOptionRegistry.c46 static void emit(const char *name, char * family, int level, int optname) { argument
47 printf(" map.put(new RegistryKey(%s, %s),", name, family);
76 out(" private final ProtocolFamily family; ");
77 out(" RegistryKey(SocketOption<?> name, ProtocolFamily family) { ");
79 out(" this.family = family; ");
82 out(" return name.hashCode() + family.hashCode(); ");
89 out(" if (this.family != other.family) return false; ");
123 out(" public static OptionKey findOption(SocketOption<?> name, ProtocolFamily family) { ");
[all...]
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DMulticastSendReceiveTests.java59 ProtocolFamily family = (group instanceof Inet6Address) ?
61 DatagramChannel dc = DatagramChannel.open(family)
141 static void test(ProtocolFamily family, argument
147 System.out.format("\nTest DatagramChannel to %s socket\n", family.name());
148 try (DatagramChannel dc = (family == UNSPEC) ?
149 DatagramChannel.open() : DatagramChannel.open(family)) {
160 if (family == UNSPEC) {
/openjdk7/jdk/test/java/rmi/activation/rmidViaInheritedChannel/
H A DInheritedChannelNotServerSocket.java140 public DatagramChannel openDatagramChannel(ProtocolFamily family) argument
143 return provider.openDatagramChannel(family);
H A DRmidViaInheritedChannel.java130 public DatagramChannel openDatagramChannel(ProtocolFamily family) argument
133 return provider.openDatagramChannel(family);
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontManager.java66 * The name could be a family name, or a full name.
102 * @param family the font family of the derived font
108 public Font2DHandle getNewComposite(String family, int style, argument
H A DFontFamily.java56 * If this was the only font in the family, the family is removed
62 FontFamily family = getFamily(name);
63 if (family == null) {
66 if (family.plain == font2D) {
67 family.plain = null;
69 if (family.bold == font2D) {
70 family.bold = null;
72 if (family.italic == font2D) {
73 family
271 addLocaleNames(FontFamily family, String[] names) argument
[all...]
H A DFileFontStrike.java327 private native long _getGlyphImageFromWindows(String family, argument
334 String family = fileFont.getFamilyName(null);
339 (family, style, size, glyphCode,
H A DFont2D.java46 * family of its siblings which were assigned FONT_CONFIG rank. Giving
75 protected FontFamily family; field in class:Font2D
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DInheritedChannel.c41 int family = sa->sa_family; local
44 return (family == AF_INET6);
47 return (family == AF_INET);
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DDatagramChannel.java136 * The {@link #open(ProtocolFamily) open} allows the protocol family to be
152 * <p> The {@code family} parameter is used to specify the {@link
163 * @param family
164 * The protocol family
169 * If the specified protocol family is not supported. For example,
178 public static DatagramChannel open(ProtocolFamily family) throws IOException { argument
179 return SelectorProvider.provider().openDatagramChannel(family);
/openjdk7/jdk/src/solaris/classes/java/net/
H A DPlainDatagramSocketImpl.java78 protected native void disconnect0(int family); argument
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DStyledEditorKit.java332 new FontFamilyAction("font-family-SansSerif", "SansSerif"),
333 new FontFamilyAction("font-family-Monospaced", "Monospaced"),
334 new FontFamilyAction("font-family-Serif", "Serif"),
483 * An action to set the font family in the associated
484 * JEditorPane. This will use the family specified as
486 * otherwise the family that was initialized with will be used.
503 * @param family the font family
505 public FontFamilyAction(String nm, String family) { argument
507 this.family
535 private String family; field in class:StyledEditorKit.FontFamilyAction
[all...]
H A DStyleContext.java194 String family = StyleConstants.getFontFamily(attr);
207 return getFont(family, style, size);
242 * @param family the font family (such as "Monospaced")
247 public Font getFont(String family, int style, int size) { argument
248 fontSearch.setValue(family, style, size);
259 && defaultFont.getFamily().equalsIgnoreCase(family)) {
264 f = new Font(family, style, size);
269 FontKey key = new FontKey(family, style, size);
1185 private String family; field in class:StyleContext.FontKey
1192 FontKey(String family, int style, int size) argument
1196 setValue(String family, int style, int size) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DAbstractPlainDatagramSocketImpl.java360 protected abstract void disconnect0(int family); argument
H A DInetAddress.java109 * The textual representation of an IP address is address family specific.
192 * Specify the address family: Internet Protocol, Version 4
198 * Specify the address family: Internet Protocol, Version 6
203 /* Specify address family preference */
210 InetAddressHolder(String hostName, int address, int family) { argument
213 this.family = family;
232 * Specifies the address family type, for instance, '1' for IPv4
235 int family; field in class:InetAddress.InetAddressHolder
238 return family;
[all...]
/openjdk7/jdk/src/macosx/classes/sun/font/
H A DCFontManager.java97 // logical fonts always need to be added to the family
106 FontFamily family = FontFamily.getFamily(familyName);
107 if (family == null) {
108 family = new FontFamily(familyName, false, rank);
109 family.setFont(f, f.style);
110 } else if (family.getRank() >= rank) {
111 family.setFont(f, f.style);
305 FontFamily family = getFontFamily(realName, fallbackName);
306 if (family != null) return family;
359 getFontConfigFUIR( String family, int style, int size) argument
[all...]
/openjdk7/jdk/src/windows/classes/java/net/
H A DTwoStacksPlainDatagramSocketImpl.java203 protected native void disconnect0(int family); argument
/openjdk7/jdk/src/share/native/java/net/
H A Dnet_util.c87 /* The address, and family fields used to be in InetAddress
104 void setInetAddress_family(JNIEnv *env, jobject iaObj, int family) { argument
108 (*env)->SetIntField(env, holder, iac_familyID, family);
218 jint family = AF_INET; local
221 family = getInetAddress_family(env, iaObj) == IPv4? AF_INET : AF_INET6;
232 if (family == AF_INET6) {
247 if (family == AF_INET) {
264 if (family != AF_INET) {
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11FontManager.java141 * Takes family name property in the following format:
546 String family = name.substring(hPos[FAMILY_NAME_FIELD-1]+1,
558 if (family.equals("itc zapfdingbats")
815 protected FontUIResource getFontConfigFUIR(String family, int style, int size) { argument
817 CompositeFont font2D = getFontConfigManager().getFontConfigFont(family, style);
820 return new FontUIResource(family, style, size);
/openjdk7/jdk/src/solaris/native/java/net/
H A DInet4AddressImpl.c274 jint family; local
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Font.c270 char *family = NULL, *style = NULL, *slant = NULL, *encoding = NULL; local
296 family = start;
338 if (!strcmp(family, "lucidasans")) {
339 family = "lucida";
345 family, style, slant, pointSize, encoding);
351 family, altstyle, slant, pointSize, encoding);
361 family, style, slant, pixelSize, encoding);
367 family, altstyle, slant, pixelSize, encoding);
402 family, style, slant, pixelSize + i, encoding);
407 family, styl
648 jstring family = NULL; local
[all...]
/openjdk7/jdk/src/windows/native/java/net/
H A DTwoStacksPlainSocketImpl.c195 /* family and localport are int fields of iaObj */
196 int family; local
230 family = him.him.sa_family;
231 if (family == AF_INET6) {
234 "Protocol family not supported");
407 /* family is an int field of iaObj */
408 int family; local
416 family = getInetAddress_family(env, iaObj);
418 if (family == IPv6 && !ipv6_supported) {
420 "Protocol family no
[all...]
/openjdk7/jdk/src/windows/native/sun/font/
H A Dfontpath.c78 jstring family; member in struct:GdiFontMapInfo
130 * Expects to be called once for each face name in the family specified
134 * name is used as key to the family name value in the font to family map,
135 * the canonical name is one of the"list" of members of the family.
159 fmi->putMID, fullnameLC, fmi->family);
164 wchar_t *family; member in struct:CheckFamilyInfo
176 info->isDifferent = wcscmp(lpelfe->elfLogFont.lfFaceName, info->family);
179 /* wprintf(LFor font %s expected family=%s instead got %s\n", */
181 /* info->family, */
188 DifferentFamily(wchar_t *family, wchar_t* fullName) argument
[all...]

Completed in 102 milliseconds

12