20 references to TernaryTreeByte
dotnet-svcutil-lib (20)
FrameworkFork\Microsoft.Xml\Xml\Core\ReadOnlyTernaryTree.cs (6)
72charInTheTree = node[pos + (int)TernaryTreeByte.characterByte]; 78if (node[pos + (int)TernaryTreeByte.leftTree] == 0x0) 82nodePos = nodePos + node[pos + (int)TernaryTreeByte.leftTree]; 87if (node[pos + (int)TernaryTreeByte.rightTree] == 0x0) 89nodePos = nodePos + node[pos + (int)TernaryTreeByte.rightTree]; 95return node[pos + (int)TernaryTreeByte.data];
FrameworkFork\Microsoft.Xml\Xml\Core\util\TernaryTreeGenerator.cs (14)
206charInTheTree = _nodeBuffer[nodePos, (int)TernaryTreeByte.characterByte]; 234if (_nodeBuffer[nodePos, (int)TernaryTreeByte.leftTree] == 0x0) 243_nodeBuffer[nodePos, (int)TernaryTreeByte.leftTree] = (byte)(_endNodePos - nodePos); 249nodePos = nodePos + _nodeBuffer[nodePos, (int)TernaryTreeByte.leftTree]; 255if (_nodeBuffer[nodePos, (int)TernaryTreeByte.rightTree] == 0x0) 264_nodeBuffer[nodePos, (int)TernaryTreeByte.rightTree] = (byte)(_endNodePos - nodePos); 270nodePos = nodePos + _nodeBuffer[nodePos, (int)TernaryTreeByte.rightTree]; 285_nodeBuffer[nodePos, (int)TernaryTreeByte.characterByte] = (byte)charToAdd; 290_nodeBuffer[nodePos, (int)TernaryTreeByte.characterByte] = 0; 291_nodeBuffer[nodePos, (int)TernaryTreeByte.data] = data; 446streamWriter.Write("{0},{1},{2},{3},", _nodeBuffer[pos, (int)TernaryTreeByte.characterByte], 447_nodeBuffer[pos, (int)TernaryTreeByte.leftTree], 448_nodeBuffer[pos, (int)TernaryTreeByte.rightTree], 449_nodeBuffer[pos, (int)TernaryTreeByte.data]);