Home
last modified time | relevance | path

Searched defs:resource (Results 1 – 25 of 759) sorted by relevance

12345678910>>...31

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DConverterTest.java32 …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/
DConverterTest.java31 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/tools/
DResources.cpp25 SkString GetResourcePath(const char* resource) { in GetResourcePath()
29 void SetResourcePath(const char* resource) { in SetResourcePath()
39 std::unique_ptr<SkStreamAsset> GetResourceAsStream(const char* resource) { in GetResourceAsStream()
45 sk_sp<SkData> GetResourceAsData(const char* resource) { in GetResourceAsData()
58 sk_sp<SkTypeface> MakeResourceAsTypeface(const char* resource, int ttcIndex) { in MakeResourceAsTypeface()
/external/skia/src/gpu/
DGrResourceCache.cpp105 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource()
139 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource()
243 void GrResourceCache::refResource(GrGpuResource* resource) { in refResource()
268 GrGpuResource* resource = fScratchMap.find(scratchKey, AvailableForScratchUse()); in findAndRefScratchResource() local
277 void GrResourceCache::willRemoveScratchKey(const GrGpuResource* resource) { in willRemoveScratchKey()
285 void GrResourceCache::removeUniqueKey(GrGpuResource* resource) { in removeUniqueKey()
305 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const skgpu::UniqueKey& newKey) { in changeUniqueKey()
347 void GrResourceCache::refAndMakeResourceMRU(GrGpuResource* resource) { in refAndMakeResourceMRU()
368 void GrResourceCache::notifyARefCntReachedZero(GrGpuResource* resource, in notifyARefCntReachedZero()
450 void GrResourceCache::didChangeBudgetStatus(GrGpuResource* resource) { in didChangeBudgetStatus()
[all …]
/external/arm-trusted-firmware/plat/imx/common/sci/svc/pm/
Dpm_rpc_clnt.c90 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/mesa3d/src/gallium/drivers/swr/
Dswr_resource.h65 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/wayland/src/
Dwayland-server.c145 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 …]
Dwayland-shm.c60 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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DDataSourceContractTest.java120 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_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DDataSourceContractTest.java120 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/
Dgetrlimit03.c62 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/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c43 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/
DSharedResourcePool.java23 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()
DSharedResourceHolder.java73 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/mesa3d/src/gallium/auxiliary/util/
Du_transfer.c8 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/turbine/javatests/com/google/turbine/testing/
DTestResources.java29 public static String getResource(Class<?> clazz, String resource) { in getResource()
33 public static byte[] getResourceBytes(Class<?> clazz, String resource) { in getResourceBytes()
34 try (InputStream is = requireNonNull(clazz.getResourceAsStream(resource), resource)) { in getResourceBytes() argument
/external/Reactive-Extensions/RxCpp/Rx/v2/test/sources/
Dscope.cpp11 typedef rx::resource<std::vector<int>> resource; typedef
72 typedef rx::resource<std::vector<int>> resource; typedef
136 typedef rx::resource<int> resource; typedef
203 typedef rx::resource<int> resource; typedef
268 typedef rx::resource<int> resource; typedef
332 typedef rx::resource<int> resource; typedef
345 [&](resource){ in __anonac318f551202() argument
385 typedef rx::resource<int> resource; typedef
397 [&](resource) -> rx::observable<int> { in __anonac318f551502() argument
/external/libcups/cups/
Dgetputfile.c36 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/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java191 Resources resource = resourceEntry.getResources(); in getColor() local
235 Resources resource = resourceEntry.getResources(); in getDrawable() local
279 Resources resource = resourceEntry.getResources(); in getString() local
310 Resources resource = resourceEntry.getResources(); in getStringArray() local
345 Resources resource = resourceEntry.getResources(); in getBoolean() local
390 Resources resource = resourceEntry.getResources(); in getDimension() local
438 Resources resource = resourceEntry.getResources(); in getFraction() local
471 Resources resource = resourceEntry.getResources(); in getInteger() local
505 Resources resource = resourceEntry.getResources(); in getIllustrationResourceEntry() local
566 Resources resource = resourceEntry.getResources(); in adjustResourceEntryDayNightMode() local
[all …]
/external/guava/android/guava-tests/test/com/google/common/io/
DResourcesTest.java60 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/
DResourcesTest.java60 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/
Dbroadcast_resource_listener_unittest.cc87 .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()
/external/llvm/include/llvm/Support/
DCrashRecoveryContext.h122 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextCleanupBase()
140 T *resource) in CrashRecoveryContextDestructorCleanup()
153 CrashRecoveryContextDeleteCleanup(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextDeleteCleanup()
166 T *resource) in CrashRecoveryContextReleaseRefCleanup()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
DClassUsingTryWithResources.java58 try (SimpleResource resource = new SimpleResource()) { in simpleTryWithResources()
69 try (InheritanceResource resource = new InheritanceResource()) { in inheritanceTryWithResources()
76 try (SimpleResource resource = new SimpleResource()) { in checkSuppressedExceptions()
/external/opencensus-java/contrib/monitored_resource_util/src/test/java/io/opencensus/contrib/monitoredresource/util/
DMonitoredResourceTest.java45 AwsEc2InstanceMonitoredResource resource = in testAwsEc2InstanceMonitoredResource() local
55 GcpGceInstanceMonitoredResource resource = in testGcpGceInstanceMonitoredResource() local
65 GcpGkeContainerMonitoredResource resource = in testGcpGkeContainerMonitoredResource() local

12345678910>>...31