1 write to One
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\BDD.cs (1)
70One = one;
28 references to One
System.Text.RegularExpressions (28)
System\Text\RegularExpressions\Symbolic\BDD.cs (12)
84[MemberNotNullWhen(false, nameof(One))] 90Debug.Assert((One is null) == (Zero is null)); 91return One is null; 128set = set.One; 149(this == bdd || (Ordinal == bdd.Ordinal && One == bdd.One && Zero == bdd.Zero)); 223long v = (((long)node.Ordinal) << ordinal_shift) | (idmap[node.One] << one_node_shift) | (idmap[node.Zero] << zero_node_shift); 276if (visited.Add(node.One)) 277toVisit.Push(node.One); 428bdd = (input & (1 << bdd.Ordinal)) == 0 ? bdd.Zero : bdd.One; 497if (visited.Add(node.One)) 498toVisit.Push(node.One);
System\Text\RegularExpressions\Symbolic\BDDRangeConverter.cs (10)
108if (set.One.IsFull) 114(uint, uint)[] ranges1 = LiftRanges(b, b - set.One.Ordinal - 1, ToRangesFromOrdinal(set.One)); 126if (set.One.IsEmpty) 132(uint, uint)[] rangesR = LiftRanges(b, b - set.One.Ordinal - 1, ToRangesFromOrdinal(set.One)); 161if (set.One.IsEmpty) 166else if (set.One.IsFull) 187(uint, uint)[] rangesR0 = ToRangesFromOrdinal(set.One); 189(uint, uint)[] rangesR = LiftRanges(b, b - set.One.Ordinal - 1, rangesR0);
System\Text\RegularExpressions\Symbolic\CharSetSolver.cs (6)
211_operationCache[key] = result = GetOrCreateBDD(set.Ordinal, Not(set.One), Not(set.Zero)); 265one = ApplyBinaryOp(op, set1, set2.One); 271one = ApplyBinaryOp(op, set1.One, set2); 277one = ApplyBinaryOp(op, set1.One, set2.One); 379BDD one = ReplaceTrueImpl(bdd.One, leaf, cache);