/external/elfutils/libasm/ |
asm_newsubscn.c | 44 AsmScn_t *newp; local 65 newp = (AsmScn_t *) malloc (sizeof (AsmScn_t)); 66 if (newp == NULL) 70 newp->ctx = runp->ctx; 73 newp->subsection_id = nr; 76 newp->type = runp->type; 79 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up; 82 newp->offset = 0; 84 newp->max_align = 1; 87 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 | 85 Elf_ScnList *newp = NULL; local 97 newp = (Elf_ScnList *) calloc (sizeof (Elf_ScnList) 100 if (newp == NULL) 106 result = &newp->data[0]; 109 ++newp->cnt; 112 newp->max = elf->state.elf.scnincr; 115 newp->data[0].index 119 elf->state.elf.scns_last = elf->state.elf.scns_last->next = newp;
|
elf_getarsym.c | 219 Elf_Arsym *newp = (Elf_Arsym *) realloc (elf->state.ar.ar_sym, local 221 if (newp == NULL) 228 elf->state.ar.ar_sym = newp;
|
elf_begin.c | 681 char *newp; local 717 newp = (char *) malloc (len); 718 if (newp != NULL) 727 elf->state.ar.long_names = (char *) memcpy (newp, 734 if (unlikely ((size_t) pread_retry (elf->fildes, newp, len, 741 free (newp); 745 elf->state.ar.long_names = newp; 751 runp = newp; 755 runp = (char *) memchr (runp, '/', newp + len - runp); 759 memset (startp, '\0', newp + len - startp) [all...] |
/external/elfutils/libdw/ |
libdw_alloc.c | 47 struct libdw_memblock *newp = malloc (size); local 48 if (newp == NULL) 51 uintptr_t result = ((uintptr_t) newp->mem + align - 1) & ~(align - 1); 53 newp->size = size - offsetof (struct libdw_memblock, mem); 54 newp->remaining = (uintptr_t) newp + size - (result + minsize); 56 newp->prev = dbg->mem_tail; 57 dbg->mem_tail = newp;
|
dwarf_getsrc_file.c | 144 Dwarf_Line **newp = realloc (match, local 147 if (newp == NULL) 153 match = newp;
|
libdw_findcu.c | 102 struct Dwarf_CU *newp = libdw_typed_alloc (dbg, struct Dwarf_CU); local 104 newp->dbg = dbg; 105 newp->start = oldoff; 106 newp->end = *offsetp; 107 newp->address_size = address_size; 108 newp->offset_size = offset_size; 109 newp->version = version; 110 newp->type_sig8 = type_sig8; 111 newp->type_offset = type_offset; 112 Dwarf_Abbrev_Hash_init (&newp->abbrev_hash, 41) 158 struct Dwarf_CU *newp = __libdw_intern_next_unit (dbg, debug_types); local [all...] |
dwarf_getlocation.c | 178 struct loc_s *newp = libdw_alloc (attr->cu->dbg, local 181 newp->addr = attr->valp; 182 newp->loc = result; 183 newp->nloc = 1; 185 found = tsearch (newp, &attr->cu->locs, loc_compare); 566 struct loc_s *newp; local 568 newp = libdw_alloc (dbg, struct loc_s, sizeof (struct loc_s), 1); 571 newp = malloc (sizeof *newp); 572 if (newp == NULL [all...] |
/external/curl/lib/ |
gopher.c | 96 char *newp; local 100 newp = path; 101 newp+=2; 104 j = strlen(newp); 106 if(newp[i] == '?') 107 newp[i] = '\x09'; 110 sel = curl_easy_unescape(data, newp, 0, &len);
|
dict.c | 96 char *newp; local 103 newp = curl_easy_unescape(data, inputbuff, 0, &len); 104 if(!newp) 111 for(ptr = newp; 122 free(newp);
|
/external/elfutils/libdwfl/ |
dwfl_module_getsrc_file.c | 143 Dwfl_Line **newp = realloc (match, local 146 if (newp == NULL) 152 match = newp;
|
/external/toybox/toys/lsb/ |
passwd.c | 49 static void strength_check(char *newp, char *oldp, char *user) 53 if (strlen(newp) < 6) { //Min passwd len 57 if (!newp[0]) return; //passwd is empty 59 if (str_check(newp, user)) { 64 if (oldp[0] && str_check(newp, oldp)) { 85 char *newp = NULL; local 90 newp = xstrdup(toybuf); 91 if (CFG_PASSWD_SAD) strength_check(newp, oldp, user); 93 free(newp); 97 if (!strcmp(newp, toybuf)) return newp 109 char *name = NULL, *pass = NULL, *encrypted = NULL, *newp = NULL, local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_subexp.c | 81 static int prob_diff_update_cost(vpx_prob newp, vpx_prob oldp) { 82 int delp = remap_prob(newp, oldp); 114 void vp9_write_prob_diff_update(vpx_writer *w, vpx_prob newp, vpx_prob oldp) { 115 const int delp = remap_prob(newp, oldp); 124 vpx_prob newp, bestnewp = oldp; local 127 for (newp = *bestp; newp != oldp; newp += step) { 128 const int new_b = cost_branch256(ct, newp); 129 const int update_b = prob_diff_update_cost(newp, oldp) + vp9_cost_upd256 146 int newp; local 202 vpx_prob newp = get_binary_prob(ct[0], ct[1]); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_subexp.c | 76 static int prob_diff_update_cost(vp9_prob newp, vp9_prob oldp) { 77 int delp = remap_prob(newp, oldp); 109 void vp9_write_prob_diff_update(vp9_writer *w, vp9_prob newp, vp9_prob oldp) { 110 const int delp = remap_prob(newp, oldp); 125 vp9_prob newp, bestnewp = oldp; local 128 for (newp = *bestp; newp != oldp; newp += step) { 129 const int new_b = cost_branch256(ct, newp); 130 const int update_b = prob_diff_update_cost(newp, oldp) + vp9_cost_upd256 146 int newp; local 182 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/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/elfutils/src/ |
ar.c | 162 char *newp = alloca (len + 1); local 163 newp[0] = '-'; 164 memcpy (&newp[1], argv[1], len); 165 argv[1] = newp; 971 struct armem *newp = alloca (sizeof (struct armem)); local 972 newp->old_off = elf_getaroff (subelf); 973 newp->off = cur_off; 979 to_copy = newp->next = newp; 982 newp->next = to_copy->next 1156 struct armem *newp = alloca (sizeof (struct armem)); local [all...] |
elfcmp.c | 279 struct region *newp = (struct region *) alloca (sizeof (*newp)); local 280 newp->from = shdr1->sh_offset; 281 newp->to = shdr1->sh_offset + shdr1->sh_size; 282 newp->next = regions; 283 regions = newp;
|
ld.c | 718 struct file_list *newp; local 720 newp = (struct file_list *) xmalloc (sizeof (struct file_list)); 721 newp->name = arg; 723 newp->next = NULL; 725 CSNGL_LIST_ADD_REAR (input_file_list, newp); 1269 struct pathelement *newp; local 1300 struct pathelement *newp; local [all...] |
objdump.c | 198 struct section_list *newp = xmalloc (sizeof (*newp)); local 200 newp->scnndx = strtoul (arg, &endp, 0); 202 newp->is_name = false; 205 newp->name = arg; 206 newp->is_name = true; 208 newp->next = section_list; 209 section_list = newp;
|
/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...] |
/toolchain/binutils/binutils-2.25/intl/ |
dcigettext.c | 338 struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ 341 if (newp != NULL) { \ 342 newp->address = (addr); \ 343 newp->next = (list); \ 344 (list) = newp; \ 653 struct known_translation_t *newp; local 655 newp = (struct known_translation_t *) 658 if (newp != NULL) 660 newp->domainname [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
m32c-asm.c | 582 const char *newp = *strp; 586 errmsg = cgen_parse_unsigned_integer (cd, & newp, opindex, & bit); 590 if (*newp != ',') 593 ++newp; 595 if (strncmp (newp, "0x0", 3) == 0 596 || (newp[0] == '0' && newp[1] != 'x')) 599 errmsg = cgen_parse_unsigned_integer (cd, & newp, opindex, & base); 617 if (strncmp (newp, "[sb]", 4) != 0) 624 *strp = newp; 581 const char *newp = *strp; local 635 const char *newp = *strp; local 733 const char *newp = *strp; local 793 const char *newp = *strp; local [all...] |