Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 5 of 5) sorted by relevance

/external/chromium/base/allocator/
Dallocator_unittests.cc417 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
419 unsigned char* src = reinterpret_cast<unsigned char*>(malloc(src_size)); in TEST()
420 Fill(src, src_size); in TEST()
423 EXPECT_EQ(true, Valid(dst, min(src_size, dst_size))); in TEST()
467 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
470 reinterpret_cast<unsigned char*>(_recalloc(NULL, 1, src_size)); in TEST()
471 EXPECT_EQ(true, IsZeroed(src, src_size)); in TEST()
472 Fill(src, src_size); in TEST()
475 EXPECT_EQ(true, Valid(dst, min(src_size, dst_size))); in TEST()
/external/skia/src/images/
Dfpdfemb_ext.h19 void (*Input)(void* pContext, const unsigned char* src_buf, unsigned long src_size);
41 void* (*Init)(const unsigned char* src_buf, unsigned long src_size);
73 unsigned long src_size, const unsigned char* global_buf, unsigned long global_size,
/external/stlport/src/c_locale_win32/
Dc_wlocale_win32.c223 const wchar_t* src, size_t src_size) { in _WLocale_strxfrm() argument
227 if (src_size > INT_MAX) { in _WLocale_strxfrm()
229 _STLP_WCSNCPY(dst, dst_size, src, src_size); in _WLocale_strxfrm()
231 return src_size; in _WLocale_strxfrm()
236 result = LCMapStringW(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size); in _WLocale_strxfrm()
Dc_locale_win32.c1124 const char* src, size_t src_size) { in _Locale_strxfrm() argument
1130 if (src_size > INT_MAX) { in _Locale_strxfrm()
1132 _STLP_STRNCPY(dst, dst_size, src, src_size); in _Locale_strxfrm()
1134 return src_size; in _Locale_strxfrm()
1142 result = LCMapStringA(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size); in _Locale_strxfrm()
1146 buf = __ConvertToCP(atoi(lcol->cp), __GetDefaultCP(lcol->lc.id), src, src_size, &size); in _Locale_strxfrm()
/external/qemu/
Dthunk.c193 int array_length, i, dst_size, src_size; in thunk_convert() local
199 src_size = thunk_type_size(type_ptr, 1 - to_host); in thunk_convert()
205 s += src_size; in thunk_convert()