Lines Matching refs:IDs
270 pDbeWindowPriv->IDs = pDbeWindowPriv->initIDs;
274 pDbeWindowPriv->IDs[0] = stuff->buffer;
279 pDbeWindowPriv->IDs[i] = DBE_FREE_ID_ELEMENT;
297 if (pDbeWindowPriv->IDs[i] == DBE_FREE_ID_ELEMENT)
318 pIDs = pDbeWindowPriv->IDs;
322 pDbeWindowPriv->IDs = (XID *)realloc(pIDs,
324 if (!pDbeWindowPriv->IDs)
328 memset(&pDbeWindowPriv->IDs[pDbeWindowPriv->nBufferIDs], 0,
335 * newly allocated array. Copy the IDs from the initial array
338 memcpy(pDbeWindowPriv->IDs, pDbeWindowPriv->initIDs,
356 pDbeWindowPriv->IDs[add_index] = stuff->buffer;
360 pDbeWindowPriv->IDs[add_index] = DBE_FREE_ID_ELEMENT;
441 if (pDbeWindowPriv->IDs[i] == stuff->buffer)
1354 while ((i < pDbeWindowPriv->nBufferIDs) && (pDbeWindowPriv->IDs[i] != id))
1370 memmove(&pDbeWindowPriv->IDs[i], &pDbeWindowPriv->IDs[i+1],
1379 pDbeWindowPriv->IDs[pDbeWindowPriv->nBufferIDs - 1] = DBE_FREE_ID_ELEMENT;
1384 * buffer IDs will fit in the static array.
1390 /* Copy the IDs back into the static array. */
1391 memcpy(pDbeWindowPriv->initIDs, pDbeWindowPriv->IDs,
1395 free(pDbeWindowPriv->IDs);
1396 pDbeWindowPriv->IDs = pDbeWindowPriv->initIDs;
1508 ** Call the window priv delete function for all buffer IDs associated
1518 * NULL if there are no more buffer IDs associated with this
1521 FreeResource(pDbeWindowPriv->IDs[0], RT_NONE);