/external/mesa3d/src/gallium/state_trackers/nine/ |
D | volume9.c | 38 NineVolume9_AllocateData( struct NineVolume9 *This ) in NineVolume9_AllocateData() argument 40 unsigned size = This->layer_stride * This->desc.Depth; in NineVolume9_AllocateData() 43 This->base.container, This, This->level, size); in NineVolume9_AllocateData() 45 This->data = (uint8_t *)align_calloc(size, 32); in NineVolume9_AllocateData() 46 if (!This->data) in NineVolume9_AllocateData() 52 NineVolume9_ctor( struct NineVolume9 *This, in NineVolume9_ctor() argument 64 This, pContainer, pParams->device, pResource, Level, pDesc); in NineVolume9_ctor() 74 hr = NineUnknown_ctor(&This->base, pParams); in NineVolume9_ctor() 78 pipe_resource_reference(&This->resource, pResource); in NineVolume9_ctor() 80 This->transfer = NULL; in NineVolume9_ctor() [all …]
|
D | buffer9.c | 41 NineBuffer9_ctor( struct NineBuffer9 *This, in NineBuffer9_ctor() argument 48 struct pipe_resource *info = &This->base.info; in NineBuffer9_ctor() 51 DBG("This=%p Size=0x%x Usage=%x Pool=%u\n", This, Size, Usage, Pool); in NineBuffer9_ctor() 55 This->maps = MALLOC(sizeof(struct NineTransfer)); in NineBuffer9_ctor() 56 if (!This->maps) in NineBuffer9_ctor() 58 This->nmaps = 0; in NineBuffer9_ctor() 59 This->maxmaps = 1; in NineBuffer9_ctor() 60 This->size = Size; in NineBuffer9_ctor() 106 This->discard_nooverwrite_only = !!(Usage & D3DUSAGE_WRITEONLY) && in NineBuffer9_ctor() 125 hr = NineResource9_ctor(&This->base, pParams, NULL, TRUE, in NineBuffer9_ctor() [all …]
|
D | surface9.c | 48 NineSurface9_CreatePipeSurfaces( struct NineSurface9 *This ); 51 NineSurface9_ctor( struct NineSurface9 *This, in NineSurface9_ctor() argument 66 This, pParams->device, pResource, Level, Layer, pDesc); in NineSurface9_ctor() 82 This->data = (uint8_t *)user_buffer; in NineSurface9_ctor() 99 This->base.info.screen = pParams->device->screen; in NineSurface9_ctor() 100 This->base.info.target = PIPE_TEXTURE_2D; in NineSurface9_ctor() 101 This->base.info.width0 = pDesc->Width; in NineSurface9_ctor() 102 This->base.info.height0 = pDesc->Height; in NineSurface9_ctor() 103 This->base.info.depth0 = 1; in NineSurface9_ctor() 104 This->base.info.last_level = 0; in NineSurface9_ctor() [all …]
|
D | basetexture9.c | 41 NineBaseTexture9_ctor( struct NineBaseTexture9 *This, in NineBaseTexture9_ctor() argument 54 This, pParams, initResource, Type, format, Pool, Usage); in NineBaseTexture9_ctor() 62 hr = NineResource9_ctor(&This->base, pParams, initResource, alloc, Type, Pool, Usage); in NineBaseTexture9_ctor() 66 This->format = format; in NineBaseTexture9_ctor() 67 This->mipfilter = (Usage & D3DUSAGE_AUTOGENMIPMAP) ? in NineBaseTexture9_ctor() 69 This->managed.lod = 0; in NineBaseTexture9_ctor() 70 This->managed.lod_resident = -1; in NineBaseTexture9_ctor() 74 This->managed.dirty = TRUE; in NineBaseTexture9_ctor() 82 This->shadow = (This->format != D3DFMT_INTZ && This->format != D3DFMT_DF16 && in NineBaseTexture9_ctor() 83 This->format != D3DFMT_DF24) && in NineBaseTexture9_ctor() [all …]
|
D | swapchain9.c | 43 NineSwapChain9_ctor( struct NineSwapChain9 *This, in NineSwapChain9_ctor() argument 55 This, pParams->device, pPresent, pCTX, hFocusWindow); in NineSwapChain9_ctor() 57 hr = NineUnknown_ctor(&This->base, pParams); in NineSwapChain9_ctor() 61 This->screen = NineDevice9_GetScreen(This->base.device); in NineSwapChain9_ctor() 62 This->implicit = implicit; in NineSwapChain9_ctor() 63 This->actx = pCTX; in NineSwapChain9_ctor() 64 This->present = pPresent; in NineSwapChain9_ctor() 65 This->mode = NULL; in NineSwapChain9_ctor() 68 if (!This->actx->thread_submit && in NineSwapChain9_ctor() 69 This->base.device->minor_version_num > 2) { in NineSwapChain9_ctor() [all …]
|
D | resource9.c | 36 NineResource9_ctor( struct NineResource9 *This, in NineResource9_ctor() argument 49 This, pParams, initResource, (int) Allocate, in NineResource9_ctor() 52 hr = NineUnknown_ctor(&This->base, pParams); in NineResource9_ctor() 56 This->info.screen = screen = This->base.device->screen; in NineResource9_ctor() 58 pipe_resource_reference(&This->resource, initResource); in NineResource9_ctor() 79 if (This->info.target != PIPE_BUFFER) { in NineResource9_ctor() 80 This->size = util_resource_size(&This->info); in NineResource9_ctor() 82 p_atomic_add(&This->base.device->available_texture_mem, -This->size); in NineResource9_ctor() 83 if (This->base.device->available_texture_mem <= in NineResource9_ctor() 84 This->base.device->available_texture_limit) { in NineResource9_ctor() [all …]
|
D | iunknown.c | 34 NineUnknown_ctor( struct NineUnknown *This, in NineUnknown_ctor() argument 37 This->refs = pParams->container ? 0 : 1; in NineUnknown_ctor() 38 This->bind = 0; in NineUnknown_ctor() 39 This->forward = !This->refs; in NineUnknown_ctor() 40 This->container = pParams->container; in NineUnknown_ctor() 41 This->device = pParams->device; in NineUnknown_ctor() 42 if (This->refs && This->device) in NineUnknown_ctor() 43 NineUnknown_AddRef(NineUnknown(This->device)); in NineUnknown_ctor() 45 This->vtable = pParams->vtable; in NineUnknown_ctor() 46 This->vtable_internal = pParams->vtable; in NineUnknown_ctor() [all …]
|
D | device9.c | 86 NineDevice9_SetDefaultState( struct NineDevice9 *This, boolean is_reset ) in NineDevice9_SetDefaultState() argument 90 DBG("This=%p is_reset=%d\n", This, (int) is_reset); in NineDevice9_SetDefaultState() 92 assert(!This->is_recording); in NineDevice9_SetDefaultState() 94 nine_state_set_defaults(This, &This->caps, is_reset); in NineDevice9_SetDefaultState() 96 refSurf = This->swapchains[0]->buffers[0]; in NineDevice9_SetDefaultState() 99 This->state.viewport.X = 0; in NineDevice9_SetDefaultState() 100 This->state.viewport.Y = 0; in NineDevice9_SetDefaultState() 101 This->state.viewport.Width = refSurf->desc.Width; in NineDevice9_SetDefaultState() 102 This->state.viewport.Height = refSurf->desc.Height; in NineDevice9_SetDefaultState() 104 nine_context_set_viewport(This, &This->state.viewport); in NineDevice9_SetDefaultState() [all …]
|
D | volumetexture9.c | 31 NineVolumeTexture9_ctor( struct NineVolumeTexture9 *This, in NineVolumeTexture9_ctor() argument 39 struct pipe_resource *info = &This->base.base.info; in NineVolumeTexture9_ctor() 48 This, pParams, Width, Height, Depth, Levels, in NineVolumeTexture9_ctor() 102 This->volumes = CALLOC(info->last_level + 1, sizeof(*This->volumes)); in NineVolumeTexture9_ctor() 103 if (!This->volumes) in NineVolumeTexture9_ctor() 105 This->base.pstype = 3; in NineVolumeTexture9_ctor() 107 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, in NineVolumeTexture9_ctor() 121 hr = NineVolume9_new(This->base.base.base.device, NineUnknown(This), in NineVolumeTexture9_ctor() 122 This->base.base.resource, l, in NineVolumeTexture9_ctor() 123 &voldesc, &This->volumes[l]); in NineVolumeTexture9_ctor() [all …]
|
D | iunknown.h | 84 NineUnknown_ctor( struct NineUnknown *This, 88 NineUnknown_dtor( struct NineUnknown *This ); 93 NineUnknown_QueryInterface( struct NineUnknown *This, 98 NineUnknown_AddRef( struct NineUnknown *This ); 101 NineUnknown_Release( struct NineUnknown *This ); 104 NineUnknown_ReleaseWithDtorLock( struct NineUnknown *This ); 107 NineUnknown_GetDevice( struct NineUnknown *This, 111 NineUnknown_SetPrivateData( struct NineUnknown *This, 118 NineUnknown_GetPrivateData( struct NineUnknown *This, 124 NineUnknown_FreePrivateData( struct NineUnknown *This, [all …]
|
D | vertexshader9.c | 36 NineVertexShader9_ctor( struct NineVertexShader9 *This, in NineVertexShader9_ctor() argument 47 This, pParams, pFunction, cso); in NineVertexShader9_ctor() 49 hr = NineUnknown_ctor(&This->base, pParams); in NineVertexShader9_ctor() 54 This->ff_cso = cso; in NineVertexShader9_ctor() 58 device = This->base.device; in NineVertexShader9_ctor() 85 This->byte_code.version = info.version; in NineVertexShader9_ctor() 86 This->swvp_only = info.swvp_on; in NineVertexShader9_ctor() 88 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NineVertexShader9_ctor() 89 if (!This->byte_code.tokens) in NineVertexShader9_ctor() 91 This->byte_code.size = info.byte_size; in NineVertexShader9_ctor() [all …]
|
D | nine_lock.c | 66 LockAuthenticatedChannel9_GetCertificateSize( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_GetCertificateSize() argument 71 r = NineAuthenticatedChannel9_GetCertificateSize(This, pCertificateSize); in LockAuthenticatedChannel9_GetCertificateSize() 77 LockAuthenticatedChannel9_GetCertificate( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_GetCertificate() argument 83 r = NineAuthenticatedChannel9_GetCertificate(This, CertifacteSize, ppCertificate); in LockAuthenticatedChannel9_GetCertificate() 89 LockAuthenticatedChannel9_NegotiateKeyExchange( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_NegotiateKeyExchange() argument 95 r = NineAuthenticatedChannel9_NegotiateKeyExchange(This, DataSize, pData); in LockAuthenticatedChannel9_NegotiateKeyExchange() 101 LockAuthenticatedChannel9_Query( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_Query() argument 109 r = NineAuthenticatedChannel9_Query(This, InputSize, pInput, OutputSize, pOutput); in LockAuthenticatedChannel9_Query() 115 LockAuthenticatedChannel9_Configure( struct NineAuthenticatedChannel9 *This, in LockAuthenticatedChannel9_Configure() argument 122 r = NineAuthenticatedChannel9_Configure(This, InputSize, pInput, pOutput); in LockAuthenticatedChannel9_Configure() [all …]
|
D | texture9.c | 41 NineTexture9_ctor( struct NineTexture9 *This, in NineTexture9_ctor() argument 50 struct pipe_resource *info = &This->base.base.info; in NineTexture9_ctor() 59 "pSharedHandle=%p\n", This, Width, Height, Levels, in NineTexture9_ctor() 168 This->managed_buffer = user_buffer; in NineTexture9_ctor() 169 if (!This->managed_buffer) in NineTexture9_ctor() 173 This->surfaces = CALLOC(info->last_level + 1, sizeof(*This->surfaces)); in NineTexture9_ctor() 174 if (!This->surfaces) in NineTexture9_ctor() 177 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_TEXTURE, Format, Pool, Usage); in NineTexture9_ctor() 180 This->base.pstype = (Height == 1) ? 1 : 0; in NineTexture9_ctor() 201 hr = NineSurface9_new(This->base.base.base.device, NineUnknown(This), in NineTexture9_ctor() [all …]
|
D | cubetexture9.c | 34 NineCubeTexture9_ctor( struct NineCubeTexture9 *This, in NineCubeTexture9_ctor() argument 42 struct pipe_resource *info = &This->base.base.info; in NineCubeTexture9_ctor() 53 This, pParams, EdgeLength, Levels, Usage, in NineCubeTexture9_ctor() 114 This->managed_buffer = align_calloc(6 * face_size, 32); in NineCubeTexture9_ctor() 115 if (!This->managed_buffer) in NineCubeTexture9_ctor() 119 This->surfaces = CALLOC(6 * (info->last_level + 1), sizeof(*This->surfaces)); in NineCubeTexture9_ctor() 120 if (!This->surfaces) in NineCubeTexture9_ctor() 123 hr = NineBaseTexture9_ctor(&This->base, pParams, NULL, D3DRTYPE_CUBETEXTURE, in NineCubeTexture9_ctor() 127 This->base.pstype = 2; in NineCubeTexture9_ctor() 147 p = This->managed_buffer ? This->managed_buffer + offset + in NineCubeTexture9_ctor() [all …]
|
D | device9.h | 186 NineDevice9_ctor( struct NineDevice9 *This, 200 NineDevice9_dtor( struct NineDevice9 *This ); 204 NineDevice9_SetDefaultState( struct NineDevice9 *This, boolean is_reset ); 207 NineDevice9_GetScreen( struct NineDevice9 *This ); 210 NineDevice9_GetPipe( struct NineDevice9 *This ); 213 NineDevice9_GetCaps( struct NineDevice9 *This ); 218 NineDevice9_TestCooperativeLevel( struct NineDevice9 *This ); 221 NineDevice9_GetAvailableTextureMem( struct NineDevice9 *This ); 224 NineDevice9_EvictManagedResources( struct NineDevice9 *This ); 227 NineDevice9_GetDirect3D( struct NineDevice9 *This, [all …]
|
D | query9.c | 93 NineQuery9_ctor( struct NineQuery9 *This, in NineQuery9_ctor() argument 101 DBG("This=%p pParams=%p Type=%d\n", This, pParams, Type); in NineQuery9_ctor() 103 hr = NineUnknown_ctor(&This->base, pParams); in NineQuery9_ctor() 107 This->state = NINE_QUERY_STATE_FRESH; in NineQuery9_ctor() 108 This->type = Type; in NineQuery9_ctor() 113 This->pq = nine_context_create_query(device, ptype); in NineQuery9_ctor() 114 if (!This->pq) in NineQuery9_ctor() 120 This->instant = in NineQuery9_ctor() 128 This->result_size = nine_query_result_size(Type); in NineQuery9_ctor() 134 NineQuery9_dtor( struct NineQuery9 *This ) in NineQuery9_dtor() argument [all …]
|
D | pixelshader9.c | 34 NinePixelShader9_ctor( struct NinePixelShader9 *This, in NinePixelShader9_ctor() argument 43 DBG("This=%p pParams=%p pFunction=%p cso=%p\n", This, pParams, pFunction, cso); in NinePixelShader9_ctor() 45 hr = NineUnknown_ctor(&This->base, pParams); in NinePixelShader9_ctor() 50 This->ff_cso = cso; in NinePixelShader9_ctor() 53 device = This->base.device; in NinePixelShader9_ctor() 70 This->byte_code.version = info.version; in NinePixelShader9_ctor() 72 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NinePixelShader9_ctor() 73 if (!This->byte_code.tokens) in NinePixelShader9_ctor() 75 This->byte_code.size = info.byte_size; in NinePixelShader9_ctor() 77 This->variant.cso = info.cso; in NinePixelShader9_ctor() [all …]
|
D | basetexture9.h | 64 NineBaseTexture9_ctor( struct NineBaseTexture9 *This, 73 NineBaseTexture9_dtor( struct NineBaseTexture9 *This ); 76 NineBaseTexture9_SetLOD( struct NineBaseTexture9 *This, 80 NineBaseTexture9_GetLOD( struct NineBaseTexture9 *This ); 83 NineBaseTexture9_GetLevelCount( struct NineBaseTexture9 *This ); 86 NineBaseTexture9_SetAutoGenFilterType( struct NineBaseTexture9 *This, 90 NineBaseTexture9_GetAutoGenFilterType( struct NineBaseTexture9 *This ); 93 NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This ); 96 NineBaseTexture9_PreLoad( struct NineBaseTexture9 *This ); 99 NineBaseTexture9_UnLoad( struct NineBaseTexture9 *This ); [all …]
|
D | surface9.h | 75 NineSurface9_ctor( struct NineSurface9 *This, 86 NineSurface9_dtor( struct NineSurface9 *This ); 91 NineSurface9_MarkContainerDirty( struct NineSurface9 *This ); 94 NineSurface9_GetSurface( struct NineSurface9 *This, int sRGB ) in NineSurface9_GetSurface() argument 96 assert(This->surface[sRGB]); in NineSurface9_GetSurface() 97 return This->surface[sRGB]; in NineSurface9_GetSurface() 101 NineSurface9_GetResource( struct NineSurface9 *This ) in NineSurface9_GetResource() argument 103 return This->base.resource; in NineSurface9_GetResource() 107 NineSurface9_SetResource( struct NineSurface9 *This, 111 NineSurface9_SetMultiSampleType( struct NineSurface9 *This, [all …]
|
D | indexbuffer9.c | 39 NineIndexBuffer9_ctor( struct NineIndexBuffer9 *This, in NineIndexBuffer9_ctor() argument 45 This, pParams, pDesc, nine_D3DUSAGE_to_str(pDesc->Usage)); in NineIndexBuffer9_ctor() 47 hr = NineBuffer9_ctor(&This->base, pParams, D3DRTYPE_INDEXBUFFER, in NineIndexBuffer9_ctor() 52 This->buffer.buffer = NULL; in NineIndexBuffer9_ctor() 53 This->buffer.offset = 0; in NineIndexBuffer9_ctor() 56 case D3DFMT_INDEX16: This->buffer.index_size = 2; break; in NineIndexBuffer9_ctor() 57 case D3DFMT_INDEX32: This->buffer.index_size = 4; break; in NineIndexBuffer9_ctor() 62 This->buffer.user_buffer = NULL; in NineIndexBuffer9_ctor() 65 This->desc = *pDesc; in NineIndexBuffer9_ctor() 71 NineIndexBuffer9_dtor( struct NineIndexBuffer9 *This ) in NineIndexBuffer9_dtor() argument [all …]
|
D | device9ex.c | 33 NineDevice9Ex_ctor( struct NineDevice9Ex *This, in NineDevice9Ex_ctor() argument 48 This, pParams, pScreen, pCreationParameters, pCaps, in NineDevice9Ex_ctor() 52 return NineDevice9_ctor(&This->base, pParams, in NineDevice9Ex_ctor() 60 NineDevice9Ex_dtor( struct NineDevice9Ex *This ) in NineDevice9Ex_dtor() argument 62 NineDevice9_dtor(&This->base); in NineDevice9Ex_dtor() 66 NineDevice9Ex_SetConvolutionMonoKernel( struct NineDevice9Ex *This, in NineDevice9Ex_SetConvolutionMonoKernel() argument 76 NineDevice9Ex_ComposeRects( struct NineDevice9Ex *This, in NineDevice9Ex_ComposeRects() argument 90 NineDevice9Ex_PresentEx( struct NineDevice9Ex *This, in NineDevice9Ex_PresentEx() argument 102 This, pSourceRect, pDestRect, hDestWindowOverride, in NineDevice9Ex_PresentEx() 105 for (i = 0; i < This->base.nswapchains; i++) { in NineDevice9Ex_PresentEx() [all …]
|
D | vertexdeclaration9.c | 172 NineVertexDeclaration9_ctor( struct NineVertexDeclaration9 *This, in NineVertexDeclaration9_ctor() argument 178 DBG("This=%p pParams=%p pElements=%p\n", This, pParams, pElements); in NineVertexDeclaration9_ctor() 191 HRESULT hr = NineUnknown_ctor(&This->base, pParams); in NineVertexDeclaration9_ctor() 194 This->nelems = nelems; in NineVertexDeclaration9_ctor() 195 This->decls = CALLOC(This->nelems+1, sizeof(D3DVERTEXELEMENT9)); in NineVertexDeclaration9_ctor() 196 This->elems = CALLOC(This->nelems, sizeof(struct pipe_vertex_element)); in NineVertexDeclaration9_ctor() 197 This->usage_map = CALLOC(This->nelems, sizeof(uint16_t)); in NineVertexDeclaration9_ctor() 198 if (!This->decls || !This->elems || !This->usage_map) { return E_OUTOFMEMORY; } in NineVertexDeclaration9_ctor() 199 memcpy(This->decls, pElements, sizeof(D3DVERTEXELEMENT9)*(This->nelems+1)); in NineVertexDeclaration9_ctor() 201 for (i = 0; i < This->nelems; ++i) { in NineVertexDeclaration9_ctor() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RBBIDataWrapper.java | 172 RBBIDataWrapper This = new RBBIDataWrapper(); in get() local 175 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN; in get() 178 This.fHeader = new RBBIDataHeader(); in get() 179 This.fHeader.fMagic = bytes.getInt(); in get() 183 This.fHeader.fVersion = bytes.getInt(bytes.position()); in get() 184 This.fHeader.fFormatVersion[0] = bytes.get(); in get() 185 This.fHeader.fFormatVersion[1] = bytes.get(); in get() 186 This.fHeader.fFormatVersion[2] = bytes.get(); in get() 187 This.fHeader.fFormatVersion[3] = bytes.get(); in get() 188 This.fHeader.fLength = bytes.getInt(); in get() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBIDataWrapper.java | 171 RBBIDataWrapper This = new RBBIDataWrapper(); in get() local 174 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN; in get() 177 This.fHeader = new RBBIDataHeader(); in get() 178 This.fHeader.fMagic = bytes.getInt(); in get() 182 This.fHeader.fVersion = bytes.getInt(bytes.position()); in get() 183 This.fHeader.fFormatVersion[0] = bytes.get(); in get() 184 This.fHeader.fFormatVersion[1] = bytes.get(); in get() 185 This.fHeader.fFormatVersion[2] = bytes.get(); in get() 186 This.fHeader.fFormatVersion[3] = bytes.get(); in get() 187 This.fHeader.fLength = bytes.getInt(); in get() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | uspoof.cpp | 200 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_close() local 201 delete This; in uspoof_close() 207 SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_setChecks() local 208 if (This == NULL) { in uspoof_setChecks() 219 This->fChecks = checks; in uspoof_setChecks() 225 const SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_getChecks() local 226 if (This == NULL) { in uspoof_getChecks() 229 return This->fChecks; in uspoof_getChecks() 235 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_setRestrictionLevel() local 236 if (This != NULL) { in uspoof_setRestrictionLevel() [all …]
|