Lines Matching refs:VbDevMusicNote
33 VbDevMusicNote default_notes_[] = { {20000, 0}, /* 20 seconds */
38 uint32_t default_count_ = sizeof(default_notes_) / sizeof(VbDevMusicNote);
40 VbDevMusicNote short_notes_[] = { {2000, 0} }; /* two seconds */
41 uint32_t short_count_ = sizeof(short_notes_) / sizeof(VbDevMusicNote);
64 VbDevMusicNote *notebuf = 0; in VbGetDevMusicNotes()
65 VbDevMusicNote *builtin = 0; in VbGetDevMusicNotes()
100 maxnotes = 1 + (maxsize - sizeof(VbDevMusic)) / sizeof(VbDevMusicNote); in VbGetDevMusicNotes()
112 if ((sizeof(VbDevMusicNote) > UINT_MAX / hdr->count) || in VbGetDevMusicNotes()
114 UINT_MAX - hdr->count * sizeof(VbDevMusicNote))) { in VbGetDevMusicNotes()
122 hdr->count * sizeof(VbDevMusicNote)); in VbGetDevMusicNotes()
167 if (hdr->count > (UINT_MAX / sizeof(VbDevMusicNote) - 1)) { in VbGetDevMusicNotes()
173 notebuf = VbExMalloc((hdr->count + 1) * sizeof(VbDevMusicNote)); in VbGetDevMusicNotes()
174 Memcpy(notebuf, hdr->notes, hdr->count * sizeof(VbDevMusicNote)); in VbGetDevMusicNotes()