| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ | 
| D | ConverterTest.java | 32 …final TypedResource<String> resource = new TypedResource<>(" 100 ", ResType.CHAR_SEQUENCE, xmlCont…  in fromCharSequence_asInt_shouldHandleSpacesInString()  local 38 …final TypedResource<String> resource = new TypedResource<>(" Robolectric ", ResType.CHAR_SEQUENCE,…  in fromCharSequence_asCharSequence_shouldHandleSpacesInString()  local 44 …final TypedResource<String> resource = new TypedResource<>(" #aaaaaa ", ResType.COLOR, xmlContext);  in fromColor_asInt_shouldHandleSpacesInString()  local 50 …final TypedResource<String> resource = new TypedResource<>(" #aaaaaa ", ResType.DRAWABLE, xmlConte…  in fromDrawableValue_asInt_shouldHandleSpacesInString()  local 56 …  final TypedResource<String> resource = new TypedResource<>(" 100 ", ResType.INTEGER, xmlContext);  in fromInt_asInt_shouldHandleSpacesInString()  local
  | 
| /external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ | 
| D | ConverterTest.java | 31     final TypedResource<String> resource =  in fromCharSequence_asInt_shouldHandleSpacesInString()  local 38     final TypedResource<String> resource =  in fromCharSequence_asCharSequence_shouldHandleSpacesInString()  local 46     final TypedResource<String> resource =  in fromColor_asInt_shouldHandleSpacesInString()  local 53     final TypedResource<String> resource =  in fromDrawableValue_asInt_shouldHandleSpacesInString()  local 60     final TypedResource<String> resource =  in fromInt_asInt_shouldHandleSpacesInString()  local
  | 
| /external/skia/src/gpu/ganesh/ | 
| D | GrResourceCache.cpp | 70 void GrResourceCache::insertResource(GrGpuResource* resource) {  in insertResource() 104 void GrResourceCache::removeResource(GrGpuResource* resource) {  in removeResource() 198 void GrResourceCache::refResource(GrGpuResource* resource) {  in refResource() 212     GrGpuResource* resource = fScratchMap.find(scratchKey);  in findAndRefScratchResource()  local 221 void GrResourceCache::willRemoveScratchKey(const GrGpuResource* resource) {  in willRemoveScratchKey() 229 void GrResourceCache::removeUniqueKey(GrGpuResource* resource) {  in removeUniqueKey() 249 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const skgpu::UniqueKey& newKey) {  in changeUniqueKey() 291 void GrResourceCache::refAndMakeResourceMRU(GrGpuResource* resource) {  in refAndMakeResourceMRU() 312 void GrResourceCache::notifyARefCntReachedZero(GrGpuResource* resource,  in notifyARefCntReachedZero() 394 void GrResourceCache::didChangeBudgetStatus(GrGpuResource* resource) {  in didChangeBudgetStatus() [all …] 
 | 
| D | GrResourceCache.h | 74     ReturnResourceFromThread(sk_sp<T>&& resource, GrDirectContext::DirectContextID id) {  in ReturnResourceFromThread() 152         GrGpuResource* resource = fUniqueHash.find(key);  in findAndRefUniqueResource()  local 282         UnrefResourceMessage(sk_sp<GrGpuResource>&& resource,  in UnrefResourceMessage() 413     void insertResource(GrGpuResource* resource) { fCache->insertResource(resource); }  in insertResource() 418     void removeResource(GrGpuResource* resource) { fCache->removeResource(resource); }  in removeResource() 424     void refResource(GrGpuResource* resource) { fCache->refResource(resource); }  in refResource() 440     void notifyARefCntReachedZero(GrGpuResource* resource,  in notifyARefCntReachedZero() 448     void changeUniqueKey(GrGpuResource* resource, const skgpu::UniqueKey& newKey) {  in changeUniqueKey() 455     void removeUniqueKey(GrGpuResource* resource) { fCache->removeUniqueKey(resource); }  in removeUniqueKey() 460     void willRemoveScratchKey(const GrGpuResource* resource) {  in willRemoveScratchKey() [all …] 
 | 
| /external/skia/tools/ | 
| D | Resources.cpp | 26 SkString GetResourcePath(const char* resource) {  in GetResourcePath() 30 void SetResourcePath(const char* resource) {  in SetResourcePath() 40 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource, bool useFileStream) {  in GetResourceAsStream() 51 sk_sp<SkData> GetResourceAsData(const char* resource) {  in GetResourceAsData() 64 sk_sp<SkTypeface> MakeResourceAsTypeface(const char* resource, int ttcIndex) {  in MakeResourceAsTypeface()
  | 
| /external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/testing/ | 
| D | FakeFileBackendTest.java | 73     try (Closeable resource = backend.openForRead(uri)) {}  in throwsExceptions_forRead() 75     try (Closeable resource = nativeOpen.second) {}  in throwsExceptions_forRead() 86     try (Closeable resource = backend.openForWrite(uri)) {}  in throwsExceptions_forWrite() 87     try (Closeable resource = backend.openForAppend(uri)) {}  in throwsExceptions_forWrite() 145     try (Closeable resource = backend.openForRead(uri)) {}  in throwsExceptions_forAll() 146     try (Closeable resource = backend.openForWrite(uri)) {}  in throwsExceptions_forAll()
  | 
| /external/mesa3d/src/gallium/drivers/swr/ | 
| D | swr_resource.h | 65 swr_resource(struct pipe_resource *resource)  in swr_resource() 71 swr_resource_is_texture(const struct pipe_resource *resource)  in swr_resource_is_texture() 93 swr_resource_data(struct pipe_resource *resource)  in swr_resource_data() 128 swr_resource_read(struct pipe_resource *resource)  in swr_resource_read() 134 swr_resource_write(struct pipe_resource *resource)  in swr_resource_write() 140 swr_resource_unused(struct pipe_resource *resource)  in swr_resource_unused()
  | 
| /external/arm-trusted-firmware/plat/imx/common/sci/svc/pm/ | 
| D | pm_rpc_clnt.c | 90 sc_err_t sc_pm_set_resource_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_set_resource_power_mode() 109 sc_err_t sc_pm_get_resource_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_get_resource_power_mode() 131 sc_err_t sc_pm_req_low_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_req_low_power_mode() 150 sc_err_t sc_pm_req_cpu_low_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_req_cpu_low_power_mode() 171 sc_err_t sc_pm_set_cpu_resume_addr(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_set_cpu_resume_addr() 191 sc_err_t sc_pm_set_cpu_resume(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_set_cpu_resume() 212 sc_err_t sc_pm_req_sys_if_power_mode(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_req_sys_if_power_mode() 235 sc_err_t sc_pm_set_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_set_clock_rate() 256 sc_err_t sc_pm_get_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_get_clock_rate() 279 sc_err_t sc_pm_clock_enable(sc_ipc_t ipc, sc_rsrc_t resource,  in sc_pm_clock_enable() [all …] 
 | 
| /external/wayland/src/ | 
| D | wayland-server.c | 145 log_closure(struct wl_resource *resource,  in log_closure() 173 verify_objects(struct wl_resource *resource, uint32_t opcode,  in verify_objects() 203 handle_array(struct wl_resource *resource, uint32_t opcode,  in handle_array() 235 wl_resource_post_event_array(struct wl_resource *resource, uint32_t opcode,  in wl_resource_post_event_array() 242 wl_resource_post_event(struct wl_resource *resource, uint32_t opcode, ...)  in wl_resource_post_event() 258 wl_resource_queue_event_array(struct wl_resource *resource, uint32_t opcode,  in wl_resource_queue_event_array() 265 wl_resource_queue_event(struct wl_resource *resource, uint32_t opcode, ...)  in wl_resource_queue_event() 280 wl_resource_post_error_vargs(struct wl_resource *resource,  in wl_resource_post_error_vargs() 305 wl_resource_post_error(struct wl_resource *resource,  in wl_resource_post_error() 327 	struct wl_resource *resource;  in wl_client_connection_data()  local [all …] 
 | 
| D | wayland-shm.c | 60 	struct wl_resource *resource;  member 70 	struct wl_resource *resource;  member 123 destroy_buffer(struct wl_resource *resource)  in destroy_buffer() 133 shm_buffer_destroy(struct wl_client *client, struct wl_resource *resource)  in shm_buffer_destroy() 164 shm_pool_create_buffer(struct wl_client *client, struct wl_resource *resource,  in shm_pool_create_buffer() 218 destroy_pool(struct wl_resource *resource)  in destroy_pool() 226 shm_pool_destroy(struct wl_client *client, struct wl_resource *resource)  in shm_pool_destroy() 232 shm_pool_resize(struct wl_client *client, struct wl_resource *resource,  in shm_pool_resize() 262 shm_create_pool(struct wl_client *client, struct wl_resource *resource,  in shm_create_pool() 334 	struct wl_resource *resource;  in bind_shm()  local [all …] 
 | 
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/ | 
| D | DataSourceContractTest.java | 120       TestResource resource = resources.get(i);  in unboundedDataSpec_readUntilEnd()  local 147       TestResource resource = resources.get(i);  in dataSpecWithPosition_readUntilEnd()  local 178       TestResource resource = resources.get(i);  in dataSpecWithLength_readExpectedRange()  local 202       TestResource resource = resources.get(i);  in dataSpecWithPositionAndLength_readExpectedRange()  local 231       TestResource resource = resources.get(i);  in dataSpecWithPositionAtEnd_readsZeroBytes()  local 264       TestResource resource = resources.get(i);  in dataSpecWithPositionAtEndAndLength_readsZeroBytes()  local 299       TestResource resource = resources.get(i);  in dataSpecWithPositionOutOfRange_throwsPositionOutOfRangeException()  local 321       TestResource resource = resources.get(i);  in dataSpecWithEndPositionOutOfRange_readsToEnd()  local 361       TestResource resource = resources.get(i);  in unboundedDataSpecWithGzipFlag_readUntilEnd()  local 411       TestResource resource = resources.get(i);  in transferListenerCallbacks()  local [all …] 
 | 
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/ | 
| D | DataSourceContractTest.java | 120       TestResource resource = resources.get(i);  in unboundedDataSpec_readUntilEnd()  local 147       TestResource resource = resources.get(i);  in dataSpecWithPosition_readUntilEnd()  local 178       TestResource resource = resources.get(i);  in dataSpecWithLength_readExpectedRange()  local 202       TestResource resource = resources.get(i);  in dataSpecWithPositionAndLength_readExpectedRange()  local 231       TestResource resource = resources.get(i);  in dataSpecWithPositionAtEnd_readsZeroBytes()  local 264       TestResource resource = resources.get(i);  in dataSpecWithPositionAtEndAndLength_readsZeroBytes()  local 299       TestResource resource = resources.get(i);  in dataSpecWithPositionOutOfRange_throwsPositionOutOfRangeException()  local 321       TestResource resource = resources.get(i);  in dataSpecWithEndPositionOutOfRange_readsToEnd()  local 361       TestResource resource = resources.get(i);  in unboundedDataSpecWithGzipFlag_readUntilEnd()  local 411       TestResource resource = resources.get(i);  in transferListenerCallbacks()  local [all …] 
 | 
| /external/ltp/testcases/kernel/syscalls/getrlimit/ | 
| D | getrlimit03.c | 62 static int getrlimit_u64(int resource, struct rlimit64 *rlim)  in getrlimit_u64() 78 static int getrlimit_ulong(int resource, struct rlimit_ulong *rlim)  in getrlimit_ulong() 91 static int getrlimit_long(int resource, struct rlimit_long *rlim)  in getrlimit_long() 97 static int compare_retval(int resource, int ret_u64, int errno_u64,  in compare_retval() 112 static int compare_u64_ulong(int resource, uint64_t val_u64,  in compare_u64_ulong() 127 static int compare_u64_long(int resource, uint64_t val_u64, long val_l,  in compare_u64_long() 142 static void run(unsigned int resource)  in run()
  | 
| /external/skia/src/gpu/graphite/ | 
| D | ResourceCache.cpp | 63 void ResourceCache::insertResource(Resource* resource) {  in insertResource() 102     Resource* resource = fResourceMap.find(key);  in findAndRefResource()  local 126 void ResourceCache::refAndMakeResourceMRU(Resource* resource) {  in refAndMakeResourceMRU() 141 bool ResourceCache::returnResource(Resource* resource, LastRemovedRef removedRef) {  in returnResource() 222 void ResourceCache::returnResourceToCache(Resource* resource, LastRemovedRef removedRef) {  in returnResourceToCache() 269 void ResourceCache::addToNonpurgeableArray(Resource* resource) {  in addToNonpurgeableArray() 275 void ResourceCache::removeFromNonpurgeableArray(Resource* resource) {  in removeFromNonpurgeableArray() 287 void ResourceCache::removeFromPurgeableQueue(Resource* resource) {  in removeFromPurgeableQueue() 438         fResourceMap.foreach([&](const Resource& resource) {  in validate()
  | 
| /external/bazelbuild-rules_android/src/tools/ak/finalrjar/ | 
| D | finalrjar.go | 146 type resource struct {  struct 147 	ID      string 148 	resType string 149 	varType string 152 func (r *resource) String() string { 265 func groupResByType(resC <-chan *resource) map[string][]*resource { 284 func writeRJavas(outRJava, outRootRJava io.Writer, resMap map[string][]*resource, pkg, rootPackage …
  | 
| /external/mesa3d/src/egl/wayland/wayland-drm/ | 
| D | wayland-drm.c | 43 destroy_buffer(struct wl_resource *resource)  in destroy_buffer() 53 buffer_destroy(struct wl_client *client, struct wl_resource *resource)  in buffer_destroy() 59 create_buffer(struct wl_client *client, struct wl_resource *resource,  in create_buffer() 109 drm_create_buffer(struct wl_client *client, struct wl_resource *resource,  in drm_create_buffer() 136                          struct wl_resource *resource,  in drm_create_planar_buffer() 165                         struct wl_resource *resource,  in drm_create_prime_buffer() 179 		 struct wl_resource *resource, uint32_t id)  in drm_authenticate() 202 	struct wl_resource *resource;  in bind_drm()  local
  | 
| /external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ | 
| D | SharedResourcePool.java | 23   private final SharedResourceHolder.Resource<T> resource;  field in SharedResourcePool 25   private SharedResourcePool(SharedResourceHolder.Resource<T> resource) {  in SharedResourcePool() 29   public static <T> SharedResourcePool<T> forResource(SharedResourceHolder.Resource<T> resource) {  in forResource()
  | 
| D | SharedResourceHolder.java | 73   public static <T> T get(Resource<T> resource) {  in get() 91   public static <T> T release(final Resource<T> resource, final T instance) {  in release() 101   synchronized <T> T getInternal(Resource<T> resource) {  in getInternal() 118   synchronized <T> T releaseInternal(final Resource<T> resource, final T instance) {  in releaseInternal()
  | 
| /external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/ | 
| D | ReleasableResource.java | 27   @Nullable private T resource;  field in ReleasableResource 29   private ReleasableResource(T resource) {  in ReleasableResource() 38   public static <T extends Closeable> ReleasableResource<T> create(T resource) {  in create()
  | 
| /external/turbine/javatests/com/google/turbine/testing/ | 
| D | TestResources.java | 28   public static String getResource(Class<?> clazz, String resource) {  in getResource() 32   public static byte[] getResourceBytes(Class<?> clazz, String resource) {  in getResourceBytes() 33     try (InputStream is = requireNonNull(clazz.getResourceAsStream(resource), resource)) {  in getResourceBytes()  argument
  | 
| /external/mesa3d/src/gallium/auxiliary/util/ | 
| D | u_transfer.c | 8                               struct pipe_resource *resource,  in u_default_buffer_subdata() 43                                struct pipe_resource *resource,  in u_default_texture_subdata() 89                                    UNUSED struct pipe_resource *resource,  in u_default_resource_get_handle() 119                                 struct pipe_resource *resource,  in u_resource_get_handle_vtbl() 128                              struct pipe_resource *resource)  in u_resource_destroy_vtbl() 135                           struct pipe_resource *resource,  in u_transfer_map_vtbl()
  | 
| /external/libcups/cups/ | 
| D | getputfile.c | 36 	  const char *resource,		/* I - Resource name */  in cupsGetFd() 221 	    const char *resource,	/* I - Resource name */  in cupsGetFile() 289           const char *resource,		/* I - Resource name */  in cupsPutFd() 519             const char *resource,	/* I - Resource name */  in cupsPutFile()
  | 
| /external/guava/android/guava-tests/test/com/google/common/io/ | 
| D | ResourcesTest.java | 60     URL resource = getClass().getResource("testdata/i18n.txt");  in testToString()  local 72     URL resource = getClass().getResource("testdata/i18n.txt");  in testReadLines()  local 77     URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");  in testReadLines_withLineProcessor()  local 102     URL resource = getClass().getResource("testdata/i18n.txt");  in testCopyToOutputStream()  local
  | 
| /external/guava/guava-tests/test/com/google/common/io/ | 
| D | ResourcesTest.java | 60     URL resource = getClass().getResource("testdata/i18n.txt");  in testToString()  local 72     URL resource = getClass().getResource("testdata/i18n.txt");  in testReadLines()  local 77     URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");  in testReadLines_withLineProcessor()  local 102     URL resource = getClass().getResource("testdata/i18n.txt");  in testCopyToOutputStream()  local
  | 
| /external/webrtc/call/adaptation/ | 
| D | broadcast_resource_listener_unittest.cc | 87       .WillOnce([adapter2](rtc::scoped_refptr<Resource> resource,  in TEST() 97       .WillOnce([adapter1](rtc::scoped_refptr<Resource> resource,  in TEST() 104       .WillOnce([adapter2](rtc::scoped_refptr<Resource> resource,  in TEST() 105                            ResourceUsageState usage_state) {  in TEST()
  |