Home
last modified time | relevance | path

Searched refs:image_len (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dmnist_op.cc108 int64_t image_len = image_reader->seekg(0, std::ios::end).tellg(); in CheckImage() local
111 …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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dhs20_supplicant.c353 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()
Dwpa_supplicant_i.h475 size_t image_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dhs20_supplicant.c352 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()
Dwpa_supplicant_i.h448 size_t image_len; member