Home
last modified time | relevance | path

Searched refs:ResourceInfo (Results 1 – 14 of 14) sorted by relevance

/external/guava/android/guava/src/com/google/common/reflect/
DClassPath.java95 private final ImmutableSet<ResourceInfo> resources;
97 private ClassPath(ImmutableSet<ResourceInfo> resources) { in ClassPath()
127 public ImmutableSet<ResourceInfo> getResources() { in getResources()
180 public static class ResourceInfo { class in ClassPath
186 static ResourceInfo of(File file, String resourceName, ClassLoader loader) { in of()
190 return new ResourceInfo(file, resourceName, loader); in of()
194 ResourceInfo(File file, String resourceName, ClassLoader loader) { in ResourceInfo() method in ClassPath.ResourceInfo
256 if (obj instanceof ResourceInfo) { in equals()
257 ResourceInfo that = (ResourceInfo) obj; in equals()
276 public static final class ClassInfo extends ResourceInfo {
[all …]
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java95 private final ImmutableSet<ResourceInfo> resources;
97 private ClassPath(ImmutableSet<ResourceInfo> resources) { in ClassPath()
127 public ImmutableSet<ResourceInfo> getResources() { in getResources()
180 public static class ResourceInfo { class in ClassPath
186 static ResourceInfo of(File file, String resourceName, ClassLoader loader) { in of()
190 return new ResourceInfo(file, resourceName, loader); in of()
194 ResourceInfo(File file, String resourceName, ClassLoader loader) { in ResourceInfo() method in ClassPath.ResourceInfo
256 if (obj instanceof ResourceInfo) { in equals()
257 ResourceInfo that = (ResourceInfo) obj; in equals()
276 public static final class ClassInfo extends ResourceInfo {
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java37 import com.google.common.reflect.ClassPath.ResourceInfo;
73 new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader()), in testEquals()
74 new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader())) in testEquals()
75 .addEqualityGroup(new ResourceInfo(FILE, "x.txt", getClass().getClassLoader())) in testEquals()
229 new ResourceInfo(FILE, "left/some.txt", loader), in testScanDirectory_symlinkCycle()
230 new ResourceInfo(FILE, "left/sibling/another.txt", loader), in testScanDirectory_symlinkCycle()
231 new ResourceInfo(FILE, "right/another.txt", loader), in testScanDirectory_symlinkCycle()
232 new ResourceInfo(FILE, "right/sibling/some.txt", loader)), in testScanDirectory_symlinkCycle()
257 ImmutableSet.of(new ResourceInfo(FILE, "some.txt", loader)), scanner.getResources()); in testScanDirectory_symlinkToRootCycle()
515 for (ResourceInfo resource : classPath.getResources()) { in doTestExistsThrowsSecurityException()
[all …]
/external/crosvm/devices/src/virtio/
Dresource_bridge.rs37 pub enum ResourceInfo { enum
47 Resource(ResourceInfo),
92 ) -> std::result::Result<ResourceInfo, ResourceBridgeError> { in get_resource_info() argument
Dwl.rs68 get_resource_info, BufferInfo, ResourceBridgeError, ResourceInfo, ResourceRequest,
1109 Ok(ResourceInfo::Buffer(BufferInfo { file, .. })) => Some(file), in get_info()
1110 Ok(ResourceInfo::Fence { file }) => Some(file), in get_info()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DClassPathTest.java30 import com.google.common.reflect.ClassPath.ResourceInfo;
66 new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader()), in testEquals()
67 new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader())) in testEquals()
68 .addEqualityGroup(new ResourceInfo(FILE, "x.txt", getClass().getClassLoader())) in testEquals()
448 for (ResourceInfo resource : classPath.getResources()) { in doTestExistsThrowsSecurityException()
463 private static ResourceInfo resourceInfo(Class<?> cls) { in resourceInfo()
466 return ResourceInfo.of(FILE, resource, loader); in resourceInfo()
520 protected void scanResource(ResourceInfo resource) throws IOException { in scanResource()
553 protected void scanResource(ResourceInfo resource) {} in scanResource()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dpromote_resources_to_args.cc184 struct ResourceInfo { struct
199 llvm::SmallVector<ResourceInfo, 4> resources(function.getNumArguments()); in PromoteResourcesToArguments()
251 ResourceInfo& resource_info = resources[func_arg.getArgNumber()]; in PromoteResourcesToArguments()
264 ResourceInfo& resource_info = resources[func_arg.getArgNumber()]; in PromoteResourcesToArguments()
Doptimize_global_tensors.cc168 struct ResourceInfo { struct in mlir::tf_saved_model::__anon779c910b0111::ResourceAnalyzer
174 DenseMap<Value, ResourceInfo> resource_infos_;
Dresource_op_lifting.cc299 struct ResourceInfo { struct in mlir::__anon1f2fad2f0111::RegionResourceHoister
319 ResourceInfo() in ResourceInfo() argument
340 llvm::MapVector<Value, ResourceInfo> resources_;
372 ResourceInfo info; in Analyze()
473 ResourceInfo& info = resources_[resource]; in ReplaceResourceLoads()
500 const ResourceInfo& info = resources_[resource]; in AppendResourceStoreValueToReturn()
549 ResourceInfo& info = resources_[resource]; in ReplaceOpWithNewOp()
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DFormatterIntegrationTest.java29 import com.google.common.reflect.ClassPath.ResourceInfo;
59 for (ResourceInfo resourceInfo : ClassPath.from(classLoader).getResources()) { in data()
/external/crosvm/devices/src/virtio/gpu/
Dvirtio_gpu.rs12 use crate::virtio::resource_bridge::{BufferInfo, PlaneInfo, ResourceInfo, ResourceResponse};
449 ResourceResponse::Resource(ResourceInfo::Buffer(BufferInfo { in export_resource()
476 Ok(handle) => ResourceResponse::Resource(ResourceInfo::Fence { in export_fence()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs14 use crate::virtio::resource_bridge::{self, BufferInfo, ResourceInfo, ResourceRequest};
277 Ok(ResourceInfo::Buffer(buffer_info)) => Ok(buffer_info), in get_resource_info()
/external/ImageMagick/MagickCore/
Dresource.c107 } ResourceInfo; typedef
115 static ResourceInfo
/external/crosvm/devices/src/virtio/video/encoder/
Dmod.rs17 use crate::virtio::resource_bridge::{self, BufferInfo, ResourceInfo, ResourceRequest};
506 Ok(ResourceInfo::Buffer(buffer_info)) => Ok(buffer_info), in get_resource_info()