Home
last modified time | relevance | path

Searched refs:random_seed (Results 1 – 25 of 101) sorted by relevance

12345

/third_party/ffmpeg/libavcodec/
Dqdm2_tablegen.h60 uint64_t random_seed = 0; in rnd_table_init() local
63 random_seed = random_seed * 214013 + 2531011; in rnd_table_init()
64 noise_table[i] = (delta * (float)(((int32_t)random_seed >> 16) & 0x00007FFF)- 1.0) * 1.3; in rnd_table_init()
68 random_seed = 81; in rnd_table_init()
71 random_dequant_index[i][j] = ldw / random_seed; in rnd_table_init()
72 ldw %= random_seed; in rnd_table_init()
73 random_seed /= 3; in rnd_table_init()
77 random_seed = 25; in rnd_table_init()
80 random_dequant_type24[i][j] = ldw / random_seed; in rnd_table_init()
81 ldw %= random_seed; in rnd_table_init()
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Drandom_standard_normal.cc36 size_t random_seed = 0; in Run() local
38 random_seed = static_cast<size_t>(param_->seed2_); in Run()
40 random_seed = static_cast<size_t>(param_->seed_); in Run()
42 random_seed = static_cast<size_t>(clock()); in Run()
44 std::default_random_engine engine{static_cast<unsigned int>(random_seed)}; in Run()
/third_party/freetype/src/base/
Dftpsprop.c200 FT_Int32 random_seed; in ps_property_set() local
209 random_seed = (FT_Int32)ft_strtol( s, NULL, 10 ); in ps_property_set()
213 random_seed = *(FT_Int32*)value; in ps_property_set()
215 if ( random_seed < 0 ) in ps_property_set()
216 random_seed = 0; in ps_property_set()
218 driver->random_seed = random_seed; in ps_property_set()
/third_party/skia/third_party/externals/freetype/src/base/
Dftpsprop.c200 FT_Int32 random_seed; in ps_property_set() local
209 random_seed = (FT_Int32)ft_strtol( s, NULL, 10 ); in ps_property_set()
213 random_seed = *(FT_Int32*)value; in ps_property_set()
215 if ( random_seed < 0 ) in ps_property_set()
216 random_seed = 0; in ps_property_set()
218 driver->random_seed = random_seed; in ps_property_set()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftpsprop.c201 FT_Int32 random_seed; in ps_property_set() local
210 random_seed = (FT_Int32)ft_strtol( s, NULL, 10 ); in ps_property_set()
214 random_seed = *(FT_Int32*)value; in ps_property_set()
216 if ( random_seed < 0 ) in ps_property_set()
217 random_seed = 0; in ps_property_set()
219 driver->random_seed = random_seed; in ps_property_set()
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DIWKVOptions.java17 private long random_seed; field in IWKVOptions
36 return random_seed; in getRandomSeed()
67 this.random_seed = seed; in randomSeed()
99 …ags=" + oflags).add("file_lock_fail_fast=" + file_lock_fail_fast).add("random_seed=" + random_seed) in toString()
/third_party/ffmpeg/libavfilter/
Dvf_random.c36 int64_t random_seed; member
48 …{ "seed", "set the seed", OFFSET(random_seed), AV_OPT_TYPE_INT64, {.i64=-1}, -1…
59 if (s->random_seed < 0) in init()
60 s->random_seed = av_get_random_seed(); in init()
61 seed = s->random_seed; in init()
Df_perms.c39 int64_t random_seed; member
53 …{ "seed", "set the seed for the random mode", OFFSET(random_seed), AV_OPT_TYPE_INT64, {.i64 = -1},…
64 if (s->random_seed == -1) in init()
65 s->random_seed = av_get_random_seed(); in init()
66 seed = s->random_seed; in init()
Dvsrc_cellauto.c53 int64_t random_seed; member
75 …{ "random_seed", "set the seed for filling the initial grid randomly", OFFSET(random_seed), AV_OPT…
76 …{ "seed", "set the seed for filling the initial grid randomly", OFFSET(random_seed), AV_OPT…
189 if (s->random_seed == -1) in init()
190 s->random_seed = av_get_random_seed(); in init()
192 av_lfg_init(&s->lfg, s->random_seed); in init()
205 s->random_seed); in init()
Dvsrc_life.c66 int64_t random_seed; member
90 …{ "random_seed", "set the seed for filling the initial grid randomly", OFFSET(random_seed), AV_OPT…
91 …{ "seed", "set the seed for filling the initial grid randomly", OFFSET(random_seed), AV_OPT…
246 if (life->random_seed == -1) in init()
247 life->random_seed = av_get_random_seed(); in init()
249 av_lfg_init(&life->lfg, life->random_seed); in init()
266 life->random_seed); in init()
/third_party/ejdb/src/bindings/ejdb2_jni/src/android/java/com/softmotions/ejdb2/
DIWKVOptions.java16 private long random_seed; field in IWKVOptions
35 return random_seed; in getRandomSeed()
66 this.random_seed = seed; in randomSeed()
102 .append("random_seed=").append(random_seed).append(", ") in toString()
/third_party/freetype/src/cid/
Dcidobjs.c505 driver->random_seed = (FT_Int32)seed; in cid_driver_init()
506 if ( driver->random_seed < 0 ) in cid_driver_init()
507 driver->random_seed = -driver->random_seed; in cid_driver_init()
508 else if ( driver->random_seed == 0 ) in cid_driver_init()
509 driver->random_seed = 123456789; in cid_driver_init()
/third_party/boost/libs/graph/test/
Ddijkstra_no_color_map_compare.cpp83 std::size_t random_seed = time(0); in main() local
97 random_seed = lexical_cast< std::size_t >(argv[3]); in main()
100 minstd_rand generator(random_seed); in main()
Dincremental_components_test.cpp130 random_seed = time(0); in main() local
146 random_seed = lexical_cast< std::size_t >(argv[3]); in main()
149 minstd_rand generator(random_seed); in main()
Dgrid_graph_test.cpp227 std::size_t random_seed = time(0); in main() local
231 random_seed = lexical_cast< std::size_t >(argv[1]); in main()
234 minstd_rand generator(random_seed); in main()
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidobjs.c506 driver->random_seed = (FT_Int32)seed; in cid_driver_init()
507 if ( driver->random_seed < 0 ) in cid_driver_init()
508 driver->random_seed = -driver->random_seed; in cid_driver_init()
509 else if ( driver->random_seed == 0 ) in cid_driver_init()
510 driver->random_seed = 123456789; in cid_driver_init()
/third_party/flutter/skia/third_party/externals/freetype/src/cid/
Dcidobjs.c505 driver->random_seed = (FT_Int32)seed; in cid_driver_init()
506 if ( driver->random_seed < 0 ) in cid_driver_init()
507 driver->random_seed = -driver->random_seed; in cid_driver_init()
508 else if ( driver->random_seed == 0 ) in cid_driver_init()
509 driver->random_seed = 123456789; in cid_driver_init()
/third_party/ffmpeg/libavutil/tests/
Drandom_seed.c35 random_seed_ptr_t random_seed[F] = {av_get_random_seed, get_generic_seed}; in main() local
40 seeds[i] = random_seed[rsf](); in main()
/third_party/spirv-tools/source/
Dspirv_fuzzer_options.cpp24 random_seed(0), in spv_fuzzer_options_t()
47 options->random_seed = seed; in spvFuzzerOptionsSetRandomSeed()
/third_party/skia/third_party/externals/spirv-tools/source/
Dspirv_fuzzer_options.cpp24 random_seed(0), in spv_fuzzer_options_t()
47 options->random_seed = seed; in spvFuzzerOptionsSetRandomSeed()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dspirv_fuzzer_options.cpp24 random_seed(0), in spv_fuzzer_options_t()
47 options->random_seed = seed; in spvFuzzerOptionsSetRandomSeed()
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1objs.c624 driver->random_seed = (FT_Int32)seed; in T1_Driver_Init()
625 if ( driver->random_seed < 0 ) in T1_Driver_Init()
626 driver->random_seed = -driver->random_seed; in T1_Driver_Init()
627 else if ( driver->random_seed == 0 ) in T1_Driver_Init()
628 driver->random_seed = 123456789; in T1_Driver_Init()
/third_party/freetype/src/type1/
Dt1objs.c624 driver->random_seed = (FT_Int32)seed; in T1_Driver_Init()
625 if ( driver->random_seed < 0 ) in T1_Driver_Init()
626 driver->random_seed = -driver->random_seed; in T1_Driver_Init()
627 else if ( driver->random_seed == 0 ) in T1_Driver_Init()
628 driver->random_seed = 123456789; in T1_Driver_Init()
/third_party/flutter/skia/third_party/externals/freetype/src/type1/
Dt1objs.c625 driver->random_seed = (FT_Int32)seed; in T1_Driver_Init()
626 if ( driver->random_seed < 0 ) in T1_Driver_Init()
627 driver->random_seed = -driver->random_seed; in T1_Driver_Init()
628 else if ( driver->random_seed == 0 ) in T1_Driver_Init()
629 driver->random_seed = 123456789; in T1_Driver_Init()
/third_party/ffmpeg/tests/fate/
Dlibavutil.mak131 FATE_LIBAVUTIL += fate-random_seed
132 fate-random_seed: libavutil/tests/random_seed$(EXESUF)
133 fate-random_seed: CMD = run libavutil/tests/random_seed$(EXESUF)

12345