Home
last modified time | relevance | path

Searched refs:filename_len (Results 1 – 7 of 7) sorted by relevance

/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc120 size_t filename_len = my_strlen(mapping.name); in ElfFileIdentifierForMapping() local
121 if (filename_len >= NAME_MAX) { in ElfFileIdentifierForMapping()
125 my_memcpy(filename, mapping.name, filename_len); in ElfFileIdentifierForMapping()
126 filename[filename_len] = '\0'; in ElfFileIdentifierForMapping()
136 mappings_[mapping_id]->name[filename_len - in ElfFileIdentifierForMapping()
200 size_t filename_len = my_strlen(mapping.name); in ElfFileSoName() local
201 if (filename_len >= NAME_MAX) { in ElfFileSoName()
207 my_memcpy(filename, mapping.name, filename_len); in ElfFileSoName()
208 filename[filename_len] = '\0'; in ElfFileSoName()
/external/elfutils/src/tests/
Dbacktrace-data.c107 size_t filename_len = 0; in maps_lookup() local
116 filename = realloc (filename, filename_len + 2); in maps_lookup()
118 filename[filename_len++] = c; in maps_lookup()
119 filename[filename_len] = '\0'; in maps_lookup()
/external/libedit/src/
Dfilecomplete.c149 static size_t filename_len = 0; in fn_filename_completion_function() local
219 filename_len = filename ? strlen(filename) : 0; in fn_filename_completion_function()
228 if (filename_len == 0) in fn_filename_completion_function()
234 && strlen(entry->d_name) >= filename_len in fn_filename_completion_function()
236 filename_len) == 0) in fn_filename_completion_function()
/external/compiler-rt/lib/profile/
DGCDAProfiling.c170 size_t filename_len, prefix_len; in mangle_filename() local
200 filename_len = strlen(fname); in mangle_filename()
202 new_filename = malloc(prefix_len + 1 + filename_len + 1); in mangle_filename()
207 memcpy(new_filename + prefix_len, fname, filename_len + 1); in mangle_filename()
/external/compiler-rt/lib/asan/
Dasan_mac.cc179 uptr filename_len = piece_len; in MaybeReexec() local
182 filename_len = piece_len - (filename_start - piece_start); in MaybeReexec()
189 if ((dylib_name_len != filename_len) || in MaybeReexec()
/external/strace/
Dstrace.c1161 size_t filename_len; in startup_child() local
1167 filename_len = strlen(filename); in startup_child()
1169 if (filename_len > sizeof(pathname) - 1) { in startup_child()
1210 if (filename_len + len > sizeof(pathname) - 1) in startup_child()
/external/clang/tools/c-index-test/
Dc-index-test.c169 int filename_len; in parse_remapped_files_with_opt() local
218 filename_len = sep - arg_string; in parse_remapped_files_with_opt()
219 filename = (char *)malloc(filename_len + 1); in parse_remapped_files_with_opt()
220 memcpy(filename, arg_string, filename_len); in parse_remapped_files_with_opt()
221 filename[filename_len] = 0; in parse_remapped_files_with_opt()