OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:buf_align
(Results
1 - 4
of
4
) sorted by null
/system/core/libcutils/tests/
MemsetTest.cpp
140
uint8_t *
buf_align
;
local
146
buf_align
= reinterpret_cast<uint8_t*>(GetAlignedPtr(
149
SetFencepost(&
buf_align
[-FENCEPOST_LENGTH]);
150
SetFencepost(&
buf_align
[len]);
152
memset(
buf_align
, 0xff, len);
154
android_memset16(reinterpret_cast<uint16_t*>(
buf_align
), value, len);
156
android_memset32(reinterpret_cast<uint32_t*>(
buf_align
), value, len);
158
ASSERT_EQ(0, memcmp(expected_buf.get(),
buf_align
, len))
161
VerifyFencepost(&
buf_align
[-FENCEPOST_LENGTH]);
162
VerifyFencepost(&
buf_align
[len])
[
all
...]
/external/libvpx/libvpx/vpx/src/
vpx_image.c
22
unsigned int
buf_align
,
30
if (!
buf_align
)
31
buf_align
= 1;
34
if (
buf_align
& (
buf_align
- 1))
155
img->img_data = (uint8_t *)vpx_memalign(
buf_align
, (size_t)alloc_size);
197
/* By setting
buf_align
= 1, we don't change buffer alignment in this
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
vpx_image.c
47
unsigned int
buf_align
,
55
if (!
buf_align
)
56
buf_align
= 1;
59
if (
buf_align
& (
buf_align
- 1))
150
img->img_data = img_buf_memalign(
buf_align
, ((fmt & VPX_IMG_FMT_PLANAR) ?
192
/* By setting
buf_align
= 1, we don't change buffer alignment in this
/bionic/tests/
buffer_tests.cpp
241
uint8_t *
buf_align
;
local
247
buf_align
= reinterpret_cast<uint8_t*>(GetAlignedPtr(
250
SetFencepost(&
buf_align
[-FENCEPOST_LENGTH]);
251
SetFencepost(&
buf_align
[len]);
253
test_func(
buf_align
, len);
255
VerifyFencepost(&
buf_align
[-FENCEPOST_LENGTH]);
256
VerifyFencepost(&
buf_align
[len]);
Completed in 510 milliseconds