Lines Matching refs:newp
319 struct section_list *newp; in make_seclist_elem() local
321 newp = (struct section_list *) obstack_alloc (&collate->mempool, in make_seclist_elem()
322 sizeof (*newp)); in make_seclist_elem()
323 newp->next = next; in make_seclist_elem()
324 newp->name = string; in make_seclist_elem()
325 newp->first = NULL; in make_seclist_elem()
326 newp->last = NULL; in make_seclist_elem()
328 return newp; in make_seclist_elem()
337 struct element_t *newp; in new_element() local
339 newp = (struct element_t *) obstack_alloc (&collate->mempool, in new_element()
340 sizeof (*newp)); in new_element()
341 newp->name = name == NULL ? NULL : obstack_copy0 (&collate->mempool, in new_element()
345 newp->mbs = obstack_copy0 (&collate->mempool, mbs, mbslen); in new_element()
346 newp->nmbs = mbslen; in new_element()
350 newp->mbs = NULL; in new_element()
351 newp->nmbs = 0; in new_element()
362 newp->wcs = (uint32_t *) obstack_finish (&collate->mempool); in new_element()
363 newp->nwcs = nwcs; in new_element()
367 newp->wcs = NULL; in new_element()
368 newp->nwcs = 0; in new_element()
370 newp->mborder = NULL; in new_element()
371 newp->wcorder = 0; in new_element()
372 newp->used_in_level = 0; in new_element()
373 newp->is_character = is_character; in new_element()
376 newp->mbseqorder = 0; in new_element()
377 newp->wcseqorder = 0; in new_element()
380 newp->weights = NULL; in new_element()
382 newp->file = NULL; in new_element()
383 newp->line = 0; in new_element()
385 newp->section = collate->current_section; in new_element()
387 newp->last = NULL; in new_element()
388 newp->next = NULL; in new_element()
390 newp->mbnext = NULL; in new_element()
391 newp->mblast = NULL; in new_element()
393 newp->wcnext = NULL; in new_element()
394 newp->wclast = NULL; in new_element()
396 return newp; in new_element()
403 struct symbol_t *newp; in new_symbol() local
405 newp = (struct symbol_t *) obstack_alloc (&collate->mempool, sizeof (*newp)); in new_symbol()
407 newp->name = obstack_copy0 (&collate->mempool, name, len); in new_symbol()
408 newp->order = NULL; in new_symbol()
410 newp->file = NULL; in new_symbol()
411 newp->line = 0; in new_symbol()
413 return newp; in new_symbol()
857 struct element_t **newp; in insert_weights() local
859 newp = (struct element_t **) in insert_weights()
861 memcpy (newp, weights, cnt * sizeof (struct element_t *)); in insert_weights()
862 weights = newp; in insert_weights()