Lines Matching refs:Array
56 // An Array to hold the ModHandle
136 Store the ModHandle in an array indexed by the Pdb File name.
156 PDB_NAME_TO_MOD_HANDLE *Array;
164 Array = mPdbNameModHandleArray;
165 for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
166 if (Array->PdbPointer != NULL && Array->ModHandle == ModHandle) {
171 Array = mPdbNameModHandleArray;
172 for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
173 if (Array->PdbPointer == NULL) {
178 Array->PdbPointer = mWinNt->HeapAlloc ( Handle,
183 ASSERT (Array->PdbPointer != NULL);
185 AsciiStrCpy (Array->PdbPointer, ImageContext->PdbPointer);
186 Array->ModHandle = ModHandle;
219 Return the ModHandle and delete the entry in the array.
236 PDB_NAME_TO_MOD_HANDLE *Array;
245 Array = mPdbNameModHandleArray;
246 for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
247 if ((Array->PdbPointer != NULL) && (AsciiStrCmp(Array->PdbPointer, ImageContext->PdbPointer) == 0)) {
251 mWinNt->HeapFree (mWinNt->GetProcessHeap (), 0, Array->PdbPointer);
252 Array->PdbPointer = NULL;
253 return Array->ModHandle;