/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 | 95 char *newp; local 99 newp = path; 100 newp += 2; 103 j = strlen(newp); 105 if(newp[i] == '?') 106 newp[i] = '\x09'; 109 result = Curl_urldecode(data, newp, 0, &sel, &len, FALSE);
|
dict.c | 96 char *newp = NULL; local 103 CURLcode result = Curl_urldecode(data, inputbuff, 0, &newp, &len, FALSE); 104 if(!newp || result) 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 | 78 static int prob_diff_update_cost(vpx_prob newp, vpx_prob oldp) { 79 int delp = remap_prob(newp, oldp); 111 void vp9_write_prob_diff_update(vpx_writer *w, vpx_prob newp, vpx_prob oldp) { 112 const int delp = remap_prob(newp, oldp); 120 vpx_prob newp, bestnewp = oldp; local 125 for (newp = *bestp; newp != oldp; newp += step) { 126 const int new_b = cost_branch256(ct, newp); 127 const int update_b = prob_diff_update_cost(newp, oldp) + upd_cost 144 int newp; local 183 vpx_prob newp = get_binary_prob(ct[0], ct[1]); local [all...] |
/external/tensorflow/tensorflow/core/util/ctc/ |
ctc_beam_entry.h | 63 inline bool Active() const { return newp.total != kLogZero; } 95 BeamProbability newp; member in struct:tensorflow::ctc::ctc_beam_search::BeamEntry 138 return a->newp.total > b->newp.total;
|
/external/llvm/lib/MC/ |
MCAsmStreamer.cpp | 347 size_t newp = std::min(len, c.find_first_of("\r\n", p)); local 350 ExplicitCommentToEmit.append(c.slice(p, newp).str()); 352 if (newp < len) 354 p = newp + 1; [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;
|
/toolchain/binutils/binutils-2.27/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.27/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...] |
/external/libvpx/libvpx/vp8/encoder/ |
bitstream.c | 709 const vp8_prob newp, const vp8_prob upd) { 711 const int new_b = vp8_cost_branch(ct, newp); 754 const vp8_prob newp = cpi->frame_coef_probs[i][j][k][t]; local 757 const int s = prob_update_savings(ct, oldp, newp, upd); 760 (cpi->common.frame_type == KEY_FRAME && newp != oldp)) { 802 const vp8_prob newp = cpi->frame_coef_probs[i][j][k][t]; local 805 const int s = prob_update_savings(ct, oldp, newp, upd); 924 const vp8_prob newp = cpi->frame_coef_probs[i][j][k][t]; local 928 prev_coef_savings[t] += prob_update_savings(ct, oldp, newp, upd); 944 const vp8_prob newp = cpi->frame_coef_probs[i][j][k][t] local 1023 const vp8_prob newp = cpi->common.fc.coef_probs[i][j][k][t]; local [all...] |