/external/chromium/base/allocator/ |
allocator_unittests.cc | 418 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { 422 reinterpret_cast<unsigned char*>(realloc(src, dst_size)); 423 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); 424 Fill(dst, dst_size); 425 EXPECT_TRUE(Valid(dst, dst_size)); 468 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stacktrace.h | 31 void CopyTo(uptr *dst, uptr dst_size) { 32 for (uptr i = 0; i < size && i < dst_size; i++) 34 for (uptr i = size; i < dst_size; i++)
|
/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...] |
_cvvm.h | 117 CvSize dst_size,
|
cvepilines.cpp | 2116 CvSize dst_size = src_size; local [all...] |
/frameworks/native/cmds/installd/tests/ |
installd_utils_test.cpp | 403 size_t dst_size = 10; local 404 char dst[dst_size]; 408 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 414 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 422 size_t dst_size = 5; local 423 char dst[dst_size]; 427 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 433 EXPECT_EQ(-1, append_and_increment(&dstp, src, &dst_size))
|
/frameworks/native/cmds/installd/ |
utils.c | 42 size_t dst_size = PKG_PATH_MAX; local 44 if (append_and_increment(&dst, dir->path, &dst_size) < 0 45 || append_and_increment(&dst, pkgname, &dst_size) < 0 46 || append_and_increment(&dst, postfix, &dst_size) < 0) { 77 size_t dst_size = sizeof(prefix); local 79 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 80 || append_and_increment(&dst, persona_prefix, &dst_size) < 0) { 86 int ret = snprintf(dst, dst_size, "%d/", persona); 118 size_t dst_size = PKG_PATH_MAX; local 120 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 865 size_t dst_size = path_len + 2; local [all...] |
installd.h | 185 int append_and_increment(char** dst, const char* src, size_t* dst_size);
|
/external/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 222 wchar_t* dst, size_t dst_size,
229 _STLP_WCSNCPY(dst, dst_size, src, src_size);
233 if (dst_size > INT_MAX) {
234 dst_size = INT_MAX;
236 result = LCMapStringW(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size);
|
c_locale_win32.c | [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 222 wchar_t* dst, size_t dst_size,
229 _STLP_WCSNCPY(dst, dst_size, src, src_size);
233 if (dst_size > INT_MAX) {
234 dst_size = INT_MAX;
236 result = LCMapStringW(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size);
|
c_locale_win32.c | [all...] |
/external/chromium/base/ |
string_util.cc | [all...] |
string_util.h | 91 // Copies |src| to |dst|, where |dst_size| is the total allocated size of |dst|. 92 // Copies at most |dst_size|-1 characters, and always NULL terminates |dst|, as 93 // long as |dst_size| is not 0. Returns the length of |src| in characters. 94 // If the return value is >= dst_size, then the output was truncated. 96 BASE_API size_t strlcpy(char* dst, const char* src, size_t dst_size); 97 BASE_API size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
|
/external/qemu/ |
thunk.c | 193 int array_length, i, dst_size, src_size; local 198 dst_size = thunk_type_size(type_ptr, to_host); 204 d += dst_size;
|
/external/opencv/cv/src/ |
cvpyrsegmentation.cpp | 288 CvSize dst_size = { size.width/2+1, size.height/2+1 }; local 290 CvMat next_level = cvMat( dst_size.height, dst_size.width, CV_32FC1 ); 297 //_CV_CHECK( icvPyrDownBorder_32f_CnR( pyramida, step, size, pyramida, step, dst_size, 1 )); 300 size.width = dst_size.width - 1; 301 size.height = dst_size.height - 1; 707 CvSize dst_size = { size.width/2 + 1, size.height/2 + 1 }; local 709 CvMat next_level = cvMat( dst_size.height, dst_size.width, CV_32FC3 ); 716 //_CV_CHECK( icvPyrDownBorder_32f_CnR( pyramida, step, size, pyramida, step, dst_size, 3 )) 1836 CvSize src_size, dst_size; local [all...] |
cvsamplers.cpp | 546 CvSize src_size, dst_size; local 569 dst_size = cvGetMatSize( dst ); 573 if( dst_size.width > src_size.width || dst_size.height > src_size.height ) 592 dst->data.ptr, dst_step, dst_size, center )); 816 CvSize src_size, dst_size; local [all...] |
cvpyramids.cpp | 1041 CvSize src_size, src_size2, dst_size; local [all...] |
/hardware/ti/omap4xxx/camera/ |
Encoder_libjpeg.cpp | 380 libjpeg_destination_mgr dest_mgr(input->dst, input->dst_size); 385 (input->dst_size < 1) || (input->format == NULL)) { 392 resize_src = (uint8_t*) malloc(input->dst_size); 416 input->dst_size, src);
|
/system/media/camera/src/ |
camera_metadata.c | 199 size_t dst_size, 207 if (memory_needed > dst_size) return NULL; 271 camera_metadata_t* copy_camera_metadata(void *dst, size_t dst_size, 276 if (dst_size < memory_needed) return NULL; 279 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); [all...] |
/hardware/ti/omap4xxx/camera/inc/ |
Encoder_libjpeg.h | 115 int dst_size; member in struct:android::Encoder_libjpeg::params
|
/system/media/camera/include/system/ |
camera_metadata.h | 190 camera_metadata_t *place_camera_metadata(void *dst, size_t dst_size, 254 * If dst_size > get_camera_metadata_compact_size(), the unused bytes are at the 255 * end of the buffer. If dst_size < get_camera_metadata_compact_size(), returns 264 camera_metadata_t *copy_camera_metadata(void *dst, size_t dst_size,
|
/system/core/init/ |
init_parser.c | 185 int expand_props(char *dst, const char *src, int dst_size) 193 int left = dst_size - 1; 195 if (!src || !dst || dst_size == 0)
|
/system/core/libpixelflinger/codeflinger/ |
GGLAssembler.cpp | 483 int dst_size, 509 (parts.texel[i].component_size(component) < dst_size)) { 541 if (need_expander && (fragment.size() < dst_size)) { 544 expand(fragment, fragment, dst_size); 549 (mInfo[component].needed || fragment.size()<dst_size)) [all...] |
GGLAssembler.h | 414 int dst_size,
|