Searched refs:newp (Results 1 - 25 of 60) sorted by relevance

123

/external/elfutils/libasm/
H A Dasm_newsubscn.c43 AsmScn_t *newp; local
64 newp = (AsmScn_t *) malloc (sizeof (AsmScn_t));
65 if (newp == NULL)
69 newp->ctx = runp->ctx;
72 newp->subsection_id = nr;
75 newp->type = runp->type;
78 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up;
81 newp->offset = 0;
83 newp->max_align = 1;
86 newp
[all...]
H A Dasm_align.c156 struct AsmData *newp; local
164 newp = (struct AsmData *) malloc (sizeof (struct AsmData) + size);
165 if (newp == NULL)
168 newp->next = asmscn->content->next;
169 asmscn->content = asmscn->content->next = newp;
/external/elfutils/libdw/
H A Dlibdw_findcu.c129 struct Dwarf_CU *newp = libdw_typed_alloc (dbg, struct Dwarf_CU); local
131 newp->dbg = dbg;
132 newp->start = oldoff;
133 newp->end = dbg->next_cu_offset;
134 newp->address_size = address_size;
135 newp->offset_size = offset_size;
136 newp->version = version;
137 Dwarf_Abbrev_Hash_init (&newp->abbrev_hash, 41);
138 newp->orig_abbrev_offset = newp
[all...]
H A Dlibdw_alloc.c71 struct libdw_memblock *newp = malloc (size); local
72 if (newp == NULL)
75 uintptr_t result = ((uintptr_t) newp->mem + align - 1) & ~(align - 1);
77 newp->size = size - offsetof (struct libdw_memblock, mem);
78 newp->remaining = (uintptr_t) newp + size - (result + minsize);
80 newp->prev = dbg->mem_tail;
81 dbg->mem_tail = newp;
H A Ddwarf_getsrc_file.c157 Dwarf_Line **newp = realloc (match, local
160 if (newp == NULL)
166 match = newp;
H A Ddwarf_getlocation.c330 struct loc_s *newp = libdw_alloc (dbg, struct loc_s, sizeof (struct loc_s), local
332 newp->addr = block->data;
333 newp->loc = result;
334 newp->nloc = *listlen;
335 (void) tsearch (newp, &cu->locs, loc_compare);
/external/elfutils/lib/
H A Dlist.h54 #define CDBL_LIST_ADD_REAR(first, newp) \
56 __typeof (newp) _newp = (newp); \
97 #define SNGL_LIST_PUSH(first, newp) \
99 __typeof (newp) _newp = (newp); \
107 #define CSNGL_LIST_ADD_REAR(first, newp) \
109 __typeof (newp) _newp = (newp); \
/external/elfutils/src/
H A Dldscript.y439 struct id_list *newp = new_id_listelem ($2);
440 newp->next = $1->next;
441 $$ = $1->next = newp;
474 struct expression *newp = (struct expression *)
475 obstack_alloc (&ld_state.smem, sizeof (*newp));
477 newp->tag = tag;
478 return newp;
485 struct input_section_name *newp = (struct input_section_name *)
486 obstack_alloc (&ld_state.smem, sizeof (*newp));
488 newp
[all...]
H A Dar.c172 char *newp = alloca (len + 1); local
173 newp[0] = '-';
174 memcpy (&newp[1], argv[1], len);
175 argv[1] = newp;
955 struct armem *newp = alloca (sizeof (struct armem)); local
956 newp->old_off = elf_getaroff (subelf);
957 newp->off = cur_off;
963 to_copy = newp->next = newp;
966 newp
1139 struct armem *newp = alloca (sizeof (struct armem)); local
[all...]
H A Dldgeneric.c285 check_for_duplicate2 (struct usedfiles *newp, struct usedfiles *list) argument
303 if (unlikely (list->ino == newp->ino)
304 && unlikely (list->dev == newp->dev))
306 close (newp->fd);
307 newp->fd = -1;
308 newp->status = closed;
309 if (newp->file_type == relocatable_file_type)
311 newp->rfname);
324 check_for_duplicate (struct usedfiles *newp) argument
328 if (unlikely (fstat (newp
1435 struct symbol *newp; local
1541 struct symbol *newp; local
1837 struct usedfiles *newp; local
1928 struct usedfiles *newp; local
2105 struct usedfiles *newp; local
2138 char *newp; local
2418 struct scnhead *newp; local
2908 struct scnhead *newp; local
3202 struct member *newp; local
4751 struct scnlist *newp; local
5496 struct Ebl_Strtab *newp = ebl_strtabinit (true); local
5566 char *newp = (char *) obstack_alloc (&ld_state.smem, namelen); local
[all...]
H A Dld.c732 struct file_list *newp; local
734 newp = (struct file_list *) xmalloc (sizeof (struct file_list));
735 newp->name = arg;
737 newp->next = NULL;
739 CSNGL_LIST_ADD_REAR (input_file_list, newp);
1280 struct pathelement *newp; local
1285 newp = (struct pathelement *) obstack_alloc (&ld_state.smem, sizeof (*newp));
1286 newp->pname = str;
1287 newp
1311 struct pathelement *newp; local
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_subexp.c110 static int prob_diff_update_cost(vp9_prob newp, vp9_prob oldp) { argument
111 int delp = remap_prob(newp, oldp);
152 void vp9_write_prob_diff_update(vp9_writer *w, vp9_prob newp, vp9_prob oldp) { argument
153 const int delp = remap_prob(newp, oldp);
168 vp9_prob newp, bestnewp = oldp; local
171 for (newp = *bestp; newp != oldp; newp += step) {
172 const int new_b = cost_branch256(ct, newp);
173 const int update_b = prob_diff_update_cost(newp, old
190 int newp; local
226 vp9_prob newp = get_binary_prob(ct[0], ct[1]); local
[all...]
H A Dvp9_subexp.h19 vp9_prob newp, vp9_prob oldp);
/external/elfutils/libelf/
H A Delf_newscn.c107 Elf_ScnList *newp; local
111 newp = (Elf_ScnList *) calloc (sizeof (Elf_ScnList)
114 if (newp == NULL)
120 result = &newp->data[0];
123 ++newp->cnt;
126 newp->max = elf->state.elf.scnincr;
129 newp->data[0].index
133 elf->state.elf.scns_last = elf->state.elf.scns_last->next = newp;
H A Delf_getarsym.c203 Elf_Arsym *newp = (Elf_Arsym *) realloc (elf->state.ar.ar_sym, local
205 if (newp == NULL)
212 elf->state.ar.ar_sym = newp;
H A Delf_begin.c660 char *newp; local
695 newp = (char *) malloc (len);
696 if (newp != NULL)
702 elf->state.ar.long_names = (char *) memcpy (newp,
708 if (unlikely ((size_t) pread_retry (elf->fildes, newp, len,
714 free (newp);
718 elf->state.ar.long_names = newp;
724 runp = newp;
727 runp = (char *) memchr (runp, '/', newp + len - runp);
740 if (runp >= newp
[all...]
/external/e2fsprogs/intl/
H A Dplural.y66 struct expression *newp;
74 newp = (struct expression *) malloc (sizeof (*newp));
75 if (newp != NULL)
77 newp->nargs = nargs;
78 newp->operation = op;
80 newp->val.args[i] = args[i];
81 return newp;
H A Ddcigettext.c339 struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \
342 if (newp != NULL) { \
343 newp->address = (addr); \
344 newp->next = (list); \
345 (list) = newp; \
649 struct known_translation_t *newp; local
651 newp = (struct known_translation_t *)
654 if (newp != NULL)
656 newp
[all...]
H A Dplural.c87 struct expression *newp; local
95 newp = (struct expression *) malloc (sizeof (*newp));
96 if (newp != NULL)
98 newp->nargs = nargs;
99 newp->operation = op;
101 newp->val.args[i] = args[i];
102 return newp;
/external/elfutils/libcpu/
H A Di386_parse.y265 struct synonym *newp = xmalloc (sizeof (*newp));
266 newp->from = $2;
267 newp->to = $3;
268 if (tfind (newp, &synonyms, compare_syn) != NULL)
272 else if (tsearch ( newp, &synonyms, compare_syn) == NULL)
294 struct instruction *newp = xcalloc (sizeof (*newp),
299 newp->repe = 1;
301 newp
[all...]
/external/libsepol/src/
H A Dmls.h56 policydb_t * newp, context_struct_t * context);
/external/elfutils/libdwfl/
H A Ddwfl_module_getsrc_file.c158 Dwfl_Line **newp = realloc (match, local
161 if (newp == NULL)
167 match = newp;
/external/kernel-headers/original/linux/
H A Dcpumask.h301 const cpumask_t *oldp, const cpumask_t *newp, int nbits)
303 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits);
309 const cpumask_t *oldp, const cpumask_t *newp, int nbits)
311 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits);
300 __cpu_remap(int oldbit, const cpumask_t *oldp, const cpumask_t *newp, int nbits) argument
308 __cpus_remap(cpumask_t *dstp, const cpumask_t *srcp, const cpumask_t *oldp, const cpumask_t *newp, int nbits) argument
/external/libvpx/libvpx/vp8/encoder/
H A Dbitstream.c841 const vp8_prob oldp, const vp8_prob newp,
845 const int new_b = vp8_cost_branch(ct, newp);
896 const vp8_prob newp = cpi->frame_coef_probs [i][j][k][t]; local
899 const int s = prob_update_savings(ct, oldp, newp, upd);
902 (cpi->common.frame_type == KEY_FRAME && newp != oldp))
957 const vp8_prob newp = cpi->frame_coef_probs [i][j][k][t]; local
960 const int s = prob_update_savings(ct, oldp, newp, upd);
1104 const vp8_prob newp = cpi->frame_coef_probs[i][j][k][t]; local
1110 prob_update_savings(ct, oldp, newp, upd);
1128 const vp8_prob newp local
840 prob_update_savings(const unsigned int *ct, const vp8_prob oldp, const vp8_prob newp, const vp8_prob upd) argument
1224 const vp8_prob newp = cpi->common.fc.coef_probs [i][j][k][t]; local
[all...]
/external/ppp/pppd/
H A Dmain.c1259 struct callout *newp, *p, **pp; local
1264 if ((newp = (struct callout *) malloc(sizeof(struct callout))) == NULL)
1266 newp->c_arg = arg;
1267 newp->c_func = func;
1269 newp->c_time.tv_sec = timenow.tv_sec + secs;
1270 newp->c_time.tv_usec = timenow.tv_usec + usecs;
1271 if (newp->c_time.tv_usec >= 1000000) {
1272 newp->c_time.tv_sec += newp->c_time.tv_usec / 1000000;
1273 newp
[all...]

Completed in 418 milliseconds

123