/frameworks/base/cmds/installd/ |
utils.c | 40 size_t dst_size = PKG_PATH_MAX; local 42 if (append_and_increment(&dst, dir->path, &dst_size) < 0 43 || append_and_increment(&dst, pkgname, &dst_size) < 0 44 || append_and_increment(&dst, postfix, &dst_size) < 0) { 75 size_t dst_size = sizeof(prefix); local 77 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 78 || append_and_increment(&dst, persona_prefix, &dst_size) < 0) { 84 int ret = snprintf(dst, dst_size, "%d/", persona); 116 size_t dst_size = PKG_PATH_MAX; local 118 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 369 size_t dst_size = path_len + 2; local [all...] |
installd.h | 133 int append_and_increment(char** dst, const char* src, size_t* dst_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...] |
_cvvm.h | 117 CvSize dst_size,
|
cvepilines.cpp | 2116 CvSize dst_size = src_size; local [all...] |
/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...] |
/frameworks/base/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))
|
/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/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/opencv/cv/src/ |
cvpyramids.cpp | 1041 CvSize src_size, src_size2, dst_size; local [all...] |
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...] |
/hardware/ti/omap4xxx/camera/ |
Encoder_libjpeg.cpp | 375 libjpeg_destination_mgr dest_mgr(input->dst, input->dst_size); 380 (input->dst_size < 1) || (input->format == NULL)) { 387 resize_src = (uint8_t*) malloc(input->dst_size); 411 input->dst_size, src);
|
AppCallbackNotifier.cpp | 859 main_jpeg->dst_size = frame->mLength; [all...] |
/hardware/ti/omap4xxx/camera/inc/ |
Encoder_libjpeg.h | 94 int dst_size; member in struct:android::Encoder_libjpeg::params
|
/system/core/libpixelflinger/codeflinger/ |
GGLAssembler.cpp | 480 int dst_size, 506 (parts.texel[i].component_size(component) < dst_size)) { 538 if (need_expander && (fragment.size() < dst_size)) { 541 expand(fragment, fragment, dst_size); 546 (mInfo[component].needed || fragment.size()<dst_size)) [all...] |
GGLAssembler.h | 410 int dst_size,
|