Home
last modified time | relevance | path

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

12

/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()
117 int vp9_prob_diff_update_savings_search(const unsigned int *ct, vpx_prob oldp, in vp9_prob_diff_update_savings_search() argument
119 const int old_b = cost_branch256(ct, oldp); in vp9_prob_diff_update_savings_search()
121 vpx_prob newp, bestnewp = oldp; in vp9_prob_diff_update_savings_search()
122 const int step = *bestp > oldp ? -1 : 1; in vp9_prob_diff_update_savings_search()
126 for (newp = *bestp; newp != oldp; newp += step) { 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()
[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.c565 const vpx_prob oldp = old_coef_probs[i][j][k][l][t]; in update_coef_probs_common() local
570 frame_branch_ct[i][j][k][l][0], oldp, &newp, upd, in update_coef_probs_common()
574 frame_branch_ct[i][j][k][l][t], oldp, &newp, upd); in update_coef_probs_common()
575 if (s > 0 && newp != oldp) u = 1; in update_coef_probs_common()
601 vpx_prob *oldp = old_coef_probs[i][j][k][l] + t; in update_coef_probs_common() local
607 frame_branch_ct[i][j][k][l][0], *oldp, &newp, upd, in update_coef_probs_common()
611 frame_branch_ct[i][j][k][l][t], *oldp, &newp, upd); in update_coef_probs_common()
612 if (s > 0 && newp != *oldp) u = 1; in update_coef_probs_common()
616 vp9_write_prob_diff_update(bc, newp, *oldp); in update_coef_probs_common()
617 *oldp = newp; in update_coef_probs_common()
[all …]
/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/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()
Dctc_beam_entry.h94 BeamProbability oldp; member
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_search.h287 b->oldp = b->newp; in Step()
299 T previous = (b->label == b->parent->label) ? b->parent->oldp.blank in Step()
300 : b->parent->oldp.total; in Step()
309 b->newp.blank = b->oldp.total + raw_input(this->blank_index_) - norm_offset; in Step()
335 if (!is_candidate(b->oldp)) { in Step()
358 T previous = (c.label == b->label) ? b->oldp.blank : b->oldp.total; in Step()
376 c.oldp.Reset(); in Step()
/external/elfutils/libasm/
Dasm_end.c542 void *oldp; in free_section() local
551 oldp = data; in free_section()
553 free (oldp); in free_section()
555 while (oldp != scnp->content); in free_section()
569 AsmScn_t *oldp = scn; in __libasm_finictx() local
571 free_section (oldp); in __libasm_finictx()
587 AsmScnGrp_t *oldp = scngrp; in __libasm_finictx() local
590 free (oldp); in __libasm_finictx()
/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);
Djemalloc.h231 void *oldp, size_t *oldlenp, void *newp, size_t newlen);
235 size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_netbsd.cpp304 int internal_sysctl(const int *name, unsigned int namelen, void *oldp, in internal_sysctl() argument
307 return __sysctl(name, namelen, oldp, (size_t *)oldlenp, newp, (size_t)newlen); in internal_sysctl()
310 int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp, in internal_sysctlbyname() argument
314 return _REAL(sysctlbyname, sname, oldp, (size_t *)oldlenp, newp, in internal_sysctlbyname()
Dsanitizer_posix.h68 int internal_sysctl(const int *name, unsigned int namelen, void *oldp,
70 int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp,
/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/selinux/libsepol/src/
Dmls.h55 extern int mls_convert_context(policydb_t * oldp,
Dmls.c552 int mls_convert_context(policydb_t * oldp, in mls_convert_context() argument
561 if (!oldp->mls) in mls_convert_context()
567 oldp-> in mls_convert_context()
586 oldp-> in mls_convert_context()
/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/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 …]
/external/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 …]
/external/freetype/src/otvalid/
Dotvcommn.c1079 FT_Bytes oldp; in otv_GSUBGPOS_have_MarkAttachmentType_flag() local
1085 oldp = p; in otv_GSUBGPOS_have_MarkAttachmentType_flag()
1092 p = oldp; in otv_GSUBGPOS_have_MarkAttachmentType_flag()

12