Lines Matching refs:me
54 struct map_entry *me;
56 me = (struct map_entry *)malloc(sizeof(*me));
57 if (me != NULL) {
58 me->m_key = strdup(key);
59 if (me->m_key == NULL) {
60 free(me);
61 me = NULL;
63 me->m_value = value;
64 me->m_managed = managed;
68 return me;
82 const struct map_entry *me = citer.m_entry;
83 PRE(me != NULL);
84 return me->m_key;
90 const struct map_entry *me = citer.m_entry;
91 PRE(me != NULL);
92 return me->m_value;
126 const struct map_entry *me = iter.m_entry;
127 PRE(me != NULL);
128 return me->m_key;
134 const struct map_entry *me = iter.m_entry;
135 PRE(me != NULL);
136 return me->m_value;
211 struct map_entry *me = atf_list_iter_data(iter);
213 if (me->m_managed)
214 free(me->m_value);
215 free(me->m_key);
216 free(me);
271 struct map_entry *me = atf_list_iter_data(iter);
273 if (strcmp(me->m_key, key) == 0) {
276 i.m_entry = me;
291 const struct map_entry *me = atf_list_citer_data(iter);
293 if (strcmp(me->m_key, key) == 0) {
296 i.m_entry = me;
353 struct map_entry *me;
359 me = new_entry(key, value, managed);
360 if (me == NULL)
363 err = atf_list_append(&m->m_list, me, false);
367 free(me);
371 me = iter.m_entry;
372 if (me->m_managed)
373 free(me->m_value);
375 INV(strcmp(me->m_key, key) == 0);
376 me->m_value = value;
377 me->m_managed = managed;