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

1 2 3

  /system/media/audio_utils/include/audio_utils/
string.h 24 inline size_t audio_utils_strlcpy_zerofill(char *dst, const char *src, size_t dst_size) {
25 const size_t srclen = strlcpy(dst, src, dst_size);
27 if (srclen_with_zero < dst_size) {
28 const size_t num_zeroes = dst_size - srclen_with_zero;
  /external/llvm/test/Transforms/MemCpyOpt/
memset-memcpy-redundant-memset.ll 7 ; CHECK-DAG: [[ULE:%[0-9]+]] = icmp ule i64 %dst_size, %src_size
8 ; CHECK-DAG: [[SIZEDIFF:%[0-9]+]] = sub i64 %dst_size, %src_size
13 define void @test(i8* %src, i64 %src_size, i8* %dst, i64 %dst_size, i8 %c) {
14 call void @llvm.memset.p0i8.i64(i8* %dst, i8 %c, i64 %dst_size, i32 1, i1 false)
20 ; CHECK-DAG: [[DSTSIZE:%[0-9]+]] = zext i32 %dst_size to i64
28 define void @test_different_types_i32_i64(i8* %dst, i8* %src, i32 %dst_size, i64 %src_size, i8 %c) {
29 call void @llvm.memset.p0i8.i32(i8* %dst, i8 %c, i32 %dst_size, i32 1, i1 false)
37 ; CHECK-DAG: [[ULE:%[0-9]+]] = icmp ule i128 %dst_size, [[SRCSIZE]]
38 ; CHECK-DAG: [[SIZEDIFF:%[0-9]+]] = sub i128 %dst_size, [[SRCSIZE]]
43 define void @test_different_types_i128_i32(i8* %dst, i8* %src, i128 %dst_size, i32 %src_size, i8 %c)
    [all...]
  /art/libdexfile/dex/
base64_test_util.h 30 static inline uint8_t* DecodeBase64(const char* src, size_t* dst_size) {
56 CHECK(dst_size != nullptr);
68 *dst_size = 0;
73 *dst_size = 0;
89 *dst_size = 0;
93 *dst_size = tmp.size();
  /external/mesa3d/src/mesa/main/
format_utils.h 162 _mesa_unsigned_to_unsigned(unsigned src, unsigned dst_size)
164 return MIN2(src, MAX_UINT(dst_size));
168 _mesa_unsigned_to_signed(unsigned src, unsigned dst_size)
170 return MIN2(src, (unsigned)MAX_INT(dst_size));
174 _mesa_signed_to_signed(int src, unsigned dst_size)
176 return CLAMP(src, MIN_INT(dst_size), MAX_INT(dst_size));
180 _mesa_signed_to_unsigned(int src, unsigned dst_size)
182 return CLAMP(src, 0, MAX_UINT(dst_size));
  /external/strace/tests/
hexdump_strdup.c 39 size_t dst_size = 3 * len + 2; local
40 assert(dst_size > len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
hexquote_strndup.c 39 const size_t dst_size = 4 * src_len + 1; local
40 assert(dst_size > src_len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
  /external/strace/tests-m32/
hexdump_strdup.c 39 size_t dst_size = 3 * len + 2; local
40 assert(dst_size > len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
hexquote_strndup.c 39 const size_t dst_size = 4 * src_len + 1; local
40 assert(dst_size > src_len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
  /external/strace/tests-mx32/
hexdump_strdup.c 39 size_t dst_size = 3 * len + 2; local
40 assert(dst_size > len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
hexquote_strndup.c 39 const size_t dst_size = 4 * src_len + 1; local
40 assert(dst_size > src_len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
  /external/boringssl/src/crypto/buf/
buf.c 195 size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size) {
198 for (; dst_size > 1 && *src; dst_size--) {
203 if (dst_size) {
210 size_t BUF_strlcat(char *dst, const char *src, size_t dst_size) {
212 for (; dst_size > 0 && *dst; dst_size--, dst++) {
215 return l + BUF_strlcpy(dst, src, dst_size);
  /external/libmicrohttpd/src/examples/
mhd2spdy_structures.c 146 copy_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size)
154 *dst = realloc(*dst, src_size + *dst_size);
158 memcpy(*dst + *dst_size, src, src_size);
159 *dst_size += src_size;
  /external/tensorflow/tensorflow/contrib/lite/java/src/main/native/
tensor_jni.cc 33 void* dst, size_t dst_size) {
37 if (to_copy > dst_size) {
40 to_copy, dst_size);
174 size_t writeByteBuffer(JNIEnv* env, jobject object, char** dst, int dst_size) {
182 return dst_size;
186 int dims_left, char** dst, int dst_size) {
188 return writeOneDimensionalArray(env, src, type, *dst, dst_size);
197 dst_size - sz);
tensor_jni.h 63 size_t writeByteBuffer(JNIEnv* env, jobject object, char** dst, int dst_size);
69 int dims_left, char** dst, int dst_size);
  /frameworks/native/cmds/installd/tests/
test_utils.h 33 uint8_t* DecodeBase64(const char* src, size_t* dst_size) {
34 CHECK(dst_size != nullptr);
46 *dst_size = 0;
51 *dst_size = 0;
67 *dst_size = 0;
71 *dst_size = tmp.size();
  /external/opencv/cvaux/src/
cvlines.cpp 125 uchar * dst, int dst_step, CvSize dst_size, CvPoint start, CvPoint end )
131 if( !src || !dst || (dst_size.width | dst_size.height) < 0 ||
132 dst_step < dst_size.width * 3 ||
133 (unsigned) start.x >= (unsigned) dst_size.width ||
134 (unsigned) start.y >= (unsigned) dst_size.height ||
135 (unsigned) end.x >= (unsigned) dst_size.width ||
136 (unsigned) end.y >= (unsigned) dst_size.height )
247 CvSize dst_size, /* dest image size */
262 cvInitMatHeader( &mat, dst_size.height, dst_size.width, CV_8UC3, dst, dst_step )
    [all...]
  /bionic/libc/kernel/uapi/rdma/
rdma_user_cm.h 97 __u16 dst_size; member in struct:rdma_ucm_resolve_addr
131 __u16 dst_size; member in struct:rdma_ucm_query_addr_resp
  /external/libevent/
bufferevent_pair.c 156 size_t dst_size; local
163 dst_size = evbuffer_get_length(dst->input);
164 if (dst_size < dst->wm_read.high) {
165 n = dst->wm_read.high - dst_size;
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_vlc.h 69 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size)
71 unsigned i, bits = util_logbase2(dst_size);
73 assert(dst && dst_size);
76 for (i=0;i<dst_size;++i) {
  /system/extras/boot_control_copy/
boot_control_copy.cpp 139 uint64_t src_size, dst_size; local
174 dst_fd = boot_info_open_partition("boot", &dst_size, O_RDWR);
181 if (src_size != dst_size) {
185 src_size, dst_size);
  /toolchain/binutils/binutils-2.27/opcodes/
aarch64-opc.h 338 int src_size = 0, dst_size = 0;
341 dst_size = aarch64_get_qualifier_esize (opcode->qualifiers_list[0][0]);
345 if (src_size == dst_size && src_size == 0)
348 if (dst_size == 0 || dst_size == src_size << 1)
334 int src_size = 0, dst_size = 0; local
  /external/libchrome/base/strings/
string_util.cc     [all...]
  /external/libmojo/ui/gfx/geometry/
rect_f.cc 24 float dst_size,
27 *size = std::min(dst_size, *size);
31 *origin = std::min(dst_origin + dst_size, *origin + *size) - *size;
  /external/webrtc/webrtc/base/
autodetectproxy.cc 26 size_t dst_size) {
27 strncpy(dst, src.c_str(), dst_size - 1);
28 dst[dst_size - 1] = '\0';
  /external/libyuv/files/util/
yuvconvert.cc 233 const int dst_size = dst_width * dst_height * 4; // ARGB scaled local
246 uint8* const ch_dst = new uint8[dst_size];
338 fwrite(ch_dst, sizeof(uint8), static_cast<size_t>(dst_size),
340 if (bytes_rec < static_cast<size_t>(dst_size))

Completed in 2034 milliseconds

1 2 3