Searched refs:lengthw (Results 1 - 3 of 3) sorted by relevance

/external/libpng/
H A Dpngset.c373 png_size_t lengthw = 0, lengthh = 0; local
386 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 ||
387 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw))
396 ++lengthw;
398 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw);
401 png_malloc_warn(png_ptr, lengthw));
410 memcpy(info_ptr->scal_s_width, swidth, lengthw);
/external/opencv3/3rdparty/libpng/
H A Dpngset.c381 png_size_t lengthw = 0, lengthh = 0; local
394 if (swidth == NULL || (lengthw = png_strlen(swidth)) == 0 ||
395 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw))
404 ++lengthw;
406 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw);
408 info_ptr->scal_s_width = (png_charp)png_malloc_warn(png_ptr, lengthw);
416 png_memcpy(info_ptr->scal_s_width, swidth, lengthw);
/external/pdfium/third_party/lpng_v163/
H A Dpngset.c364 png_size_t lengthw = 0, lengthh = 0; local
377 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 ||
378 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw))
387 ++lengthw;
389 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw);
392 png_malloc_warn(png_ptr, lengthw));
400 memcpy(info_ptr->scal_s_width, swidth, lengthw);

Completed in 52 milliseconds