Home
last modified time | relevance | path

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

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