Home
last modified time | relevance | path

Searched refs:ToString (Results 1 – 25 of 25) sorted by relevance

/lib/lwip/lwip/contrib/apps/LwipMibCompiler/SharpSnmpLib/Mib/Elements/Entities/
A DObjectType.cs57 augment = current.ToString(); in ParseAugments()
103 defVal = current.ToString(); in ParseDefVal()
141 indices.Add(current.ToString()); in ParseIndices()
170 return symbols.NextNonEOLSymbol().ToString(); in ParseReference()
186 return symbols.NextNonEOLSymbol().ToString().Trim(new char[] { '"' }); in ParseDescription()
206 status = (Status)Enum.Parse(typeof(Status), current.ToString()); in ParseStatus()
224 switch (current.ToString()) in ParseAccess()
258 return symbols.NextNonEOLSymbol().ToString(); in ParseUnits()
278 string s = sym.ToString(); in IsProperty()
A DEntityBase.cs15 _name = preAssignSymbols[0].ToString(); in EntityBase()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/SharpSnmpLib/Mib/Elements/
A DImportsFrom.cs33 _types.Add(previous.ToString()); in ImportsFrom()
40 _types.Add(previous.ToString()); in ImportsFrom()
42 … _module = symbols.NextSymbol().ToString().ToUpperInvariant(); // module names are uppercase in ImportsFrom()
55 public override string ToString() in ToString() method in Lextm.SharpSnmpLib.Mib.Elements.ImportsFrom
A DTrapType.cs21 _name = preAssignSymbols[0].ToString(); in TrapType()
25 bool succeeded = int.TryParse(valueSymbol.ToString(), out _value); in TrapType()
A DExports.cs39 _types.Add(previous.ToString()); in Exports()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/SharpSnmpLib/Mib/
A DLexer.cs201 Symbol s = new Symbol(pp.File, pp.Temp.ToString(), row, column); in ParseLastSymbol()
205 if (s.ToString().StartsWith(Symbol.Comment.ToString())) in ParseLastSymbol()
359 succeeded = UInt32.TryParse(current.ToString(), out value); in ParseOidValue()
370 parent = longParent.ToString(); in ParseOidValue()
374 succeeded = UInt32.TryParse(current.ToString(), out value); in ParseOidValue()
381 succeeded = UInt32.TryParse(current.ToString(), out value); in ParseOidValue()
386 parent = longParent.ToString(); in ParseOidValue()
396 succeeded = UInt32.TryParse(current.ToString(), out value); in ParseOidValue()
496 string numString = (number != null) ? number.ToString() : null; in DecodeNumber()
543 string identifier = current.ToString(); in DecodeEnumerations()
[all …]
A DDisplayHint.cs55 public override string ToString() in ToString() method in Lextm.SharpSnmpLib.Mib.DisplayHint
74 return System.Convert.ToString(i, 16); in Decode()
76 return System.Convert.ToString(i, 8); in Decode()
78 return System.Convert.ToString(i, 2); in Decode()
A DSymbol.cs83 public override string ToString() in ToString() method in Lextm.SharpSnmpLib.Mib.Symbol
263 … Assert(false, "Unexpected symbol found! Expected '" + expected.ToString() + "'"); in Expect()
278 Assert(false, msg.ToString()); in Expect()
294 bool isValid = IsValidIdentifier(ToString(), out message); in AssertIsValidIdentifier()
301 return IsValidIdentifier(ToString(), out message); in IsValidIdentifier()
350 …_useStricterValidation = setting != null && Convert.ToBoolean(setting.ToString(), CultureInfo.Inva…
A DMibModule.cs44 _name = temp.ToString().ToUpperInvariant(); // all module names are uppercase in MibModule()
214 …_tokens.Add(Lexer.ParseBasicTypeDef(this, preAssignSymbols[0].ToString(), symbols, isMacroSyntax: … in ParseEntity()
A DObjectIdentifier.cs38 return result.ToString(); in GetOidString()
A DSymbolList.cs117 return result.ToString(); in Join()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/CCodeGeneration/
A DVariableType.cs74 generator.OutputStream.Write(this.ToString().Trim()); in GenerateCode()
78 public override string ToString() in ToString() method in CCodeGeneration.VariableType
114 return vt.ToString().Trim(); in ToString()
117 return base.ToString(); in ToString()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/SharpSnmpLib/Mib/Elements/Types/
A DTextualConvention.cs34 … return new DisplayHint(symbols.NextNonEOLSymbol().ToString().Trim(new char[] { '"' })); in ParseDisplayHint()
48 return (Status)Enum.Parse(typeof(Status), symbols.NextNonEOLSymbol().ToString()); in ParseStatus()
63 return symbols.NextNonEOLSymbol().ToString().Trim(new char[] { '"' }); in ParseDescription()
72 string reference = symbols.NextNonEOLSymbol().ToString(); in ParseReference()
135 get { return _displayHint == null ? null : _displayHint.ToString(); }
A DSequenceOf.cs15 _type = sym.NextNonEOLSymbol().ToString(); in SequenceOf()
A DMacro.cs13 _name = preAssignSymbols[0].ToString(); in Macro()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/MibViewer/
A DFormMain.cs107 …ails.Items.Add(new ListViewItem(new string[] { "Abstract", mtn.NodeType.ToString() }, this.listvie… in treeMib_AfterSelect()
113 …listviewNodeDetails.Items.Add(new ListViewItem(new string[] { "OID", mtn.Entity.Value.ToString() }… in treeMib_AfterSelect()
117 …ListViewItem(new string[] { "Access", (mtn.Entity as ObjectType).Access.ToString() }, this.listvie… in treeMib_AfterSelect()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/LwipSnmpCodeGeneration/
A DSnmpScalarAggregationNode.cs187 SwitchCase sc = new SwitchCase(scalarNode.Oid.ToString(CultureInfo.InvariantCulture)); in GenerateGetMethodCode()
225 SwitchCase sc = new SwitchCase(scalarNode.Oid.ToString(CultureInfo.InvariantCulture)); in GenerateTestMethodCode()
266 SwitchCase sc = new SwitchCase(scalarNode.Oid.ToString(CultureInfo.InvariantCulture)); in GenerateSetMethodCode()
A DSnmpScalarNodeCounter64.cs51 "(" + new VariableType(null, LwipDefs.Vt_U32, "*").ToString() + ")" + sourceName)); in GenerateValueDeclaration()
A DSnmpScalarNodeInt.cs62 IfThenElse ite = new IfThenElse(ifCond.ToString()); in GenerateTestMethodCodeCore()
A DSnmpScalarNodeUint.cs67 IfThenElse ite = new IfThenElse(ifCond.ToString()); in GenerateTestMethodCodeCore()
A DSnmpMib.cs77 boidInitialization.ToString(), true); in GenerateCode()
A DSnmpTableNode.cs188 … (indexNode.OidRepresentationLen >= 0) ? indexNode.OidRepresentationLen.ToString() : "variable"); in GenerateGetInstanceMethodCode()
263 … (indexNode.OidRepresentationLen >= 0) ? indexNode.OidRepresentationLen.ToString() : "variable"); in GenerateGetNextInstanceMethodCode()
A DSnmpScalarNodeOctetString.cs85 IfThenElse ite = new IfThenElse(ifCond.ToString()); in GenerateTestMethodCodeCore()
A DSnmpScalarNodeBits.cs89 IfThenElse innerIte = new IfThenElse(innerIfCond.ToString()); in GenerateTestMethodCode()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/LwipMibCompiler/
A DProgram.cs247 if (ote.ReferredType.Name == Symbol.TruthValue.ToString()) in GenerateSnmpScalarNode()

Completed in 65 milliseconds