/external/chromium_org/ppapi/cpp/ |
rect.cc | 12 void AdjustAlongAxis(T dst_origin, T dst_size, 16 *size = std::min(dst_size, *size); 18 *size = std::min(dst_size, *size); 19 *origin = std::min(dst_origin + dst_size, *origin + *size) - *size;
|
/external/chromium_org/base/strings/ |
string_util.cc | 870 size_t lcpyT(CHAR* dst, const CHAR* src, size_t dst_size) { 871 for (size_t i = 0; i < dst_size; ++i) { 876 // We were left off at dst_size. We over copied 1 byte. Null terminate. 877 if (dst_size != 0) 878 dst[dst_size - 1] = 0; 881 while (src[dst_size]) ++dst_size; 882 return dst_size; 887 size_t base::strlcpy(char* dst, const char* src, size_t dst_size) { 888 return lcpyT<char>(dst, src, dst_size); [all...] |
string_util.h | 63 // Copies |src| to |dst|, where |dst_size| is the total allocated size of |dst|. 64 // Copies at most |dst_size|-1 characters, and always NULL terminates |dst|, as 65 // long as |dst_size| is not 0. Returns the length of |src| in characters. 66 // If the return value is >= dst_size, then the output was truncated. 68 BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size); 69 BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
|
/external/chromium_org/content/browser/renderer_host/ |
compositing_iosurface_transformer_mac.h | 54 const gfx::Size& dst_size, GLuint* texture); 75 // If |src_subrect|'s size does not match |dst_size|, the source will be 82 const gfx::Size& dst_size,
|
/external/pixman/test/ |
scaling-crash-test.c | 131 do_test (int32_t dst_size, 143 if (run_test (dst_size, 1, 157 if (run_test (1, 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);
|
/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);
|
/art/runtime/ |
dex_file_test.cc | 63 static inline byte* DecodeBase64(const char* src, size_t* dst_size) { 75 *dst_size = 0; 80 *dst_size = 0; 96 *dst_size = 0; 100 if (dst_size != nullptr) { 101 *dst_size = tmp.size(); 103 *dst_size = 0;
|
/external/chromium_org/content/child/npapi/ |
webplugin_ime_win.cc | 213 DWORD dst_size) { 216 return ::ImmGetCompositionStringW(context, index, dst_data, dst_size); 258 if (dst_size >= src_size)
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
autodetectproxy.cc | 43 size_t dst_size) { 44 strncpy(dst, src.c_str(), dst_size - 1); 45 dst[dst_size - 1] = '\0';
|
/external/chromium_org/third_party/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/chromium_org/third_party/libyuv/util/ |
convert.cc | 230 const int dst_size = dst_width * dst_height * 4; // ARGB scaled local 243 uint8* const ch_dst = new uint8[dst_size]; 341 static_cast<size_t>(dst_size), 343 if (bytes_rec < static_cast<size_t>(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...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_avatar_icon_util.cc | 254 gfx::Size dst_size(dst_width, dst_height); 261 dst_size, 267 return gfx::Image(gfx::ImageSkia(source.release(), dst_size));
|
/external/chromium_org/ui/gfx/geometry/ |
rect_base_impl.h | 20 void AdjustAlongAxis(Type dst_origin, Type dst_size, Type* origin, Type* size) { 21 *size = std::min(dst_size, *size); 25 *origin = std::min(dst_origin + dst_size, *origin + *size) - *size;
|
/hardware/ti/omap4-aah/camera/ |
Encoder_libjpeg.cpp | 448 libjpeg_destination_mgr dest_mgr(input->dst, input->dst_size); 453 (input->dst_size < 1) || (input->format == NULL)) { 460 resize_src = (uint8_t*) malloc(input->dst_size); 486 input->dst_size, src, input->format);
|
/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);
|
/bionic/libc/kernel/uapi/rdma/ |
rdma_user_cm.h | 115 __u16 dst_size; member in struct:rdma_ucm_resolve_addr 157 __u16 dst_size; member in struct:rdma_ucm_query_addr_resp
|
/system/media/camera/src/ |
camera_metadata.c | 208 size_t dst_size, 215 if (memory_needed > dst_size) return NULL; 279 camera_metadata_t* copy_camera_metadata(void *dst, size_t dst_size, 284 if (dst_size < memory_needed) return NULL; 287 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); [all...] |
/external/chromium_org/ash/ |
root_window_controller.cc | 114 const gfx::Size& dst_size, 118 ToRelativeValue(origin.x(), src_size.width(), dst_size.width()), 119 ToRelativeValue(origin.y(), src_size.height(), dst_size.height()))); 125 const gfx::Size dst_size = new_parent->bounds().size(); local 136 MoveOriginRelativeToSize(src_size, dst_size, &local_bounds); 141 MoveOriginRelativeToSize(src_size, dst_size, &restore_bounds); [all...] |
/external/chromium_org/media/base/android/ |
media_codec_bridge.h | 173 // Copy |dst_size| bytes from output buffer |index|'s |offset| onwards into 175 bool CopyFromOutputBuffer(int index, size_t offset, void* dst, int dst_size);
|
/external/chromium_org/content/browser/frame_host/ |
render_widget_host_view_child_frame.cc | 290 const gfx::Size& /* dst_size */,
|
render_widget_host_view_child_frame.h | 90 const gfx::Size& dst_size,
|