Searched refs:resource (Results 76 - 100 of 128) sorted by relevance

123456

/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/
H A DContextFactory.java287 final String resource = pkg.replace('.', '/') + "/jaxb.index";
288 final InputStream resourceAsStream = classLoader.getResourceAsStream(resource);
313 throw new JAXBException(Messages.ERROR_LOADING_CLASS.format(className, resource),e);
/openjdk9/jdk/test/java/util/logging/modules/pkgs/p3/test/
H A DResourceBundleTest.java43 "which uses a resource bundle %s bundled in " +
44 "%s module. ( The package in which the resource is " +
80 * Should be able to access class/property resource bundle in current module,
90 Logger.getLogger("mylogger.a", "p3.resource.ClassResource"),
91 p3.resource.ClassResource.class,
94 ModuleLoggerAccess.getLogger("mylogger.b", "p2.resource.ClassResource"),
101 Logger.getLogger("mylogger.c", "p3.resource.p"),
105 ModuleLoggerAccess.getLogger("mylogger.d", "p2.resource.p"),
119 * MissingResourceException should be thrown when access class/property resource bundle
129 // class resource bundl
[all...]
/openjdk9/langtools/make/gensrc/
H A DGensrcCommon.gmk34 # The compileprops tools compiles a properties file into a resource bundle.
65 # Lookup the properties that need to be compiled into resource bundles.
90 # Now setup the rule for the generation of the resource bundles.
94 $(ECHO) Compiling $$(words $$(PROPSOURCES)) properties into resource bundles for $(MODULE)
119 # Now setup the rule for the generation of the resource bundles.
/openjdk9/jdk/test/javax/management/modelmbean/SimpleModelMBean/
H A DSimpleModelMBeanCommand.java107 Resource resource = new Resource();
193 "Resourcish resource",
201 new Object[] {resource, "objectReference"},
/openjdk9/jdk/test/javax/management/modelmbean/
H A DRequiredModelMBeanGetAttributeTest.java270 mmb.setManagedResource(resource, "ObjectReference");
405 private static Resource resource = new Resource(); field in class:RequiredModelMBeanGetAttributeTest
/openjdk9/jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/
H A DGetAllDescriptorsTest.java106 Resource resource = new Resource();
192 "Resourcish resource",
200 new Object[] {resource, "objectReference"},
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DDLSSoundbank.java1260 public void addResource(SoundbankResource resource) { argument
1261 if (resource instanceof DLSInstrument)
1262 instruments.add((DLSInstrument) resource);
1263 if (resource instanceof DLSSample)
1264 samples.add((DLSSample) resource);
1267 public void removeResource(SoundbankResource resource) { argument
1268 if (resource instanceof DLSInstrument)
1269 instruments.remove(resource);
1270 if (resource instanceof DLSSample)
1271 samples.remove(resource);
1274 addInstrument(DLSInstrument resource) argument
1278 removeInstrument(DLSInstrument resource) argument
[all...]
/openjdk9/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/
H A DContextFinder.java487 * If run on JPMS package containing resource must be open unconditionally.
489 * @param classLoader classloader to load resource with
490 * @param resourceName qualified name of the resource
491 * @return resource url if found
509 * return a string representation of the URL that points to the resource.
601 final String resource = "META-INF/services/" + jaxbContextFQCN;
605 ClassLoader.getSystemResourceAsStream(resource) :
606 classLoader.getResourceAsStream(resource);
618 logger.log(Level.FINE, "Unable to load:{0}", resource);
629 logger.log(Level.SEVERE, "Unable to close resource
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/spi/db/
H A DJAXBWrapperAccessor.java301 final Object resource = (type.isPrimitive() && val == null)? uninitializedValue(type): val;
304 field.set(instance, resource);
315 field.set(instance, resource);
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/
H A DJCodeModel.java300 * Other resource files are generated into this directory.
338 public void build( CodeWriter source, CodeWriter resource ) throws IOException {
342 pkg.build(source,resource);
348 resource.close();
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/
H A DInit.java93 System.getProperty("com.sun.org.apache.xml.internal.security.resource.config");
114 // Load the Resource Bundle - the default is the English resource bundle.
115 // To load another resource bundle, call I18n.init(...) before calling this
201 Element resource = (Element)el;
203 Attr langAttr = resource.getAttributeNode("defaultLanguageCode");
204 Attr countryAttr = resource.getAttributeNode("defaultCountryCode");
/openjdk9/jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver/
H A DMBeanIntrospector.java387 * Return the MBeanInfo for the given resource, based on the given
390 final MBeanInfo getMBeanInfo(Object resource, PerInterface<M> perInterface) { argument
392 getClassMBeanInfo(resource.getClass(), perInterface);
393 MBeanNotificationInfo[] notifs = findNotifications(resource);
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jimage/
H A DJImageTask.java165 private static final int EXIT_SYSERR = 3; // System error or resource exhaustion.
289 File resource = new File(directory, name);
290 File parent = resource.getParentFile();
303 Files.write(resource.toPath(), bytes);
/openjdk9/jdk/src/java.base/unix/native/libnio/ch/
H A DIOUtil.c28 #include <sys/resource.h>
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/
H A DAbstractIndexWriter.java399 Content resource = contents.getContent(utils.isStatic(member)
402 contentTree.addContent(resource);
407 Content resource = contents.getContent(utils.isStatic(member)
410 contentTree.addContent(resource);
/openjdk9/hotspot/src/share/vm/adlc/
H A Dformsopt.hpp414 unsigned _resmask; // Resource Mask (OR of resource specifier bits)
461 const char *_stage; // Stage the resource is used in
462 int _cycles; // Number of cycles the resource is used
465 PipeClassResourceForm(const char *resource, const char *stage, int cycles) argument
467 : _resource(resource)
490 FormList _resUsage; // List of resource usage
H A Doutput_h.cpp841 const char *resource; local
843 for ( _pipeline->_reslist.reset(); (resource = _pipeline->_reslist.iter()) != NULL; ) {
844 int mask = _pipeline->_resdict[resource]->is_resource()->mask();
1057 fprintf(fp_hpp, "//const Pipeline_Use_Cycle_Mask& resourceUseMask(int resource) const {\n");
1058 fprintf(fp_hpp, "// return (_resource_use_masks[resource]); }\n\n");
2256 const char *resource; local
2260 for ( _pipeline->_reslist.reset(); (resource = _pipeline->_reslist.iter()) != NULL; ) {
2261 int len = (int)strlen(resource);
2266 for ( _pipeline->_reslist.reset(); (resource = _pipeline->_reslist.iter()) != NULL; ) {
2267 const ResourceForm *resform = _pipeline->_resdict[resource]
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicLookAndFeel.java1946 * identifies the sound resource to load when
1948 * sound resource is loaded into a {@code byte[]} by way of
1970 * not. Store the resource String. I is used to get the audio
1971 * resource. In this case, the resource is an audio file.
1986 * points to the audio resource.
1989 public AudioAction(String name, String resource) { argument
1991 audioResource = resource;
2062 /* Copy resource into a byte array. This is
2073 InputStream resource
[all...]
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DLower.java1382 /** A scope containing all unnamed resource variables/saved
1524 * final VariableModifiers_minus_final R #resource = Expression;
1533 * if (#resource != null) {
1536 * #resource.close();
1541 * #resource.close();
1568 // Add resource declaration or expression to block statements
1570 JCTree resource = resources.head;
1573 if (resource instanceof JCVariableDecl) {
1574 JCVariableDecl var = (JCVariableDecl) resource;
1575 expr = make.Ident(var.sym).setType(resource
1640 makeTwrFinallyClause(Symbol primaryException, JCExpression resource, boolean resourceNonNull) argument
1722 makeTwrCloseStatement(Symbol primaryException, JCExpression resource) argument
1750 makeResourceCloseInvocation(JCExpression resource) argument
[all...]
/openjdk9/jdk/src/jdk.management/linux/native/libmanagement_ext/
H A DUnixOperatingSystem.c32 #include <sys/resource.h>
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/
H A DAbstractDoclet.java136 messages.error("doclet.exception.read.resource",
137 e.resource.getPath(), e.getCause());
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsLookAndFeel.java2033 * not. Store the resource String. It is used to get the audio
2034 * resource. In this case, the resource is a <code>Runnable</code>
2047 * the underlying OSes audio resource.
2049 public AudioAction(String name, String resource) { argument
2051 audioResource = resource;
2067 * otherwise gets it from an image resource file.
2071 private String resource; field in class:WindowsLookAndFeel.LazyWindowsIcon
2073 LazyWindowsIcon(String nativeImage, String resource) { argument
2075 this.resource
[all...]
/openjdk9/jdk/src/java.base/share/classes/sun/util/locale/provider/
H A DLocaleResources.java446 ResourceBundle resource = localeData.getNumberFormatData(locale);
447 numberPatterns = resource.getStringArray("NumberPatterns");
456 * Returns the FormatData resource bundle of this LocaleResources.
/openjdk9/hotspot/src/jdk.hotspot.agent/solaris/native/libsaproc/
H A Dlibproc.h55 #include <sys/resource.h>
/openjdk9/jdk/src/java.base/macosx/native/libnet/
H A Dbsd_close.c37 #include <sys/resource.h>

Completed in 242 milliseconds

123456