Home
last modified time | relevance | path

Searched refs:allow_zero (Results 1 – 2 of 2) sorted by relevance

/external/srec/tools/thirdparty/OpenFst/fst/lib/
Drandom-weight.h41 TropicalWeightGenerator(int seed = time(0), bool allow_zero = true)
42 : allow_zero_(allow_zero) { in allow_zero_() argument
68 LogWeightGenerator(int seed = time(0), bool allow_zero = true)
69 : allow_zero_(allow_zero) { in allow_zero_() argument
96 StringWeightGenerator(int seed = time(0), bool allow_zero = true)
97 : allow_zero_(allow_zero) { in allow_zero_() argument
131 ProductWeightGenerator(int seed = time(0), bool allow_zero = true)
132 : generator1_(seed, allow_zero), generator2_(seed, allow_zero) {} in generator1_() argument
156 GallicWeightGenerator(int seed = time(0), bool allow_zero = true)
157 : PG(seed, allow_zero) {} in PG() argument
/external/srec/tools/grxmlcompile/
Dfst-io.h339 Weight StrToWeight(const char *s, bool allow_zero) const { in StrToWeight() argument
343 if (strm.fail() || (!allow_zero && w == Weight::Zero())) { in StrToWeight()