Home
last modified time | relevance | path

Searched refs:filename_len (Results 1 – 13 of 13) 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/ltp/testcases/kernel/security/integrity/ima/src/
Dima_measure.c58 int filename_len; member
196 fread(&template.filename_len, in main()
197 sizeof template.filename_len, 1, fp); in main()
198 fread(template.ima_data.filename, template.filename_len, 1, fp); in main()
/external/syslinux/gpxe/src/arch/i386/interface/pxe/
Dpxe_file.c54 size_t filename_len; in pxenv_file_open() local
62 filename_len = strlen_user ( filename, 0 ); in pxenv_file_open()
64 char uri_string[ filename_len + 1 ]; in pxenv_file_open()
/external/elfutils/tests/
Dbacktrace-data.c109 size_t filename_len = 0; in maps_lookup() local
118 filename = realloc (filename, filename_len + 2); in maps_lookup()
120 filename[filename_len++] = c; in maps_lookup()
121 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.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/syslinux/memdisk/
Dunzip.c212 uint16_t filename_len; member
322 offset += pkzh->filename_len; in check_zip()
/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/tools/
Ddecoder.c557 size_t len, filename_len = strlen(path) + 20; in gen_spec_load_from_path() local
558 char *filename = malloc(filename_len); in gen_spec_load_from_path()
562 len = snprintf(filename, filename_len, "%s/gen%i.xml", in gen_spec_load_from_path()
564 assert(len < filename_len); in gen_spec_load_from_path()
/external/strace/
Dstrace.c1295 size_t filename_len; in startup_child() local
1301 filename_len = strlen(filename); in startup_child()
1303 if (filename_len > sizeof(pathname) - 1) { in startup_child()
1342 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.c11596 join_path_filename(const char *path_narrow, const char* filename, Py_ssize_t filename_len)
11610 if (filename_len == -1)
11611 filename_len = strlen(filename);
11614 size = path_len + 1 + filename_len + 1;