/elf/ |
A D | stringtable.c | 88 size_t length = strlen (string); in stringtable_add() local 89 if (length > (1U << 30)) in stringtable_add() 97 if (e->length == length && memcmp (e->string, string, length) == 0) in stringtable_add() 114 e->length = length; in stringtable_add() 128 if (left->length < right->length) in finalize_compare() 129 to_compare = left->length; in finalize_compare() 131 to_compare = right->length; in finalize_compare() 139 if (left->length == right->length) in finalize_compare() 141 else if (left->length < right->length) in finalize_compare() 180 if (previous->length >= current->length in stringtable_finalize() [all …]
|
A D | gen-trusted-dirs.awk | 24 printf (" %d", length (s[0])); 25 m = length (s[0]); 28 printf (", %d", length(s[i])); 29 if (length(s[i]) > m) { 30 m = length(s[i]);
|
A D | dl-hwcaps_split.c | 30 s->segment += s->length; in _dl_hwcaps_split() 43 s->length = strlen (s->segment); in _dl_hwcaps_split() 45 s->length = colon - s->segment; in _dl_hwcaps_split() 59 s->split.segment, s->split.length)) in _dl_hwcaps_split_masked() 73 if (split.length == name_length in _dl_hwcaps_contains()
|
A D | dl-exception.c | 113 size_t length = len_objname + 1; in rtld_hidden_def() local 124 length += strlen (va_arg (ap, const char *)); in rtld_hidden_def() 133 length += LONG_WIDTH / 4; in rtld_hidden_def() 139 length += INT_WIDTH / 4; in rtld_hidden_def() 143 ++length; in rtld_hidden_def() 148 ++length; in rtld_hidden_def() 152 if (length > PTRDIFF_MAX) in rtld_hidden_def() 157 char *errstring = malloc (length); in rtld_hidden_def() 171 char *const end = errstring + length; in rtld_hidden_def()
|
A D | dl-write.c | 25 _dl_write (int fd, const void *buffer, size_t length) in _dl_write() argument 27 struct iovec iov = { .iov_base = (void *) buffer, .iov_len = length }; in _dl_write()
|
A D | tst-stringtable.c | 44 TEST_COMPARE (e->length, 0); in do_test() 61 TEST_COMPARE (e->length, 4); in do_test() 79 TEST_COMPARE (suffix->length, 6); in do_test() 85 TEST_COMPARE (prefix->length, strlen ("prefix-suffix")); in do_test() 109 TEST_COMPARE (entries[i]->length, strlen (strings[i])); in do_test() 113 TEST_COMPARE (entries[i + count]->length, strlen (strings[i + count])); in do_test() 122 TEST_COMPARE (entries[i]->length, strlen (strings[i])); in do_test()
|
A D | dl-hwcaps.h | 46 size_t length; /* Number of bytes until ':' or NUL. */ member 56 s->length = 0; in _dl_hwcaps_split_init()
|
A D | stringtable.h | 29 uint32_t length; /* Length of then string. */ member
|
A D | genrtldtbl.awk | 16 dir[i], length (dir[i]) + 1);
|
A D | dl-hwcaps.c | 55 counts->total_length += sp.split.length; in update_hwcaps_counts() 56 if (sp.split.length > counts->maximum_length) in update_hwcaps_counts() 57 counts->maximum_length = sp.split.length; in update_hwcaps_counts() 83 sp.split.segment, sp.split.length); in copy_hwcaps() 86 = strlen (GLIBC_HWCAPS_PREFIX) + sp.split.length + 1; in copy_hwcaps() 115 _dl_hwcaps_priorities[i].name_length = sp.length; in compute_priorities() 128 _dl_hwcaps_priorities[i].name_length = sp.split.length; in compute_priorities()
|
A D | dl-cache.c | 95 uint32_t length = (ext.sections[cache_extension_tag_glibc_hwcaps].size in glibc_hwcaps_priorities_init() local 97 if (length > glibc_hwcaps_priorities_allocated) in glibc_hwcaps_priorities_init() 101 uint32_t *new_allocation = malloc (length * sizeof (uint32_t)); in glibc_hwcaps_priorities_init() 108 glibc_hwcaps_priorities_allocated = length; in glibc_hwcaps_priorities_init() 115 const uint32_t *left_end = left + length; in glibc_hwcaps_priorities_init() 154 glibc_hwcaps_priorities_length = length; in glibc_hwcaps_priorities_init()
|
A D | dl-main.h | 48 size_t length; member
|
A D | tst-audit19b.c | 77 FILE *out = fmemopen (result.err.buffer, result.err.length, "r"); in do_test()
|
A D | tst-dl-hwcaps_split.c | 35 split.split.segment, split.split.length); in check_split_masked() 52 split.segment, split.length); in check_split()
|
A D | dl-usage.c | 152 _dl_write (STDOUT_FILENO, split->segment, split->length); in print_hwcaps_subdirectories_name() 184 split.segment, split.length); in print_hwcaps_subdirectories()
|
A D | pldd.c | 117 exe.data, exe.length)) == exe.length) in main() 127 snprintf (exe.data, exe.length, "<program name undetermined>"); in main()
|
A D | tst-audit18.c | 106 FILE *out = fmemopen (result.err.buffer, result.err.length, "r"); in do_test()
|
A D | tst-audit22.c | 98 FILE *out = fmemopen (result.err.buffer, result.err.length, "r"); in do_test()
|
A D | tst-pldd.c | 112 FILE *out = fmemopen (pldd.out.buffer, pldd.out.length, "r"); in do_test()
|
A D | pldd-xx.c | 187 ssize_t n = pread (memfd, tmpbuf.data, tmpbuf.length, name_offset); in E()
|
A D | rtld.c | 201 list->length = 0; in audit_list_init() 213 if (list->length == array_length (list->audit_strings)) in audit_list_add_string() 216 list->audit_strings[list->length++] = string; in audit_list_add_string() 220 if (list->length == 1) in audit_list_add_string() 247 if (list->current_index == list->length) in audit_list_next() 1752 if (state.audit_list.length > 0) in dl_main()
|