Lines Matching refs:elements
241 free(g_mechSet.elements[i].elements);
242 free(g_mechSet.elements);
243 g_mechSet.elements = NULL;
247 /* determine how many elements to have in the list */
257 g_mechSet.elements =
259 if (g_mechSet.elements == NULL) {
265 (void) memset(g_mechSet.elements, 0,
273 curItem = &(g_mechSet.elements[count]);
274 curItem->elements = (void*)
276 if (curItem->elements == NULL) {
282 free(g_mechSet.elements[i].
283 elements);
285 free(g_mechSet.elements);
287 g_mechSet.elements = NULL;
320 if (((*mechSet)->elements =
331 (void) memcpy((*mechSet)->elements, g_mechSet.elements,
336 /* still need to copy each of the oid elements arrays */
338 curItem = &((*mechSet)->elements[i]);
339 curItem->elements =
340 (void *) malloc(g_mechSet.elements[i].length);
341 if (curItem->elements == NULL) {
344 * must still free the allocated elements for
348 free((*mechSet)->elements[j].elements);
350 free((*mechSet)->elements);
355 g_OID_copy(curItem, &g_mechSet.elements[i]);
779 free(mechOid->elements);
793 free(mechOid->elements);
889 free(mechOid->elements);
897 free(mechOid->elements);
912 free(mechOid->elements);