Searched refs:resource (Results 1 - 25 of 1297) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/ui/views/
H A Dtheme_image_mapper.cc9 int MapThemeImage(HostDesktopType desktop_type, int resource) { argument
10 return resource;
H A Dtheme_image_mapper.h12 // Maps the specified resource id to the appropriate one based on the supplied
14 int MapThemeImage(HostDesktopType desktop_type, int resource);
H A Dtheme_image_mapper_aura_win.cc11 int MapThemeImage(HostDesktopType desktop_type, int resource) { argument
13 return resource;
15 switch (resource) {
37 return resource;
/external/kernel-headers/original/asm-x86/
H A Dresource.h1 #include <asm-generic/resource.h>
/external/kernel-headers/original/asm-arm/
H A Dresource.h4 #include <asm-generic/resource.h>
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetResource.java22 public static String getResourceURL(String resource) { argument
23 return "http://" + Support_Configuration.TestResources + resource;
/external/chromium_org/ppapi/c/
H A Dppb_view.h41 * IsView() determines if the given resource is a valid
42 * <code>PPB_View</code> resource. Note that <code>PPB_ViewChanged</code>
46 * @param resource A <code>PP_Resource</code> corresponding to a
47 * <code>PPB_View</code> resource.
49 * @return <code>PP_TRUE</code> if the given resource supports
51 * resource or is a resource of another type.
53 PP_Bool (*IsView)(PP_Resource resource);
68 * @param resource A <code>PP_Resource</code> corresponding to a
69 * <code>PPB_View</code> resource
[all...]
/external/chromium/chrome/browser/automation/
H A Dautomation_resource_tracker.cc17 int AutomationResourceTrackerImpl::AddImpl(const void* resource) { argument
18 if (ContainsResourceImpl(resource))
19 return resource_to_handle_[resource];
24 resource_to_handle_[resource] = handle;
25 handle_to_resource_[handle] = resource;
27 AddObserverTypeProxy(resource);
32 void AutomationResourceTrackerImpl::RemoveImpl(const void* resource) { argument
33 if (!ContainsResourceImpl(resource))
36 int handle = resource_to_handle_[resource];
37 DCHECK_EQ(resource, handle_to_resource
50 ContainsResourceImpl(const void* resource) argument
66 GetHandleImpl(const void* resource) argument
75 HandleCloseNotification( const void* resource) argument
[all...]
H A Dautomation_resource_tracker.h41 virtual void AddObserverTypeProxy(const void* resource) = 0;
42 virtual void RemoveObserverTypeProxy(const void* resource) = 0;
44 int AddImpl(const void* resource);
45 void RemoveImpl(const void* resource);
47 bool ContainsResourceImpl(const void* resource);
50 int GetHandleImpl(const void* resource);
51 void HandleCloseNotification(const void* resource);
66 // a particular kind of application resource (like windows or tabs) for
68 // define are AddObserver and RemoveObserver for the given resource's
79 // resource closin
86 Add(T resource) argument
92 Remove(T resource) argument
98 ContainsResource(T resource) argument
116 GetHandle(T resource) argument
126 T resource = local
137 CloseResource(T resource) argument
143 AddObserverTypeProxy(const void* resource) argument
146 RemoveObserverTypeProxy(const void* resource) argument
[all...]
/external/chromium_org/chrome/browser/automation/
H A Dautomation_resource_tracker.cc17 int AutomationResourceTrackerImpl::AddImpl(const void* resource) { argument
18 if (ContainsResourceImpl(resource))
19 return resource_to_handle_[resource];
24 resource_to_handle_[resource] = handle;
25 handle_to_resource_[handle] = resource;
27 AddObserverTypeProxy(resource);
32 void AutomationResourceTrackerImpl::RemoveImpl(const void* resource) { argument
33 if (!ContainsResourceImpl(resource))
36 int handle = resource_to_handle_[resource];
37 DCHECK_EQ(resource, handle_to_resource
50 ContainsResourceImpl(const void* resource) argument
66 GetHandleImpl(const void* resource) argument
75 HandleCloseNotification( const void* resource) argument
[all...]
H A Dautomation_resource_tracker.h40 virtual void AddObserverTypeProxy(const void* resource) = 0;
41 virtual void RemoveObserverTypeProxy(const void* resource) = 0;
43 int AddImpl(const void* resource);
44 void RemoveImpl(const void* resource);
46 bool ContainsResourceImpl(const void* resource);
49 int GetHandleImpl(const void* resource);
50 void HandleCloseNotification(const void* resource);
65 // a particular kind of application resource (like windows or tabs) for
67 // define are AddObserver and RemoveObserver for the given resource's
78 // resource closin
85 Add(T resource) argument
91 Remove(T resource) argument
97 ContainsResource(T resource) argument
115 GetHandle(T resource) argument
125 T resource = content::Source<typename AutomationResourceTraits<T>:: local
136 CloseResource(T resource) argument
142 AddObserverTypeProxy(const void* resource) argument
145 RemoveObserverTypeProxy(const void* resource) argument
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dhost_resource.cc14 HostResource resource; local
15 resource.SetHostResource(instance, 0);
16 return resource;
19 void HostResource::SetHostResource(PP_Instance instance, PP_Resource resource) { argument
21 host_resource_ = resource;
H A Dscoped_pp_resource.cc8 #include "ppapi/shared_impl/resource.h"
16 ScopedPPResource::ScopedPPResource(PP_Resource resource) : id_(resource) { argument
20 ScopedPPResource::ScopedPPResource(const PassRef&, PP_Resource resource) argument
21 : id_(resource) {
24 ScopedPPResource::ScopedPPResource(Resource* resource) argument
25 : id_(resource ? resource->GetReference() : 0) {
38 ScopedPPResource& ScopedPPResource::operator=(PP_Resource resource) { argument
39 if (id_ == resource)
47 operator =( const ScopedPPResource& resource) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DResourceView.js34 WebInspector.ResourceView = function(resource)
39 this.element.addStyleClass("resource-view");
40 this.resource = resource;
53 * @param {WebInspector.Resource} resource
55 WebInspector.ResourceView.hasTextContent = function(resource)
57 if (resource.type.isTextType())
59 if (resource.type === WebInspector.resourceTypes.Other)
60 return resource.content && !resource
[all...]
/external/chromium_org/third_party/WebKit/Source/core/loader/cache/
H A DResourcePtr.cpp31 void ResourcePtrBase::setResource(Resource* resource) argument
33 if (resource == m_resource)
37 m_resource = resource;
/external/chromium_org/ppapi/c/dev/
H A Dppb_view_dev.h38 * @param[in] resource A <code>PP_Resource</code> corresponding to a
39 * <code>PPB_View</code> resource.
42 * per DIP. If the resource is invalid, the value will be 0.0.
44 float (*GetDeviceScale)(PP_Resource resource);
50 * @param[in] resource A <code>PP_Resource</code> corresponding to a
51 * <code>PPB_View</code> resource.
54 * DIPs per CSS pixel. If the resource is invalid, the value will be 0.0.
56 float (*GetCSSScale)(PP_Resource resource);
H A Dppb_buffer_dev.h38 * Returns PP_TRUE if the given resource is a Buffer. Returns PP_FALSE if the
39 * resource is invalid or some type other than a Buffer.
41 PP_Bool (*IsBuffer)(PP_Resource resource);
44 * if the resource is not a buffer. On failure, |*size_in_bytes| is not set.
46 PP_Bool (*Describe)(PP_Resource resource, uint32_t* size_in_bytes);
51 void* (*Map)(PP_Resource resource);
55 void (*Unmap)(PP_Resource resource);
H A Dppb_graphics_2d_dev.h35 * scale of 1.0 / GetDeviceScale(). For example, if the view resource passed
41 * @param[in] resource A <code>Graphics2D</code> context resource.
45 * the resource is invalid or the scale factor is 0 or less.
47 PP_Bool (*SetScale)(PP_Resource resource, float scale);
52 * @param[in] resource A <code>Graphics2D</code> context resource.
54 * @return Returns the scale factor for the graphics context. If the resource
57 float (*GetScale)(PP_Resource resource);
/external/chromium_org/ppapi/proxy/
H A Dmock_resource.cc10 MockResource::MockResource(const HostResource& resource) argument
11 : Resource(OBJECT_IS_PROXY, resource) {
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_http_header_util.py45 host, port, resource = http_header_util.parse_uri('/ws/test')
48 self.assertEqual('/ws/test', resource)
51 host, port, resource = http_header_util.parse_uri(
55 self.assertEqual('/ws/test', resource)
57 host, port, resource = http_header_util.parse_uri(
61 self.assertEqual('/ws/test', resource)
63 host, port, resource = http_header_util.parse_uri(
67 self.assertEqual('/', resource)
69 host, port, resource = http_header_util.parse_uri(
73 self.assertEqual('/', resource)
[all...]
/external/chromium_org/ppapi/api/dev/
H A Dppb_view_dev.idl25 * @param[in] resource A <code>PP_Resource</code> corresponding to a
26 * <code>PPB_View</code> resource.
29 * per DIP. If the resource is invalid, the value will be 0.0.
31 float_t GetDeviceScale([in] PP_Resource resource);
38 * @param[in] resource A <code>PP_Resource</code> corresponding to a
39 * <code>PPB_View</code> resource.
42 * DIPs per CSS pixel. If the resource is invalid, the value will be 0.0.
44 float_t GetCSSScale([in] PP_Resource resource);
H A Dppb_buffer_dev.idl25 * Returns PP_TRUE if the given resource is a Buffer. Returns PP_FALSE if the
26 * resource is invalid or some type other than a Buffer.
29 [in] PP_Resource resource);
33 * if the resource is not a buffer. On failure, |*size_in_bytes| is not set.
36 [in] PP_Resource resource,
44 [in] PP_Resource resource);
50 [in] PP_Resource resource);
/external/chromium_org/ppapi/api/
H A Dppb_view.idl26 * IsView() determines if the given resource is a valid
27 * <code>PPB_View</code> resource. Note that <code>PPB_ViewChanged</code>
31 * @param resource A <code>PP_Resource</code> corresponding to a
32 * <code>PPB_View</code> resource.
34 * @return <code>PP_TRUE</code> if the given resource supports
36 * resource or is a resource of another type.
38 PP_Bool IsView([in] PP_Resource resource);
54 * @param resource A <code>PP_Resource</code> corresponding to a
55 * <code>PPB_View</code> resource
[all...]
/external/chromium_org/cc/resources/
H A Dresource_pool.cc48 Resource* resource = *it; local
51 // doesn't happen two frames in a row for any resource
53 if (!resource_provider_->CanLockForWrite(resource->id()))
56 if (resource->size() != size)
58 if (resource->format() != format)
62 unused_memory_usage_bytes_ -= resource->bytes();
63 return make_scoped_ptr(resource);
66 // Create new resource.
67 Resource* resource = new Resource(resource_provider_, size, format); local
69 // Extend all read locks on all resources until the resource i
79 ReleaseResource( scoped_ptr<ResourcePool::Resource> resource) argument
109 Resource* resource = unused_resources_.back(); local
[all...]
/external/chromium_org/ppapi/api/private/finish_writing_these/
H A Dppb_proxy_private.idl14 /* Returns the instance for the given resource, or 0 on failure. */
16 [in] PP_Resource resource);

Completed in 709 milliseconds

1234567891011>>