Searched defs:newp (Results 1 - 25 of 42) sorted by relevance

12

/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/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/elfutils/libdw/
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 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 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/libdwfl/
H A Ddwfl_module_getsrc_file.c158 Dwfl_Line **newp = realloc (match, local
161 if (newp == NULL)
167 match = newp;
/external/bison/lib/
H A Dgetopt.c527 struct option_list *newp = malloc (sizeof (*newp));
528 newp->p = p;
529 newp->next = ambig_list;
530 ambig_list = newp;
523 struct option_list *newp = malloc (sizeof (*newp)); local
/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...]
/external/libsepol/src/
H A Dmls.c550 * policy `oldp' to the values specified in the policy `newp'.
553 policydb_t * newp, context_struct_t * c)
566 (level_datum_t *) hashtab_search(newp->p_levels.table,
585 (cat_datum_t *) hashtab_search(newp->p_cats.
552 mls_convert_context(policydb_t * oldp, policydb_t * newp, context_struct_t * c) argument
/external/elfutils/src/
H A Delfcmp.c233 struct region *newp = (struct region *) alloca (sizeof (*newp)); local
234 newp->from = shdr1->sh_offset;
235 newp->to = shdr1->sh_offset + shdr1->sh_size;
236 newp->next = regions;
237 regions = newp;
H A Dobjdump.c202 struct section_list *newp = xmalloc (sizeof (*newp)); local
204 newp->scnndx = strtoul (arg, &endp, 0);
206 newp->is_name = false;
209 newp->name = arg;
210 newp->is_name = true;
212 newp->next = section_list;
213 section_list = newp;
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 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/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
H A Dnodemask.h316 const nodemask_t *oldp, const nodemask_t *newp, int nbits)
318 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits);
324 const nodemask_t *oldp, const nodemask_t *newp, int nbits)
326 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits);
315 __node_remap(int oldbit, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument
323 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c2952 vki_sigaction_toK_t new, *newp; local
2960 newp = oldp = NULL;
2984 newp = &new;
2987 SET_STATUS_from_SysRes( VG_(do_sys_sigaction)(ARG1, newp, oldp) );
/external/chromium_org/third_party/npapi/bindings/
H A Dnpfunctions.h133 NPP_NewProcPtr newp; member in struct:_NPPluginFuncs
/external/e2fsprogs/intl/
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/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/qemu/
H A Dgdbstub.c1338 static const char *get_feature_xml(const char *p, const char **newp) argument
1349 *newp = p + len;

Completed in 496 milliseconds

12