/external/chromium_org/third_party/WebKit/Source/core/loader/archive/ |
MHTMLParser.cpp | 72 // With IE a page with no resource is not multi-part. 74 RefPtr<ArchiveResource> resource = parseNextPart(*header, String(), String(), endOfArchiveReached); local 75 if (!resource) 77 archive->setMainResource(resource); 107 RefPtr<ArchiveResource> resource = parseNextPart(*resourceHeader, header->endOfPartBoundary(), header->endOfDocumentBoundary(), endOfArchive); local 108 if (!resource) { 112 addResourceToArchive(resource.get(), archive.get()); 118 void MHTMLParser::addResourceToArchive(ArchiveResource* resource, MHTMLArchive* archive) 120 const String& mimeType = resource->mimeType(); 122 m_resources.append(resource); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_screen.h | 835 struct pipe_resource* resource = screen->resource_create(screen, &templat); local 836 if(!resource) 850 immediate_pipe->transfer_inline_write(immediate_pipe, resource, level, PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD | PIPE_TRANSFER_UNSYNCHRONIZED, &box, initial_data->pSysMem, initial_data->SysMemPitch, initial_data->SysMemSlicePitch); 855 *ppresource = resource; 882 struct pipe_resource* resource; local 884 HRESULT hr = create_resource(PIPE_TEXTURE_1D, desc->Width, 1, 1, desc->MipLevels, desc->ArraySize, desc->Format, 0, desc->Usage, desc->BindFlags, desc->CPUAccessFlags, desc->MiscFlags, initial_data, dxgi_usage, out_texture1d ? &resource : 0); 888 cdesc.MipLevels = resource->last_level + 1; 889 *out_texture1d = new GalliumD3D11Texture1D(this, resource, cdesc, dxgi_usage); 900 struct pipe_resource* resource; local 902 HRESULT hr = create_resource(PIPE_TEXTURE_2D, desc->Width, desc->Height, 1, desc->MipLevels, desc->ArraySize, desc->Format, &desc->SampleDesc, desc->Usage, desc->BindFlags, desc->CPUAccessFlags, desc->MiscFlags, initial_data, dxgi_usage, out_texture2d ? &resource : 0) 921 struct pipe_resource* resource; local 939 struct pipe_resource* resource; local 996 struct pipe_resource* resource; local 1046 const struct pipe_resource* resource = ((GalliumD3D11Resource<>*)iresource)->resource; local 1179 const struct pipe_resource* resource = ((GalliumD3D11Resource<>*)iresource)->resource; local 1277 const struct pipe_resource* resource = ((GalliumD3D11Resource<>*)iresource)->resource; local [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_screen.h | 835 struct pipe_resource* resource = screen->resource_create(screen, &templat); local 836 if(!resource) 850 immediate_pipe->transfer_inline_write(immediate_pipe, resource, level, PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD | PIPE_TRANSFER_UNSYNCHRONIZED, &box, initial_data->pSysMem, initial_data->SysMemPitch, initial_data->SysMemSlicePitch); 855 *ppresource = resource; 882 struct pipe_resource* resource; local 884 HRESULT hr = create_resource(PIPE_TEXTURE_1D, desc->Width, 1, 1, desc->MipLevels, desc->ArraySize, desc->Format, 0, desc->Usage, desc->BindFlags, desc->CPUAccessFlags, desc->MiscFlags, initial_data, dxgi_usage, out_texture1d ? &resource : 0); 888 cdesc.MipLevels = resource->last_level + 1; 889 *out_texture1d = new GalliumD3D11Texture1D(this, resource, cdesc, dxgi_usage); 900 struct pipe_resource* resource; local 902 HRESULT hr = create_resource(PIPE_TEXTURE_2D, desc->Width, desc->Height, 1, desc->MipLevels, desc->ArraySize, desc->Format, &desc->SampleDesc, desc->Usage, desc->BindFlags, desc->CPUAccessFlags, desc->MiscFlags, initial_data, dxgi_usage, out_texture2d ? &resource : 0) 921 struct pipe_resource* resource; local 939 struct pipe_resource* resource; local 996 struct pipe_resource* resource; local 1046 const struct pipe_resource* resource = ((GalliumD3D11Resource<>*)iresource)->resource; local 1179 const struct pipe_resource* resource = ((GalliumD3D11Resource<>*)iresource)->resource; local 1277 const struct pipe_resource* resource = ((GalliumD3D11Resource<>*)iresource)->resource; local [all...] |
/external/chromium_org/ppapi/api/ |
ppb_input_event.idl | 408 * IsInputEvent() returns true if the given resource is a valid input event 409 * resource. 411 * @param[in] resource A <code>PP_Resource</code> corresponding to a generic 412 * resource. 414 * @return <code>PP_TRUE</code> if the given resource is a valid input event 415 * resource. 417 PP_Bool IsInputEvent([in] PP_Resource resource); 421 * resource. 423 * @param[in] resource A <code>PP_Resource</code> corresponding to an input 427 * <code>PP_INPUTEVENT_TYPE_UNDEFINED</code> if the resource is invalid [all...] |
/external/chromium_org/ppapi/proxy/ |
ppp_content_decryptor_private_proxy.cc | 33 PP_Bool DescribeHostBufferResource(PP_Resource resource, uint32_t* size) { 34 EnterResourceNoLock<PPB_Buffer_API> enter(resource, true); 43 PP_Resource resource, 45 if (!dispatcher || resource == 0 || !shared_mem_handle) 47 EnterResourceNoLock<PPB_Buffer_API> enter(resource, true); 79 PP_Resource resource, 86 if (resource == 0) { 87 buffer->resource = HostResource(); 94 host_resource.SetHostResource(instance, resource); 97 if (DescribeHostBufferResource(resource, &size) == PP_FALSE [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InjectedScriptCanvasModuleSource.js | 136 var context = /** @type {CanvasRenderingContext2D} */ (Resource.wrappedObject(canvas.getContext("2d"))); 195 context = /** @type {CanvasRenderingContext2D} */ (Resource.wrappedObject(canvas.getContext("2d"))); 347 * @param {Resource|Object} thisObject 350 * @param {Resource|*=} result 367 * @return {Resource} 369 resource: function() 371 return Resource.forObject(this._thisObject); 460 if (!Resource.forObject(this._args[i])) 472 var thisObject = /** @type {ReplayableResource} */ (Resource.toReplayable(this._thisObject, cache)); 473 var result = Resource.toReplayable(this._result, cache) 3650 var resource = lastCall.resource(); variable 3683 var resource = traceLogPlayer && traceLogPlayer.replayWorldResource(resourceId); variable [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
client_side_detection_host_unittest.cc | 117 MOCK_METHOD1(DoDisplayBlockingPage, void(const UnsafeResource& resource)); 289 UnsafeResource resource; local 290 resource.url = GURL("http://www.malware.com/"); 291 resource.original_url = web_contents()->GetURL(); 292 resource.is_subresource = true; 293 resource.threat_type = SB_THREAT_TYPE_URL_MALWARE; 294 resource.callback = base::Bind(&EmptyUrlCheckCallback); 295 resource.render_process_host_id = web_contents()->GetRenderProcessHost()-> 297 resource.render_view_id = 299 csd_host_->OnSafeBrowsingHit(resource); 427 UnsafeResource resource; local 512 UnsafeResource resource; local 900 UnsafeResource resource; local [all...] |
/external/chromium_org/ppapi/c/ |
ppb_input_event.h | 421 * IsInputEvent() returns true if the given resource is a valid input event 422 * resource. 424 * @param[in] resource A <code>PP_Resource</code> corresponding to a generic 425 * resource. 427 * @return <code>PP_TRUE</code> if the given resource is a valid input event 428 * resource. 430 PP_Bool (*IsInputEvent)(PP_Resource resource); 433 * resource. 435 * @param[in] resource A <code>PP_Resource</code> corresponding to an input 439 * <code>PP_INPUTEVENT_TYPE_UNDEFINED</code> if the resource is invalid [all...] |
/external/chromium_org/ppapi/shared_impl/ |
tracked_callback_unittest.cc | 11 #include "ppapi/shared_impl/resource.h" 92 scoped_refptr<Resource> resource(new Resource(OBJECT_IS_IMPL, pp_instance())); 97 resource.get(), 107 resource.get(), 117 resource.get(), 143 class CallbackMockResource : public Resource { 146 : Resource(OBJECT_IS_IMPL, instance) {} 251 // Test that callbacks get aborted on the last resource unref [all...] |
/external/chromium_org/tools/playback_benchmark/ |
playback_driver.py | 20 var wnd = window.open('?resource=start_page_popup', '', 106 elif 'resource' in query: 107 self._GetBenchmarkResource(query['resource'][0], handler) 133 for resource in ('common.js', 'playback.js'): 134 resource_file = os.path.join(self.script_dir, resource) 135 self.benchmark_resources[resource] = {'data': ReadFile(resource_file), 159 def _GetBenchmarkResource(self, resource, handler): 160 "Sends requested resource to browser." 162 if resource in self.benchmark_resources: 163 resource = self.benchmark_resources[resource [all...] |
/external/chromium_org/chrome/browser/extensions/api/usb/ |
usb_api.cc | 427 UsbDeviceResource* const resource = new UsbDeviceResource( local 432 result_->Append(PopulateDevice(manager_->Add(resource), 0, 0)); 493 UsbDeviceResource* const resource = local 496 result_->Append(PopulateDevice(manager_->Add(resource), 516 UsbDeviceResource* const resource = GetUsbDeviceResource( local 518 if (!resource) { 528 resource->device()->device(), 646 UsbDeviceResource* const resource = GetUsbDeviceResource( local 648 if (!resource) { 656 base::Bind(&UsbDeviceHandle::Close, resource->device()) 676 UsbDeviceResource* resource = local 709 UsbDeviceResource* resource = local 744 UsbDeviceResource* resource = local 778 UsbDeviceResource* const resource = GetUsbDeviceResource( local 835 UsbDeviceResource* const resource = GetUsbDeviceResource( local 884 UsbDeviceResource* const resource = GetUsbDeviceResource( local 933 UsbDeviceResource* const resource = GetUsbDeviceResource( local 1000 UsbDeviceResource* const resource = GetUsbDeviceResource( local 1028 UsbDeviceResource* const resource = GetUsbDeviceResource( local [all...] |
/external/chromium_org/ppapi/thunk/ |
ppb_input_event_thunk.cc | 47 PP_Bool IsInputEvent(PP_Resource resource) { 49 EnterInputEvent enter(resource, false); 126 PP_Bool IsMouseInputEvent(PP_Resource resource) { 128 if (!IsInputEvent(resource)) 130 PP_InputEvent_Type type = GetType(resource); 205 PP_Bool IsWheelInputEvent(PP_Resource resource) { 207 if (!IsInputEvent(resource)) 209 PP_InputEvent_Type type = GetType(resource); 262 PP_Bool IsKeyboardInputEvent(PP_Resource resource) { 264 if (!IsInputEvent(resource)) [all...] |
/external/chromium_org/chrome/browser/task_manager/ |
guest_resource_provider.cc | 38 // Resource methods: 59 Resource::Type GuestResource::GetType() const { 108 Resource* GuestResourceProvider::GetResource( 168 GuestResource* resource = new GuestResource(render_view_host); local 169 resources_[render_view_host] = resource; 170 task_manager_->AddResource(resource); 181 GuestResource* resource = iter->second; 182 task_manager_->RemoveResource(resource); 184 delete resource;
|
notification_resource_provider.cc | 20 #include "ui/base/resource/resource_bundle.h" 25 class NotificationResource : public Resource { 30 // Resource interface 98 Resource::Type NotificationResource::GetType() const { 134 Resource* NotificationResourceProvider::GetResource( 208 NotificationResource* resource = new NotificationResource(balloon_host); local 210 resources_[balloon_host] = resource; 211 task_manager_->AddResource(resource); 223 // Remove the resource from the Task Manager. 224 NotificationResource* resource = iter->second [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
real_pepper_interface.cc | 97 void RealPepperInterface::AddRefResource(PP_Resource resource) { 98 if (resource) 99 core_interface_->AddRefResource(resource); 102 void RealPepperInterface::ReleaseResource(PP_Resource resource) { 103 if (resource) 104 core_interface_->ReleaseResource(resource);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_staging.c | 64 pipe_resource_reference(&tx->base.resource, pt); 79 pipe_resource_reference(&tx->base.resource, NULL); 98 tx->base.resource, level, &sbox); 110 if (tx->staging_resource != tx->base.resource) 123 pipe->resource_copy_region(pipe, tx->base.resource, tx->base.level, tx->base.box.x, tx->base.box.y, tx->base.box.z + zi, 130 pipe_resource_reference(&ptx->resource, NULL);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_staging.c | 64 pipe_resource_reference(&tx->base.resource, pt); 79 pipe_resource_reference(&tx->base.resource, NULL); 98 tx->base.resource, level, &sbox); 110 if (tx->staging_resource != tx->base.resource) 123 pipe->resource_copy_region(pipe, tx->base.resource, tx->base.level, tx->base.box.x, tx->base.box.y, tx->base.box.z + zi, 130 pipe_resource_reference(&ptx->resource, NULL);
|
/external/v8/src/extensions/ |
externalize-string-extension.cc | 99 SimpleAsciiStringResource* resource = new SimpleAsciiStringResource( local 101 result = string->MakeExternal(resource); 105 if (!result) delete resource; 109 SimpleTwoByteStringResource* resource = new SimpleTwoByteStringResource( local 111 result = string->MakeExternal(resource); 115 if (!result) delete resource;
|
/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 112 int resource = a.getResourceId(com.android.internal.R.styleable.LayoutAnimation_animation, 0); local 113 if (resource > 0) { 114 setAnimation(context, resource); 117 resource = a.getResourceId(com.android.internal.R.styleable.LayoutAnimation_interpolator, 0); 118 if (resource > 0) { 119 setInterpolator(context, resource); 176 * @param resourceID the resource identifier of the animation 221 * @param resourceID the resource identifier of the interpolator
|
/external/chromium/chrome/browser/task_manager/ |
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...] |
/bionic/libc/kernel/common/linux/ |
ioport.h | 24 struct resource { struct 30 struct resource *parent, *sibling, *child; 35 struct resource *res;
|
/development/ndk/platforms/android-3/include/linux/ |
ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 28 struct resource *res;
|
/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/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_vertex_buffers.c | 221 buffer->ycbcr[i].resource = pipe_buffer_create 228 if (!buffer->ycbcr[i].resource) 233 buffer->mv[i].resource = pipe_buffer_create 240 if (!buffer->mv[i].resource) 249 pipe_resource_reference(&buffer->mv[i].resource, NULL); 253 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); 272 buf.buffer = buffer->ycbcr[component].resource; 287 buf.buffer = buffer->mv[motionvector].resource; 304 buffer->ycbcr[i].resource, 314 buffer->mv[i].resource, [all...] |