HomeSort by relevance Sort by last modified time
    Searched defs:resource (Results 26 - 50 of 519) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/task_manager/
task_manager_unittest.cc 29 class TestResource : public task_manager::Resource {
116 TestResource resource; local
118 task_manager.AddResource(&resource);
119 ASSERT_FALSE(resource.refresh_called());
122 ASSERT_TRUE(resource.refresh_called());
123 task_manager.RemoveResource(&resource);
  /external/chromium_org/chrome/browser/ui/webui/predictors/
predictors_handler.cc 116 base::DictionaryValue* resource = new base::DictionaryValue(); local
117 resource->SetString("resource_url", row->resource_url.spec());
118 resource->SetString("resource_type",
120 resource->SetInteger("number_of_hits", row->number_of_hits);
121 resource->SetInteger("number_of_misses", row->number_of_misses);
122 resource->SetInteger("consecutive_misses", row->consecutive_misses);
123 resource->SetDouble("position", row->average_position);
124 resource->SetDouble("score", row->score);
125 resources->Append(resource);
  /external/chromium_org/chrome_frame/ready_mode/internal/
ready_prompt_content.cc 47 HRSRC resource = ::FindResource(_AtlBaseModule.GetResourceInstance(), local
55 if (resource == NULL) {
56 DPLOG(ERROR) << "Failed to find resource for ReadyPromptWindow::IDD";
60 handle = ::LoadResource(_AtlBaseModule.GetResourceInstance(), resource);
63 DPLOG(ERROR) << "Failed to load resource for ReadyPromptWindow::IDD";
69 DPLOG(ERROR) << "Failed to lock resource for ReadyPromptWindow::IDD";
74 DLOG(ERROR) << "Resource ReadyPromptWindow::IDD is not a DLGTEMPLATEEX";
  /external/chromium_org/chrome_frame/turndown_prompt/
turndown_prompt_content.cc 48 HRSRC resource = ::FindResource(_AtlBaseModule.GetResourceInstance(), local
56 if (resource == NULL) {
57 DPLOG(ERROR) << "Failed to find resource for TurndownPromptWindow::IDD";
61 handle = ::LoadResource(_AtlBaseModule.GetResourceInstance(), resource);
64 DPLOG(ERROR) << "Failed to load resource for TurndownPromptWindow::IDD";
70 DPLOG(ERROR) << "Failed to lock resource for TurndownPromptWindow::IDD";
75 DLOG(ERROR) << "Resource TurndownPromptWindow::IDD is not a DLGTEMPLATEEX";
  /external/chromium_org/ppapi/shared_impl/
ppb_file_ref_shared.h 11 #include "ppapi/shared_impl/resource.h"
25 ppapi::HostResource resource; member in struct:ppapi::PPB_FileRef_CreateInfo
31 // resource in this CreateInfo. Note that this is a plugin resource as
40 : public Resource,
47 // Resource overrides.
resource_tracker_unittest.cc 8 #include "ppapi/shared_impl/resource.h"
20 class MyMockResource : public Resource {
22 MyMockResource(PP_Instance instance) : Resource(OBJECT_IS_IMPL, instance) {
64 scoped_refptr<MyMockResource> resource(new MyMockResource(instance));
65 PP_Resource pp_resource = resource->GetReference();
75 resource = NULL;
79 // Tests when the plugin is holding a ref to a resource when the instance is
82 // Make a resource with one ref held by the plugin, and delete the instance.
85 MyMockResource* resource = new MyMockResource(instance); local
86 resource->GetReference()
106 scoped_refptr<MyMockResource> resource = new MyMockResource(instance); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptSourceCode.h 68 ScriptResource* resource() const { return m_resource.get(); } function in class:WebCore::ScriptSourceCode
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSFontFaceSrcValue.h 42 static PassRefPtr<CSSFontFaceSrcValue> create(const String& resource)
44 return adoptRef(new CSSFontFaceSrcValue(resource, false));
46 static PassRefPtr<CSSFontFaceSrcValue> createLocal(const String& resource)
48 return adoptRef(new CSSFontFaceSrcValue(resource, true));
51 const String& resource() const { return m_resource; } function in class:WebCore::CSSFontFaceSrcValue
77 CSSFontFaceSrcValue(const String& resource, bool local)
79 , m_resource(resource)
CSSShaderValue.cpp 61 StyleFetchedShader* CSSShaderValue::resource(ResourceFetcher* loader) function in class:WebCore::CSSShaderValue
69 if (ResourcePtr<ShaderResource> resource = loader->requestShader(request))
70 m_shader = StyleFetchedShader::create(resource.get());
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ScriptRunner.cpp 54 void ScriptRunner::queueScriptForExecution(ScriptLoader* scriptLoader, ResourcePtr<ScriptResource> resource, ExecutionType executionType)
57 ASSERT(resource.get());
67 m_pendingAsyncScripts.add(scriptLoader, PendingScript(element, resource.get()));
71 m_scriptsToExecuteInOrder.append(PendingScript(element, resource.get()));
112 for (; numInOrderScriptsToExecute < m_scriptsToExecuteInOrder.size() && m_scriptsToExecuteInOrder[numInOrderScriptsToExecute].resource()->isLoaded(); ++numInOrderScriptsToExecute)
119 ScriptResource* resource = scripts[i].resource(); local
121 toScriptLoaderIfPossible(element.get())->execute(resource);
  /external/chromium_org/third_party/WebKit/Source/core/loader/archive/
ArchiveResourceCollection.cpp 65 // FIXME: Adding a resource directly to a DocumentLoader/ArchiveResourceCollection seems like bad design, but is API some apps rely on.
67 void ArchiveResourceCollection::addResource(PassRefPtr<ArchiveResource> resource)
69 ASSERT(resource);
70 if (!resource)
73 const KURL& url = resource->url(); // get before passing PassRefPtr (which sets it to 0)
74 m_subresources.set(url, resource);
79 ArchiveResource* resource = m_subresources.get(url); local
80 if (!resource)
83 return resource;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGResourcesCycleSolver.cpp 23 // Set to a value > 0, to debug the resource cache.
61 // Walk all resources and check wheter they reference any resource contained in the resources set.
77 // A child of the given 'resource' contains resources.
81 // Walk all child resources and check wheter they reference any resource contained in the resources set.
110 // Add all parent resource containers to the HashSet.
140 // If we're a resource, add ourselves to the HashSet.
150 RenderSVGResourceContainer* resource = *it; local
151 if (parentResources.contains(resource) || resourceContainsCycles(resource))
152 breakCycle(resource);
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
jid.h 38 // consists of three parts: the node, the domain and the resource, e.g.:
40 // node@domain/resource
42 // The node and resource are both optional. A valid jid is defined to have
43 // a domain. A bare jid is defined to not have a resource and a full jid
44 // *does* have a resource.
56 const std::string & resource() const { return resource_name_; } function in class:buzz::Jid
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/galahad/
glhd_objects.h 44 struct pipe_resource *resource; member in struct:galahad_resource
106 (void)galahad_resource(_transfer->resource);
115 return galahad_resource(_resource)->resource;
146 struct pipe_resource *resource);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/identity/
id_objects.h 44 struct pipe_resource *resource; member in struct:identity_resource
104 (void)identity_resource(_transfer->resource);
113 return identity_resource(_resource)->resource;
144 struct pipe_resource *resource);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/
tr_texture.h 43 struct pipe_resource *resource; member in struct:trace_resource
114 (void)trace_resource(transfer->resource);
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_atom_framebuffer.c 56 struct pipe_resource *resource = strb->rtt ? strb->rtt->pt : strb->texture; local
59 enum pipe_format format = st->ctx->Color.sRGBEnabled ? resource->format : util_format_linear(resource->format);
63 strb->surface->texture != resource ||
68 for (level = 0; level <= resource->last_level; level++) {
69 if (u_minify(resource->width0, level) == rtt_width &&
70 u_minify(resource->height0, level) == rtt_height) {
82 resource,
164 /* Make sure the resource binding flags were set properly */
  /external/mesa3d/src/gallium/drivers/galahad/
glhd_objects.h 44 struct pipe_resource *resource; member in struct:galahad_resource
106 (void)galahad_resource(_transfer->resource);
115 return galahad_resource(_resource)->resource;
146 struct pipe_resource *resource);
  /external/mesa3d/src/gallium/drivers/identity/
id_objects.h 44 struct pipe_resource *resource; member in struct:identity_resource
104 (void)identity_resource(_transfer->resource);
113 return identity_resource(_resource)->resource;
144 struct pipe_resource *resource);
  /external/mesa3d/src/gallium/drivers/trace/
tr_texture.h 43 struct pipe_resource *resource; member in struct:trace_resource
114 (void)trace_resource(transfer->resource);
  /external/mesa3d/src/mesa/state_tracker/
st_atom_framebuffer.c 56 struct pipe_resource *resource = strb->rtt ? strb->rtt->pt : strb->texture; local
59 enum pipe_format format = st->ctx->Color.sRGBEnabled ? resource->format : util_format_linear(resource->format);
63 strb->surface->texture != resource ||
68 for (level = 0; level <= resource->last_level; level++) {
69 if (u_minify(resource->width0, level) == rtt_width &&
70 u_minify(resource->height0, level) == rtt_height) {
82 resource,
164 /* Make sure the resource binding flags were set properly */
  /external/replicaisland/src/com/replica/replicaisland/
Texture.java 20 * Simple container class for textures. Serves as a mapping between Android resource ids and
26 public int resource; field in class:Texture
38 resource = -1;
  /external/smack/src/org/jivesoftware/smack/packet/
Bind.java 24 * IQ packet used by Smack to bind a resource and to obtain the jid assigned by the server.
25 * There are two ways to bind a resource. One is simply sending an empty Bind packet where the
26 * server will assign a new resource for this connection. The other option is to set a desired
27 * resource but the server may return a modified version of the sent resource.<p>
36 private String resource = null; field in class:Bind
44 return resource;
47 public void setResource(String resource) {
48 this.resource = resource;
    [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...]

Completed in 587 milliseconds

12 3 4 5 6 7 8 91011>>