Home
last modified time | relevance | path

Searched refs:filename_len (Results 1 – 10 of 10) 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/tests/
Dbacktrace-data.c112 size_t filename_len = 0; in maps_lookup() local
121 filename = realloc (filename, filename_len + 2); in maps_lookup()
123 filename[filename_len++] = c; in maps_lookup()
124 filename[filename_len] = '\0'; in maps_lookup()
/external/compiler-rt/lib/profile/
DGCDAProfiling.c173 size_t filename_len, prefix_len; in mangle_filename() local
203 filename_len = strlen(fname); in mangle_filename()
205 new_filename = malloc(prefix_len + 1 + filename_len + 1); in mangle_filename()
210 memcpy(new_filename + prefix_len, fname, filename_len + 1); in mangle_filename()
/external/u-boot/tools/easylogo/
Deasylogo.c345 size_t filename_len = strlen(filename); in image_save_header() local
346 char *compfilename = xmalloc(filename_len + 20); in image_save_header()
347 char *compcmd = xmalloc(filename_len + 50); in image_save_header()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mac.cc707 uptr filename_len = piece_len; in MaybeReexec() local
710 filename_len = piece_len - (filename_start - piece_start); in MaybeReexec()
717 if ((dylib_name_len != filename_len) || in MaybeReexec()
/external/mesa3d/src/intel/common/
Dgen_decoder.c605 size_t len, filename_len = strlen(path) + 20; in gen_spec_load_from_path() local
606 char *filename = malloc(filename_len); in gen_spec_load_from_path()
610 len = snprintf(filename, filename_len, "%s/gen%i.xml", in gen_spec_load_from_path()
612 assert(len < filename_len); in gen_spec_load_from_path()
/external/strace/
Dstrace.c1304 size_t filename_len; in startup_child() local
1310 filename_len = strlen(filename); in startup_child()
1312 if (filename_len > sizeof(pathname) - 1) { in startup_child()
1351 if (filename_len + len > sizeof(pathname) - 1) in startup_child()
/external/perf_data_converter/src/quipper/
Dperf_reader.cc127 size_t filename_len = GetUint64AlignedStringLength(filename); in CreateBuildIDEvent() local
128 size_t size = sizeof(struct build_id_event) + filename_len; in CreateBuildIDEvent()
135 snprintf(event->filename, filename_len, "%s", filename.c_str()); in CreateBuildIDEvent()
136 memset(event->filename + filename.size(), 0, filename_len - filename.size()); in CreateBuildIDEvent()
/external/clang/tools/c-index-test/
Dc-index-test.c175 int filename_len; in parse_remapped_files_with_opt() local
224 filename_len = sep - arg_string; in parse_remapped_files_with_opt()
225 filename = (char *)malloc(filename_len + 1); in parse_remapped_files_with_opt()
226 memcpy(filename, arg_string, filename_len); in parse_remapped_files_with_opt()
227 filename[filename_len] = 0; in parse_remapped_files_with_opt()
/external/python/cpython3/Modules/
Dposixmodule.c12028 join_path_filename(const char *path_narrow, const char* filename, Py_ssize_t filename_len) in join_path_filename() argument
12042 if (filename_len == -1) in join_path_filename()
12043 filename_len = strlen(filename); in join_path_filename()
12046 size = path_len + 1 + filename_len + 1; in join_path_filename()