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

123

/openjdk9/test/failure_handler/src/share/classes/jdk/test/failurehandler/jtreg/
H A DOS.java28 public final String family; field in class:OS
42 family = "linux";
44 family = "mac";
46 family = "solaris";
48 family = "windows";
51 family = name.replaceFirst("^([^ ]+).*", "$1");
H A DGatherProcessInfoTimeoutHandler.java111 if (HAS_NATIVE_LIBRARY && "windows".equals(OS.current().family)) {
136 OS.current().family,
/openjdk9/jdk/test/java/awt/font/FontNames/
H A DTrueTypeFontLocaleNameTest.java48 String family = "Verdana";
49 Font font = new Font(family, Font.BOLD, 12);
50 if (!font.getFamily(Locale.ENGLISH).equals(family)) {
51 System.out.println(family + " not found - skipping test.");
/openjdk9/jdk/src/java.desktop/macosx/classes/sun/font/
H A DCFontManager.java93 // logical fonts always need to be added to the family
102 FontFamily family = FontFamily.getFamily(familyName);
103 if (family == null) {
104 family = new FontFamily(familyName, false, rank);
105 family.setFont(f, f.style);
106 } else if (family.getRank() >= rank) {
107 family.setFont(f, f.style);
173 FontFamily family = famArr[i];
175 Font2D f2dPlain = family.getFont(Font.PLAIN);
177 Font2D f2dBold = family
297 getFontConfigFUIR( String family, int style, int size) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/sun/nio/ch/
H A DSelectorProviderImpl.java45 public DatagramChannel openDatagramChannel(ProtocolFamily family) throws IOException { argument
46 return new DatagramChannelImpl(this, family);
H A DNet.java41 // unspecified protocol family
285 static void setSocketOption(FileDescriptor fd, ProtocolFamily family, argument
330 OptionKey key = SocketOptionRegistry.findOption(name, family);
342 boolean mayNeedConversion = (family == UNSPEC);
343 boolean isIPv6 = (family == StandardProtocolFamily.INET6);
347 static Object getSocketOption(FileDescriptor fd, ProtocolFamily family, argument
362 OptionKey key = SocketOptionRegistry.findOption(name, family);
366 boolean mayNeedConversion = (family == UNSPEC);
407 static FileDescriptor socket(ProtocolFamily family, boolean stream) argument
410 (family !
428 bind(ProtocolFamily family, FileDescriptor fd, InetAddress addr, int port) argument
449 connect(ProtocolFamily family, FileDescriptor fd, InetAddress remote, int remotePort) argument
[all...]
H A DDatagramChannelImpl.java57 // The protocol family of the socket
58 private final ProtocolFamily family; field in class:DatagramChannelImpl
113 this.family = Net.isIPv6Available() ?
115 this.fd = Net.socket(family, false);
124 public DatagramChannelImpl(SelectorProvider sp, ProtocolFamily family) argument
128 if ((family != StandardProtocolFamily.INET) &&
129 (family != StandardProtocolFamily.INET6))
131 if (family == null)
132 throw new NullPointerException("'family' is null");
134 throw new UnsupportedOperationException("Protocol family no
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/
H A DPangoFonts.java83 String family = "";
102 if (family.length() > 0) {
103 family += " ";
106 family += word;
192 String fcFamilyLC = family.toLowerCase();
194 /* family is a Fc/Pango logical font which we need to expand. */
200 Font font = new Font(family, style, size);
/openjdk9/jdk/src/java.desktop/share/classes/sun/font/
H A DFontFamily.java59 * If this was the only font in the family, the family is removed
65 FontFamily family = getFamily(name);
66 if (family == null) {
69 if (family.plain == font2D) {
70 family.plain = null;
72 if (family.bold == font2D) {
73 family.bold = null;
75 if (family.italic == font2D) {
76 family
420 addLocaleNames(FontFamily family, String[] names) argument
[all...]
H A DSunFontManager.java579 public Font2DHandle getNewComposite(String family, int style, argument
589 if (family == null) {
590 family = oldFont.getFamilyName(null);
596 Font2D newFont = findFont2D(family, style, NO_FALLBACK);
683 FontFamily family = FontFamily.getFamily(f.familyName);
684 if (family == null) {
685 family = new FontFamily(f.familyName, true, rank);
687 family.setFont(f, f.style);
741 FontFamily family = FontFamily.getFamily(familyName);
742 if (family
3918 getFontConfigFUIR(String family, int style, int size) argument
[all...]
H A DFontManager.java67 * The name could be a family name, or a full name.
105 * @param family the font family of the derived font
111 public Font2DHandle getNewComposite(String family, int style, argument
/openjdk9/jdk/src/java.base/share/classes/java/net/
H A DInet4Address.java105 holder().family = IPv4;
110 holder().family = IPv4;
124 holder().family = IPv4;
144 * Prior to 1.4 an InetAddress was created with a family
147 * the InetAddress with this family.
149 inet.holder().family = 2;
/openjdk9/jdk/src/java.base/windows/classes/java/net/
H A DTwoStacksPlainDatagramSocketImpl.java129 int family = connectedAddress == null ? -1 : connectedAddress.holder().getFamily();
130 return socketLocalAddress(family);
212 protected native Object socketLocalAddress(int family) throws SocketException; argument
214 protected native void disconnect0(int family); argument
/openjdk9/jdk/test/java/nio/channels/DatagramChannel/
H A DPromiscuous.java59 ProtocolFamily family = (group instanceof Inet6Address) ?
61 DatagramChannel dc = DatagramChannel.open(family)
142 static void test(ProtocolFamily family, argument
149 System.out.format("%nTest family=%s%n", family.name());
151 DatagramChannel dc1 = (family == UNSPEC) ?
152 DatagramChannel.open() : DatagramChannel.open(family);
153 DatagramChannel dc2 = (family == UNSPEC) ?
154 DatagramChannel.open() : DatagramChannel.open(family);
H A DMulticastSendReceiveTests.java60 ProtocolFamily family = (group instanceof Inet6Address) ?
62 DatagramChannel dc = DatagramChannel.open(family)
147 static void test(ProtocolFamily family, argument
153 System.out.format("\nTest DatagramChannel to %s socket\n", family.name());
154 try (DatagramChannel dc = (family == UNSPEC) ?
155 DatagramChannel.open() : DatagramChannel.open(family)) {
166 if (family == UNSPEC) {
/openjdk9/jdk/src/java.base/unix/native/libnio/ch/
H A DInheritedChannel.c41 int family = sa->sa_family; local
44 return (family == AF_INET6);
47 return (family == AF_INET);
/openjdk9/jdk/src/java.desktop/unix/native/common/awt/
H A Dawt_Font.c189 char *family = NULL, *style = NULL, *slant = NULL, *encoding = NULL; local
215 family = start;
257 if (!strcmp(family, "lucidasans")) {
258 family = "lucida";
264 family, style, slant, pointSize, encoding);
270 family, altstyle, slant, pointSize, encoding);
280 family, style, slant, pixelSize, encoding);
286 family, altstyle, slant, pixelSize, encoding);
321 family, style, slant, pixelSize + i, encoding);
326 family, styl
601 jstring family = NULL; local
[all...]
/openjdk9/jdk/src/java.desktop/windows/native/libfontmanager/
H A Dfontpath.c92 jstring family; member in struct:GdiFontMapInfo
110 wchar_t *family; member in struct:CheckFamilyInfo
122 info->isDifferent = wcscmp(lpelfe->elfLogFont.lfFaceName, info->family);
125 /* wprintf(LFor font %s expected family=%s instead got %s\n", */
127 /* info->family, */
134 /* This HDC is initialised and released in the populate family map
140 static int DifferentFamily(wchar_t *family, wchar_t* fullName) { argument
144 /* If fullName can't be stored in the struct, assume correct family */
150 info.family = family;
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/nio/channels/
H A DDatagramChannel.java144 * The {@link #open(ProtocolFamily) open} allows the protocol family to be
160 * <p> The {@code family} parameter is used to specify the {@link
171 * @param family
172 * The protocol family
177 * If the specified protocol family is not supported. For example,
186 public static DatagramChannel open(ProtocolFamily family) throws IOException { argument
187 return SelectorProvider.provider().openDatagramChannel(family);
/openjdk9/jdk/src/jdk.management.agent/share/classes/sun/management/jdp/
H A DJdpBroadcaster.java71 ProtocolFamily family = (address instanceof Inet6Address)
74 channel = DatagramChannel.open(family);
/openjdk9/jdk/src/java.base/windows/native/libnet/
H A Dnet_util_md.c60 { WSAEAFNOSUPPORT, 0, "Address family not supported by protocol family" },
83 { WSAEPFNOSUPPORT, 0, "Protocol family not supported" },
595 int family = a->sin6_family; local
597 if (family == AF_INET) {
672 int family = b->addr->sa.sa_family; local
677 if (family == AF_INET && (b->addr->sa4.sin_addr.s_addr != INADDR_ANY)) {
689 if (family == AF_INET6 && (!IN6_IS_ADDR_ANY(&b->addr->sa6.sin6_addr))) {
705 if (family == AF_INET) {
760 fd = (int)socket (family, sotyp
863 jint family = getInetAddress_family(env, iaObj); local
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DStyledEditorKit.java337 new FontFamilyAction("font-family-SansSerif", "SansSerif"),
338 new FontFamilyAction("font-family-Monospaced", "Monospaced"),
339 new FontFamilyAction("font-family-Serif", "Serif"),
489 * An action to set the font family in the associated
490 * JEditorPane. This will use the family specified as
492 * otherwise the family that was initialized with will be used.
510 * @param family the font family
512 public FontFamilyAction(String nm, String family) { argument
514 this.family
542 private String family; field in class:StyledEditorKit.FontFamilyAction
[all...]
H A DStyleContext.java195 String family = StyleConstants.getFontFamily(attr);
208 return getFont(family, style, size);
243 * @param family the font family (such as "Monospaced")
248 public Font getFont(String family, int style, int size) { argument
249 fontSearch.setValue(family, style, size);
260 && defaultFont.getFamily().equalsIgnoreCase(family)) {
265 f = new Font(family, style, size);
270 FontKey key = new FontKey(family, style, size);
1221 private String family; field in class:StyleContext.FontKey
1228 FontKey(String family, int style, int size) argument
1232 setValue(String family, int style, int size) argument
[all...]
/openjdk9/jdk/src/java.base/share/native/libnet/
H A Dnet_util.c95 /* The address, and family fields used to be in InetAddress
177 void setInetAddress_family(JNIEnv *env, jobject iaObj, int family) { argument
179 (*env)->SetIntField(env, holder, iac_familyID, family);
239 jint family = getInetAddress_family(env, iaObj) == local
245 if (family == AF_INET6) {
257 if (family == AF_INET) {
271 if (family != AF_INET) {
/openjdk9/jdk/test/java/rmi/testlibrary/
H A DRMIDSelectorProvider.java59 public DatagramChannel openDatagramChannel(ProtocolFamily family) argument
62 return provider.openDatagramChannel(family);

Completed in 308 milliseconds

123