Lines Matching defs:note
55 unsigned int descsz; /* Size of the note descriptor */
105 gen_build_id(struct buildid_note *note,
111 size_t sz = sizeof(note->build_id);
118 sret = read(fd, note->build_id, sz);
123 memset(note->build_id, 0, sz);
129 gen_build_id(struct buildid_note *note,
134 if (sizeof(note->build_id) < SHA_DIGEST_LENGTH)
137 SHA1(code, csize, (unsigned char *)note->build_id);
143 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize)
147 if (sizeof(note->build_id) < 16)
153 MD5_Final((unsigned char *)note->build_id, &context);