Lines Matching refs:newListPtr
223 S_listType* newListPtr;
225 newListPtr = (S_listType*)CSC_MALLOC_FUNC (1, sizeof(S_listType));
227 if (newListPtr != NULL)
229 newListPtr->next = NULL;
230 newListPtr->count = 0;
231 memset (newListPtr->data, '\0', LINE_SIZE);
233 newListPtr->sig_lo = LIST_SIG;
234 newListPtr->sig_hi = LIST_SIG;
238 return (newListPtr);
249 S_listType* newListPtr = NULL;
261 newListPtr = newList();
262 if (newListPtr != NULL)
264 ASSERT_RTN (newListPtr->sig_lo == LIST_SIG, "listAdd: ouch", CSC_CORRUPT);
265 ASSERT_RTN (newListPtr->sig_hi == LIST_SIG, "listAdd: ouch", CSC_CORRUPT);
266 newListPtr->next = *listPtrPtr;
267 *listPtrPtr = newListPtr;