Lines Matching refs:m_Cache
67 m_Cache = NULL;
77 m_Cache = (wxHtmlCacheItem*) realloc(m_Cache, (m_CacheSize + CACHE_INCREMENT) * sizeof(wxHtmlCacheItem));
80 m_Cache[tg].Key = stpos;
92 m_Cache[tg].Name = new wxChar[i+1];
93 memcpy(m_Cache[tg].Name, tagBuffer, (i+1)*sizeof(wxChar));
99 m_Cache[tg].End1 = m_Cache[tg].End2 = -2;
102 if ((m_Cache[i].End1 == -1) && (wxStrcmp(m_Cache[i].Name, tagBuffer+1) == 0))
104 m_Cache[i].End1 = stpos;
105 m_Cache[i].End2 = pos + 1;
111 m_Cache[tg].End1 = m_Cache[tg].End2 = -1;
179 delete[] m_Cache[i].Name;
180 m_Cache[i].Name = NULL;
186 if (m_Cache == NULL) return;
187 if (m_Cache[m_CachePos].Key != at)
189 int delta = (at < m_Cache[m_CachePos].Key) ? -1 : 1;
204 while (m_Cache[m_CachePos].Key != at);
206 *end1 = m_Cache[m_CachePos].End1;
207 *end2 = m_Cache[m_CachePos].End2;