Searched defs:newp (Results 1 - 25 of 40) sorted by relevance

12

/external/elfutils/src/libasm/
H A Dasm_newsubscn.c46 AsmScn_t *newp; local
67 newp = (AsmScn_t *) malloc (sizeof (AsmScn_t));
68 if (newp == NULL)
72 newp->ctx = runp->ctx;
75 newp->subsection_id = nr;
78 newp->type = runp->type;
81 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up;
84 newp->offset = 0;
86 newp->max_align = 1;
89 newp
[all...]
H A Dasm_align.c159 struct AsmData *newp; local
167 newp = (struct AsmData *) malloc (sizeof (struct AsmData) + size);
168 if (newp == NULL)
171 newp->next = asmscn->content->next;
172 asmscn->content = asmscn->content->next = newp;
/external/elfutils/src/libelf/
H A Delf_newscn.c86 Elf_ScnList *newp = NULL; local
98 newp = (Elf_ScnList *) calloc (sizeof (Elf_ScnList)
101 if (newp == NULL)
107 result = &newp->data[0];
110 ++newp->cnt;
113 newp->max = elf->state.elf.scnincr;
116 newp->data[0].index
120 elf->state.elf.scns_last = elf->state.elf.scns_last->next = newp;
H A Delf_getarsym.c216 Elf_Arsym *newp = (Elf_Arsym *) realloc (elf->state.ar.ar_sym, local
218 if (newp == NULL)
225 elf->state.ar.ar_sym = newp;
H A Delf_begin.c669 char *newp; local
705 newp = (char *) malloc (len);
706 if (newp != NULL)
715 elf->state.ar.long_names = (char *) memcpy (newp,
722 if (unlikely ((size_t) pread_retry (elf->fildes, newp, len,
729 free (newp);
733 elf->state.ar.long_names = newp;
739 runp = newp;
743 runp = (char *) memchr (runp, '/', newp + len - runp);
747 memset (startp, '\0', newp
[all...]
/external/elfutils/src/libdw/
H A Dlibdw_alloc.c47 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;
H A Ddwarf_getsrc_file.c144 Dwarf_Line **newp = realloc (match, local
147 if (newp == NULL)
153 match = newp;
H A Dlibdw_findcu.c104 struct Dwarf_CU *newp = libdw_typed_alloc (dbg, struct Dwarf_CU); local
106 newp->dbg = dbg;
107 newp->start = oldoff;
108 newp->end = *offsetp;
109 newp->address_size = address_size;
110 newp->offset_size = offset_size;
111 newp->version = version;
112 newp->type_sig8 = type_sig8;
113 newp->type_offset = type_offset;
114 Dwarf_Abbrev_Hash_init (&newp
162 struct Dwarf_CU *newp = __libdw_intern_next_unit (dbg, debug_types); local
[all...]
H A Ddwarf_getlocation.c180 struct loc_s *newp = libdw_alloc (attr->cu->dbg, local
183 newp->addr = attr->valp;
184 newp->loc = result;
185 newp->nloc = 1;
187 found = tsearch (newp, &attr->cu->locs, loc_compare);
531 struct loc_s *newp; local
533 newp = libdw_alloc (dbg, struct loc_s, sizeof (struct loc_s), 1);
536 newp = malloc (sizeof *newp);
537 if (newp
[all...]
/external/elfutils/src/libdwfl/
H A Ddwfl_module_getsrc_file.c138 Dwfl_Line **newp = realloc (match, local
141 if (newp == NULL)
147 match = newp;
/external/toybox/toys/lsb/
H A Dpasswd.c42 static void strength_check(char *newp, char *oldp, char *user) argument
46 if (strlen(newp) < 6) { //Min passwd len
50 if (!newp[0]) return; //passwd is empty
52 if (str_check(newp, user)) {
57 if (oldp[0] && str_check(newp, oldp)) {
78 char *newp = NULL; local
83 newp = xstrdup(toybuf);
84 strength_check(newp, oldp, user);
86 free(newp);
90 if (!strcmp(newp, toybu
102 char *name = NULL, *pass = NULL, *encrypted = NULL, *newp = NULL, local
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_subexp.c81 static int prob_diff_update_cost(vp9_prob newp, vp9_prob oldp) { argument
82 int delp = remap_prob(newp, oldp);
114 void vp9_write_prob_diff_update(vp9_writer *w, vp9_prob newp, vp9_prob oldp) { argument
115 const int delp = remap_prob(newp, oldp);
124 vp9_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, old
145 int newp; local
181 vp9_prob newp = get_binary_prob(ct[0], ct[1]); local
[all...]
/external/bison/lib/
H A Dgetopt.c527 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
/external/selinux/libsepol/src/
H A Dmls.c550 * policy `oldp' to the values specified in the policy `newp'.
553 policydb_t * newp, context_struct_t * c)
566 (level_datum_t *) hashtab_search(newp->p_levels.table,
585 (cat_datum_t *) hashtab_search(newp->p_cats.
552 mls_convert_context(policydb_t * oldp, policydb_t * newp, context_struct_t * c) argument
/external/elfutils/src/src/
H A Dobjdump.c202 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;
H A Dar.c166 char *newp = alloca (len + 1); local
167 newp[0] = '-';
168 memcpy (&newp[1], argv[1], len);
169 argv[1] = newp;
975 struct armem *newp = alloca (sizeof (struct armem)); local
976 newp->old_off = elf_getaroff (subelf);
977 newp->off = cur_off;
983 to_copy = newp->next = newp;
986 newp
1160 struct armem *newp = alloca (sizeof (struct armem)); local
[all...]
H A Delfcmp.c279 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;
H A Dld.c724 struct file_list *newp; local
726 newp = (struct file_list *) xmalloc (sizeof (struct file_list));
727 newp->name = arg;
729 newp->next = NULL;
731 CSNGL_LIST_ADD_REAR (input_file_list, newp);
1273 struct pathelement *newp; local
1278 newp = (struct pathelement *) obstack_alloc (&ld_state.smem, sizeof (*newp));
1279 newp->pname = str;
1280 newp
1304 struct pathelement *newp; local
[all...]
/external/valgrind/coregrind/
H A Dm_libcproc.c390 Int VG_(sysctl)(Int *name, UInt namelen, void *oldp, SizeT *oldlenp, void *newp, SizeT newlen) argument
395 name, namelen, oldp, oldlenp, newp, newlen);
/external/e2fsprogs/intl/
H A Ddcigettext.c339 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 Dplural.c87 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/icu/icu4c/source/tools/tzcode/
H A Dzdump.c232 static intmax_t delta(struct tm * newp, struct tm * oldp) ATTRIBUTE_PURE;
779 delta(struct tm * newp, struct tm *oldp) argument
784 if (newp->tm_year < oldp->tm_year)
785 return -delta(oldp, newp);
787 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy)
789 result += newp->tm_yday - oldp->tm_yday;
791 result += newp->tm_hour - oldp->tm_hour;
793 result += newp->tm_min - oldp->tm_min;
795 result += newp->tm_sec - oldp->tm_sec;
/external/libvncserver/x11vnc/
H A Dremote.c77 static void reset_httpport(int old, int newp);
78 static void reset_rfbport(int old, int newp) ;
566 static void reset_httpport(int old, int newp) { argument
567 int hp = newp;
622 static void reset_rfbport(int old, int newp) { argument
623 int rp = newp;
/external/libvpx/libvpx/vp8/encoder/
H A Dbitstream.c840 const vp8_prob oldp, const vp8_prob newp,
844 const int new_b = vp8_cost_branch(ct, newp);
895 const vp8_prob newp = cpi->frame_coef_probs [i][j][k][t]; local
898 const int s = prob_update_savings(ct, oldp, newp, upd);
901 (cpi->common.frame_type == KEY_FRAME && newp != oldp))
956 const vp8_prob newp = cpi->frame_coef_probs [i][j][k][t]; local
959 const int s = prob_update_savings(ct, oldp, newp, upd);
1103 const vp8_prob newp = cpi->frame_coef_probs[i][j][k][t]; local
1109 prob_update_savings(ct, oldp, newp, upd);
1127 const vp8_prob newp local
839 prob_update_savings(const unsigned int *ct, const vp8_prob oldp, const vp8_prob newp, const vp8_prob upd) argument
1223 const vp8_prob newp = cpi->common.fc.coef_probs [i][j][k][t]; local
[all...]
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-linux.c3197 vki_sigaction_toK_t new, *newp; local
3205 newp = oldp = NULL;
3229 newp = &new;
3232 SET_STATUS_from_SysRes( VG_(do_sys_sigaction)(ARG1, newp, oldp) );

Completed in 1304 milliseconds

12