Home
last modified time | relevance | path

Searched refs:oldp (Results 1 – 25 of 40) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_subexp.c78 static int prob_diff_update_cost(vpx_prob newp, vpx_prob oldp) { in prob_diff_update_cost() argument
79 int delp = remap_prob(newp, oldp); in prob_diff_update_cost()
111 void vp9_write_prob_diff_update(vpx_writer *w, vpx_prob newp, vpx_prob oldp) { in vp9_write_prob_diff_update() argument
112 const int delp = remap_prob(newp, oldp); in vp9_write_prob_diff_update()
116 int vp9_prob_diff_update_savings_search(const unsigned int *ct, vpx_prob oldp, in vp9_prob_diff_update_savings_search() argument
118 const int old_b = cost_branch256(ct, oldp); in vp9_prob_diff_update_savings_search()
120 vpx_prob newp, bestnewp = oldp; in vp9_prob_diff_update_savings_search()
121 const int step = *bestp > oldp ? -1 : 1; in vp9_prob_diff_update_savings_search()
125 for (newp = *bestp; newp != oldp; newp += step) { in vp9_prob_diff_update_savings_search()
127 const int update_b = prob_diff_update_cost(newp, oldp) + upd_cost; in vp9_prob_diff_update_savings_search()
[all …]
Dvp9_subexp.h23 vpx_prob oldp);
25 void vp9_cond_prob_diff_update(struct vpx_writer *w, vpx_prob *oldp,
28 int vp9_prob_diff_update_savings_search(const unsigned int *ct, vpx_prob oldp,
32 const vpx_prob oldp,
Dvp9_bitstream.c560 const vpx_prob oldp = old_coef_probs[i][j][k][l][t]; in update_coef_probs_common() local
565 frame_branch_ct[i][j][k][l][0], oldp, &newp, upd, in update_coef_probs_common()
569 frame_branch_ct[i][j][k][l][t], oldp, &newp, upd); in update_coef_probs_common()
570 if (s > 0 && newp != oldp) u = 1; in update_coef_probs_common()
596 vpx_prob *oldp = old_coef_probs[i][j][k][l] + t; in update_coef_probs_common() local
602 frame_branch_ct[i][j][k][l][0], *oldp, &newp, upd, in update_coef_probs_common()
606 frame_branch_ct[i][j][k][l][t], *oldp, &newp, upd); in update_coef_probs_common()
607 if (s > 0 && newp != *oldp) u = 1; in update_coef_probs_common()
611 vp9_write_prob_diff_update(bc, newp, *oldp); in update_coef_probs_common()
612 *oldp = newp; in update_coef_probs_common()
[all …]
/external/jemalloc/include/jemalloc/internal/
Dctl.h73 int ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp,
78 int ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp,
85 #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \ argument
86 if (je_mallctl(name, oldp, oldlenp, newp, newlen) \
103 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument
104 if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \
/external/jemalloc_new/include/jemalloc/internal/
Dctl.h93 int ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp,
97 int ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp,
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/libelf/
Delf_end.c179 Elf_Data_List *oldp = runp; in elf_end() local
181 if ((oldp->flags & ELF_F_MALLOCED) != 0) in elf_end()
182 free (oldp); in elf_end()
187 Elf_ScnList *oldp = list; in elf_end() local
189 assert (list == NULL || oldp->cnt == oldp->max); in elf_end()
190 if (oldp != (elf->class == ELFCLASS32 in elf_end()
195 free (oldp); in elf_end()
/external/jemalloc_new/src/
Dctl.c51 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
1173 ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, in ctl_byname() argument
1194 ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname()
1219 ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in ctl_bymib() argument
1257 ret = node->ctl(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
1305 if (oldp != NULL || oldlenp != NULL) { \
1312 if ((oldp != NULL && oldlenp != NULL) && (newp != NULL || \
1320 if (oldp != NULL && oldlenp != NULL) { \
1324 memcpy(oldp, (void *)&(v), copylen); \
1328 *(t *)oldp = (v); \
[all …]
/external/jemalloc/src/
Dctl.c46 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
915 ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp, in ctl_byname() argument
936 ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname()
962 ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, in ctl_bymib() argument
1001 ret = node->ctl(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()
1055 if (oldp != NULL || oldlenp != NULL) { \
1062 if ((oldp != NULL && oldlenp != NULL) && (newp != NULL || \
1070 if (oldp != NULL && oldlenp != NULL) { \
1074 memcpy(oldp, (void *)&(v), copylen); \
1078 *(t *)oldp = (v); \
[all …]
/external/tensorflow/tensorflow/lite/experimental/kernels/
Dctc_beam_search.h282 b->oldp = b->newp; in Step()
294 float previous = (b->label == b->parent->label) ? b->parent->oldp.blank in Step()
295 : b->parent->oldp.total; in Step()
304 b->newp.blank = b->oldp.total + raw_input(blank_index_) - norm_offset; in Step()
330 if (!is_candidate(b->oldp)) { in Step()
353 float previous = (c.label == b->label) ? b->oldp.blank : b->oldp.total; in Step()
371 c.oldp.Reset(); in Step()
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_search.h285 b->oldp = b->newp; in Step()
297 float previous = (b->label == b->parent->label) ? b->parent->oldp.blank in Step()
298 : b->parent->oldp.total; in Step()
307 b->newp.blank = b->oldp.total + raw_input(blank_index_) - norm_offset; in Step()
333 if (!is_candidate(b->oldp)) { in Step()
356 float previous = (c.label == b->label) ? b->oldp.blank : b->oldp.total; in Step()
374 c.oldp.Reset(); in Step()
/external/elfutils/libasm/
Dasm_end.c538 void *oldp; in free_section() local
547 oldp = data; in free_section()
549 free (oldp); in free_section()
551 while (oldp != scnp->content); in free_section()
565 AsmScn_t *oldp = scn; in __libasm_finictx() local
567 free_section (oldp); in __libasm_finictx()
583 AsmScnGrp_t *oldp = scngrp; in __libasm_finictx() local
586 free (oldp); in __libasm_finictx()
/external/u-boot/common/
Ddlmalloc.c1654 mchunkptr oldp; /* chunk corresponding to oldmem */ local
1692 newp = oldp = mem2chunk(oldmem);
1693 newsize = oldsize = chunksize(oldp);
1699 if (chunk_is_mmapped(oldp))
1702 newp = mremap_chunk(oldp, nb);
1712 munmap_chunk(oldp);
1717 check_inuse_chunk(oldp);
1724 next = chunk_at_offset(oldp, oldsize);
1735 top = chunk_at_offset(oldp, nb);
1737 set_head_size(oldp, nb);
[all …]
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c233 static intmax_t delta(struct tm * newp, struct tm * oldp) ATTRIBUTE_PURE;
779 delta(struct tm * newp, struct tm *oldp) in delta() argument
784 if (newp->tm_year < oldp->tm_year) in delta()
785 return -delta(oldp, newp); in delta()
787 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) in delta()
789 result += newp->tm_yday - oldp->tm_yday; in delta()
791 result += newp->tm_hour - oldp->tm_hour; in delta()
793 result += newp->tm_min - oldp->tm_min; in delta()
795 result += newp->tm_sec - oldp->tm_sec; in delta()
/external/jemalloc_new/include/jemalloc/
Djemalloc_protos.h45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos_jet.h45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos.h.in45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
/external/jemalloc/include/jemalloc/
Djemalloc_protos_jet.h45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos.h45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
Djemalloc_protos.h.in45 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
49 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c668 static int prob_update_savings(const unsigned int *ct, const vp8_prob oldp, in prob_update_savings() argument
670 const int old_b = vp8_cost_branch(ct, oldp); in prob_update_savings()
715 const vp8_prob oldp = cpi->common.fc.coef_probs[i][j][k][t]; in independent_coef_context_savings() local
717 const int s = prob_update_savings(ct, oldp, newp, upd); in independent_coef_context_savings()
720 (cpi->common.frame_type == KEY_FRAME && newp != oldp)) { in independent_coef_context_savings()
763 const vp8_prob oldp = cpi->common.fc.coef_probs[i][j][k][t]; in default_coef_context_savings() local
765 const int s = prob_update_savings(ct, oldp, newp, upd); in default_coef_context_savings()
885 const vp8_prob oldp = cpi->common.fc.coef_probs[i][j][k][t]; in vp8_update_coef_probs() local
888 prev_coef_savings[t] += prob_update_savings(ct, oldp, newp, upd); in vp8_update_coef_probs()
/external/e2fsprogs/intl/
Ddcigettext.c1198 struct binding *oldp = _nl_domain_bindings; in libc_freeres_fn() local
1200 if (oldp->dirname != INTUSE(_nl_default_dirname)) in libc_freeres_fn()
1202 free (oldp->dirname); in libc_freeres_fn()
1203 free (oldp->codeset); in libc_freeres_fn()
1204 free (oldp); in libc_freeres_fn()
/external/selinux/libsepol/src/
Dmls.c554 int mls_convert_context(policydb_t * oldp, in mls_convert_context() argument
563 if (!oldp->mls) in mls_convert_context()
569 oldp-> in mls_convert_context()
589 oldp-> in mls_convert_context()
Dmls.h55 extern int mls_convert_context(policydb_t * oldp,
/external/dlmalloc/
Dmalloc.c3874 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) { in mmap_resize() argument
3875 size_t oldsize = chunksize(oldp); in mmap_resize()
3882 return oldp; in mmap_resize()
3884 size_t offset = oldp->prev_foot; in mmap_resize()
3887 char* cp = (char*)CALL_MREMAP((char*)oldp - offset, in mmap_resize()
5229 mchunkptr oldp = mem2chunk(oldmem); in dlrealloc() local
5233 mstate m = get_mstate_for(oldp); in dlrealloc()
5240 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 1); in dlrealloc()
5249 size_t oc = chunksize(oldp) - overhead_for(oldp); in dlrealloc()
5267 mchunkptr oldp = mem2chunk(oldmem); in dlrealloc_in_place() local
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c3247 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb) { in mmap_resize() argument
3248 size_t oldsize = chunksize(oldp); in mmap_resize()
3254 return oldp; in mmap_resize()
3256 size_t offset = oldp->prev_foot & ~IS_MMAPPED_BIT; in mmap_resize()
3260 char* cp = (char*)CALL_MREMAP((char*)oldp - offset, in mmap_resize()
3845 mchunkptr oldp = mem2chunk(oldmem); in internal_realloc() local
3846 size_t oldsize = chunksize(oldp); in internal_realloc()
3847 mchunkptr next = chunk_plus_offset(oldp, oldsize); in internal_realloc()
3853 if (RTCHECK(ok_address(m, oldp) && ok_cinuse(oldp) && in internal_realloc()
3854 ok_next(oldp, next) && ok_pinuse(next))) { in internal_realloc()
[all …]

12