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

/external/libpng/
H A Dpngset.c433 png_size_t lengthw = 0, lengthh = 0; local
450 if (sheight == NULL || (lengthh = strlen(sheight)) == 0 ||
451 sheight[0] == 45 /* '-' */ || !png_check_fp_string(sheight, lengthh))
472 ++lengthh;
474 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthh);
477 png_malloc_warn(png_ptr, lengthh));
489 memcpy(info_ptr->scal_s_height, sheight, lengthh);
/external/pdfium/third_party/libpng16/
H A Dpngset.c385 png_size_t lengthw = 0, lengthh = 0; local
402 if (sheight == NULL || (lengthh = strlen(sheight)) == 0 ||
403 sheight[0] == 45 /* '-' */ || !png_check_fp_string(sheight, lengthh))
424 ++lengthh;
426 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthh);
429 png_malloc_warn(png_ptr, lengthh));
441 memcpy(info_ptr->scal_s_height, sheight, lengthh);

Completed in 578 milliseconds