Searched defs:Resource (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DResource.java35 * The <code>Resource</code> class represents a resource.
37 public class Resource extends Element class in inherits:Element
59 Resource(Configuration conf, long resource) throws PoolsException method in class:Resource
93 public void transfer(Resource donor, long qty) throws PoolsException
110 public void transfer(Resource donor, List components)
177 * Indicates whether some other Resource is "equal to this one.
187 if (!(o instanceof Resource))
189 Resource other = (Resource) o;
/illumos-gate/usr/src/uts/intel/io/acpica/disassembler/
H A Ddmresrcl.c3 * Module Name: dmresrcl.c - "Large" Resource Descriptor disassembly
98 AML_RESOURCE *Resource,
114 AML_RESOURCE *Resource,
120 AML_RESOURCE *Resource);
279 * PARAMETERS: Resource - Raw AML descriptor
291 AML_RESOURCE *Resource,
300 ResourceType = Resource->Address.ResourceType;
301 SpecificFlags = Resource->Address.SpecificFlags;
302 Flags = Resource->Address.Flags;
311 "/**** Invalid Resource Typ
290 AcpiDmAddressCommon( AML_RESOURCE *Resource, UINT8 Type, UINT32 Level) argument
365 AcpiDmAddressFlags( AML_RESOURCE *Resource) argument
526 AcpiDmResourceSource( AML_RESOURCE *Resource, ACPI_SIZE MinimumTotalLength, UINT32 ResourceLength) argument
591 AcpiDmWordDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
638 AcpiDmDwordDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
685 AcpiDmQwordDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
732 AcpiDmExtendedDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
782 AcpiDmMemory24Descriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
823 AcpiDmMemory32Descriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
864 AcpiDmFixedMemory32Descriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
909 AcpiDmGenericRegisterDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
967 AcpiDmInterruptDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
1075 AcpiDmVendorLargeDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
[all...]
H A Ddmresrcl2.c3 * Module Name: dmresrcl2.c - "Large" Resource Descriptor disassembly (#2)
57 AML_RESOURCE *Resource,
64 AML_RESOURCE *Resource,
71 AML_RESOURCE *Resource,
78 AML_RESOURCE *Resource,
174 * Resource - Pointer to the resource descriptor
186 AML_RESOURCE *Resource,
199 if (Resource->Gpio.ResSourceOffset)
202 Resource, Resource
184 AcpiDmGpioCommon( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Level) argument
276 AcpiDmGpioIntDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
328 AcpiDmGpioIoDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
382 AcpiDmGpioDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
426 AcpiDmDumpSerialBusVendorData( AML_RESOURCE *Resource, UINT32 Level) argument
492 AcpiDmI2cSerialBusDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
568 AcpiDmSpiSerialBusDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
653 AcpiDmUartSerialBusDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
741 AcpiDmSerialBusDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
[all...]
H A Ddmresrcs.c3 * Module Name: dmresrcs.c - "Small" Resource Descriptor disassembly
58 * Resource - Pointer to the resource descriptor
71 AML_RESOURCE *Resource,
85 AcpiGbl_HeDecode [ACPI_GET_1BIT_FLAG (Resource->Irq.Flags)],
86 AcpiGbl_LlDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->Irq.Flags, 3)],
87 AcpiGbl_ShrDecode [ACPI_EXTRACT_2BIT_FLAG (Resource->Irq.Flags, 4)]);
96 AcpiDmBitList (Resource->Irq.IrqMask);
105 * Resource - Pointer to the resource descriptor
118 AML_RESOURCE *Resource,
125 AcpiGbl_TypDecode [ACPI_EXTRACT_2BIT_FLAG (Resource
69 AcpiDmIrqDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
116 AcpiDmDmaDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
155 AcpiDmFixedDmaDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
201 AcpiDmIoDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
248 AcpiDmFixedIoDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
288 AcpiDmStartDependentDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
329 AcpiDmEndDependentDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
359 AcpiDmVendorSmallDescriptor( ACPI_OP_WALK_INFO *Info, AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/acpica/resources/
H A Drsaddr.c68 /* Resource Type, General Flags, and Type-Specific Flags */
108 /* Resource Type, General Flags, and Type-Specific Flags */
148 /* Resource Type, General Flags, and Type-Specific Flags */
188 /* Resource Type, General Flags, and Type-Specific Flags */
223 /* Resource Type (Memory, Io, BusNumber, etc.) */
311 * PARAMETERS: Resource - Pointer to the internal resource struct
323 ACPI_RESOURCE *Resource,
329 /* Validate the Resource Type */
337 /* Get the Resource Type and General Flags */
340 Resource, Am
322 AcpiRsGetAddressCommon( ACPI_RESOURCE *Resource, AML_RESOURCE *Aml) argument
381 AcpiRsSetAddressCommon( AML_RESOURCE *Aml, ACPI_RESOURCE *Resource) argument
[all...]
H A Drscalc.c198 * PARAMETERS: Resource - Pointer to the resource linked list
212 ACPI_RESOURCE *Resource,
226 ResourceEnd = ACPI_ADD_PTR (ACPI_RESOURCE, Resource, ResourceListSize);
227 while (Resource < ResourceEnd)
231 if (Resource->Type > ACPI_RESOURCE_TYPE_MAX)
238 if (!Resource->Length)
245 TotalSize = AcpiGbl_AmlResourceSizes [Resource->Type];
251 switch (Resource->Type)
257 if (Resource->Data.Irq.DescriptorLength == 2)
268 if (Resource
211 AcpiRsGetAmlLength( ACPI_RESOURCE *Resource, ACPI_SIZE ResourceListSize, ACPI_SIZE *SizeNeeded) argument
[all...]
H A Drscreate.c75 void *Resource; local
102 Resource = ACPI_ALLOCATE_ZEROED (ListSizeNeeded);
103 CurrentResourcePtr = Resource;
104 if (!Resource)
109 /* Perform the AML-to-Resource conversion */
119 ACPI_FREE (Resource);
123 *ResourcePtr = Resource;
160 void *Resource; local
198 Resource = OutputBuffer->Pointer;
200 AcpiRsConvertAmlToResources, &Resource);
[all...]
H A Drsdump.c112 ACPI_RESOURCE_DATA *Resource);
116 void *Resource,
250 * PARAMETERS: Resource - Buffer containing the resource
261 void *Resource,
277 Target = ACPI_ADD_PTR (UINT8, Resource, Table->Offset);
288 AcpiOsPrintf ("%s Resource\n", Name);
443 * PARAMETERS: ResourceSource - Pointer to a Resource Source struct
464 AcpiRsOutInteger8 ("Resource Source Index",
467 AcpiRsOutString ("Resource Source",
477 * PARAMETERS: Resource
260 AcpiRsDumpDescriptor( void *Resource, ACPI_RSDUMP_INFO *Table) argument
487 AcpiRsDumpAddressCommon( ACPI_RESOURCE_DATA *Resource) argument
[all...]
H A Drslist.c77 ACPI_RESOURCE *Resource; local
90 Resource = *ResourcePtr;
91 if (ACPI_IS_MISALIGNED (Resource))
94 "Misaligned resource pointer %p", Resource));
133 Resource, AmlResource, ConversionTable);
144 Resource->Length));
148 *ResourcePtr = ACPI_NEXT_RESOURCE (Resource);
157 * PARAMETERS: Resource - Pointer to the resource linked list
174 ACPI_RESOURCE *Resource,
191 /* Validate the (internal) Resource Typ
173 AcpiRsConvertResourcesToAml( ACPI_RESOURCE *Resource, ACPI_SIZE AmlSizeNeeded, UINT8 *OutputBuffer) argument
[all...]
H A Drsmisc.c65 * PARAMETERS: Resource - Pointer to the resource descriptor
78 ACPI_RESOURCE *Resource,
100 if (((ACPI_SIZE) Resource) & 0x3)
106 Resource, Resource->Type, Resource->Length));
125 Destination = ACPI_ADD_PTR (void, Resource, Info->ResourceOffset);
133 memset (Resource, 0, INIT_RESOURCE_LENGTH (Info));
134 Resource->Type = INIT_RESOURCE_TYPE (Info);
135 Resource
77 AcpiRsConvertAmlToResource( ACPI_RESOURCE *Resource, AML_RESOURCE *Aml, ACPI_RSCONVERT_INFO *Info) argument
468 AcpiRsConvertResourceToAml( ACPI_RESOURCE *Resource, AML_RESOURCE *Aml, ACPI_RSCONVERT_INFO *Info) argument
[all...]
H A Drsxface.c76 ACPI_RESOURCE *Resource,
403 * PARAMETERS: Resource - Pointer to a resource
418 ACPI_RESOURCE *Resource,
425 if (!Resource || !Out)
432 switch (Resource->Type)
437 ACPI_RESOURCE_ADDRESS16, &Resource->Data);
444 ACPI_RESOURCE_ADDRESS32, &Resource->Data);
452 memcpy (Out, &Resource->Data, sizeof (ACPI_RESOURCE_ADDRESS64));
536 ACPI_RESOURCE *Resource,
547 if (Resource
535 AcpiRsMatchVendorResource( ACPI_RESOURCE *Resource, void *Context) argument
612 ACPI_RESOURCE *Resource; local
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/annotation/
H A DResource.java33 * The Resource annotation marks a resource that is needed
55 public @interface Resource { interface
/openjdk7/jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/
H A DGetAllDescriptorsTest.java42 public static class Resource { class in class:GetAllDescriptorsTest
105 Resource resource = new Resource();
106 Class resourceClass = Resource.class;
190 new ModelMBeanInfoSupport(Resource.class.getName(),
/openjdk7/jdk/test/javax/management/modelmbean/
H A DRequiredModelMBeanGetAttributeTest.java67 // Resource methods
70 Resource.class.getMethod("getNull", (Class[]) null);
72 Resource.class.getMethod("getInteger", (Class[]) null);
74 Resource.class.getMethod("getHashtable", (Class[]) null);
76 Resource.class.getMethod("getMap", (Class[]) null);
249 Resource.class.getName(),
250 "Resource MBean",
389 public static class Resource { class in class:RequiredModelMBeanGetAttributeTest
404 private static Resource resource = new Resource();
[all...]
H A DRequiredModelMBeanMethodTest.java76 Resource.class.getMethod("tralala",
77 new Class[] {int.class, Resource.class});
97 "class=" + Resource.class.getName(),
120 new ModelMBeanInfoSupport(Resource.class.getName(),
146 new ModelMBeanInfoSupport(Resource.class.getName(),
185 mbs.invoke(fullMMBName, Resource.class.getName() + ".load",
243 Resource.class.getName()});
315 public static class Resource { class in class:RequiredModelMBeanMethodTest
316 public String tralala(int x, Resource y) {
333 private static Resource resourc
[all...]
H A DRequiredModelMBeanSetAttributeTest.java94 Resource.class.getName(),
95 "Resource MBean",
150 public static class Resource { class in class:RequiredModelMBeanSetAttributeTest
159 private static Resource resource = new Resource();
H A DUnserializableTargetObjectTest.java60 public static class Resource { // not serializable! class in class:UnserializableTargetObjectTest
80 Resource resource1 = new Resource();
81 Resource resource2 = new Resource();
82 Resource resource3 = new Resource();
83 Method operationMethod = Resource.class.getMethod("operation");
84 Method getCountMethod = Resource.class.getMethod("getCount");
85 Method setCountMethod = Resource
[all...]
/openjdk7/jdk/test/javax/management/modelmbean/SimpleModelMBean/
H A DSimpleModelMBeanCommand.java43 public static class Resource { class in class:SimpleModelMBeanCommand
106 Resource resource = new Resource();
107 Class resourceClass = Resource.class;
191 new ModelMBeanInfoSupport(Resource.class.getName(),
/openjdk7/jdk/src/share/classes/sun/misc/
H A DResource.java40 * This class is used to represent a Resource that has been loaded
46 public abstract class Resource { class
48 * Returns the name of the Resource.
53 * Returns the URL of the Resource.
58 * Returns the CodeSource URL for the Resource.
63 * Returns an InputStream for reading the Resource data.
68 * Returns the length of the Resource data, or -1 if unknown.
83 * Returns the Resource data as an array of bytes.
156 * Returns the Resource data as a ByteBuffer, but only if the input stream
168 * Returns the Manifest for the Resource, o
[all...]
/openjdk7/langtools/test/tools/javac/T7179353/
H A DGenericsAndTWRCompileErrorTest.java33 public static class Resource<E extends Exception> implements AutoCloseable { class in class:GenericsAndTWRCompileErrorTest
38 try (Resource<E> r = new Resource<E>()) {
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DTwrTests.java67 try (Resource r0 = createResource(0, 0, 0, closedList)) {
68 throw new AssertionError("Resource creation succeeded");
69 } catch (Resource.CreateFailException e) {
75 } catch (Resource.CloseFailException e) {
87 try (Resource r0 = createResource(0, createFailureId, bitMap, closedList);
88 Resource r1 = createResource(1, createFailureId, bitMap, closedList)) {
90 } catch (Resource.CreateFailException e) {
94 } catch (Resource.CloseFailException e) {
108 try (Resource r0 = createResource(0, createFailureId, bitMap, closedList)) {
109 try(Resource r
693 class Resource implements AutoCloseable { class in inherits:AutoCloseable
703 Resource(int resourceId, boolean createSucceeds, boolean closeSucceeds, method in class:Resource
[all...]

Completed in 406 milliseconds