Home
last modified time | relevance | path

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

/external/libcap/libcap/
Dcap_alloc.c114 int cap_free(void *data_p) in cap_free() argument
116 if ( !data_p ) in cap_free()
119 if ( good_cap_t(data_p) ) { in cap_free()
120 data_p = -1 + (__u32 *) data_p; in cap_free()
121 memset(data_p, 0, sizeof(__u32) + sizeof(struct _cap_struct)); in cap_free()
122 free(data_p); in cap_free()
123 data_p = NULL; in cap_free()
127 if ( good_cap_string(data_p) ) { in cap_free()
128 size_t length = strlen(data_p) + sizeof(__u32); in cap_free()
129 data_p = -1 + (__u32 *) data_p; in cap_free()
[all …]
/external/libaom/libaom/av1/common/
Drestoration.c139 uint8_t *data_p; in extend_frame_lowbd() local
142 data_p = data + i * stride; in extend_frame_lowbd()
143 memset(data_p - border_horz, data_p[0], border_horz); in extend_frame_lowbd()
144 memset(data_p + width, data_p[width - 1], border_horz); in extend_frame_lowbd()
146 data_p = data - border_horz; in extend_frame_lowbd()
148 memcpy(data_p + i * stride, data_p, width + 2 * border_horz); in extend_frame_lowbd()
151 memcpy(data_p + i * stride, data_p + (height - 1) * stride, in extend_frame_lowbd()
158 uint16_t *data_p; in extend_frame_highbd() local
161 data_p = data + i * stride; in extend_frame_highbd()
162 for (j = -border_horz; j < 0; ++j) data_p[j] = data_p[0]; in extend_frame_highbd()
[all …]