Searched refs:VbDevMusicNote (Results 1 – 3 of 3) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | vboot_audio.c | 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() [all …]
|
/external/vboot_reference/firmware/lib/include/ |
D | vboot_audio_private.h | 14 typedef struct VbDevMusicNote { struct 17 } __attribute__((packed)) VbDevMusicNote; argument 23 VbDevMusicNote notes[1]; /* gcc allows [0], MSVC doesn't */ 29 VbDevMusicNote *music_notes;
|
/external/vboot_reference/tests/ |
D | vboot_audio_tests.c | 28 extern VbDevMusicNote default_notes_[], short_notes_[]; 34 static VbDevMusicNote good_notes[] = { {100, 100}, 44 .count = sizeof(good_notes) / sizeof(VbDevMusicNote), 48 sizeof(good_notes) - sizeof(VbDevMusicNote)]; 51 static VbDevMusicNote *use_notes; 79 static int NotesMatch(VbDevMusicNote *a, VbDevMusicNote *b, uint32_t count) { in NotesMatch()
|