Lines Matching refs:DefineInfo

176     PR_DEFINE_INFO          *DefineInfo;  in PrDumpPredefinedNames()  local
179 DefineInfo = AslGbl_DefineList; in PrDumpPredefinedNames()
180 while (DefineInfo) in PrDumpPredefinedNames()
184 0, DefineInfo->Identifier, DefineInfo->Replacement); in PrDumpPredefinedNames()
186 DefineInfo = DefineInfo->Next; in PrDumpPredefinedNames()
213 PR_DEFINE_INFO *DefineInfo; in PrAddDefine() local
223 DefineInfo = PrMatchDefine (Identifier); in PrAddDefine()
224 if (DefineInfo) in PrAddDefine()
234 if (strcmp (Replacement, DefineInfo->Replacement)) in PrAddDefine()
242 return (DefineInfo); in PrAddDefine()
255 DefineInfo = UtLocalCalloc (sizeof (PR_DEFINE_INFO)); in PrAddDefine()
256 DefineInfo->Replacement = ReplacementString; in PrAddDefine()
257 DefineInfo->Identifier = IdentifierString; in PrAddDefine()
258 DefineInfo->Persist = Persist; in PrAddDefine()
262 AslGbl_DefineList->Previous = DefineInfo; in PrAddDefine()
265 DefineInfo->Next = AslGbl_DefineList; in PrAddDefine()
266 AslGbl_DefineList = DefineInfo; in PrAddDefine()
267 return (DefineInfo); in PrAddDefine()
289 PR_DEFINE_INFO *DefineInfo; in PrRemoveDefine() local
294 DefineInfo = AslGbl_DefineList; in PrRemoveDefine()
295 while (DefineInfo) in PrRemoveDefine()
297 if (!strcmp (DefineName, DefineInfo->Identifier)) in PrRemoveDefine()
301 if (DefineInfo->Previous) in PrRemoveDefine()
303 (DefineInfo->Previous)->Next = DefineInfo->Next; in PrRemoveDefine()
307 AslGbl_DefineList = DefineInfo->Next; in PrRemoveDefine()
310 if (DefineInfo->Next) in PrRemoveDefine()
312 (DefineInfo->Next)->Previous = DefineInfo->Previous; in PrRemoveDefine()
315 free (DefineInfo); in PrRemoveDefine()
319 DefineInfo = DefineInfo->Next; in PrRemoveDefine()
348 PR_DEFINE_INFO *DefineInfo; in PrMatchDefine() local
351 DefineInfo = AslGbl_DefineList; in PrMatchDefine()
352 while (DefineInfo) in PrMatchDefine()
354 if (!strcmp (MatchString, DefineInfo->Identifier)) in PrMatchDefine()
356 return (DefineInfo); in PrMatchDefine()
359 DefineInfo = DefineInfo->Next; in PrMatchDefine()
388 PR_DEFINE_INFO *DefineInfo; in PrAddMacro() local
527 DefineInfo = PrMatchDefine (Name); in PrAddMacro()
528 if (DefineInfo) in PrAddMacro()
536 if (strcmp (DefineInfo->Body, BodyInSource) || in PrAddMacro()
537 (DefineInfo->ArgCount != ArgCount)) in PrAddMacro()
552 DefineInfo = PrAddDefine (Name, BodyInSource, FALSE); in PrAddMacro()
553 if (DefineInfo) in PrAddMacro()
558 DefineInfo->Body = Body; in PrAddMacro()
559 DefineInfo->Args = Args; in PrAddMacro()
560 DefineInfo->ArgCount = ArgCount; in PrAddMacro()
592 PR_DEFINE_INFO *DefineInfo, in PrDoMacroInvocation() argument
605 strcpy (AslGbl_MacroTokenBuffer, DefineInfo->Body); in PrDoMacroInvocation()
609 Args = DefineInfo->Args; in PrDoMacroInvocation()