/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_tex_layout.c | 44 struct intel_mipmap_tree *mt) 50 h0 = ALIGN(mt->height0, mt->align_h); 51 h1 = ALIGN(minify(mt->height0), mt->align_h); 52 if (mt->array_spacing_lod0) 55 qpitch = (h0 + h1 + (intel->gen >= 7 ? 12 : 11) * mt->align_h); 56 if (mt->compressed) 59 i945_miptree_layout_2d(mt); 61 for (level = mt->first_level; level <= mt->last_level; level++) [all...] |
brw_blorp.cpp | 32 : mt(NULL), 47 brw_blorp_mip_info::set(struct intel_mipmap_tree *mt, 50 intel_miptree_check_level_layer(mt, level, layer); 52 this->mt = mt; 53 this->width = mt->level[level].width; 54 this->height = mt->level[level].height; 58 rb.mt = mt; 68 struct intel_mipmap_tree *mt, [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_tex_layout.c | 44 struct intel_mipmap_tree *mt) 50 h0 = ALIGN(mt->height0, mt->align_h); 51 h1 = ALIGN(minify(mt->height0), mt->align_h); 52 if (mt->array_spacing_lod0) 55 qpitch = (h0 + h1 + (intel->gen >= 7 ? 12 : 11) * mt->align_h); 56 if (mt->compressed) 59 i945_miptree_layout_2d(mt); 61 for (level = mt->first_level; level <= mt->last_level; level++) [all...] |
brw_blorp.cpp | 32 : mt(NULL), 47 brw_blorp_mip_info::set(struct intel_mipmap_tree *mt, 50 intel_miptree_check_level_layer(mt, level, layer); 52 this->mt = mt; 53 this->width = mt->level[level].width; 54 this->height = mt->level[level].height; 58 rb.mt = mt; 68 struct intel_mipmap_tree *mt, [all...] |
/external/chromium_org/third_party/mt19937ar/ |
mt19937ar.cc | 40 http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html 53 MersenneTwister::MersenneTwister() : mt(N), mti(N+1) { 59 /* initializes mt[N] with a seed */ 62 mt[0]= s & 0xffffffffUL; 64 mt[mti] = 65 (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + mti); 68 /* only MSBs of the array mt[]. */ 70 mt[mti] &= 0xffffffffUL; 86 mt[i] = (mt[i] ^ ((mt[i-1] ^ (mt[i-1] >> 30)) * 1664525UL) [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/ |
indirect_transpose_matrix.c | 54 GLdouble mt[16]; local 56 TransposeMatrixd(m, mt); 57 __indirect_glLoadMatrixd(mt); 63 GLfloat mt[16]; local 65 TransposeMatrixf(m, mt); 66 __indirect_glLoadMatrixf(mt); 72 GLdouble mt[16]; local 74 TransposeMatrixd(m, mt); 75 __indirect_glMultMatrixd(mt); 81 GLfloat mt[16] local [all...] |
/external/mesa3d/src/glx/ |
indirect_transpose_matrix.c | 54 GLdouble mt[16]; local 56 TransposeMatrixd(m, mt); 57 __indirect_glLoadMatrixd(mt); 63 GLfloat mt[16]; local 65 TransposeMatrixf(m, mt); 66 __indirect_glLoadMatrixf(mt); 72 GLdouble mt[16]; local 74 TransposeMatrixd(m, mt); 75 __indirect_glMultMatrixd(mt); 81 GLfloat mt[16] local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_tex_layout.c | 141 void i945_miptree_layout_2d(struct intel_mipmap_tree *mt) 146 GLuint width = mt->width0; 147 GLuint height = mt->height0; 148 GLuint depth = mt->depth0; /* number of array layers. */ 150 mt->total_width = mt->width0; 152 if (mt->compressed) { 153 mt->total_width = ALIGN(mt->width0, mt->align_w) [all...] |
intel_mipmap_tree.c | 87 struct intel_mipmap_tree *mt = calloc(sizeof(*mt), 1); local 93 first_level, last_level, mt); 98 mt->target = target_to_target(target); 99 mt->format = format; 100 mt->first_level = first_level; 101 mt->last_level = last_level; 102 mt->width0 = width0; 103 mt->height0 = height0; 104 mt->cpp = compress_byte ? compress_byte : _mesa_get_format_bytes(mt->format) 199 struct intel_mipmap_tree *mt; local 284 struct intel_mipmap_tree *mt; local 401 struct intel_mipmap_tree *mt; local [all...] |
intel_tex_validate.c | 68 if (intelObj->mt && 69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || 70 intelObj->mt->first_level != tObj->BaseLevel || 71 intelObj->mt->last_level < intelObj->_MaxLevel)) { 72 intel_miptree_release(&intelObj->mt); 78 if (!intelObj->mt) { 82 intelObj->mt = intel_miptree_create(intel, 93 if (!intelObj->mt) 108 if (intelObj->mt != intelImage->mt) { 127 struct intel_mipmap_tree *mt; local [all...] |
intel_tex_obj.h | 51 struct intel_mipmap_tree *mt; member in struct:intel_texture_object 63 /* If intelImage->mt != NULL, image data is stored here. 67 struct intel_mipmap_tree *mt; member in struct:intel_texture_image
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_layout.c | 141 void i945_miptree_layout_2d(struct intel_mipmap_tree *mt) 146 GLuint width = mt->width0; 147 GLuint height = mt->height0; 148 GLuint depth = mt->depth0; /* number of array layers. */ 150 mt->total_width = mt->width0; 152 if (mt->compressed) { 153 mt->total_width = ALIGN(mt->width0, mt->align_w) [all...] |
intel_mipmap_tree.c | 87 struct intel_mipmap_tree *mt = calloc(sizeof(*mt), 1); local 93 first_level, last_level, mt); 98 mt->target = target_to_target(target); 99 mt->format = format; 100 mt->first_level = first_level; 101 mt->last_level = last_level; 102 mt->width0 = width0; 103 mt->height0 = height0; 104 mt->cpp = compress_byte ? compress_byte : _mesa_get_format_bytes(mt->format) 199 struct intel_mipmap_tree *mt; local 284 struct intel_mipmap_tree *mt; local 401 struct intel_mipmap_tree *mt; local [all...] |
intel_tex_validate.c | 68 if (intelObj->mt && 69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || 70 intelObj->mt->first_level != tObj->BaseLevel || 71 intelObj->mt->last_level < intelObj->_MaxLevel)) { 72 intel_miptree_release(&intelObj->mt); 78 if (!intelObj->mt) { 82 intelObj->mt = intel_miptree_create(intel, 93 if (!intelObj->mt) 108 if (intelObj->mt != intelImage->mt) { 127 struct intel_mipmap_tree *mt; local [all...] |
intel_tex_obj.h | 51 struct intel_mipmap_tree *mt; member in struct:intel_texture_object 63 /* If intelImage->mt != NULL, image data is stored here. 67 struct intel_mipmap_tree *mt; member in struct:intel_texture_image
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_tex_layout.c | 115 i915_miptree_layout_cube(struct intel_mipmap_tree * mt) 117 const GLuint dim = mt->width0; 119 GLuint lvlWidth = mt->width0, lvlHeight = mt->height0; 125 mt->total_width = dim * 2; 126 mt->total_height = dim * 4; 128 for (level = mt->first_level; level <= mt->last_level; level++) { 129 intel_miptree_set_level_info(mt, level, 142 for (level = mt->first_level; level <= mt->last_level; level++) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_tex_layout.c | 115 i915_miptree_layout_cube(struct intel_mipmap_tree * mt) 117 const GLuint dim = mt->width0; 119 GLuint lvlWidth = mt->width0, lvlHeight = mt->height0; 125 mt->total_width = dim * 2; 126 mt->total_height = dim * 4; 128 for (level = mt->first_level; level <= mt->last_level; level++) { 129 intel_miptree_set_level_info(mt, level, 142 for (level = mt->first_level; level <= mt->last_level; level++) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
MacFunctionalTest.java | 25 MacThread mt = new MacThread(algArray); local 26 mt.launcher(); 28 assertEquals(mt.getFailureMessages(), 0, mt.getTotalFailuresNumber());
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_miptree.c | 38 nv50_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) 40 const unsigned ms = mt->ms_x + mt->ms_y; 44 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) 46 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) 49 switch (mt->base.base.format) { 67 switch (util_format_get_blocksizebits(mt->base.base.format)) { 82 if (mt->base.base.bind & PIPE_BIND_SCANOUT) { 102 if (mt->base.base.bind & PIPE_BIND_CURSOR) 115 struct nv50_miptree *mt = nv50_miptree(pt) local 130 struct nv50_miptree *mt = nv50_miptree(pt); local 258 struct nv50_miptree *mt = CALLOC_STRUCT(nv50_miptree); local 309 struct nv50_miptree *mt; local 408 struct nv50_miptree *mt = nv50_miptree(pt); local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_miptree.c | 38 nv50_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) 40 const unsigned ms = mt->ms_x + mt->ms_y; 44 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) 46 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) 49 switch (mt->base.base.format) { 67 switch (util_format_get_blocksizebits(mt->base.base.format)) { 82 if (mt->base.base.bind & PIPE_BIND_SCANOUT) { 102 if (mt->base.base.bind & PIPE_BIND_CURSOR) 115 struct nv50_miptree *mt = nv50_miptree(pt) local 130 struct nv50_miptree *mt = nv50_miptree(pt); local 258 struct nv50_miptree *mt = CALLOC_STRUCT(nv50_miptree); local 309 struct nv50_miptree *mt; local 408 struct nv50_miptree *mt = nv50_miptree(pt); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) 62 const unsigned ms = util_logbase2(mt->base.base.nr_samples); 68 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) 70 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) 73 switch (mt->base.base.format) { 106 switch (util_format_get_blocksizebits(mt->base.base.format)) { 155 nvc0_miptree_init_ms_mode(struct nv50_miptree *mt) 157 switch (mt->base.base.nr_samples) { 159 mt->ms_mode = NVC0_3D_MULTISAMPLE_MODE_MS8; 160 mt->ms_x = 2 275 struct nv50_miptree *mt = CALLOC_STRUCT(nv50_miptree); local [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_miptree.c | 60 nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed) 62 const unsigned ms = util_logbase2(mt->base.base.nr_samples); 68 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) 70 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) 73 switch (mt->base.base.format) { 106 switch (util_format_get_blocksizebits(mt->base.base.format)) { 155 nvc0_miptree_init_ms_mode(struct nv50_miptree *mt) 157 switch (mt->base.base.nr_samples) { 159 mt->ms_mode = NVC0_3D_MULTISAMPLE_MODE_MS8; 160 mt->ms_x = 2 275 struct nv50_miptree *mt = CALLOC_STRUCT(nv50_miptree); local [all...] |
/bionic/libc/upstream-netbsd/lib/libc/resolv/ |
mtctxres.c | 45 * To support binaries that used the private MT-safe interface in 63 mtctxres_t *mt; local 72 if ((mt = malloc(sizeof (mtctxres_t))) == 0) { 77 memset(mt, 0, sizeof (mtctxres_t)); 79 if ((ret = pthread_setspecific(key, mt)) != 0) { 80 free(mt); 91 mtctxres_t *mt = (mtctxres_t *)value; local 93 if (mt != 0) 94 free(mt); 101 mtctxres_t *mt; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_mipmap_tree.c | 127 static void compute_tex_image_offset(radeonContextPtr rmesa, radeon_mipmap_tree *mt, 130 radeon_mipmap_level *lvl = &mt->levels[level]; 135 lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt->target); 136 lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebits); 159 static void calculate_miptree_layout(radeonContextPtr rmesa, radeon_mipmap_tree *mt) 163 assert(mt->numLevels <= rmesa->glCtx->Const.MaxTextureLevels); 166 for(face = 0; face < mt->faces; face++) 192 radeon_mipmap_tree *mt = CALLOC_STRUCT(_radeon_mipmap_tree); local 231 radeon_mipmap_tree *mt = *ptr; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_mipmap_tree.c | 127 static void compute_tex_image_offset(radeonContextPtr rmesa, radeon_mipmap_tree *mt, 130 radeon_mipmap_level *lvl = &mt->levels[level]; 135 lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt->target); 136 lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebits); 159 static void calculate_miptree_layout(radeonContextPtr rmesa, radeon_mipmap_tree *mt) 163 assert(mt->numLevels <= rmesa->glCtx->Const.MaxTextureLevels); 166 for(face = 0; face < mt->faces; face++) 192 radeon_mipmap_tree *mt = CALLOC_STRUCT(_radeon_mipmap_tree); local 231 radeon_mipmap_tree *mt = *ptr; local [all...] |