/external/elfutils/libasm/ |
asm_newsubscn.c | 43 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->content = NULL [all...] |
asm_align.c | 156 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/ |
elf_newscn.c | 107 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;
|
elf_getarsym.c | 203 Elf_Arsym *newp = (Elf_Arsym *) realloc (elf->state.ar.ar_sym, local 205 if (newp == NULL) 212 elf->state.ar.ar_sym = newp;
|
elf_begin.c | 660 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 + len [all...] |
/external/elfutils/libdw/ |
libdw_alloc.c | 71 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;
|
libdw_findcu.c | 129 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->last_abbrev_offset = abbrev_offset [all...] |
dwarf_getsrc_file.c | 157 Dwarf_Line **newp = realloc (match, local 160 if (newp == NULL) 166 match = newp;
|
dwarf_getlocation.c | 330 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/ |
dwfl_module_getsrc_file.c | 158 Dwfl_Line **newp = realloc (match, local 161 if (newp == NULL) 167 match = newp;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_subexp.c | 110 static int prob_diff_update_cost(vp9_prob newp, vp9_prob oldp) { 111 int delp = remap_prob(newp, oldp); 152 void vp9_write_prob_diff_update(vp9_writer *w, vp9_prob newp, vp9_prob oldp) { 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, oldp) + vp9_cost_upd256 190 int newp; local 226 vp9_prob newp = get_binary_prob(ct[0], ct[1]); local [all...] |
/external/bison/lib/ |
getopt.c | 527 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 [all...] |
/external/elfutils/src/ |
objdump.c | 202 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;
|
ar.c | 172 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->next = to_copy->next 1139 struct armem *newp = alloca (sizeof (struct armem)); local [all...] |
elfcmp.c | 233 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;
|
ld.c | 732 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 1311 struct pathelement *newp; local [all...] |
nm.c | 688 struct local_name *newp local 689 = (struct local_name *) xmalloc (sizeof (*newp)); 690 newp->name = name; 691 newp->file = dwarf_filesrc (files, fileidx, NULL, NULL); 692 newp->lineno = lineno; 693 newp->lowpc = lowpc; 694 newp->highpc = highpc; 698 if (tsearch (newp, &local_root, local_compare) == NULL) [all...] |
ldlex.c | 2896 char *newp = (char *) alloca (idmax *= 2); local [all...] |
/external/e2fsprogs/intl/ |
dcigettext.c | 339 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->domainname [all...] |
plural.c | 87 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; [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-linux.c | 2952 vki_sigaction_toK_t new, *newp; local [all...] |
/ndk/sources/host-tools/make-3.81/glob/ |
glob.c | 551 char *newp; 576 newp = (char *) __alloca (dirlen + 1); 578 *((char *) mempcpy (newp, pattern, dirlen)) = '\0'; 580 memcpy (newp, pattern, dirlen); 581 newp[dirlen] = '\0'; 583 dirname = newp; 702 char *newp; 704 newp = (char *) __alloca (home_len + dirlen); 706 mempcpy (mempcpy (newp, home_dir, home_len), 709 memcpy (newp, home_dir, home_len) 550 char *newp; local 701 char *newp; local 725 char *newp; local 774 char *newp; local [all...] |
/external/chromium_org/third_party/npapi/bindings/ |
npfunctions.h | 133 NPP_NewProcPtr newp; member in struct:_NPPluginFuncs
|
/external/libvpx/libvpx/vp8/encoder/ |
bitstream.c | 841 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 = cpi->frame_coef_probs [i][j][k][t] local 1224 const vp8_prob newp = cpi->common.fc.coef_probs [i][j][k][t]; local [all...] |
/external/dnsmasq/src/ |
option.c | 879 unsigned char *p, *m = NULL, *newp; local 895 newp = opt_malloc(len + strlen(arg) + 2 + header_size); 897 memcpy(newp, m, header_size + len); 898 m = newp; [all...] |