Lines Matching refs:mem
1075 char *mem; local
1155 mem = (char *) malloc (memneed);
1156 if (mem == NULL)
1159 domain->malloced = mem;
1160 inmem_orig_sysdep_tab = (struct sysdep_string_desc *) mem;
1161 mem += n_sysdep_strings * sizeof (struct sysdep_string_desc);
1162 inmem_trans_sysdep_tab = (struct sysdep_string_desc *) mem;
1163 mem += n_sysdep_strings * sizeof (struct sysdep_string_desc);
1164 inmem_hash_tab = (nls_uint32 *) mem;
1165 mem += domain->hash_size * sizeof (nls_uint32);
1196 inmem_orig_sysdep_tab[i].pointer = mem;
1208 memcpy (mem, static_segments, segsize);
1209 mem += segsize;
1217 memcpy (mem, sysdep_segment_values[sysdepref], n);
1218 mem += n;
1222 mem - inmem_orig_sysdep_tab[i].pointer;