Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 2 of 2) sorted by relevance

/system/extras/tests/memtest/
Dmemtest.cpp220 int nb = 0; in memcpy_test() local
221 for (int size=0 ; size<4096 && !nb ; size++) { in memcpy_test()
222 nb += validate_memcpy(s, d, size); in memcpy_test()
223 for (int o=1 ; o<32 && !nb ; o++) { in memcpy_test()
224 nb += validate_memcpy(s+o, d, size); in memcpy_test()
225 nb += validate_memcpy(s, d+o, size); in memcpy_test()
226 nb += validate_memcpy(s+o, d+o, size); in memcpy_test()
229 if (nb) printf("%d error(s) found\n", nb); in memcpy_test()
330 int nb = 0; in memset_test() local
332 for (int size=0 ; size<4096 && !nb ; size++) { in memset_test()
[all …]
/system/core/libcutils/
Dmspace.c54 static void *contiguous_mspace_morecore(mstate0 m, ssize_t nb);
95 static void *contiguous_mspace_morecore(mstate m, ssize_t nb) { in contiguous_mspace_morecore() argument
103 assert(nb >= 0); //xxx deal with the trim case in contiguous_mspace_morecore()
106 if (nb > 0) { in contiguous_mspace_morecore()
109 char *newbrk = (char *)ALIGN_UP(oldbrk + nb, pagesize); in contiguous_mspace_morecore()