HomeSort by relevance Sort by last modified time
    Searched refs:Resource (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/clang/test/SemaCXX/
operator-arrow-temporary.cpp 4 struct Resource {
10 Resource* operator->() { return 0; }
  /external/icu4c/common/
uresdata.h 15 * 06/24/02 weiv Added support for resource sharing
27 * Numeric constants for internal-only types of resource items.
36 /** Resource type constant for tables with 32-bit count, key offsets and values. */
40 * Resource type constant for tables with 16-bit count, key offsets and values.
45 /** Resource type constant for 16-bit Unicode strings in formatVersion 2. */
49 * Resource type constant for arrays with 16-bit count and values.
56 * A Resource is a 32-bit value that has 2 bit fields:
60 typedef uint32_t Resource;
68 /* get signed and unsigned integer values directly from the Resource handle */
76 #define URES_MAKE_RESOURCE(type, offset) (((Resource)(type)<<28)|(Resource)(offset)
    [all...]
uresdata.c 19 * 06/24/02 weiv Added support for resource sharing
37 * Resource access helpers
53 /* empty resources, returned when the resource offset is 0 */
64 * the resource is of the expected type.
156 /* get the root resource */
158 pResData->rootRes=(Resource)*pResData->pRoot;
290 res_getPublicType(Resource res) {
295 res_getString(const ResourceData *pResData, Resource res, int32_t *pLength) {
330 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength) {
349 res_getBinary(const ResourceData *pResData, Resource res, int32_t *pLength)
    [all...]
uresimp.h 56 UResourceDataEntry *fParent; /*next resource in fallback chain*/
61 uint32_t fCountExisting; /* how much is this resource used */
75 char *fResPath; /* full path to the resource: "zh_TW/CollationElements/Sequence" */
79 Resource fRes;
87 /*const UResourceBundle *fParentRes;*/ /* needed to get the actual locale for a child resource */
110 * Returns a resource that can be located using the pathToResource argument. One needs optional package, locale
116 * syntax that delineates between package/tree and resource.
118 * @param pathToResource a path that will lead to the requested resource
129 * Returns a sub resource that can be located using the pathToResource argument. One needs a path inside
130 * the supplied resource, for example, if you have "en_US" resource bundle opened, you might ask fo
    [all...]
  /external/valgrind/main/memcheck/tests/
file_locking.stderr.exp 4 fcntl: Resource temporarily unavailable
  /external/chromium/chrome/browser/extensions/
extension_processes_api.cc 80 TaskManager::Resource::Type resource_type = model_->GetResourceType(i);
82 case TaskManager::Resource::BROWSER:
85 case TaskManager::Resource::RENDERER:
88 case TaskManager::Resource::EXTENSION:
91 case TaskManager::Resource::NOTIFICATION:
94 case TaskManager::Resource::PLUGIN:
97 case TaskManager::Resource::WORKER:
100 case TaskManager::Resource::NACL:
103 case TaskManager::Resource::UTILITY:
106 case TaskManager::Resource::GPU
    [all...]
  /external/chromium/chrome/browser/safe_browsing/
malware_details_cache.h 30 // Maps a URL to its Resource.
33 linked_ptr<safe_browsing::ClientMalwareReportRequest::Resource> > ResourceMap;
90 // Returns the resource from resources_ that corresponds to |url|
91 safe_browsing::ClientMalwareReportRequest::Resource* GetResource(
99 safe_browsing::ClientMalwareReportRequest::Resource* pb_resource,
104 safe_browsing::ClientMalwareReportRequest::Resource* pb_resource,
malware_details.cc 62 const SafeBrowsingService::UnsafeResource& resource) {
67 return factory_->CreateMalwareDetails(sb_service, tab_contents, resource);
74 const SafeBrowsingService::UnsafeResource& resource)
78 resource_(resource),
100 // Looks for a Resource for the given url in resources_. If found, it
101 // updates |resource|. Otherwise, it creates a new message, adds it to
102 // resources_ and updates |resource| to point to it.
103 ClientMalwareReportRequest::Resource* MalwareDetails::FindOrCreateResource(
110 // Create the resource for |url|.
112 linked_ptr<ClientMalwareReportRequest::Resource> new_resource
    [all...]
malware_details_cache.cc 92 ClientMalwareReportRequest::Resource* MalwareDetailsCacheCollector::GetResource(
113 // Cache miss, skip this resource.
126 // Set the response headers and body to the right resource, which
129 ClientMalwareReportRequest::Resource* resource = GetResource(url); local
130 if (!resource) {
131 DVLOG(1) << "Cannot find resource for url:" << url;
136 ReadResponse(resource, source);
137 ReadData(resource, data);
142 ClientMalwareReportRequest::Resource* pb_resource
    [all...]
malware_details.h 34 // Maps a URL to its Resource.
37 linked_ptr<safe_browsing::ClientMalwareReportRequest::Resource> > ResourceMap;
47 const SafeBrowsingService::UnsafeResource& resource);
71 const SafeBrowsingService::UnsafeResource& resource);
94 // Finds an existing Resource for the given url, or creates a new
96 // found/created resource.
97 safe_browsing::ClientMalwareReportRequest::Resource* FindOrCreateResource(
100 // Adds a Resource to resources_ with the given parent-child
115 // For every Url we collect we create a Resource message. We keep
malware_details_unittest.cc 186 const ClientMalwareReportRequest::Resource* lhs,
187 const ClientMalwareReportRequest::Resource* rhs) {
204 void InitResource(SafeBrowsingService::UnsafeResource* resource,
207 resource->client = NULL;
208 resource->url = url;
209 resource->resource_type = resource_type;
210 resource->threat_type = SafeBrowsingService::URL_MALWARE;
211 resource->render_process_host_id = contents()->GetRenderProcessHost()->id();
212 resource->render_view_id = contents()->render_view_host()->routing_id();
223 std::vector<const ClientMalwareReportRequest::Resource*> resources
225 const ClientMalwareReportRequest::Resource& resource = local
234 const ClientMalwareReportRequest::Resource& resource = local
291 SafeBrowsingService::UnsafeResource resource; local
322 SafeBrowsingService::UnsafeResource resource; local
361 SafeBrowsingService::UnsafeResource resource; local
416 SafeBrowsingService::UnsafeResource resource; local
440 SafeBrowsingService::UnsafeResource resource; local
491 SafeBrowsingService::UnsafeResource resource; local
558 SafeBrowsingService::UnsafeResource resource; local
    [all...]
  /external/chromium/chrome/browser/task_manager/
task_manager.h 38 // A resource represents one row in the task manager.
40 class Resource {
42 virtual ~Resource() {}
73 // Return extension associated with the resource, or NULL
85 // Whether this resource does report the network usage accurately.
105 // Returns true if this resource is not visible to the user because it lives
112 // to receive resource creation/termination notifications with a call to
113 // StartUpdating(). At that point, the resource provider should call
116 // The provider remains the owner of the resource objects and is responsible
124 // Should return the resource associated to the specified ids, or NULL i
    [all...]
task_manager_resource_providers.h 32 // These file contains the resource providers used in the task manager.
36 class TaskManagerRendererResource : public TaskManager::Resource {
42 // TaskManager::Resource methods:
70 // The stats_ field holds information about resource usage in the renderer
89 // TaskManager::Resource methods:
108 virtual TaskManager::Resource* GetResource(int origin_pid,
148 // TaskManager::Resource methods:
166 virtual TaskManager::Resource* GetResource(int origin_pid,
201 // TaskManager::Resource methods:
227 virtual TaskManager::Resource* GetResource(int origin_pid
    [all...]
task_manager_resource_providers.cc 46 #include "ui/base/resource/resource_bundle.h"
140 TaskManager::Resource::Type TaskManagerRendererResource::GetType() const {
171 TaskManager::Resource::Type TaskManagerTabContentsResource::GetType() const {
238 TaskManager::Resource* TaskManagerTabContentsResourceProvider::GetResource(
244 if (!tab_contents) // Not one of our resource.
280 // resource. This is an attempt at mitigating a crasher that seem to
281 // indicate a resource is still referencing a deleted TabContents
309 TaskManagerTabContentsResource* resource = local
311 resources_[tab_contents] = resource;
312 task_manager_->AddResource(resource);
353 TaskManagerTabContentsResource* resource = iter->second; local
530 TaskManagerPrerenderResource* resource = local
572 TaskManagerPrerenderResource* resource = iter->second; local
747 TaskManagerBackgroundContentsResource* resource = local
778 TaskManagerBackgroundContentsResource* resource = iter->second; local
1080 TaskManagerChildProcessResource* resource = iter->second; local
1097 TaskManagerChildProcessResource* resource = local
1449 TaskManagerNotificationResource* resource = local
    [all...]
task_manager.cc 36 #include "ui/base/resource/resource_bundle.h"
237 TaskManager::Resource* resource = resources_[index]; local
238 GroupMap::const_iterator iter = group_map_.find(resource->GetProcess());
241 return ((*group)[0] == resource);
263 TaskManager::Resource* resource = resources_[index]; local
265 group_map_.find(resource->GetProcess());
284 // Let's do the default, string compare on the resource title.
374 TaskManager::Resource::Type TaskManagerModel::GetResourceType(int index) const
    [all...]
task_manager_browsertest.cc 134 // Check that the third entry is a tab contents resource whose title starts
226 // resource being created for it.
254 // Check that the third entry (background) is an extension resource whose
256 ASSERT_EQ(TaskManager::Resource::EXTENSION, model()->GetResourceType(2));
265 ASSERT_EQ(TaskManager::Resource::EXTENSION, model()->GetResourceType(3));
296 ASSERT_EQ(TaskManager::Resource::EXTENSION, model()->GetResourceType(2));
410 LOG(INFO) << "waiting for resource change";
420 // Reload the extension a few times and make sure our resource count
task_manager_unittest.cc 29 class TestResource : public TaskManager::Resource {
105 TestResource resource; local
107 task_manager.AddResource(&resource);
108 ASSERT_FALSE(resource.refresh_called());
111 ASSERT_TRUE(resource.refresh_called());
112 task_manager.RemoveResource(&resource);
  /external/webkit/Source/WebCore/inspector/front-end/
Resource.js 28 WebInspector.Resource = function(identifier, url)
40 WebInspector.Resource.Type = {
78 // Returns locale-independent string identifier of resource type (primarily for use in extension API).
104 WebInspector.Resource._domainModelBindings = [];
106 WebInspector.Resource.registerDomainModelBinding = function(type, binding)
108 WebInspector.Resource._domainModelBindings[type] = binding;
111 WebInspector.Resource.Events = {
115 WebInspector.Resource.prototype = {
379 case WebInspector.Resource.Type.Document:
382 case WebInspector.Resource.Type.Stylesheet
    [all...]
NetworkManager.js 52 requestContent: function(resource, base64Encode, callback)
58 NetworkAgent.getResourceContent(resource.frameId, resource.url, base64Encode, callbackWrapper);
79 _updateResourceWithRequest: function(resource, request)
81 resource.requestMethod = request.method;
82 resource.requestHeaders = request.headers;
83 resource.requestFormData = request.postData;
86 _updateResourceWithResponse: function(resource, response)
91 resource.mimeType = response.mimeType;
92 resource.statusCode = response.status
    [all...]
NetworkItemView.js 31 WebInspector.NetworkItemView = function(resource)
37 this._headersView = new WebInspector.ResourceHeadersView(resource);
39 var contentView = WebInspector.ResourceView.resourceViewForResource(resource);
50 if (resource.type === WebInspector.Resource.Type.XHR && resource.content) {
51 var parsedJSON = WebInspector.ResourceJSONView.parseJSON(resource.content);
53 var jsonView = new WebInspector.ResourceJSONView(resource, parsedJSON);
59 this._cookiesView = new WebInspector.ResourceCookiesView(resource);
64 var timingView = new WebInspector.ResourceTimingView(resource);
    [all...]
ResourceTreeModel.js 152 _addResourceToFrame: function(resource)
154 var frameId = resource.frameId;
160 if (resourcesForFrame[resource.url] === resource) {
165 resourcesForFrame[resource.url] = resource;
166 this._bindResourceURL(resource);
167 this.dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.ResourceAdded, resource);
177 var resource = this.resourceForURL(msg.url);
178 if (!resource)
    [all...]
Database.js 75 return WebInspector.Resource.prototype.__lookupGetter__("displayDomain").call(this);
  /external/icu4c/samples/ufortune/
fortunedefs.mk 4 # mode of resource bundle -
20 # Resource shortname
  /frameworks/base/tools/aapt/
Android.mk 25 Resource.cpp \
  /external/v8/test/cctest/
test-strings.cc 51 class Resource: public v8::String::ExternalStringResource,
54 explicit Resource(Vector<const uc16> string): data_(string.start()) {
120 Resource* resource = new Resource(Vector<const uc16>(buf, len)); local
121 building_blocks[i] = FACTORY->NewExternalStringFromTwoByte(resource);
386 Resource* resource = new Resource(Vector<const uc16>(non_ascii, i)); local
388 v8::String::NewExternal(resource);
    [all...]

Completed in 1471 milliseconds

1 2 3