/external/elfutils/libasm/ |
H A D | 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 [all...] |
H A D | 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/libdw/ |
H A D | 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 [all...] |
H A D | 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;
|
H A D | dwarf_getsrc_file.c | 157 Dwarf_Line **newp = realloc (match, local 160 if (newp == NULL) 166 match = newp;
|
H A D | 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/lib/ |
H A D | list.h | 54 #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 D | ldscript.y | 439 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 D | 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 1139 struct armem *newp = alloca (sizeof (struct armem)); local [all...] |
H A D | ldgeneric.c | 285 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 D | 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 1285 newp = (struct pathelement *) obstack_alloc (&ld_state.smem, sizeof (*newp)); 1286 newp->pname = str; 1287 newp 1311 struct pathelement *newp; local [all...] |
H A D | 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;
|
H A D | ldlex.l | 325 char *newp = (char *) alloca (idmax *= 2); 326 id = memcpy (newp, id, idlen);
|
/external/elfutils/libelf/ |
H A D | 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;
|
H A D | 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;
|
H A D | 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 [all...] |
/external/e2fsprogs/intl/ |
H A D | plural.y | 66 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 D | 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 [all...] |
H A D | 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;
|
/external/elfutils/libcpu/ |
H A D | i386_parse.y | 265 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 D | mls.h | 56 policydb_t * newp, context_struct_t * context);
|
/external/elfutils/libdwfl/ |
H A D | dwfl_module_getsrc_file.c | 158 Dwfl_Line **newp = realloc (match, local 161 if (newp == NULL) 167 match = newp;
|
/external/kernel-headers/original/linux/ |
H A D | cpumask.h | 301 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/ppp/pppd/ |
H A D | main.c | 1259 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...] |
/external/icu4c/tools/tzcode/ |
H A D | zdump.c | 166 static long delta(struct tm * newp, struct tm * oldp); 720 delta(newp, oldp) 721 struct tm * newp; 727 if (newp->tm_year < oldp->tm_year) 728 return -delta(oldp, newp); 730 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) 732 result += newp->tm_yday - oldp->tm_yday; 734 result += newp->tm_hour - oldp->tm_hour; 736 result += newp->tm_min - oldp->tm_min; 738 result += newp [all...] |