/src/usr.sbin/kvm_mkdb/ |
nlist_coff.c | 90 size_t mappedsize, symnamesize, fsymnamesize; local in function:create_knlist_coff 174 symnamesize = 1024; 175 if ((symname = malloc(symnamesize)) == NULL) { 225 while (symnamesize < fsymnamesize + 1) { 226 if ((nsymname = realloc(symname, symnamesize * 2)) == NULL){ 231 symnamesize *= 2; 234 strlcpy(symname, "_", symnamesize); 235 strlcat(symname, fsymname, symnamesize); 237 strlcpy(symname, fsymname, symnamesize);
|
nlist_ecoff.c | 91 size_t mappedsize, symnamesize, fsymnamesize; local in function:create_knlist_ecoff 170 symnamesize = 1024; 171 if ((symname = malloc(symnamesize)) == NULL) { 188 while (symnamesize < fsymnamesize + 1) { 189 if ((nsymname = realloc(symname, symnamesize * 2)) == NULL) { 194 symnamesize *= 2; 196 strlcpy(symname, "_", symnamesize); 197 strlcat(symname, fsymname, symnamesize);
|
nlist_elf32.c | 101 size_t mappedsize, symnamesize, fsymnamesize; variable in typeref:typename:size_t 247 symnamesize = 1024; 248 if ((symname = malloc(symnamesize)) == NULL) { 271 while (symnamesize < fsymnamesize + 1) { 272 if ((nsymname = realloc(symname, symnamesize * 2)) == NULL) { 277 symnamesize *= 2; 279 strlcpy(symname, "_", symnamesize); 280 strlcat(symname, fsymname, symnamesize);
|