4 instantiations of CfgSerializedHeader
System.Speech (4)
Internal\SrgsCompiler\BackEnd.cs (1)
1012
CfgGrammar.CfgSerializedHeader header =
new
();
Internal\SrgsCompiler\CFGGrammar.cs (3)
250
cfgSerializedHeader = new
CfgSerializedHeader
(streamHelper.Stream);
355
CfgSerializedHeader pFH =
new
();
369
CfgSerializedHeader pFH =
new
();
14 references to CfgSerializedHeader
System.Speech (14)
Internal\SrgsCompiler\BackEnd.cs (4)
97
CfgGrammar.
CfgSerializedHeader
header = BuildHeader(sortedStates, cBasePath, unchecked((ushort)semanticInterpretationGlobals), out cArcs, out pWeights);
981
private CfgGrammar.
CfgSerializedHeader
BuildHeader(List<State> sortedStates, int cBasePath, ushort iSemanticGlobals, out int cArcs, out float[]? pWeights)
1012
CfgGrammar.
CfgSerializedHeader
header = new();
1013
uint ulOffset = (uint)Marshal.SizeOf<CfgGrammar.
CfgSerializedHeader
>();
Internal\SrgsCompiler\CFGGrammar.cs (8)
244
CfgSerializedHeader
cfgSerializedHeader;
248
internal static CfgHeader ConvertCfgHeader(StreamMarshaler streamHelper, bool includeAllGrammarData, bool loadSymbols, out
CfgSerializedHeader
cfgSerializedHeader)
281
if (cfgSerializedHeader.pszWords < Marshal.SizeOf<
CfgSerializedHeader
>())
317
internal static ScriptRef[]? LoadScriptRefs(StreamMarshaler streamHelper,
CfgSerializedHeader
pFH)
328
if (pFH.pszWords < Marshal.SizeOf<
CfgSerializedHeader
>())
355
CfgSerializedHeader
pFH = new();
369
CfgSerializedHeader
pFH = new();
398
private static void CheckValidCfgFormat(
CfgSerializedHeader
pFH, CfgHeader header, bool includeAllGrammarData)
Recognition\Grammar.cs (1)
1047
CfgGrammar.
CfgSerializedHeader
? serializedHeader = null;
Recognition\SrgsGrammar\SrgsGrammarCompiler.cs (1)
123
bool isCfg = CfgGrammar.
CfgSerializedHeader
.IsCfg(stream, out cfgLength);