Searched refs:image_len (Results 1 – 5 of 5) sorted by relevance
108 int64_t image_len = image_reader->seekg(0, std::ios::end).tellg(); in CheckImage() local111 …CHECK_FAIL_RETURN_UNEXPECTED(image_len >= 16, "Invalid file, " + DatasetName() + " file is corrupt… in CheckImage()127 CHECK_FAIL_RETURN_UNEXPECTED((image_len - 16) == num_items * rows * cols, in CheckImage()128 … "Invalid data, got truncated data len: " + std::to_string(image_len - 16) + in CheckImage()
353 if (!icon || !icon->image || offset >= icon->image_len) in hs20_get_icon()355 if (size > icon->image_len - offset) in hs20_get_icon()356 size = icon->image_len - offset; in hs20_get_icon()381 (unsigned int) icon->image_len); in hs20_free_icon_entry()476 icon->image_len = slen; in hs20_process_icon_binary_file()481 (unsigned int) icon->image_len); in hs20_process_icon_binary_file()
475 size_t image_len; member
352 if (!icon || !icon->image || offset >= icon->image_len) in hs20_get_icon()354 if (size > icon->image_len - offset) in hs20_get_icon()355 size = icon->image_len - offset; in hs20_get_icon()380 (unsigned int) icon->image_len); in hs20_free_icon_entry()475 icon->image_len = slen; in hs20_process_icon_binary_file()480 (unsigned int) icon->image_len); in hs20_process_icon_binary_file()
448 size_t image_len; member