/external/elfutils/src/ |
D | ldscript.y | 439 struct id_list *newp = new_id_listelem ($2); variable 440 newp->next = $1->next; 441 $$ = $1->next = newp; 474 struct expression *newp = (struct expression *) in new_expr() local 475 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_expr() 477 newp->tag = tag; in new_expr() 478 return newp; in new_expr() 485 struct input_section_name *newp = (struct input_section_name *) in new_input_section_name() local 486 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_input_section_name() 488 newp->name = name; in new_input_section_name() [all …]
|
D | ldscript.c | 2006 struct id_list *newp = new_id_listelem ((yyvsp[(2) - (3)].str)); local 2007 newp->next = (yyvsp[(1) - (3)].id_list)->next; 2008 (yyval.id_list) = (yyvsp[(1) - (3)].id_list)->next = newp; 2269 struct expression *newp = (struct expression *) in new_expr() local 2270 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_expr() 2272 newp->tag = tag; in new_expr() 2273 return newp; in new_expr() 2280 struct input_section_name *newp = (struct input_section_name *) in new_input_section_name() local 2281 obstack_alloc (&ld_state.smem, sizeof (*newp)); in new_input_section_name() 2283 newp->name = name; in new_input_section_name() [all …]
|
D | ldgeneric.c | 285 check_for_duplicate2 (struct usedfiles *newp, struct usedfiles *list) in check_for_duplicate2() argument 303 if (unlikely (list->ino == newp->ino) in check_for_duplicate2() 304 && unlikely (list->dev == newp->dev)) in check_for_duplicate2() 306 close (newp->fd); in check_for_duplicate2() 307 newp->fd = -1; in check_for_duplicate2() 308 newp->status = closed; in check_for_duplicate2() 309 if (newp->file_type == relocatable_file_type) in check_for_duplicate2() 311 newp->rfname); in check_for_duplicate2() 324 check_for_duplicate (struct usedfiles *newp) in check_for_duplicate() argument 328 if (unlikely (fstat (newp->fd, &st) < 0)) in check_for_duplicate() [all …]
|
D | ar.c | 172 char *newp = alloca (len + 1); in main() local 173 newp[0] = '-'; in main() 174 memcpy (&newp[1], argv[1], len); in main() 175 argv[1] = newp; in main() 955 struct armem *newp = alloca (sizeof (struct armem)); in do_oper_delete() local 956 newp->old_off = elf_getaroff (subelf); in do_oper_delete() 957 newp->off = cur_off; in do_oper_delete() 963 to_copy = newp->next = newp; in do_oper_delete() 966 newp->next = to_copy->next; in do_oper_delete() 967 to_copy = to_copy->next = newp; in do_oper_delete() [all …]
|
D | ld.c | 732 struct file_list *newp; in parse_opt_1st() local 734 newp = (struct file_list *) xmalloc (sizeof (struct file_list)); in parse_opt_1st() 735 newp->name = arg; in parse_opt_1st() 737 newp->next = NULL; in parse_opt_1st() 739 CSNGL_LIST_ADD_REAR (input_file_list, newp); in parse_opt_1st() 1280 struct pathelement *newp; in add_rxxpath() local 1285 newp = (struct pathelement *) obstack_alloc (&ld_state.smem, sizeof (*newp)); in add_rxxpath() 1286 newp->pname = str; in add_rxxpath() 1287 newp->exist = 0; in add_rxxpath() 1289 newp->next = NULL; in add_rxxpath() [all …]
|
D | objdump.c | 202 struct section_list *newp = xmalloc (sizeof (*newp)); in parse_opt() local 204 newp->scnndx = strtoul (arg, &endp, 0); in parse_opt() 206 newp->is_name = false; in parse_opt() 209 newp->name = arg; in parse_opt() 210 newp->is_name = true; in parse_opt() 212 newp->next = section_list; in parse_opt() 213 section_list = newp; in parse_opt()
|
/external/elfutils/libasm/ |
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->content = NULL; [all …]
|
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/ |
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->last_abbrev_offset = abbrev_offset; 139 newp->lines = NULL; [all …]
|
D | libdw_alloc.c | 71 struct libdw_memblock *newp = malloc (size); in __libdw_allocate() local 72 if (newp == NULL) in __libdw_allocate() 75 uintptr_t result = ((uintptr_t) newp->mem + align - 1) & ~(align - 1); in __libdw_allocate() 77 newp->size = size - offsetof (struct libdw_memblock, mem); in __libdw_allocate() 78 newp->remaining = (uintptr_t) newp + size - (result + minsize); in __libdw_allocate() 80 newp->prev = dbg->mem_tail; in __libdw_allocate() 81 dbg->mem_tail = newp; in __libdw_allocate()
|
D | dwarf_getsrc_file.c | 157 Dwarf_Line **newp = realloc (match, in dwarf_getsrc_file() local 160 if (newp == NULL) in dwarf_getsrc_file() 166 match = newp; in dwarf_getsrc_file()
|
D | dwarf_getlocation.c | 330 struct loc_s *newp = libdw_alloc (dbg, struct loc_s, sizeof (struct loc_s), in getlocation() local 332 newp->addr = block->data; in getlocation() 333 newp->loc = result; in getlocation() 334 newp->nloc = *listlen; in getlocation() 335 (void) tsearch (newp, &cu->locs, loc_compare); in getlocation()
|
/external/elfutils/lib/ |
D | list.h | 54 #define CDBL_LIST_ADD_REAR(first, newp) \ argument 56 __typeof (newp) _newp = (newp); \ 97 #define SNGL_LIST_PUSH(first, newp) \ argument 99 __typeof (newp) _newp = (newp); \ 107 #define CSNGL_LIST_ADD_REAR(first, newp) \ argument 109 __typeof (newp) _newp = (newp); \
|
/external/elfutils/libelf/ |
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;
|
D | elf_begin.c | 660 char *newp; in read_long_names() local 695 newp = (char *) malloc (len); in read_long_names() 696 if (newp != NULL) in read_long_names() 702 elf->state.ar.long_names = (char *) memcpy (newp, in read_long_names() 708 if (unlikely ((size_t) pread_retry (elf->fildes, newp, len, in read_long_names() 714 free (newp); in read_long_names() 718 elf->state.ar.long_names = newp; in read_long_names() 724 runp = newp; in read_long_names() 727 runp = (char *) memchr (runp, '/', newp + len - runp); in read_long_names() 740 if (runp >= newp + len) in read_long_names() [all …]
|
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;
|
/external/elfutils/libcpu/ |
D | i386_parse.y | 265 struct synonym *newp = xmalloc (sizeof (*newp)); variable 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), variable 299 newp->repe = 1; 301 newp->rep = 1; 304 newp->bytes = $1; 305 newp->mnemonic = $4; [all …]
|
D | i386_parse.c | 1613 struct synonym *newp = xmalloc (sizeof (*newp)); local 1614 newp->from = (yyvsp[(2) - (3)].str); 1615 newp->to = (yyvsp[(3) - (3)].str); 1616 if (tfind (newp, &synonyms, compare_syn) != NULL) 1620 else if (tsearch ( newp, &synonyms, compare_syn) == NULL) 1638 struct instruction *newp = xcalloc (sizeof (*newp), local 1643 newp->repe = 1; 1645 newp->rep = 1; 1648 newp->bytes = (yyvsp[(1) - (6)].bit); 1649 newp->mnemonic = (yyvsp[(4) - (6)].str); [all …]
|
/external/e2fsprogs/intl/ |
D | plural.y | 66 struct expression *newp; in new_exp() local 74 newp = (struct expression *) malloc (sizeof (*newp)); in new_exp() 75 if (newp != NULL) in new_exp() 77 newp->nargs = nargs; in new_exp() 78 newp->operation = op; in new_exp() 80 newp->val.args[i] = args[i]; in new_exp() 81 return newp; in new_exp()
|
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; in DCIGETTEXT() local 651 newp = (struct known_translation_t *) in DCIGETTEXT() 654 if (newp != NULL) in DCIGETTEXT() 656 newp->domainname = in DCIGETTEXT() 657 mempcpy (newp->msgid, msgid1, msgid_len); in DCIGETTEXT() [all …]
|
D | plural.c | 87 struct expression *newp; in new_exp() local 95 newp = (struct expression *) malloc (sizeof (*newp)); in new_exp() 96 if (newp != NULL) in new_exp() 98 newp->nargs = nargs; in new_exp() 99 newp->operation = op; in new_exp() 101 newp->val.args[i] = args[i]; in new_exp() 102 return newp; in new_exp()
|
/external/elfutils/libdwfl/ |
D | dwfl_module_getsrc_file.c | 158 Dwfl_Line **newp = realloc (match, in dwfl_module_getsrc_file() local 161 if (newp == NULL) in dwfl_module_getsrc_file() 167 match = newp; in dwfl_module_getsrc_file()
|
/external/ppp/pppd/ |
D | main.c | 1259 struct callout *newp, *p, **pp; variable 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->c_time.tv_usec %= 1000000; 1280 if (newp->c_time.tv_sec < p->c_time.tv_sec [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | bitstream.c | 841 const vp8_prob oldp, const vp8_prob newp, in prob_update_savings() argument 845 const int new_b = vp8_cost_branch(ct, newp); in prob_update_savings() 896 const vp8_prob newp = cpi->frame_coef_probs [i][j][k][t]; in independent_coef_context_savings() local 899 const int s = prob_update_savings(ct, oldp, newp, upd); in independent_coef_context_savings() 902 (cpi->common.frame_type == KEY_FRAME && newp != oldp)) in independent_coef_context_savings() 957 const vp8_prob newp = cpi->frame_coef_probs [i][j][k][t]; in default_coef_context_savings() local 960 const int s = prob_update_savings(ct, oldp, newp, upd); in default_coef_context_savings() 1098 const vp8_prob newp = cpi->frame_coef_probs[i][j][k][t]; in vp8_update_coef_probs() local 1104 prob_update_savings(ct, oldp, newp, upd); in vp8_update_coef_probs() 1122 const vp8_prob newp = cpi->frame_coef_probs [i][j][k][t]; in vp8_update_coef_probs() local [all …]
|
/external/icu4c/tools/tzcode/ |
D | zdump.c | 166 static long delta(struct tm * newp, struct tm * oldp); 720 delta(newp, oldp) in delta() argument 721 struct tm * newp; in delta() 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->tm_sec - oldp->tm_sec;
|