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

/external/libpng/
H A Dpngset.c433 png_size_t lengthw = 0, lengthh = 0; local
446 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 ||
447 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw))
456 ++lengthw;
458 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw);
461 png_malloc_warn(png_ptr, lengthw));
470 memcpy(info_ptr->scal_s_width, swidth, lengthw);
/external/pdfium/third_party/libpng16/
H A Dpngset.c385 png_size_t lengthw = 0, lengthh = 0; local
398 if (swidth == NULL || (lengthw = strlen(swidth)) == 0 ||
399 swidth[0] == 45 /* '-' */ || !png_check_fp_string(swidth, lengthw))
408 ++lengthw;
410 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw);
413 png_malloc_warn(png_ptr, lengthw));
422 memcpy(info_ptr->scal_s_width, swidth, lengthw);

Completed in 571 milliseconds