Searched refs:lengthw (Results 1 – 3 of 3) sorted by relevance
/external/opencv3/3rdparty/libpng/ |
D | pngset.c | 381 png_size_t lengthw = 0, lengthh = 0; in png_set_sCAL_s() local 394 if (swidth == NULL || (lengthw = png_strlen(swidth)) == 0 || in png_set_sCAL_s() 395 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw)) in png_set_sCAL_s() 404 ++lengthw; in png_set_sCAL_s() 406 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw); in png_set_sCAL_s() 408 info_ptr->scal_s_width = (png_charp)png_malloc_warn(png_ptr, lengthw); in png_set_sCAL_s() 416 png_memcpy(info_ptr->scal_s_width, swidth, lengthw); in png_set_sCAL_s()
|
/external/libpng/ |
D | pngset.c | 373 png_size_t lengthw = 0, lengthh = 0; in png_set_sCAL_s() local 386 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 || in png_set_sCAL_s() 387 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw)) in png_set_sCAL_s() 396 ++lengthw; in png_set_sCAL_s() 398 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw); in png_set_sCAL_s() 401 png_malloc_warn(png_ptr, lengthw)); in png_set_sCAL_s() 410 memcpy(info_ptr->scal_s_width, swidth, lengthw); in png_set_sCAL_s()
|
/external/pdfium/third_party/lpng_v163/ |
D | pngset.c | 364 png_size_t lengthw = 0, lengthh = 0; in png_set_sCAL_s() local 377 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 || in png_set_sCAL_s() 378 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw)) in png_set_sCAL_s() 387 ++lengthw; in png_set_sCAL_s() 389 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw); in png_set_sCAL_s() 392 png_malloc_warn(png_ptr, lengthw)); in png_set_sCAL_s() 400 memcpy(info_ptr->scal_s_width, swidth, lengthw); in png_set_sCAL_s()
|