Lines Matching defs:icon
2010 struct osu_icon icon[MAX_OSU_VALS];
2137 if (strncmp(buf, "icon=", 5) == 0) {
2138 struct osu_icon *icon;
2141 icon = &last->icon[last->icon_count++];
2142 icon->id = atoi(buf + 5);
2157 res = os_snprintf(icon->lang, sizeof(icon->lang),
2159 if (os_snprintf_error(sizeof(icon->lang), res))
2166 res = os_snprintf(icon->mime_type,
2167 sizeof(icon->mime_type), "%s", pos);
2168 if (os_snprintf_error(sizeof(icon->mime_type), res))
2177 res = os_snprintf(icon->filename,
2178 sizeof(icon->filename), "%s", pos);
2179 if (os_snprintf_error(sizeof(icon->filename), res))
2406 fprintf(f, "<img src=\"osu-icon-%d.%s\">\n",
2407 last->icon[j].id,
2408 strcasecmp(last->icon[j].mime_type,
2409 "image/png") == 0 ? "png" : "icon");
2481 os_snprintf(fname, sizeof(fname), "%s/osu-icon-%d.%s",
2482 dir, last->icon[j].id,
2483 strcasecmp(last->icon[j].mime_type,
2485 "png" : "icon");
2486 wpa_printf(MSG_INFO, "ICON: %s (%s)",
2487 fname, last->icon[j].filename);
2489 last->icon[j].filename,
3049 "[%zu] Looking for icon file name '%s' match",
3074 wpa_printf(MSG_INFO, "No icon
3077 "No icon filename match found for '%s'",
3091 "[%zu][%zu] Icon hash length invalid (should be 32): %d",
3101 "[%zu][%zu] Icon hash did not match", j, i);
3110 "No icon hash match (by hash) found");
3112 "No icon hash match (by hash) found");