Home
last modified time | relevance | path

Searched refs:newp (Results 1 – 25 of 81) sorted by relevance

1234

/external/elfutils/libdw/
Dlibdw_findcu.c147 struct Dwarf_CU *newp = libdw_typed_alloc (dbg, struct Dwarf_CU); in __libdw_intern_next_unit() local
149 newp->dbg = dbg; in __libdw_intern_next_unit()
150 newp->sec_idx = sec_idx; in __libdw_intern_next_unit()
151 newp->start = oldoff; in __libdw_intern_next_unit()
152 newp->end = *offsetp; in __libdw_intern_next_unit()
153 newp->address_size = address_size; in __libdw_intern_next_unit()
154 newp->offset_size = offset_size; in __libdw_intern_next_unit()
155 newp->version = version; in __libdw_intern_next_unit()
156 newp->unit_id8 = unit_id8; in __libdw_intern_next_unit()
157 newp->subdie_offset = subdie_offset; in __libdw_intern_next_unit()
[all …]
Dlibdw_alloc.c123 struct libdw_memblock *newp = malloc (size); in __libdw_allocate() local
124 if (newp == NULL) in __libdw_allocate()
127 uintptr_t result = ((uintptr_t) newp->mem + align - 1) & ~(align - 1); in __libdw_allocate()
129 newp->size = size - offsetof (struct libdw_memblock, mem); in __libdw_allocate()
130 newp->remaining = (uintptr_t) newp + size - (result + minsize); in __libdw_allocate()
133 newp->prev = dbg->mem_tails[thread_id]; in __libdw_allocate()
134 dbg->mem_tails[thread_id] = newp; in __libdw_allocate()
Ddwarf_getlocation.c211 struct loc_s *newp = libdw_alloc (attr->cu->dbg, in is_constant_offset() local
214 newp->addr = attr->valp; in is_constant_offset()
215 newp->loc = result; in is_constant_offset()
216 newp->nloc = 1; in is_constant_offset()
218 found = tsearch (newp, &attr->cu->locs, loc_compare); in is_constant_offset()
621 struct loc_s *newp; in __libdw_intern_expression() local
623 newp = libdw_alloc (dbg, struct loc_s, sizeof (struct loc_s), 1); in __libdw_intern_expression()
626 newp = malloc (sizeof *newp); in __libdw_intern_expression()
627 if (newp == NULL) in __libdw_intern_expression()
634 newp->addr = block->data; in __libdw_intern_expression()
[all …]
Ddwarf_getsrc_file.c144 Dwarf_Line **newp = realloc (match, in dwarf_getsrc_file() local
147 if (newp == NULL) in dwarf_getsrc_file()
153 match = newp; in dwarf_getsrc_file()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_subexp.c79 static int prob_diff_update_cost(vpx_prob newp, vpx_prob oldp) { in prob_diff_update_cost() argument
80 int delp = remap_prob(newp, oldp); in prob_diff_update_cost()
112 void vp9_write_prob_diff_update(vpx_writer *w, vpx_prob newp, vpx_prob oldp) { in vp9_write_prob_diff_update() argument
113 const int delp = remap_prob(newp, oldp); in vp9_write_prob_diff_update()
121 vpx_prob newp, bestnewp = oldp; in vp9_prob_diff_update_savings_search() local
126 for (newp = *bestp; newp != oldp; newp += step) { in vp9_prob_diff_update_savings_search()
127 const int new_b = cost_branch256(ct, newp); in vp9_prob_diff_update_savings_search()
128 const int update_b = prob_diff_update_cost(newp, oldp) + upd_cost; in vp9_prob_diff_update_savings_search()
132 bestnewp = newp; in vp9_prob_diff_update_savings_search()
145 int newp; in vp9_prob_diff_update_savings_search_model() local
[all …]
/external/elfutils/libasm/
Dasm_newsubscn.c44 AsmScn_t *newp; in asm_newsubscn() local
65 newp = (AsmScn_t *) malloc (sizeof (AsmScn_t)); in asm_newsubscn()
66 if (newp == NULL) in asm_newsubscn()
70 newp->ctx = runp->ctx; in asm_newsubscn()
73 newp->subsection_id = nr; in asm_newsubscn()
76 newp->type = runp->type; in asm_newsubscn()
79 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up; in asm_newsubscn()
82 newp->offset = 0; in asm_newsubscn()
84 newp->max_align = 1; in asm_newsubscn()
87 newp->content = NULL; in asm_newsubscn()
[all …]
Dasm_align.c155 struct AsmData *newp; in __libasm_ensure_section_space() local
163 newp = (struct AsmData *) calloc (1, sizeof (struct AsmData) + size); in __libasm_ensure_section_space()
164 if (newp == NULL) in __libasm_ensure_section_space()
167 newp->next = asmscn->content->next; in __libasm_ensure_section_space()
168 asmscn->content = asmscn->content->next = newp; in __libasm_ensure_section_space()
/external/python/cffi/c/
Dtest_c.py230 x = newp(BArray, None)
279 py.test.raises(TypeError, newp, BInt)
280 py.test.raises(TypeError, newp, BInt, None)
282 p = newp(BPtr)
284 p = newp(BPtr, None)
286 p = newp(BPtr, 5000)
292 e = py.test.raises(TypeError, newp, new_array_type(BPtr, None), None)
308 p = newp(BPtrPtr, None)
314 p = newp(BPtr, None)
316 p = newp(BPtr, 5000)
[all …]
/external/elfutils/lib/
Dlist.h33 #define CDBL_LIST_ADD_REAR(first, newp) \ argument
35 __typeof (newp) _newp = (newp); \
76 #define SNGL_LIST_PUSH(first, newp) \ argument
78 __typeof (newp) _newp = (newp); \
86 #define CSNGL_LIST_ADD_REAR(first, newp) \ argument
88 __typeof (newp) _newp = (newp); \
/external/tensorflow/tensorflow/lite/experimental/kernels/
Dctc_beam_search.h190 entry->newp.total += in Decode()
282 b->oldp = b->newp; in Step()
296 b->newp.label = in Step()
297 LogSumExp(b->newp.label, in Step()
301 b->newp.label += raw_input(b->label) - norm_offset; in Step()
304 b->newp.blank = b->oldp.total + raw_input(blank_index_) - norm_offset; in Step()
306 b->newp.total = LogSumExp(b->newp.blank, b->newp.label); in Step()
327 prob.total > leaves_.peek_bottom()->newp.total)); in Step()
347 c.newp.blank = kLogZero; in Step()
354 c.newp.label = logit - norm_offset + in Step()
[all …]
Dctc_beam_entry.h63 inline bool Active() const { return newp.total != kLogZero; } in Active()
95 BeamProbability newp; member
140 return a->newp.total > b->newp.total; in operator()
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_search.h195 entry->newp.total += in Decode()
287 b->oldp = b->newp; in Step()
301 b->newp.label = in Step()
302 LogSumExp(b->newp.label, in Step()
306 b->newp.label += raw_input(b->label) - norm_offset; in Step()
309 b->newp.blank = b->oldp.total + raw_input(this->blank_index_) - norm_offset; in Step()
311 b->newp.total = LogSumExp(b->newp.blank, b->newp.label); in Step()
332 prob.total > leaves_.peek_bottom()->newp.total)); in Step()
352 c.newp.blank = kLogZero<T>(); in Step()
359 c.newp.label = logit - norm_offset + in Step()
[all …]
Dctc_beam_entry.h66 inline bool Active() const { return newp.total != kLogZero<T>(); } in Active()
98 BeamProbability<T> newp; member
143 return a->newp.total > b->newp.total; in operator()
/external/elfutils/libelf/
Delf_newscn.c85 Elf_ScnList *newp = NULL; in elf_newscn() local
97 newp = (Elf_ScnList *) calloc (sizeof (Elf_ScnList) in elf_newscn()
100 if (newp == NULL) in elf_newscn()
106 result = &newp->data[0]; in elf_newscn()
109 ++newp->cnt; in elf_newscn()
112 newp->max = elf->state.elf.scnincr; in elf_newscn()
115 newp->data[0].index in elf_newscn()
119 elf->state.elf.scns_last = elf->state.elf.scns_last->next = newp; in elf_newscn()
/external/jemalloc_new/src/
Dctl.c51 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
1174 void *newp, size_t newlen) { in ctl_byname() argument
1194 ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname()
1220 size_t *oldlenp, void *newp, size_t newlen) { in ctl_bymib() argument
1257 ret = node->ctl(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
1298 if (newp != NULL || newlen != 0) { \
1312 if ((oldp != NULL && oldlenp != NULL) && (newp != NULL || \
1333 if (newp != NULL) { \
1338 (v) = *(t *)newp; \
1357 size_t *oldlenp, void *newp, size_t newlen) { \
[all …]
/external/e2fsprogs/intl/
Dplural.y66 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()
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; 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 …]
/external/jemalloc_new/include/jemalloc/internal/
Dctl.h94 void *newp, size_t newlen);
98 size_t *oldlenp, void *newp, size_t newlen);
104 #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \ argument
105 if (je_mallctl(name, oldp, oldlenp, newp, newlen) \
122 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument
123 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/external/elfutils/libcpu/
Di386_parse.y268 struct synonym *newp = xmalloc (sizeof (*newp)); variable
269 newp->from = $2;
270 newp->to = $3;
271 if (tfind (newp, &synonyms, compare_syn) != NULL)
275 else if (tsearch ( newp, &synonyms, compare_syn) == NULL)
297 struct instruction *newp = xcalloc (sizeof (*newp), variable
302 newp->repe = 1;
304 newp->rep = 1;
307 newp->bytes = $1;
308 newp->mnemonic = $4;
[all …]
/external/curl/lib/
Durlapi.c842 char *newp = malloc(strlen(path) * 3); in seturl() local
843 if(!newp) in seturl()
846 strcpy_url(newp, path, TRUE); /* consider it relative */ in seturl()
847 u->temppath = path = newp; in seturl()
875 char *newp = Curl_dedotdotify(path); in seturl() local
876 if(!newp) in seturl()
879 if(strcmp(newp, path)) { in seturl()
883 u->temppath = path = newp; in seturl()
887 free(newp); in seturl()
1380 const char *newp = part; in curl_url_set() local
[all …]
Dgopher.c113 char *newp; in gopher_do() local
116 newp = gopherpath; in gopher_do()
117 newp += 2; in gopher_do()
120 result = Curl_urldecode(data, newp, 0, &sel, &len, REJECT_ZERO); in gopher_do()
Ddict.c100 char *newp = NULL; in unescape_word() local
104 CURLcode result = Curl_urldecode(data, inputbuff, 0, &newp, &len, in unescape_word()
106 if(!newp || result) in unescape_word()
116 for(ptr = newp; in unescape_word()
127 free(newp); in unescape_word()
/external/elfutils/src/
Dar.c161 char *newp = alloca (len + 1); in main() local
162 newp[0] = '-'; in main()
163 memcpy (&newp[1], argv[1], len); in main()
164 argv[1] = newp; in main()
969 struct armem *newp = alloca (sizeof (struct armem)); in do_oper_delete() local
970 newp->old_off = elf_getaroff (subelf); in do_oper_delete()
971 newp->off = cur_off; in do_oper_delete()
977 to_copy = newp->next = newp; in do_oper_delete()
980 newp->next = to_copy->next; in do_oper_delete()
981 to_copy = to_copy->next = newp; in do_oper_delete()
[all …]
/external/ppp/pppd/
Dmain.c1300 struct callout *newp, *p, **pp; variable
1305 if ((newp = (struct callout *) malloc(sizeof(struct callout))) == NULL)
1307 newp->c_arg = arg;
1308 newp->c_func = func;
1310 newp->c_time.tv_sec = timenow.tv_sec + secs;
1311 newp->c_time.tv_usec = timenow.tv_usec + usecs;
1312 if (newp->c_time.tv_usec >= 1000000) {
1313 newp->c_time.tv_sec += newp->c_time.tv_usec / 1000000;
1314 newp->c_time.tv_usec %= 1000000;
1321 if (newp->c_time.tv_sec < p->c_time.tv_sec
[all …]
/external/elfutils/libdwfl/
Ddwfl_module_getsrc_file.c149 Dwfl_Line **newp = realloc (match, in dwfl_module_getsrc_file() local
152 if (newp == NULL) in dwfl_module_getsrc_file()
158 match = newp; in dwfl_module_getsrc_file()

1234