Home
last modified time | relevance | path

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

/external/elfutils/libelf/
Dnote_xlate.h39 Elf32_Word namesz = NOTE_ALIGN (n->n_namesz); in elf_cvt_note() local
46 if (namesz > len) in elf_cvt_note()
48 len -= namesz; in elf_cvt_note()
54 memcpy (dest, src, namesz + descsz); in elf_cvt_note()
56 src += namesz + descsz; in elf_cvt_note()
57 dest += namesz + descsz; in elf_cvt_note()
Dgelf_getnote.c73 GElf_Word namesz = NOTE_ALIGN (n->n_namesz); in gelf_getnote() local
77 || data->d_size - offset < namesz in gelf_getnote()
78 || (namesz == 0 && n->n_namesz != 0))) in gelf_getnote()
83 offset += namesz; in gelf_getnote()
/external/perf_data_converter/src/quipper/
Ddso_test.cc102 const size_t namesz = 4; in TEST() local
105 .n_namesz = namesz, in TEST()
110 const char note_name[namesz] = ELF_NOTE_GNU; in TEST()
/external/e2fsprogs/lib/blkid/
Dprobe.c210 int namesz; in check_for_modules() local
220 namesz = strlen(fs_name); in check_for_modules()
233 if (!strncmp(cp, fs_name, namesz) && in check_for_modules()
234 (!strcmp(cp + namesz, ".ko") || in check_for_modules()
235 !strcmp(cp + namesz, ".ko.gz"))) { in check_for_modules()
/external/kmod/libkmod/
Dlibkmod-module.c2022 size_t namesz; in kmod_module_get_sections() local
2046 namesz = strlen(dent->d_name) + 1; in kmod_module_get_sections()
2047 section = malloc(sizeof(*section) + namesz); in kmod_module_get_sections()
2055 memcpy(section->name, dent->d_name, namesz); in kmod_module_get_sections()