Searched refs:allow_zero (Results 1 – 4 of 4) sorted by relevance
52 TropicalWeightGenerator_(int seed = time(0), bool allow_zero = true)53 : allow_zero_(allow_zero) { in allow_zero_() argument84 LogWeightGenerator_(int seed = time(0), bool allow_zero = true)85 : allow_zero_(allow_zero) { in allow_zero_() argument117 MinMaxWeightGenerator_(int seed = time(0), bool allow_zero = true)118 : allow_zero_(allow_zero) { in allow_zero_() argument151 StringWeightGenerator(int seed = time(0), bool allow_zero = true)152 : allow_zero_(allow_zero) { in allow_zero_() argument192 ProductWeightGenerator(int seed = time(0), bool allow_zero = true)193 : generator1_(seed, allow_zero), generator2_(seed, allow_zero) {} in generator1_() argument[all …]
187 Weight StrToWeight(const char *s, bool allow_zero) const { in StrToWeight() argument191 if (!strm || (!allow_zero && w == Weight::Zero())) { in StrToWeight()
2878 BOOL allow_zero; in internal_dfa_exec() local2882 allow_zero = TRUE; in internal_dfa_exec()2885 else allow_zero = FALSE; in internal_dfa_exec()2925 if (matched_count > 0 || allow_zero) in internal_dfa_exec()
683 #define allow_zero cur_is_word in match() macro1126 allow_zero = FALSE; in match()1207 if (allow_zero || matched_once) in match()1222 allow_zero = FALSE; in match()1266 if (matched_once || allow_zero) in match()1903 allow_zero = TRUE; in match()