HomeSort by relevance Sort by last modified time
    Searched full:usize (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/jemalloc/src/
valgrind.c 9 valgrind_make_mem_noaccess(void *ptr, size_t usize)
12 VALGRIND_MAKE_MEM_NOACCESS(ptr, usize);
16 valgrind_make_mem_undefined(void *ptr, size_t usize)
19 VALGRIND_MAKE_MEM_UNDEFINED(ptr, usize);
23 valgrind_make_mem_defined(void *ptr, size_t usize)
26 VALGRIND_MAKE_MEM_DEFINED(ptr, usize);
30 valgrind_freelike_block(void *ptr, size_t usize)
33 VALGRIND_FREELIKE_BLOCK(ptr, usize);
huge.c 34 huge_malloc(tsd_t *tsd, arena_t *arena, size_t usize, bool zero,
38 assert(usize == s2u(usize));
40 return (huge_palloc(tsd, arena, usize, chunksize, zero, tcache));
44 huge_palloc(tsd_t *tsd, arena_t *arena, size_t usize, size_t alignment,
54 ausize = sa2u(usize, alignment);
83 usize, alignment, &is_zeroed)) == NULL) {
88 extent_node_init(node, arena, ret, usize, is_zeroed, true);
91 arena_chunk_dalloc_huge(arena, ret, usize);
104 memset(ret, 0, usize);
139 size_t usize, usize_next; local
    [all...]
jemalloc.c 1574 size_t usize; local
1816 size_t usize; local
2165 size_t usize; local
2267 size_t usize; local
2340 size_t usize; local
2353 size_t usize; local
2367 size_t usize_max, usize; local
2417 size_t usize, old_usize; local
2475 size_t usize; local
2513 size_t usize; local
2527 size_t usize; local
2551 size_t usize; local
    [all...]
quarantine.c 102 assert(obj->usize == isalloc(obj->ptr, config_prof));
104 quarantine->curbytes -= obj->usize;
122 size_t usize = isalloc(ptr, config_prof); local
135 if (quarantine->curbytes + usize > opt_quarantine) {
136 size_t upper_bound = (opt_quarantine >= usize) ? opt_quarantine
137 - usize : 0;
146 if (quarantine->curbytes + usize <= opt_quarantine) {
151 obj->usize = usize;
152 quarantine->curbytes += usize;
    [all...]
arena.c 799 arena_huge_malloc_stats_update(arena_t *arena, size_t usize)
801 szind_t index = size2index(usize) - nlclasses - NBINS;
806 arena->stats.allocated_huge += usize;
812 arena_huge_malloc_stats_update_undo(arena_t *arena, size_t usize)
814 szind_t index = size2index(usize) - nlclasses - NBINS;
819 arena->stats.allocated_huge -= usize;
825 arena_huge_dalloc_stats_update(arena_t *arena, size_t usize)
827 szind_t index = size2index(usize) - nlclasses - NBINS;
832 arena->stats.allocated_huge -= usize;
838 arena_huge_dalloc_stats_update_undo(arena_t *arena, size_t usize)
2369 size_t usize; local
2422 size_t usize; local
2808 size_t usize = arena_mapbits_large_size_get(chunk, pageind) - local
2904 size_t usize, splitsize, size, flag_dirty, flag_unzeroed_mask; local
3105 size_t usize; local
    [all...]
ckh.c 265 size_t usize; local
268 usize = sa2u(sizeof(ckhc_t) << lg_curcells, CACHELINE);
269 if (unlikely(usize == 0 || usize > HUGE_MAXCLASS)) {
273 tab = (ckhc_t *)ipallocztm(tsd, usize, CACHELINE, true, NULL,
305 size_t usize; local
314 usize = sa2u(sizeof(ckhc_t) << lg_curcells, CACHELINE);
315 if (unlikely(usize == 0 || usize > HUGE_MAXCLASS))
317 tab = (ckhc_t *)ipallocztm(tsd, usize, CACHELINE, true, NULL, true
354 size_t mincells, usize; local
    [all...]
base.c 82 size_t csize, usize; local
92 usize = s2u(csize);
93 extent_node_init(&key, NULL, NULL, usize, false, false);
  /external/jemalloc/include/jemalloc/internal/
valgrind.h 10 * jemalloc, so it is critical that all callers of these macros provide usize
16 #define JEMALLOC_VALGRIND_MAKE_MEM_NOACCESS(ptr, usize) do { \
18 valgrind_make_mem_noaccess(ptr, usize); \
20 #define JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ptr, usize) do { \
22 valgrind_make_mem_undefined(ptr, usize); \
24 #define JEMALLOC_VALGRIND_MAKE_MEM_DEFINED(ptr, usize) do { \
26 valgrind_make_mem_defined(ptr, usize); \
33 #define JEMALLOC_VALGRIND_MALLOC(cond, ptr, usize, zero) do { \
35 VALGRIND_MALLOCLIKE_BLOCK(ptr, usize, p2rz(ptr), zero); \
37 #define JEMALLOC_VALGRIND_REALLOC(maybe_moved, ptr, usize, \
    [all...]
huge.h 12 void *huge_malloc(tsd_t *tsd, arena_t *arena, size_t usize, bool zero,
14 void *huge_palloc(tsd_t *tsd, arena_t *arena, size_t usize, size_t alignment,
19 size_t usize, size_t alignment, bool zero, tcache_t *tcache);
prof.h 284 void prof_malloc_sample_object(const void *ptr, size_t usize,
286 void prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx);
332 bool prof_sample_accum_update(tsd_t *tsd, size_t usize, bool commit,
334 prof_tctx_t *prof_alloc_prep(tsd_t *tsd, size_t usize, bool prof_active,
337 void prof_tctx_set(const void *ptr, size_t usize, prof_tctx_t *tctx);
338 void prof_tctx_reset(const void *ptr, size_t usize, const void *old_ptr,
340 void prof_malloc_sample_object(const void *ptr, size_t usize,
342 void prof_malloc(const void *ptr, size_t usize, prof_tctx_t *tctx);
343 void prof_realloc(tsd_t *tsd, const void *ptr, size_t usize,
346 void prof_free(tsd_t *tsd, const void *ptr, size_t usize);
    [all...]
tcache.h 300 size_t usize JEMALLOC_CC_SILENCE_INIT(0);
320 * Only compute usize if required. The checks in the following if
324 usize = index2size(binind);
325 assert(tcache_salloc(ret) == usize);
334 memset(ret, 0, usize);
341 memset(ret, 0, usize);
347 tcache->prof_accumbytes += usize;
377 size_t usize JEMALLOC_CC_SILENCE_INIT(0);
379 /* Only compute usize on demand */
382 usize = index2size(binind)
    [all...]
jemalloc_internal.h 628 size_t usize = grp_size + mod_size; local
629 return (usize);
669 size_t usize = (size + delta_mask) & ~delta_mask;
670 return (usize);
704 size_t usize;
724 usize = s2u(ALIGNMENT_CEILING(size, alignment));
725 if (usize < LARGE_MINCLASS)
726 return (usize);
738 usize = (size <= LARGE_MINCLASS) ? LARGE_MINCLASS : s2u(size);
744 if (usize + large_pad + alignment - PAGE <= arena_maxrun
    [all...]
jemalloc_internal.h.in 628 size_t usize = grp_size + mod_size;
629 return (usize);
669 size_t usize = (size + delta_mask) & ~delta_mask;
670 return (usize);
704 size_t usize;
724 usize = s2u(ALIGNMENT_CEILING(size, alignment));
725 if (usize < LARGE_MINCLASS)
726 return (usize);
738 usize = (size <= LARGE_MINCLASS) ? LARGE_MINCLASS : s2u(size);
744 if (usize + large_pad + alignment - PAGE <= arena_maxrun
    [all...]
quarantine.h 16 size_t usize; member in struct:quarantine_obj_s
  /frameworks/av/media/libstagefright/codecs/common/
cmnMemory.c 50 VO_U32 cmnMemSet (VO_S32 uID, VO_PTR pBuff, VO_U8 uValue, VO_U32 uSize)
54 memset (pBuff, uValue, uSize);
58 VO_U32 cmnMemCopy (VO_S32 uID, VO_PTR pDest, VO_PTR pSource, VO_U32 uSize)
62 memcpy (pDest, pSource, uSize);
66 VO_U32 cmnMemCheck (VO_S32 uID, VO_PTR pBuffer, VO_U32 uSize)
70 UNUSED(uSize);
75 VO_S32 cmnMemCompare (VO_S32 uID, VO_PTR pBuffer1, VO_PTR pBuffer2, VO_U32 uSize)
79 return memcmp(pBuffer1, pBuffer2, uSize);
82 VO_U32 cmnMemMove (VO_S32 uID, VO_PTR pDest, VO_PTR pSource, VO_U32 uSize)
86 memmove (pDest, pSource, uSize);
    [all...]
  /frameworks/av/media/libstagefright/codecs/common/include/
cmnMemory.h 37 * \param uSize [in] size of memory
55 * \param uSize [in] the size to be set
58 VO_U32 cmnMemSet (VO_S32 uID, VO_PTR pBuff, VO_U8 uValue, VO_U32 uSize);
65 * \param uSize [in] the size to be copied
68 VO_U32 cmnMemCopy (VO_S32 uID, VO_PTR pDest, VO_PTR pSource, VO_U32 uSize);
74 * \param uSize [in] the size to be checked
77 VO_U32 cmnMemCheck (VO_S32 uID, VO_PTR pBuffer, VO_U32 uSize);
84 * \param uSize [in] the size to be compared
87 VO_S32 cmnMemCompare (VO_S32 uID, VO_PTR pBuffer1, VO_PTR pBuffer2, VO_U32 uSize);
94 * \param uSize [in] the size to be move
    [all...]
voMem.h 45 VO_U32 (VO_API * Set) (VO_S32 uID, VO_PTR pBuff, VO_U8 uValue, VO_U32 uSize);
46 VO_U32 (VO_API * Copy) (VO_S32 uID, VO_PTR pDest, VO_PTR pSource, VO_U32 uSize);
47 VO_U32 (VO_API * Check) (VO_S32 uID, VO_PTR pBuffer, VO_U32 uSize);
48 VO_S32 (VO_API * Compare) (VO_S32 uID, VO_PTR pBuffer1, VO_PTR pBuffer2, VO_U32 uSize);
49 VO_U32 (VO_API * Move) (VO_S32 uID, VO_PTR pDest, VO_PTR pSource, VO_U32 uSize);
  /external/tpm2/
Unique.c 44 #define uSize sizeof(notReallyUnique)
45 b = &b[((bSize < uSize) ? bSize : uSize) - 1];
  /external/jemalloc/test/unit/
junk.c 41 arena_dalloc_junk_large_intercept(void *ptr, size_t usize)
45 arena_dalloc_junk_large_orig(ptr, usize);
46 for (i = 0; i < usize; i++) {
49 i, usize);
56 huge_dalloc_junk_intercept(void *ptr, size_t usize)
59 huge_dalloc_junk_orig(ptr, usize);
171 arena_ralloc_junk_large_intercept(void *ptr, size_t old_usize, size_t usize)
174 arena_ralloc_junk_large_orig(ptr, old_usize, usize);
176 assert_zu_eq(usize, shrink_size(large_maxclass), "Unexpected usize");
    [all...]
  /external/libcap/doc/old/
_setproccap.2 11 .BI "int _setproccap(size_t " usize ", __cap_s const *" iset ", __cap_s const *" pset ", __cap_s const *" eset );
13 .BI "int _getproccap(size_t " usize ", __cap_s *" iset ", __cap_s *" pset ", __cap_s *" eset );
25 .I usize
_setfilecap.2 11 .BI "int _setfilecap(char const *" filename ", size_t " usize ", __cap_s const *" iset ", __cap_s const *" pset ", __cap_s const *" eset );
13 .BI "int _getproccap(char const *" filename ", size_t " usize ", __cap_s *" iset ", __cap_s *" pset ", __cap_s *" eset );
15 .BI "int _fsetfilecap(int " fd ", size_t " usize ", __cap_s const *" iset ", __cap_s const *" pset ", __cap_s const *" eset );
17 .BI "int _fgetproccap(int " fd ", size_t " usize ", __cap_s *" iset ", __cap_s *" pset ", __cap_s *" eset );
39 .I usize
  /external/jemalloc/test/integration/
allocated.c 18 size_t sz, usize; local
69 usize = malloc_usable_size(p);
70 assert_u64_le(a0 + usize, a1,
86 assert_u64_le(d0 + usize, d1,
  /external/skia/gm/
yuvtorgbeffect.cpp 26 #define USIZE 4
51 SkImageInfo uinfo = SkImageInfo::MakeA8(USIZE, USIZE);
103 SkISize sizes[3] = {{YSIZE, YSIZE}, {USIZE, USIZE}, {VSIZE, VSIZE}};
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
bidispl.h 86 virtual HRESULT WINAPI SetInputData(const DWORD dwType,const BYTE *pData,const UINT uSize) = 0;
88 virtual HRESULT WINAPI GetOutputData(const DWORD dwIndex,LPWSTR *ppszSchema,DWORD *pdwType,BYTE **ppData,ULONG *uSize) = 0;
98 HRESULT (WINAPI *SetInputData)(IBidiRequest *This,const DWORD dwType,const BYTE *pData,const UINT uSize);
100 HRESULT (WINAPI *GetOutputData)(IBidiRequest *This,const DWORD dwIndex,LPWSTR *ppszSchema,DWORD *pdwType,BYTE **ppData,ULONG *uSize);
112 #define IBidiRequest_SetInputData(This,dwType,pData,uSize) (This)->lpVtbl->SetInputData(This,dwType,pData,uSize)
114 #define IBidiRequest_GetOutputData(This,dwIndex,ppszSchema,pdwType,ppData,uSize) (This)->lpVtbl->GetOutputData(This,dwIndex,ppszSchema,pdwType,ppData,uSize)
120 HRESULT WINAPI IBidiRequest_SetInputData_Proxy(IBidiRequest *This,const DWORD dwType,const BYTE *pData,const UINT uSize);
124 HRESULT WINAPI IBidiRequest_GetOutputData_Proxy(IBidiRequest *This,const DWORD dwIndex,LPWSTR *ppszSchema,DWORD *pdwType,BYTE **ppData,ULONG *uSize);
    [all...]
  /hardware/ti/omap4-aah/domx/mm_osal/inc/
timm_osal_memory.h 88 TIMM_OSAL_U8 uValue, TIMM_OSAL_U32 uSize);
91 TIMM_OSAL_PTR pBuffer2, TIMM_OSAL_U32 uSize);
94 TIMM_OSAL_PTR pBufSrc, TIMM_OSAL_U32 uSize);

Completed in 1153 milliseconds

1 2 3