/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/ |
IsaDriver.c | 161 @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
177 ACPI_RESOURCE_HEADER_PTR Resources;
228 Status = Sio->GetResources (Sio, &Resources);
240 InitializeIsaIoInstance (IsaIoDevice, DevicePath, Resources);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Protocol/ |
NonDiscoverableDevice.h | 72 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Resources;
|
/external/libtextclassifier/utils/ |
resources.h | 28 // Class for accessing localized model resources. 29 class Resources { 31 explicit Resources(const ResourcePool* resources) : resources_(resources) {} 43 // c.f. developer.android.com/guide/topics/resources/multilingual-support 65 // Compresses resources in place. 66 bool CompressResources(ResourcePoolT* resources, 70 const std::string& resources,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
HexagonHazardRecognizer.h | 24 DFAPacketizer *Resources; 36 // The .new store uses different resources than a normal store, and the 38 // resources available (even if the .new version does). To help, the schedule 48 : Resources(ST.createDFAPacketizer(II)), TII(HII) { } 51 if (Resources) 52 delete Resources;
|
/external/guava/guava/src/com/google/common/io/ |
Resources.java | 35 * Provides utility methods for working with resources in the classpath. 37 * are usually not appropriate for HTTP or other non-classpath resources. 47 public final class Resources { 48 private Resources() {} 77 return "Resources.asByteSource(" + url + ")"; 139 * {@code Resources.asCharSource(url, charset).readLines()}. 182 * resources from the class path. In environments where different threads can 188 * loader that loaded this class ({@code Resources}) will be used instead. 195 Resources.class.getClassLoader());
|
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/ |
Resources.java | 31 /** Helper methods for working with resources. */ 32 final class Resources { 33 private Resources() {} 70 InputStream is = Resources.class.getResourceAsStream(resourceName);
|
/external/vulkan-validation-layers/tests/ |
vktestframework.h | 84 TBuiltInResource Resources;
|
/external/guava/guava-tests/test/com/google/common/io/ |
ResourcesTest.java | 40 * Unit test for {@link Resources}. 48 suite.addTest(ByteSourceTester.tests("Resources.asByteSource[URL]", 50 suite.addTest(CharSourceTester.tests("Resources.asCharSource[URL, Charset]", 58 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); 59 assertThat(Resources.toString(resource, Charsets.US_ASCII)) 64 byte[] data = Resources.toByteArray(classfile(Resources.class)); 73 Resources.readLines(resource, Charsets.UTF_8)); 92 List<String> result = Resources.readLines(resource, Charsets.US_ASCII, 102 Resources.copy(resource, out) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/GraphicsOutputDxe/ |
GraphicsOutput.c | 314 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Resources;
402 Status = PciIo->GetBarAttributes (PciIo, Index, NULL, (VOID**) &Resources);
405 gEfiCallerBaseName, Index, Resources->AddrRangeMin, Resources->AddrLen));
406 if ((Resources->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR) &&
407 (Resources->Len == (UINT16) (sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) - 3)) &&
408 (Resources->ResType == ACPI_ADDRESS_SPACE_TYPE_MEM) &&
409 (Resources->AddrLen >= GraphicsInfo->FrameBufferSize)
411 FrameBufferBase = Resources->AddrRangeMin;
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
Resources.java | 12 package org.jacoco.report.internal.html.resources; 25 public class Resources { 48 * Attaches resources to the report with the given root folder. 53 public Resources(final ReportOutputFolder root) { 54 folder = root.subFolder("jacoco-resources"); 96 * Copies all static resources into the report. 99 * if the resources can't be written to the report 125 final InputStream in = Resources.class.getResourceAsStream(name);
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
LogicalDylib.h | 38 : Resources(std::move(RHS.Resources)), 41 LogicalModuleResources Resources; 77 return LMH->Resources; 92 if (auto StubSym = LMH->Resources.findSymbol(Name, ExportedSymbolsOnly))
|
/development/tools/privapp_permissions/ |
privapp_permissions.py | 129 class Resources(object): 130 """A class that contains the resources needed to generate permissions. 140 self.adb = Resources._resolve_adb(adb_path) 141 self.aapt = Resources._resolve_aapt(aapt_path) 398 def create_permission_file(resources): 402 base_xml_files = itertools.chain(list_xml_files(resources.permissions_dir), 403 list_xml_files(resources.sysconfig_dir)) 407 priv_permissions = extract_priv_permissions(resources.aapt, 408 resources.framework_res_apk) 412 for priv_app in resources.privapp_apks [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
LegacySio.c | 43 ACPI_RESOURCE_HEADER_PTR Resources;
83 Status = Sio->GetResources (Sio, &Resources);
88 while (Resources.SmallHeader->Byte != ACPI_END_TAG_DESCRIPTOR) {
89 switch (Resources.SmallHeader->Byte) {
91 IoResource = (EFI_ACPI_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
96 FixedIoResource = (EFI_ACPI_FIXED_LOCATION_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
101 DmaResource = (EFI_ACPI_DMA_DESCRIPTOR *) Resources.SmallHeader;
107 IrqResource = (EFI_ACPI_IRQ_NOFLAG_DESCRIPTOR *) Resources.SmallHeader;
115 if (Resources.SmallHeader->Bits.Type == 0) {
116 Resources.SmallHeader = (ACPI_SMALL_RESOURCE_HEADER *) ((UINT8 *) Resources.SmallHeader [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/ |
PciHostBridge.c | 455 // When resources were assigned, it's not needed to expose
505 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Resources;
522 Resources = AllocatePool (
526 ASSERT (Resources != NULL);
528 for (Link = GetFirstNode (&HostBridge->RootBridges), Descriptor = Resources
572 // Terminate the root bridge resources.
581 // Terminate the host bridge resources.
588 PciHostBridgeResourceConflict (HostBridge->Handle, Resources);
589 FreePool (Resources);
663 @retval EFI_NOT_READY Resources have not been submitted yet. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/ |
Serial.c | 440 ACPI_RESOURCE_HEADER_PTR Resources;
504 Status = ParentIo.Sio->GetResources (ParentIo.Sio, &Resources);
506 Status = ParentIo.PciIo->GetBarAttributes (ParentIo.PciIo, BarIndex, NULL, (VOID **) &Resources);
515 while ((Resources.SmallHeader->Byte != ACPI_END_TAG_DESCRIPTOR) && (SerialDevice->BaseAddress == 0)) {
516 switch (Resources.SmallHeader->Byte) {
518 Io = (EFI_ACPI_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
525 FixedIo = (EFI_ACPI_FIXED_LOCATION_IO_PORT_DESCRIPTOR *) Resources.SmallHeader;
532 AddressSpace = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) Resources.SmallHeader;
542 if (Resources.SmallHeader->Bits.Type == 0) {
543 Resources.SmallHeader = (ACPI_SMALL_RESOURCE_HEADER *) ((UINT8 *) Resources.SmallHeader [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/ |
Virtio10.c | 151 VOID *Resources;
153 Status = PciIo->GetBarAttributes (PciIo, BarIndex, NULL, &Resources);
160 if (*(UINT8 *)Resources == ACPI_QWORD_ADDRESS_SPACE_DESCRIPTOR) {
163 Descriptor = Resources;
180 FreePool (Resources);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/ |
RTDyldObjectLinkingLayer.h | 216 // Release resources. 294 struct Resources { 299 using ResourcesGetter = std::function<Resources(VModuleKey)>;
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
Scheduler.h | 51 /// A descriptor for processor resources. 74 // resources, the number of bits set in this mask is equivalent to the 78 // A simple round-robin selector for processor resources. 96 // from the set. The algorithm would prioritize resources with a bigger 99 // In this example, there are three resources in the set, and 'ResourceC' 113 // Some instructions can only be issued on very specific pipeline resources. 129 // Buffered resources will have this field set to a positive number bigger 277 llvm::SmallDenseMap<uint64_t, UniqueResourceState> Resources; 279 // Keeps track of which resources are busy, and how many cycles are left 286 // Adds a new resource state in Resources, as well as a new descriptor i [all...] |
Instruction.h | 200 bool Reserved; // Resources associated to this segment must be reserved. 239 /// Helper used by class InstrDesc to describe how hardware resources 261 std::vector<std::pair<uint64_t, ResourceUsage>> Resources; 263 // A list of buffered resources consumed by this instruction. 273 // A zero latency instruction doesn't consume any scheduler resources. 274 bool isZeroLatency() const { return !MaxLatency && Resources.empty(); }
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
WindowsResource.cpp | 341 const WindowsResourceParser::TreeNode &Resources; 359 : MachineType(MachineType), Resources(Parser.getTree()), 388 SectionOneSize = Resources.getTreeSize(); 586 Queue.push(&Resources); 588 sizeof(coff_resource_dir_table) + (Resources.getStringChildren().size() + 589 Resources.getIDChildren().size()) *
|
/external/deqp-deps/glslang/StandAlone/ |
StandAlone.cpp | 138 TBuiltInResource Resources; 147 Resources = glslang::DefaultTBuiltInResource; 150 glslang::DecodeResourceLimits(&Resources, configString); 274 // *.conf => this is a config file that can set limits/resources [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 26 import android.content.res.Resources; 27 import android.content.res.Resources.NotFoundException; 65 private Resources mResources; 75 assertEquals(0, Resources.ID_NULL); 85 final Resources r = new Resources(am, dm, cfg); 104 XmlUtils.beginDocument(parser, "resources"); 131 private Resources getResources(final Configuration config, final int mcc, final int mnc, 148 return new Resources(assmgr, metrics, config); 151 private static void checkGetText1(final Resources res, final int resId [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
AndroidFacade.java | 97 public interface Resources { 112 private final Resources mResources; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiObjectManagementTests.cpp | 243 deUint32 maxResourceConsumers; // Maximum number of objects using same Object::Resources concurrently 283 typename Case::Resources resources; member in struct:vkt::api::__anon18859::Dependency 287 : resources (env, params) 288 , object (Case::create(env, resources, params)) 360 const typename Object::Resources res (env, params); 454 struct Resources 456 Resources (const Environment&, const Parameters&) {} 464 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters& params) 519 struct Resources [all...] |
/external/llvm/lib/CodeGen/ |
MachinePipeliner.cpp | 560 DFAPacketizer *Resources; 565 Resources(ST.getInstrInfo()->CreateTargetScheduleState(ST)) { 575 delete Resources; [all...] |