Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
DProcessDsc.c3823 SYMBOL *NewSymbol; in AddSymbol() local
3982 NewSymbol = (SYMBOL *) malloc (sizeof (SYMBOL)); in AddSymbol()
3983 if (NewSymbol == NULL) { in AddSymbol()
3988 memset ((INT8 *) NewSymbol, 0, sizeof (SYMBOL)); in AddSymbol()
3989 NewSymbol->Name = (INT8 *) malloc (strlen (Name) + 1); in AddSymbol()
3990 NewSymbol->Value = (INT8 *) malloc (strlen (Value) + 1); in AddSymbol()
3994 NewSymbol->Type = Mode; in AddSymbol()
3995 if ((NewSymbol->Name == NULL) || (NewSymbol->Value == NULL)) { in AddSymbol()
4000 strcpy (NewSymbol->Name, Name); in AddSymbol()
4001 strcpy (NewSymbol->Value, Value); in AddSymbol()
[all …]