/external/chromium_org/cc/resources/ |
D | resource_provider.cc | 322 Resource* resource = GetResource(id); in InUseByConsumer() local 323 return resource->lock_for_read_count > 0 || resource->exported_count > 0 || in InUseByConsumer() 324 resource->lost; in InUseByConsumer() 328 Resource* resource = GetResource(id); in IsLost() local 329 return resource->lost; in IsLost() 395 Resource resource( in CreateGLTexture() local 397 resource.allocated = false; in CreateGLTexture() 398 resources_[id] = resource; in CreateGLTexture() 417 Resource resource( in CreateBitmap() local 419 resource.allocated = true; in CreateBitmap() [all …]
|
D | resource_pool.cc | 42 ScopedResource* resource = *it; in AcquireResource() local 43 DCHECK(resource_provider_->CanLockForWrite(resource->id())); in AcquireResource() 45 if (resource->size() != size) in AcquireResource() 49 unused_memory_usage_bytes_ -= resource->bytes(); in AcquireResource() 50 return make_scoped_ptr(resource); in AcquireResource() 54 scoped_ptr<ScopedResource> resource = in AcquireResource() local 56 resource->AllocateManaged(size, target_, format_); in AcquireResource() 61 resource_provider_->EnableReadLockFences(resource->id(), true); in AcquireResource() 63 memory_usage_bytes_ += resource->bytes(); in AcquireResource() 65 return resource.Pass(); in AcquireResource() [all …]
|
/external/icu4c/data/translit/ |
D | root.txt | 26 resource:process(transliterator) {"Amharic_Latin_BGN.txt"} 33 resource:process(transliterator) {"Any_Accents.txt"} 39 resource:process(transliterator) {"Any_Accents.txt"} 46 resource:process(transliterator) {"Any_Publishing.txt"} 52 resource:process(transliterator) {"Any_Publishing.txt"} 59 resource:process(transliterator) {"Arabic_Latin.txt"} 65 resource:process(transliterator) {"Arabic_Latin.txt"} 72 resource:process(transliterator) {"Arabic_Latin_BGN.txt"} 79 resource:process(transliterator) {"Armenian_Latin_BGN.txt"} 86 resource:process(transliterator) {"Azerbaijani_Latin_BGN.txt"} [all …]
|
/external/chromium_org/third_party/icu/source/data/translit/ |
D | root.txt | 20 resource:process(transliterator) {"Amharic_Latin_BGN.txt"} 27 resource:process(transliterator) {"Any_Accents.txt"} 33 resource:process(transliterator) {"Any_Accents.txt"} 40 resource:process(transliterator) {"Any_Publishing.txt"} 46 resource:process(transliterator) {"Any_Publishing.txt"} 53 resource:process(transliterator) {"Arabic_Latin.txt"} 59 resource:process(transliterator) {"Arabic_Latin.txt"} 66 resource:process(transliterator) {"Arabic_Latin_BGN.txt"} 73 resource:process(transliterator) {"Armenian_Latin_BGN.txt"} 80 resource:process(transliterator) {"Azerbaijani_Latin_BGN.txt"} [all …]
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | ui_manager.cc | 86 UnsafeResource resource; in DisplayBlockingPage() local 87 resource.url = url; in DisplayBlockingPage() 88 resource.original_url = original_url; in DisplayBlockingPage() 89 resource.redirect_urls = redirect_urls; in DisplayBlockingPage() 90 resource.is_subresource = is_subresource; in DisplayBlockingPage() 91 resource.threat_type = threat_type; in DisplayBlockingPage() 92 resource.callback = callback; in DisplayBlockingPage() 93 resource.render_process_host_id = render_process_host_id; in DisplayBlockingPage() 94 resource.render_view_id = render_view_id; in DisplayBlockingPage() 100 resource)); in DisplayBlockingPage() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | MemoryCache.cpp | 111 void MemoryCache::add(Resource* resource) in add() argument 114 m_resources.set(resource->url(), resource); in add() 115 resource->setInCache(true); in add() 116 resource->updateForAccess(); in add() 118 …ing, "MemoryCache::add Added '%s', resource %p\n", resource->url().string().latin1().data(), resou… in add() 139 Resource* resource = m_resources.get(url); in resourceForURL() local 140 if (resource && !resource->makePurgeable(false)) { in resourceForURL() 141 ASSERT(!resource->hasClients()); in resourceForURL() 142 evict(resource); in resourceForURL() 145 return resource; in resourceForURL() [all …]
|
D | ResourceFetcher.cpp | 157 Resource* resource = createResource(Resource::Image, request, charset); in resourceFromDataURIRequest() local 158 resource->setOptions(resourceOptions); in resourceFromDataURIRequest() 159 resource->responseReceived(response); in resourceFromDataURIRequest() 162 resource->appendData(data->data(), data->size()); in resourceFromDataURIRequest() 163 resource->finish(); in resourceFromDataURIRequest() 164 return resource; in resourceFromDataURIRequest() 167 static void populateResourceTiming(ResourceTimingInfo* info, Resource* resource, bool clearLoadTimi… in populateResourceTiming() argument 169 info->setInitialRequest(resource->resourceRequest()); in populateResourceTiming() 170 info->setFinalResponse(resource->response()); in populateResourceTiming() 173 info->setLoadFinishTime(resource->loadFinishTime()); in populateResourceTiming() [all …]
|
/external/mesa3d/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 49 destroy_buffer(struct wl_resource *resource) in destroy_buffer() argument 51 struct wl_drm_buffer *buffer = resource->data; in destroy_buffer() 59 buffer_destroy(struct wl_client *client, struct wl_resource *resource) in buffer_destroy() argument 61 wl_resource_destroy(resource); in buffer_destroy() 69 create_buffer(struct wl_client *client, struct wl_resource *resource, in create_buffer() argument 76 struct wl_drm *drm = resource->data; in create_buffer() 81 wl_resource_post_no_memory(resource); in create_buffer() 98 wl_resource_post_error(resource, in create_buffer() 104 buffer->buffer.resource.object.id = id; in create_buffer() 105 buffer->buffer.resource.object.interface = &wl_buffer_interface; in create_buffer() [all …]
|
/external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 49 destroy_buffer(struct wl_resource *resource) in destroy_buffer() argument 51 struct wl_drm_buffer *buffer = resource->data; in destroy_buffer() 59 buffer_destroy(struct wl_client *client, struct wl_resource *resource) in buffer_destroy() argument 61 wl_resource_destroy(resource); in buffer_destroy() 69 create_buffer(struct wl_client *client, struct wl_resource *resource, in create_buffer() argument 76 struct wl_drm *drm = resource->data; in create_buffer() 81 wl_resource_post_no_memory(resource); in create_buffer() 98 wl_resource_post_error(resource, in create_buffer() 104 buffer->buffer.resource.object.id = id; in create_buffer() 105 buffer->buffer.resource.object.interface = &wl_buffer_interface; in create_buffer() [all …]
|
/external/chromium_org/chrome/browser/automation/ |
D | 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); 79 virtual void AddObserver(T resource) = 0; 80 virtual void RemoveObserver(T resource) = 0; 85 int Add(T resource) { [all …]
|
D | automation_resource_tracker.cc | 17 int AutomationResourceTrackerImpl::AddImpl(const void* resource) { in AddImpl() argument 18 if (ContainsResourceImpl(resource)) in AddImpl() 19 return resource_to_handle_[resource]; in AddImpl() 24 resource_to_handle_[resource] = handle; in AddImpl() 25 handle_to_resource_[handle] = resource; in AddImpl() 27 AddObserverTypeProxy(resource); in AddImpl() 32 void AutomationResourceTrackerImpl::RemoveImpl(const void* resource) { in RemoveImpl() argument 33 if (!ContainsResourceImpl(resource)) in RemoveImpl() 36 int handle = resource_to_handle_[resource]; in RemoveImpl() 37 DCHECK_EQ(resource, handle_to_resource_[handle]); in RemoveImpl() [all …]
|
/external/chromium/chrome/browser/automation/ |
D | 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); 80 virtual void AddObserver(T resource) = 0; 81 virtual void RemoveObserver(T resource) = 0; 86 int Add(T resource) { [all …]
|
D | automation_resource_tracker.cc | 17 int AutomationResourceTrackerImpl::AddImpl(const void* resource) { in AddImpl() argument 18 if (ContainsResourceImpl(resource)) in AddImpl() 19 return resource_to_handle_[resource]; in AddImpl() 24 resource_to_handle_[resource] = handle; in AddImpl() 25 handle_to_resource_[handle] = resource; in AddImpl() 27 AddObserverTypeProxy(resource); in AddImpl() 32 void AutomationResourceTrackerImpl::RemoveImpl(const void* resource) { in RemoveImpl() argument 33 if (!ContainsResourceImpl(resource)) in RemoveImpl() 36 int handle = resource_to_handle_[resource]; in RemoveImpl() 37 DCHECK_EQ(resource, handle_to_resource_[handle]); in RemoveImpl() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | ResourceView.js | 34 WebInspector.ResourceView = function(resource) argument 40 this.resource = resource; 55 WebInspector.ResourceView.hasTextContent = function(resource) argument 57 if (resource.type.isTextType()) 59 if (resource.type === WebInspector.resourceTypes.Other) 60 return resource.content && !resource.contentEncoded; 67 WebInspector.ResourceView.nonSourceViewForResource = function(resource) argument 69 switch (resource.type) { 71 return new WebInspector.ImageView(resource); 73 return new WebInspector.FontView(resource); [all …]
|
/external/kernel-headers/original/linux/ |
D | ioport.h | 17 struct resource { struct 22 struct resource *parent, *sibling, *child; argument 27 struct resource *res; 94 extern struct resource ioport_resource; 95 extern struct resource iomem_resource; 97 extern int request_resource(struct resource *root, struct resource *new); 98 extern struct resource * ____request_resource(struct resource *root, struct resource *new); 99 extern int release_resource(struct resource *new); 100 extern int insert_resource(struct resource *parent, struct resource *new); 101 extern int allocate_resource(struct resource *root, struct resource *new, [all …]
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
D | 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/ppapi/c/ |
D | ppb_view.h | 53 PP_Bool (*IsView)(PP_Resource resource); 76 PP_Bool (*GetRect)(PP_Resource resource, struct PP_Rect* rect); 87 PP_Bool (*IsFullscreen)(PP_Resource resource); 107 PP_Bool (*IsVisible)(PP_Resource resource); 126 PP_Bool (*IsPageVisible)(PP_Resource resource); 170 PP_Bool (*GetClipRect)(PP_Resource resource, struct PP_Rect* clip); 187 float (*GetDeviceScale)(PP_Resource resource); 199 float (*GetCSSScale)(PP_Resource resource); 205 PP_Bool (*IsView)(PP_Resource resource); 206 PP_Bool (*GetRect)(PP_Resource resource, struct PP_Rect* rect); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | DocumentThreadableLoader.cpp | 65 if (!loader->resource()) in create() 153 if (m_client && resource()) { in cancelWithError() 157 …errorForCallback = ResourceError(errorDomainBlinkInternal, 0, resource()->url().string(), "Load ca… in cancelWithError() 160 didFail(resource()->identifier(), errorForCallback); in cancelWithError() 168 if (resource()) in setDefersLoading() 169 resource()->setDefersLoading(value); in setDefersLoading() 172 void DocumentThreadableLoader::redirectReceived(Resource* resource, ResourceRequest& request, const… in redirectReceived() argument 175 ASSERT_UNUSED(resource, resource == this->resource()); in redirectReceived() 196 …InspectorInstrumentation::didReceiveCORSRedirectResponse(m_document->frame(), resource->identifier… in redirectReceived() 244 void DocumentThreadableLoader::dataSent(Resource* resource, unsigned long long bytesSent, unsigned … in dataSent() argument [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_resource.c | 13 struct pipe_resource *resource, in u_resource_get_handle_vtbl() argument 16 struct u_resource *ur = u_resource(resource); in u_resource_get_handle_vtbl() 17 return ur->vtbl->resource_get_handle(screen, resource, handle); in u_resource_get_handle_vtbl() 21 struct pipe_resource *resource) in u_resource_destroy_vtbl() argument 23 struct u_resource *ur = u_resource(resource); in u_resource_destroy_vtbl() 24 ur->vtbl->resource_destroy(screen, resource); in u_resource_destroy_vtbl() 28 struct pipe_resource *resource, in u_get_transfer_vtbl() argument 33 struct u_resource *ur = u_resource(resource); in u_get_transfer_vtbl() 34 return ur->vtbl->get_transfer(context, resource, level, usage, box); in u_get_transfer_vtbl() 40 struct u_resource *ur = u_resource(transfer->resource); in u_transfer_destroy_vtbl() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_resource.c | 13 struct pipe_resource *resource, in u_resource_get_handle_vtbl() argument 16 struct u_resource *ur = u_resource(resource); in u_resource_get_handle_vtbl() 17 return ur->vtbl->resource_get_handle(screen, resource, handle); in u_resource_get_handle_vtbl() 21 struct pipe_resource *resource) in u_resource_destroy_vtbl() argument 23 struct u_resource *ur = u_resource(resource); in u_resource_destroy_vtbl() 24 ur->vtbl->resource_destroy(screen, resource); in u_resource_destroy_vtbl() 28 struct pipe_resource *resource, in u_get_transfer_vtbl() argument 33 struct u_resource *ur = u_resource(resource); in u_get_transfer_vtbl() 34 return ur->vtbl->get_transfer(context, resource, level, usage, box); in u_get_transfer_vtbl() 40 struct u_resource *ur = u_resource(transfer->resource); in u_transfer_destroy_vtbl() [all …]
|
/external/chromium_org/ppapi/thunk/ |
D | ppb_view_thunk.cc | 21 PP_Bool IsView(PP_Resource resource) { in IsView() argument 23 EnterResource<PPB_View_API> enter(resource, false); in IsView() 27 PP_Bool GetRect(PP_Resource resource, struct PP_Rect* rect) { in GetRect() argument 29 EnterResource<PPB_View_API> enter(resource, true); in GetRect() 35 PP_Bool IsFullscreen(PP_Resource resource) { in IsFullscreen() argument 37 EnterResource<PPB_View_API> enter(resource, true); in IsFullscreen() 43 PP_Bool IsVisible(PP_Resource resource) { in IsVisible() argument 45 EnterResource<PPB_View_API> enter(resource, true); in IsVisible() 51 PP_Bool IsPageVisible(PP_Resource resource) { in IsPageVisible() argument 53 EnterResource<PPB_View_API> enter(resource, true); in IsPageVisible() [all …]
|
D | ppb_network_list_thunk.cc | 21 PP_Bool IsNetworkList(PP_Resource resource) { in IsNetworkList() argument 23 EnterResource<PPB_NetworkList_API> enter(resource, false); in IsNetworkList() 27 uint32_t GetCount(PP_Resource resource) { in GetCount() argument 29 EnterResource<PPB_NetworkList_API> enter(resource, true); in GetCount() 35 struct PP_Var GetName(PP_Resource resource, uint32_t index) { in GetName() argument 37 EnterResource<PPB_NetworkList_API> enter(resource, true); in GetName() 43 PP_NetworkList_Type GetType(PP_Resource resource, uint32_t index) { in GetType() argument 45 EnterResource<PPB_NetworkList_API> enter(resource, true); in GetType() 51 PP_NetworkList_State GetState(PP_Resource resource, uint32_t index) { in GetState() argument 53 EnterResource<PPB_NetworkList_API> enter(resource, true); in GetState() [all …]
|
/external/chromium_org/ppapi/shared_impl/ |
D | scoped_pp_resource.cc | 16 ScopedPPResource::ScopedPPResource(PP_Resource resource) : id_(resource) { in ScopedPPResource() argument 20 ScopedPPResource::ScopedPPResource(const PassRef&, PP_Resource resource) in ScopedPPResource() argument 21 : id_(resource) { in ScopedPPResource() 24 ScopedPPResource::ScopedPPResource(Resource* resource) in ScopedPPResource() argument 25 : id_(resource ? resource->GetReference() : 0) { in ScopedPPResource() 38 ScopedPPResource& ScopedPPResource::operator=(PP_Resource resource) { in operator =() argument 39 if (id_ == resource) in operator =() 42 id_ = resource; in operator =() 48 const ScopedPPResource& resource) { in operator =() argument 49 if (id_ == resource.id_) in operator =() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLScriptRunner.cpp | 58 if (m_parserBlockingScript.resource() && m_parserBlockingScript.watchingForLoad()) in ~HTMLScriptRunner() 63 if (pendingScript.resource() && pendingScript.watchingForLoad()) in ~HTMLScriptRunner() 89 if (script.resource()) { in sourceFromPendingScript() 90 errorOccurred = script.resource()->errorOccurred(); in sourceFromPendingScript() 91 ASSERT(script.resource()->isLoaded()); in sourceFromPendingScript() 92 return ScriptSourceCode(script.resource()); in sourceFromPendingScript() 103 if (script.resource() && !script.resource()->isLoaded()) in isPendingScriptReady() 125 if (pendingScript.resource() && pendingScript.watchingForLoad()) in executePendingScriptAndDispatchEvent() 150 m_host->watchForLoad(pendingScript.resource()); in watchForLoad() 157 m_host->stopWatchingForLoad(pendingScript.resource()); in stopWatchingForLoad() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | image_loading_tracker.cc | 40 void LoadImage(const ExtensionResource& resource, in LoadImage() argument 46 NewRunnableMethod(this, &ImageLoader::LoadOnFileThread, resource, in LoadImage() 50 void LoadOnFileThread(const ExtensionResource& resource, in LoadOnFileThread() argument 57 FilePath path = resource.GetFilePath(); in LoadOnFileThread() 59 ReportBack(NULL, resource, gfx::Size(), id); in LoadOnFileThread() 70 ReportBack(NULL, resource, gfx::Size(), id); in LoadOnFileThread() 84 ReportBack(decoded.release(), resource, original_size, id); in LoadOnFileThread() 87 void ReportBack(SkBitmap* image, const ExtensionResource& resource, in ReportBack() argument 94 image, resource, original_size, id)); in ReportBack() 97 void ReportOnUIThread(SkBitmap* image, const ExtensionResource& resource, in ReportOnUIThread() argument [all …]
|