Home
last modified time | relevance | path

Searched refs:len (Results 1 – 22 of 22) sorted by relevance

/elf/
A Ddl-tunables.c75 int len = 0; in get_next_env() local
77 while (envline[len] != '\0' && envline[len] != '=') in get_next_env()
78 len++; in get_next_env()
184 while (p[len] != '=' && p[len] != ':' && p[len] != '\0') in parse_tunables()
185 len++; in parse_tunables()
200 p += len + 1; in parse_tunables()
208 len = 0; in parse_tunables()
210 while (p[len] != ':' && p[len] != '\0') in parse_tunables()
211 len++; in parse_tunables()
255 p += len + 1; in parse_tunables()
[all …]
A Ddl-origin.c35 size_t len = strlen (GLRO(dl_origin_path)); in _dl_get_origin() local
36 result = (char *) malloc (len + 1); in _dl_get_origin()
41 char *cp = __mempcpy (result, GLRO(dl_origin_path), len); in _dl_get_origin()
A Dtst-array5.c13 size_t len = strlen (p); in preinit_0() local
15 write (STDOUT_FILENO, p, len); in preinit_0()
34 size_t len = strlen (p); in init_0() local
36 write (STDOUT_FILENO, p, len); in init_0()
A Ddl-hwcaps.c85 target->next_pair->len in copy_hwcaps()
226 temp[m].len = 3; in _dl_important_hwcaps()
233 total += temp[0].len + 1; in _dl_important_hwcaps()
236 total += temp[0].len + temp[cnt - 1].len + 2; in _dl_important_hwcaps()
241 total += temp[n].len + 1; in _dl_important_hwcaps()
284 result[0].len = temp[0].len + 1; in _dl_important_hwcaps()
286 result[1].len = 0; in _dl_important_hwcaps()
290 *max_capstrlen = result[0].len; in _dl_important_hwcaps()
337 result[n].len = 0; in _dl_important_hwcaps()
346 rp->len += temp[n].len + 1; in _dl_important_hwcaps()
[all …]
A Dtst-array5dep.c13 size_t len = strlen (p); in init_0() local
15 write (STDOUT_FILENO, p, len); in init_0()
A Dreadlib.c68 size_t len = strlen (name); in is_gdb_python_file() local
69 return len > 7 && strcmp (name + len - 7, "-gdb.py") == 0; in is_gdb_python_file()
164 size_t len = MIN (statbuf.st_size, 512); in process_file() local
165 if (memmem (file_contents, len, "GROUP", 5) == NULL in process_file()
166 && memmem (file_contents, len, "GNU ld script", 13) == NULL in process_file()
A Ddl-dst.h27 #define DL_DST_REQUIRED(l, name, len, cnt) \ argument
29 size_t __len = (len); \
A Ddl-machine-reject-phdr.h28 const char *buf, size_t len, struct link_map *map, in elf_machine_reject_phdr_p() argument
A Ddl-diagnostics.c64 print_string_length (const char *s, size_t len) in print_string_length() argument
67 for (size_t i = 0; i < len; ++i) in print_string_length()
214 size_t len = strlen (e); in print_paths() local
216 print_string_length (e, len); in print_paths()
219 e += len + 1; in print_paths()
A Dchroot_canon.c127 size_t len; in chroot_canon() local
147 len = strlen (end); in chroot_canon()
148 if (len >= PATH_MAX - n) in chroot_canon()
155 memmove (&extra_buf[n], end, len + 1); in chroot_canon()
A Ddl-fptr.c63 .len = sizeof (local.boot_fdescs) / sizeof (local.boot_fdescs[0]),
90 new_table->len in new_fdesc_table()
112 if (old >= root->len) in make_fdesc()
174 size_t len; in ElfW() local
179 len = ((strtab - (char *) symtab) in ElfW()
181 size = ((len * sizeof (fptr_table[0]) + GLRO(dl_pagesize) - 1) in ElfW()
196 map->l_mach.fptr_table_len = len; in ElfW()
198 __munmap (fptr_table, len * sizeof (fptr_table[0])); in ElfW()
A Dtst-align2.c90 ssize_t len; in do_test() local
92 while ((len = TEMP_FAILURE_RETRY (read (fds[0], &c, 1))) > 0) in do_test()
A Ddl-load.c52 ssize_t len; member
130 if (len == 0) in is_trusted_path_normalize()
249 size_t len; in _dl_dst_count() local
292 size_t len; in _dl_dst_substitute() local
319 && (input[len] == '\0' || input[len] == '/'))) in _dl_dst_substitute()
335 input += len; in _dl_dst_substitute()
493 if (len == 0) in fillin_rpath()
500 while (len > 1 && cp[len - 1] == '/') in fillin_rpath()
501 --len; in fillin_rpath()
504 if (len > 0 && cp[len - 1] != '/') in fillin_rpath()
[all …]
A Dtlsdeschtab.h56 if (idx < listp->len) in map_generation()
67 idx -= listp->len; in map_generation()
A Ddl-tls.c159 if (result - disp < runp->len) in _dl_assign_tls_modid()
166 disp += runp->len; in _dl_assign_tls_modid()
736 while (idx >= listp->len) in _dl_update_slotinfo()
738 idx -= listp->len; in _dl_update_slotinfo()
822 total += listp->len; in _dl_update_slotinfo()
854 while (idx >= listp->len) in tls_get_addr_tail()
856 idx -= listp->len; in tls_get_addr_tail()
979 while (idx >= listp->len) in _dl_tls_get_addr_soft()
981 idx -= listp->len; in _dl_tls_get_addr_soft()
1018 if (idx < listp->len) in _dl_add_to_slotinfo()
[all …]
A Ddl-object.c208 size_t len = realname_len; in _dl_new_object() local
217 len += 128; in _dl_new_object()
218 new_origin = (char *) realloc (origin, len); in _dl_new_object()
224 while ((result = __getcwd (origin, len - realname_len)) == NULL in _dl_new_object()
A Dldconfig.c211 size_t len; in path_hwcap() local
213 len = strlen (str); in path_hwcap()
214 if (str[len] == '/') in path_hwcap()
215 str[len] = '\0'; in path_hwcap()
869 if (len > file_name_len) in search_dir()
871 file_name_len = len; in search_dir()
880 if (len > real_file_name_len) in search_dir()
882 real_file_name_len = len; in search_dir()
1046 len = strlen (real_base_name); in search_dir()
1047 if (len < strlen (".so") in search_dir()
[all …]
A Drtld.c192 if (len >= SECURE_NAME_LIMIT || memchr (p, '/', len) != NULL) in strong_alias()
257 if (len > 0 && len < sizeof (list->fname)) in audit_list_next()
899 if (len > 0 && len < sizeof (fname)) in handle_preload_list()
908 p += len; in handle_preload_list()
2578 size_t len = 1; in process_dl_debug() local
2580 while (dl_debug[len] != '\0' && dl_debug[len] != ' ' in process_dl_debug()
2581 && dl_debug[len] != ',' && dl_debug[len] != ':') in process_dl_debug()
2582 ++len; in process_dl_debug()
2585 if (debopts[cnt].len == len in process_dl_debug()
2651 while (envline[len] != '\0' && envline[len] != '=') in process_envvars()
[all …]
A Ddl-reloc.c198 size_t len; in _dl_relocate_object() member
260 newp->len = ALIGN_UP (ph->p_vaddr + ph->p_memsz, GLRO(dl_pagesize)) in _dl_relocate_object()
273 if (__mprotect (newp->start, newp->len, newp->prot|PROT_WRITE) < 0) in _dl_relocate_object()
320 if (__mprotect (textrels->start, textrels->len, textrels->prot) < 0) in _dl_relocate_object()
327 CLEAR_CACHE (textrels->start, textrels->start + textrels->len); in _dl_relocate_object()
A Dcache.c981 size_t len = soname ? strlen (soname) + 1 : 0; in insert_to_aux_cache() local
982 entry = xmalloc (sizeof (struct aux_cache_entry) + len); in insert_to_aux_cache()
989 entry->soname = memcpy ((char *) (entry + 1), soname, len); in insert_to_aux_cache()
1119 size_t len = strlen (entry->soname) + 1; in save_aux_cache() local
1120 str = mempcpy (str, entry->soname, len); in save_aux_cache()
1121 str_offset += len; in save_aux_cache()
A Ddl-close.c53 if (idx - disp >= listp->len) in remove_slotinfo()
64 if (remove_slotinfo (idx, listp->next, disp + listp->len, in remove_slotinfo()
70 idx = disp + listp->len; in remove_slotinfo()
A Ddl-libc.c246 for (cnt = 0; cnt < (*elemp)->len; ++cnt) in free_slotinfo()

Completed in 41 milliseconds