HomeSort by relevance Sort by last modified time
    Searched refs:resource (Results 51 - 75 of 2028) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/automation/
automation_resource_tracker.cc 17 int AutomationResourceTrackerImpl::AddImpl(const void* resource) {
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) {
33 if (!ContainsResourceImpl(resource))
36 int handle = resource_to_handle_[resource];
37 DCHECK_EQ(resource, handle_to_resource_[handle])
    [all...]
automation_resource_tracker.h 40 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 closing notification
125 T resource = content::Source<typename AutomationResourceTraits<T>:: local
    [all...]
automation_browser_tracker.h 17 virtual void AddObserver(Browser* resource);
18 virtual void RemoveObserver(Browser* resource);
automation_window_tracker.h 18 virtual void AddObserver(gfx::NativeWindow resource);
19 virtual void RemoveObserver(gfx::NativeWindow resource);
  /external/chromium_org/ppapi/shared_impl/
host_resource.cc 14 HostResource resource; local
15 resource.SetHostResource(instance, 0);
16 return resource;
19 void HostResource::SetHostResource(PP_Instance instance, PP_Resource resource) {
21 host_resource_ = resource;
scoped_pp_resource.cc 8 #include "ppapi/shared_impl/resource.h"
16 ScopedPPResource::ScopedPPResource(PP_Resource resource) : id_(resource) {
20 ScopedPPResource::ScopedPPResource(const PassRef&, PP_Resource resource)
21 : id_(resource) {
24 ScopedPPResource::ScopedPPResource(Resource* resource)
25 : id_(resource ? resource->GetReference() : 0) {
38 ScopedPPResource& ScopedPPResource::operator=(PP_Resource resource) {
    [all...]
  /external/chromium/chrome/browser/automation/
automation_resource_tracker.h 41 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 closing notification
126 T resource = local
    [all...]
automation_autocomplete_edit_tracker.h 17 virtual void AddObserver(AutocompleteEditView* resource);
18 virtual void RemoveObserver(AutocompleteEditView* resource);
automation_browser_tracker.h 18 virtual void AddObserver(Browser* resource);
19 virtual void RemoveObserver(Browser* resource);
  /external/chromium_org/third_party/WebKit/Source/core/loader/cache/
ResourcePtr.cpp 31 void ResourcePtrBase::setResource(Resource* resource)
33 if (resource == m_resource)
37 m_resource = resource;
  /external/chromium_org/ppapi/c/dev/
ppb_view_dev.h 38 * @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);
ppb_buffer_dev.h 38 * 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);
  /external/chromium_org/ppapi/proxy/
mock_resource.cc 10 MockResource::MockResource(const HostResource& resource)
11 : Resource(OBJECT_IS_PROXY, resource) {
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_http_header_util.py 45 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/chrome/browser/ui/views/
theme_image_mapper.h 12 // Maps the specified resource id to the appropriate one based on the supplied
14 int MapThemeImage(HostDesktopType desktop_type, int resource);
theme_image_mapper_aura_win.cc 11 int MapThemeImage(HostDesktopType desktop_type, int resource) {
13 return resource;
15 switch (resource) {
37 return resource;
  /external/chromium_org/ppapi/api/dev/
ppb_view_dev.idl 25 * @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);
ppb_buffer_dev.idl 25 * 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/
ppb_view.idl 26 * 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...]
  /development/ndk/sources/android/libportable/arch-mips/
resource.c 18 #include <sys/resource.h>
25 static inline int mips_change_resource(int resource)
27 switch(resource) {
39 return resource;
42 extern int REAL(getrlimit)(int resource, struct rlimit *rlp);
43 int WRAP(getrlimit)(int resource, struct rlimit *rlp)
45 return REAL(getrlimit)(mips_change_resource(resource), rlp);
48 extern int REAL(setrlimit)(int resource, const struct rlimit *rlp);
49 int WRAP(setrlimit)(int resource, const struct rlimit *rlp)
51 return REAL(setrlimit)(mips_change_resource(resource), rlp)
    [all...]
  /build/tools/droiddoc/templates-pdk/assets/
android-developer-resource-browser.css 0 /* Resource Browser */
3 #resource-browser-results .no-results {
8 #resource-browser-results .result {
15 #resource-browser-results .tagged-article {
16 background-image: url(images/resource-article.png);
19 #resource-browser-results .tagged-sample {
20 background-image: url(images/resource-sample.png);
23 #resource-browser-results .tagged-tutorial {
24 background-image: url(images/resource-tutorial.png);
27 #resource-browser-results .resource-meta
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
ResourceView.js 34 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.contentEncoded
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_resource.py 5 resource = test_support.import_module('resource') variable
7 # This test is checking a few specific problem spots with the resource module.
12 self.assertRaises(TypeError, resource.getrlimit)
13 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
28 self.assertEqual(resource.RLIM_INFINITY, max
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_resource.py 5 resource = test_support.import_module('resource') variable
7 # This test is checking a few specific problem spots with the resource module.
12 self.assertRaises(TypeError, resource.getrlimit)
13 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
14 self.assertRaises(TypeError, resource.setrlimit)
15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
28 self.assertEqual(resource.RLIM_INFINITY, max
    [all...]
  /external/chromium_org/cc/resources/
resource_pool.cc 11 ResourcePool::Resource::Resource(cc::ResourceProvider* resource_provider,
14 : cc::Resource(resource_provider->CreateManagedResource(
24 ResourcePool::Resource::~Resource() {
44 scoped_ptr<ResourcePool::Resource> ResourcePool::AcquireResource(
48 Resource* resource = *it; local
51 // doesn't happen two frames in a row for any resource
53 if (!resource_provider_->CanLockForWrite(resource->id())
67 Resource* resource = new Resource(resource_provider_, size, format); local
109 Resource* resource = unused_resources_.back(); local
    [all...]

Completed in 1904 milliseconds

1 23 4 5 6 7 8 91011>>