Home
last modified time | relevance | path

Searched refs:mt (Results 1 – 25 of 963) sorted by relevance

12345678910>>...39

/third_party/boost/libs/mpi/test/
Dmt_level_test.cpp21 namespace mt = boost::mpi::threading; in test_threading_level_io()
22 mt::level printed = mt::level(-1); in test_threading_level_io()
37 namespace mt = boost::mpi::threading; in test_threading_levels_io()
38 test_threading_level_io(mt::single); in test_threading_levels_io()
39 test_threading_level_io(mt::funneled); in test_threading_levels_io()
40 test_threading_level_io(mt::serialized); in test_threading_levels_io()
41 test_threading_level_io(mt::multiple); in test_threading_levels_io()
46 namespace mt = boost::mpi::threading; in test_threading_level_cmp()
47 BOOST_CHECK(mt::single == mt::single); in test_threading_level_cmp()
48 BOOST_CHECK(mt::funneled == mt::funneled); in test_threading_level_cmp()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_tex_layout.c115 i915_miptree_layout_cube(struct intel_mipmap_tree * mt) in i915_miptree_layout_cube() argument
117 const GLuint dim = mt->physical_width0; in i915_miptree_layout_cube()
119 GLuint lvlWidth = mt->physical_width0, lvlHeight = mt->physical_height0; in i915_miptree_layout_cube()
125 mt->total_width = dim * 2; in i915_miptree_layout_cube()
126 mt->total_height = dim * 4; in i915_miptree_layout_cube()
128 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
129 intel_miptree_set_level_info(mt, level, in i915_miptree_layout_cube()
142 for (level = mt->first_level; level <= mt->last_level; level++) { in i915_miptree_layout_cube()
143 intel_miptree_set_image_offset(mt, level, face, x, y); in i915_miptree_layout_cube()
147 face, level, mt->first_level, mt->last_level); in i915_miptree_layout_cube()
[all …]
Dintel_mipmap_tree.c73 struct intel_mipmap_tree *mt = calloc(sizeof(*mt), 1); in intel_miptree_create_layout() local
74 if (!mt) in intel_miptree_create_layout()
80 first_level, last_level, mt); in intel_miptree_create_layout()
82 mt->target = target_to_target(target); in intel_miptree_create_layout()
83 mt->format = format; in intel_miptree_create_layout()
84 mt->first_level = first_level; in intel_miptree_create_layout()
85 mt->last_level = last_level; in intel_miptree_create_layout()
92 assert(_mesa_get_format_bytes(mt->format) % bw == 0); in intel_miptree_create_layout()
93 mt->cpp = _mesa_get_format_bytes(mt->format) / bw; in intel_miptree_create_layout()
95 mt->compressed = _mesa_is_format_compressed(format); in intel_miptree_create_layout()
[all …]
Dintel_tex_layout.c121 void i945_miptree_layout_2d(struct intel_mipmap_tree *mt) in i945_miptree_layout_2d() argument
126 GLuint width = mt->physical_width0; in i945_miptree_layout_2d()
127 GLuint height = mt->physical_height0; in i945_miptree_layout_2d()
128 GLuint depth = mt->physical_depth0; /* number of array layers. */ in i945_miptree_layout_2d()
130 mt->total_width = mt->physical_width0; in i945_miptree_layout_2d()
132 if (mt->compressed) { in i945_miptree_layout_2d()
133 mt->total_width = ALIGN(mt->physical_width0, mt->align_w); in i945_miptree_layout_2d()
141 if (mt->first_level != mt->last_level) { in i945_miptree_layout_2d()
144 if (mt->compressed) { in i945_miptree_layout_2d()
145 mip1_width = ALIGN(minify(mt->physical_width0, 1), mt->align_w) + in i945_miptree_layout_2d()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c68 nv50_mt_choose_storage_type(struct nv50_miptree *mt, bool compressed) in nv50_mt_choose_storage_type() argument
70 const unsigned ms = util_logbase2(mt->base.base.nr_samples); in nv50_mt_choose_storage_type()
73 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) in nv50_mt_choose_storage_type()
75 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) in nv50_mt_choose_storage_type()
78 switch (mt->base.base.format) { in nv50_mt_choose_storage_type()
116 switch (util_format_get_blocksizebits(mt->base.base.format)) { in nv50_mt_choose_storage_type()
131 if (mt->base.base.bind & PIPE_BIND_SCANOUT) { in nv50_mt_choose_storage_type()
151 if (mt->base.base.bind & PIPE_BIND_CURSOR) in nv50_mt_choose_storage_type()
164 struct nv50_miptree *mt = nv50_miptree(pt); in nv50_miptree_destroy() local
166 if (mt->base.fence && mt->base.fence->state < NOUVEAU_FENCE_STATE_FLUSHED) in nv50_miptree_destroy()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_mipmap_tree.c57 struct brw_mipmap_tree *mt,
60 static void brw_miptree_unmap_raw(struct brw_mipmap_tree *mt);
73 const struct brw_mipmap_tree *mt, in format_ccs_e_compat_with_miptree() argument
76 assert(mt->aux_usage == ISL_AUX_USAGE_CCS_E); in format_ccs_e_compat_with_miptree()
78 mesa_format linear_format = _mesa_get_srgb_format_linear(mt->format); in format_ccs_e_compat_with_miptree()
146 struct brw_mipmap_tree *mt, in needs_separate_stencil() argument
166 struct brw_mipmap_tree *mt) in brw_miptree_choose_aux_usage() argument
168 assert(mt->aux_usage == ISL_AUX_USAGE_NONE); in brw_miptree_choose_aux_usage()
170 if (_mesa_is_format_color_format(mt->format)) { in brw_miptree_choose_aux_usage()
171 if (mt->surf.samples > 1) { in brw_miptree_choose_aux_usage()
[all …]
Dbrw_mipmap_tree.h93 struct brw_mipmap_tree *mt,
350 struct brw_mipmap_tree *mt);
432 brw_get_num_logical_layers(const struct brw_mipmap_tree *mt, unsigned level);
436 brw_miptree_check_level_layer(const struct brw_mipmap_tree *mt,
443 void brw_miptree_release(struct brw_mipmap_tree **mt);
447 bool brw_miptree_match_image(struct brw_mipmap_tree *mt,
451 brw_miptree_get_image_offset(const struct brw_mipmap_tree *mt,
467 brw_miptree_get_tile_offsets(const struct brw_mipmap_tree *mt,
472 brw_miptree_get_aligned_offset(const struct brw_mipmap_tree *mt,
496 brw_miptree_level_has_hiz(const struct brw_mipmap_tree *mt, uint32_t level);
[all …]
Dbrw_tex.c59 brw_miptree_release(&brw_obj->mt); in brw_delete_texture_object()
90 if (intel_texobj->mt && in brw_alloc_texture_image_buffer()
91 brw_miptree_match_image(intel_texobj->mt, image)) { in brw_alloc_texture_image_buffer()
92 brw_miptree_reference(&intel_image->mt, intel_texobj->mt); in brw_alloc_texture_image_buffer()
95 image->Width, image->Height, image->Depth, intel_texobj->mt); in brw_alloc_texture_image_buffer()
97 intel_image->mt = brw_miptree_create_for_teximage(brw, intel_texobj, in brw_alloc_texture_image_buffer()
100 if (!intel_image->mt) in brw_alloc_texture_image_buffer()
108 brw_miptree_reference(&intel_texobj->mt, intel_image->mt); in brw_alloc_texture_image_buffer()
112 image->Width, image->Height, image->Depth, intel_image->mt); in brw_alloc_texture_image_buffer()
144 if (!intel_texobj->mt || in brw_alloc_texture_storage()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c127 static void compute_tex_image_offset(radeonContextPtr rmesa, radeon_mipmap_tree *mt, in compute_tex_image_offset() argument
130 radeon_mipmap_level *lvl = &mt->levels[level]; in compute_tex_image_offset()
135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
150 static void calculate_miptree_layout(radeonContextPtr rmesa, radeon_mipmap_tree *mt) in calculate_miptree_layout() argument
154 assert(1 << (mt->numLevels - 1) <= rmesa->glCtx.Const.MaxTextureSize); in calculate_miptree_layout()
157 for(face = 0; face < mt->faces; face++) { in calculate_miptree_layout()
159 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
160 mt->levels[level].valid = 1; in calculate_miptree_layout()
161 mt->levels[level].width = minify(mt->width0, i); in calculate_miptree_layout()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c127 static void compute_tex_image_offset(radeonContextPtr rmesa, radeon_mipmap_tree *mt, in compute_tex_image_offset() argument
130 radeon_mipmap_level *lvl = &mt->levels[level]; in compute_tex_image_offset()
135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
150 static void calculate_miptree_layout(radeonContextPtr rmesa, radeon_mipmap_tree *mt) in calculate_miptree_layout() argument
154 assert(1 << (mt->numLevels - 1) <= rmesa->glCtx.Const.MaxTextureSize); in calculate_miptree_layout()
157 for(face = 0; face < mt->faces; face++) { in calculate_miptree_layout()
159 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
160 mt->levels[level].valid = 1; in calculate_miptree_layout()
161 mt->levels[level].width = minify(mt->width0, i); in calculate_miptree_layout()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c187 const struct nv50_miptree *mt, in nvc0_mt_choose_storage_type() argument
190 const unsigned ms = util_logbase2(mt->base.base.nr_samples); in nvc0_mt_choose_storage_type()
192 if (unlikely(mt->base.base.bind & PIPE_BIND_CURSOR)) in nvc0_mt_choose_storage_type()
194 if (unlikely(mt->base.base.flags & NOUVEAU_RESOURCE_FLAG_LINEAR)) in nvc0_mt_choose_storage_type()
197 return nvc0_choose_tiled_storage_type(pscreen, mt->base.base.format, ms, compressed); in nvc0_mt_choose_storage_type()
201 nvc0_miptree_init_ms_mode(struct nv50_miptree *mt) in nvc0_miptree_init_ms_mode() argument
203 switch (mt->base.base.nr_samples) { in nvc0_miptree_init_ms_mode()
205 mt->ms_mode = NVC0_3D_MULTISAMPLE_MODE_MS8; in nvc0_miptree_init_ms_mode()
206 mt->ms_x = 2; in nvc0_miptree_init_ms_mode()
207 mt->ms_y = 1; in nvc0_miptree_init_ms_mode()
[all …]
/third_party/boost/libs/config/test/link/
Dvc7-stlport.mak49mt-s-1_35_dir ./vc7-stlport/liblink_test-vc7-stlport-mt-s-1_35.lib ./vc7-stlport/liblink_test-vc7-…
51mt-s-1_35_clean liblink_test-vc7-stlport-mt-sgd-1_35_clean link_test-vc7-stlport-mt-gd-1_35_clean …
54 copy vc7-stlport\liblink_test-vc7-stlport-mt-s-1_35.lib "$(MSVCDIR)\lib"
55 copy vc7-stlport\liblink_test-vc7-stlport-mt-sgd-1_35.lib "$(MSVCDIR)\lib"
56 copy vc7-stlport\link_test-vc7-stlport-mt-gd-1_35.lib "$(MSVCDIR)\lib"
57 copy vc7-stlport\link_test-vc7-stlport-mt-gd-1_35.dll "$(MSVCDIR)\bin"
58 copy vc7-stlport\link_test-vc7-stlport-mt-1_35.lib "$(MSVCDIR)\lib"
59 copy vc7-stlport\link_test-vc7-stlport-mt-1_35.dll "$(MSVCDIR)\bin"
60 copy vc7-stlport\liblink_test-vc7-stlport-mt-1_35.lib "$(MSVCDIR)\lib"
61 copy vc7-stlport\liblink_test-vc7-stlport-mt-gd-1_35.lib "$(MSVCDIR)\lib"
[all …]
Dvc71-stlport.mak49mt-s-1_35_dir ./vc71-stlport/liblink_test-vc71-stlport-mt-s-1_35.lib ./vc71-stlport/liblink_test-v…
51mt-s-1_35_clean liblink_test-vc71-stlport-mt-sgd-1_35_clean link_test-vc71-stlport-mt-gd-1_35_clea…
54 copy vc71-stlport\liblink_test-vc71-stlport-mt-s-1_35.lib "$(MSVCDIR)\lib"
55 copy vc71-stlport\liblink_test-vc71-stlport-mt-sgd-1_35.lib "$(MSVCDIR)\lib"
56 copy vc71-stlport\link_test-vc71-stlport-mt-gd-1_35.lib "$(MSVCDIR)\lib"
57 copy vc71-stlport\link_test-vc71-stlport-mt-gd-1_35.dll "$(MSVCDIR)\bin"
58 copy vc71-stlport\link_test-vc71-stlport-mt-1_35.lib "$(MSVCDIR)\lib"
59 copy vc71-stlport\link_test-vc71-stlport-mt-1_35.dll "$(MSVCDIR)\bin"
60 copy vc71-stlport\liblink_test-vc71-stlport-mt-1_35.lib "$(MSVCDIR)\lib"
61 copy vc71-stlport\liblink_test-vc71-stlport-mt-gd-1_35.lib "$(MSVCDIR)\lib"
[all …]
Dvc6-stlport.mak49mt-s-1_35_dir ./vc6-stlport/liblink_test-vc6-stlport-mt-s-1_35.lib ./vc6-stlport/liblink_test-vc6-…
51mt-s-1_35_clean liblink_test-vc6-stlport-mt-sgd-1_35_clean link_test-vc6-stlport-mt-gd-1_35_clean …
54 copy vc6-stlport\liblink_test-vc6-stlport-mt-s-1_35.lib "$(MSVCDIR)\lib"
55 copy vc6-stlport\liblink_test-vc6-stlport-mt-sgd-1_35.lib "$(MSVCDIR)\lib"
56 copy vc6-stlport\link_test-vc6-stlport-mt-gd-1_35.lib "$(MSVCDIR)\lib"
57 copy vc6-stlport\link_test-vc6-stlport-mt-gd-1_35.dll "$(MSVCDIR)\bin"
58 copy vc6-stlport\link_test-vc6-stlport-mt-1_35.lib "$(MSVCDIR)\lib"
59 copy vc6-stlport\link_test-vc6-stlport-mt-1_35.dll "$(MSVCDIR)\bin"
60 copy vc6-stlport\liblink_test-vc6-stlport-mt-1_35.lib "$(MSVCDIR)\lib"
61 copy vc6-stlport\liblink_test-vc6-stlport-mt-gd-1_35.lib "$(MSVCDIR)\lib"
[all …]
Dvc7.mak45mt-s-1_35_dir ./vc7/liblink_test-vc7-mt-s-1_35.lib ./vc7/liblink_test-vc7-mt-s-1_35.exe liblink_te…
47mt-s-1_35_clean liblink_test-vc7-sgd-1_35_clean liblink_test-vc7-mt-sgd-1_35_clean link_test-vc7-m…
51 copy vc7\liblink_test-vc7-mt-s-1_35.lib "$(MSVCDIR)\lib"
54 copy vc7\liblink_test-vc7-mt-sgd-1_35.lib "$(MSVCDIR)\lib"
55 copy vc7\liblink_test-vc7-mt-sgd-1_35.pdb "$(MSVCDIR)\lib"
56 copy vc7\link_test-vc7-mt-gd-1_35.lib "$(MSVCDIR)\lib"
57 copy vc7\link_test-vc7-mt-gd-1_35.dll "$(MSVCDIR)\bin"
58 copy vc7\link_test-vc7-mt-gd-1_35.pdb "$(MSVCDIR)\lib"
59 copy vc7\link_test-vc7-mt-1_35.lib "$(MSVCDIR)\lib"
60 copy vc7\link_test-vc7-mt-1_35.dll "$(MSVCDIR)\bin"
[all …]
Dvc71.mak45mt-s-1_35_dir ./vc71/liblink_test-vc71-mt-s-1_35.lib ./vc71/liblink_test-vc71-mt-s-1_35.exe liblin…
47mt-s-1_35_clean liblink_test-vc71-sgd-1_35_clean liblink_test-vc71-mt-sgd-1_35_clean link_test-vc7…
51 copy vc71\liblink_test-vc71-mt-s-1_35.lib "$(MSVCDIR)\lib"
54 copy vc71\liblink_test-vc71-mt-sgd-1_35.lib "$(MSVCDIR)\lib"
55 copy vc71\liblink_test-vc71-mt-sgd-1_35.pdb "$(MSVCDIR)\lib"
56 copy vc71\link_test-vc71-mt-gd-1_35.lib "$(MSVCDIR)\lib"
57 copy vc71\link_test-vc71-mt-gd-1_35.dll "$(MSVCDIR)\bin"
58 copy vc71\link_test-vc71-mt-gd-1_35.pdb "$(MSVCDIR)\lib"
59 copy vc71\link_test-vc71-mt-1_35.lib "$(MSVCDIR)\lib"
60 copy vc71\link_test-vc71-mt-1_35.dll "$(MSVCDIR)\bin"
[all …]
Dvc6.mak45mt-s-1_35_dir ./vc6/liblink_test-vc6-mt-s-1_35.lib ./vc6/liblink_test-vc6-mt-s-1_35.exe liblink_te…
47mt-s-1_35_clean liblink_test-vc6-sgd-1_35_clean liblink_test-vc6-mt-sgd-1_35_clean link_test-vc6-m…
51 copy vc6\liblink_test-vc6-mt-s-1_35.lib "$(MSVCDIR)\lib"
54 copy vc6\liblink_test-vc6-mt-sgd-1_35.lib "$(MSVCDIR)\lib"
55 copy vc6\liblink_test-vc6-mt-sgd-1_35.pdb "$(MSVCDIR)\lib"
56 copy vc6\link_test-vc6-mt-gd-1_35.lib "$(MSVCDIR)\lib"
57 copy vc6\link_test-vc6-mt-gd-1_35.dll "$(MSVCDIR)\bin"
58 copy vc6\link_test-vc6-mt-gd-1_35.pdb "$(MSVCDIR)\lib"
59 copy vc6\link_test-vc6-mt-1_35.lib "$(MSVCDIR)\lib"
60 copy vc6\link_test-vc6-mt-1_35.dll "$(MSVCDIR)\bin"
[all …]
Dborland.mak44mt-s-1_35 borland\liblink_test-borland-mt-s-1_35.lib borland\liblink_test-borland-mt-s-1_35.exe bo…
46mt-s-1_35_clean link_test-borland-mt-1_35_clean link_test-borland-1_35_clean liblink_test-borland-
50 copy borland\liblink_test-borland-mt-s-1_35.lib $(BCROOT)\lib
51 copy borland\link_test-borland-mt-1_35.lib $(BCROOT)\lib
52 copy borland\link_test-borland-mt-1_35.dll $(BCROOT)\bin
53 copy borland\link_test-borland-mt-1_35.tds $(BCROOT)\bin
57 copy borland\liblink_test-borland-mt-1_35.lib $(BCROOT)\lib
60 copy borland\liblink_test-borland-mt-sd-1_35.lib $(BCROOT)\lib
61 copy borland\link_test-borland-mt-d-1_35.lib $(BCROOT)\lib
62 copy borland\link_test-borland-mt-d-1_35.dll $(BCROOT)\bin
[all …]
/third_party/iowow/src/utils/
Dmt19937ar.c60 static unsigned long mt[N]; /* the array for the state vector */ variable
86 mt[0] = s & 0xffffffffUL; in init_genrand_impl()
88 mt[mti] = in init_genrand_impl()
89 (1812433253UL * (mt[mti - 1] ^ (mt[mti - 1] >> 30)) + mti); in init_genrand_impl()
94 mt[mti] &= 0xffffffffUL; in init_genrand_impl()
118 mt[i] = (mt[i] ^ ((mt[i - 1] ^ (mt[i - 1] >> 30)) * 1664525UL)) in init_by_array()
120 mt[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */ in init_by_array()
124 mt[0] = mt[N - 1]; in init_by_array()
130 mt[i] = (mt[i] ^ ((mt[i - 1] ^ (mt[i - 1] >> 30)) * 1566083941UL)) in init_by_array()
132 mt[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */ in init_by_array()
[all …]
/third_party/toybox/toys/posix/
Ddf.c98 static void show_mt(struct mtab_list *mt, int measuring) in show_mt() argument
104 if (!mt) return; in show_mt()
111 if (!strcmp(mt->type, al->arg)) break; in show_mt()
117 if (!(toys.optflags & FLAG_a) && !mt->statvfs.f_blocks) return; in show_mt()
122 size = mt->statvfs.f_files; in show_mt()
123 used = mt->statvfs.f_files - mt->statvfs.f_ffree; in show_mt()
124 avail = getuid() ? mt->statvfs.f_favail : mt->statvfs.f_ffree; in show_mt()
126 block = mt->statvfs.f_bsize ? mt->statvfs.f_bsize : 1; in show_mt()
127 size = (block * mt->statvfs.f_blocks) / TT.units; in show_mt()
128 used = (block * (mt->statvfs.f_blocks-mt->statvfs.f_bfree)) / TT.units; in show_mt()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c40 struct nv30_miptree *mt = nv30_miptree(pt); in layer_offset() local
41 struct nv30_miptree_level *lvl = &mt->level[level]; in layer_offset()
44 return (layer * mt->layer_size) + lvl->offset; in layer_offset()
59 struct nv30_miptree *mt = nv30_miptree(pt); in nv30_miptree_get_handle() local
62 if (!mt || !mt->base.bo) in nv30_miptree_get_handle()
65 stride = mt->level[0].pitch; in nv30_miptree_get_handle()
67 return nouveau_screen_bo_get_handle(pscreen, mt->base.bo, stride, handle); in nv30_miptree_get_handle()
73 struct nv30_miptree *mt = nv30_miptree(pt); in nv30_miptree_destroy() local
75 nouveau_bo_ref(NULL, &mt->base.bo); in nv30_miptree_destroy()
76 FREE(mt); in nv30_miptree_destroy()
[all …]
/third_party/flatbuffers/lua/flatbuffers/
Dbuilder.lua8 local mt = {}
60 setmetatable(o, {__index = mt})
67 function mt:Clear()
81 function mt:Output(full)
90 function mt:StartObject(numFields)
104 function mt:WriteVtable()
171 function mt:EndObject()
189 function mt:Head()
193 function mt:Offset()
197 function mt:Pad(n)
[all …]
/third_party/glib/glib/
Dgrand.c166 guint32 mt[N]; /* the array for the state vector */ member
352 rand->mt[0]= seed; in g_rand_set_seed()
354 rand->mt[rand->mti] = (69069 * rand->mt[rand->mti-1]); in g_rand_set_seed()
362 rand->mt[0]= seed; in g_rand_set_seed()
364 rand->mt[rand->mti] = 1812433253UL * in g_rand_set_seed()
365 (rand->mt[rand->mti-1] ^ (rand->mt[rand->mti-1] >> 30)) + rand->mti; in g_rand_set_seed()
402 rand->mt[i] = (rand->mt[i] ^ in g_rand_set_seed_array()
403 ((rand->mt[i-1] ^ (rand->mt[i-1] >> 30)) * 1664525UL)) in g_rand_set_seed_array()
405 rand->mt[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */ in g_rand_set_seed_array()
409 rand->mt[0] = rand->mt[N-1]; in g_rand_set_seed_array()
[all …]
/third_party/mesa3d/src/glx/
Dindirect_transpose_matrix.c54 GLdouble mt[16]; in __indirect_glLoadTransposeMatrixd() local
56 TransposeMatrixd(m, mt); in __indirect_glLoadTransposeMatrixd()
57 __indirect_glLoadMatrixd(mt); in __indirect_glLoadTransposeMatrixd()
63 GLfloat mt[16]; in __indirect_glLoadTransposeMatrixf() local
65 TransposeMatrixf(m, mt); in __indirect_glLoadTransposeMatrixf()
66 __indirect_glLoadMatrixf(mt); in __indirect_glLoadTransposeMatrixf()
72 GLdouble mt[16]; in __indirect_glMultTransposeMatrixd() local
74 TransposeMatrixd(m, mt); in __indirect_glMultTransposeMatrixd()
75 __indirect_glMultMatrixd(mt); in __indirect_glMultTransposeMatrixd()
81 GLfloat mt[16]; in __indirect_glMultTransposeMatrixf() local
[all …]
/third_party/python/Modules/
D_randommodule.c125 uint32_t *mt; in genrand_uint32() local
127 mt = self->state; in genrand_uint32()
132 y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK); in genrand_uint32()
133 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()
136 y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK); in genrand_uint32()
137 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()
139 y = (mt[N-1]&UPPER_MASK)|(mt[0]&LOWER_MASK); in genrand_uint32()
140 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()
145 y = mt[self->index++]; in genrand_uint32()
184 uint32_t *mt; in init_genrand() local
[all …]

12345678910>>...39