Lines Matching refs:Key
111 if (Node->Key != NULL) { in FreeEnvironmentVariableList()
112 FreePool(Node->Key); in FreeEnvironmentVariableList()
208 VarList->Key = AllocateCopyPool(StrSize(VariableName), VariableName); in GetEnvironmentVariableList()
209 if (VarList->Key == NULL) { in GetEnvironmentVariableList()
266 if (Node->Key != NULL) { in SetEnvironmentVariableList()
267 Status = SHELL_DELETE_ENVIRONMENT_VARIABLE(Node->Key); in SetEnvironmentVariableList()
283 Status = SHELL_SET_ENVIRONMENT_VARIABLE_NV(Node->Key, Size, Node->Val); in SetEnvironmentVariableList()
285 Status = SHELL_SET_ENVIRONMENT_VARIABLE_V (Node->Key, Size, Node->Val); in SetEnvironmentVariableList()
341 … Node->Key = AllocateZeroPool((StrStr(CurrentString, L"=") - CurrentString + 1) * sizeof(CHAR16)); in SetEnvironmentVariables()
342 if (Node->Key == NULL) { in SetEnvironmentVariables()
351 StrnCpyS( Node->Key, in SetEnvironmentVariables()
360 … AllocateCopyPool(StrSize(CurrentString) - StrSize(Node->Key), CurrentString + StrLen(Node->Key) +… in SetEnvironmentVariables()
362 SHELL_FREE_NON_NULL(Node->Key); in SetEnvironmentVariables()
373 SHELL_FREE_NON_NULL(Node->Key); in SetEnvironmentVariables()
409 IN CONST CHAR16 *Key, in ShellFindEnvVarInList() argument
417 if (Key == NULL || Value == NULL || ValueSize == NULL) { in ShellFindEnvVarInList()
425 if (Node->Key != NULL && StrCmp(Key, Node->Key) == 0) { in ShellFindEnvVarInList()
453 IN CONST CHAR16 *Key, in ShellAddEnvVarToList() argument
463 if (Key == NULL || Value == NULL || ValueSize == 0) { in ShellAddEnvVarToList()
479 if (Node->Key != NULL && StrCmp(Key, Node->Key) == 0) { in ShellAddEnvVarToList()
491 LocalKey = AllocateCopyPool (StrSize(Key), Key); in ShellAddEnvVarToList()
502 Node->Key = LocalKey; in ShellAddEnvVarToList()
521 IN CONST CHAR16 *Key in ShellRemvoeEnvVarFromList() argument
526 if (Key == NULL) { in ShellRemvoeEnvVarFromList()
534 if (Node->Key != NULL && StrCmp(Key, Node->Key) == 0) { in ShellRemvoeEnvVarFromList()
535 SHELL_FREE_NON_NULL(Node->Key); in ShellRemvoeEnvVarFromList()