Home
last modified time | relevance | path

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

/external/openfst/src/include/fst/
Drandom-weight.h52 TropicalWeightGenerator_(int seed = time(0), bool allow_zero = true)
53 : allow_zero_(allow_zero) { in allow_zero_() argument
84 LogWeightGenerator_(int seed = time(0), bool allow_zero = true)
85 : allow_zero_(allow_zero) { in allow_zero_() argument
117 MinMaxWeightGenerator_(int seed = time(0), bool allow_zero = true)
118 : allow_zero_(allow_zero) { in allow_zero_() argument
151 StringWeightGenerator(int seed = time(0), bool allow_zero = true)
152 : allow_zero_(allow_zero) { in allow_zero_() argument
192 ProductWeightGenerator(int seed = time(0), bool allow_zero = true)
193 : generator1_(seed, allow_zero), generator2_(seed, allow_zero) {} in generator1_() argument
[all …]
/external/openfst/src/include/fst/script/
Dcompile-impl.h187 Weight StrToWeight(const char *s, bool allow_zero) const { in StrToWeight() argument
191 if (!strm || (!allow_zero && w == Weight::Zero())) { in StrToWeight()
/external/pcre/dist/
Dpcre_dfa_exec.c2878 BOOL allow_zero; in internal_dfa_exec() local
2882 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()
Dpcre_exec.c683 #define allow_zero cur_is_word in match() macro
1126 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()