Searched refs:path_len (Results 1 – 6 of 6) sorted by relevance
/external/linux-tools-perf/src/tools/perf/util/ |
D | path.c | 138 int path_len = strlen(path), suffix_len = strlen(suffix); in strip_path_suffix() local 141 if (!path_len) in strip_path_suffix() 144 if (is_dir_sep(path[path_len - 1])) { in strip_path_suffix() 147 path_len = chomp_trailing_dir_sep(path, path_len); in strip_path_suffix() 150 else if (path[--path_len] != suffix[--suffix_len]) in strip_path_suffix() 154 if (path_len && !is_dir_sep(path[path_len - 1])) in strip_path_suffix() 156 return strndup(path, chomp_trailing_dir_sep(path, path_len)); in strip_path_suffix()
|
/external/strace/ |
D | socketutils.c | 217 size_t path_len = 0; in unix_parse_response() local 230 if (!path_len) { in unix_parse_response() 231 path_len = RTA_PAYLOAD(attr); in unix_parse_response() 232 if (path_len > UNIX_PATH_MAX) in unix_parse_response() 233 path_len = UNIX_PATH_MAX; in unix_parse_response() 234 memcpy(path, RTA_DATA(attr), path_len); in unix_parse_response() 235 path[path_len] = '\0'; in unix_parse_response() 249 if (peer || path_len) { in unix_parse_response() 253 if (path_len) { in unix_parse_response() 256 print_quoted_string(path + 1, path_len, in unix_parse_response() [all …]
|
D | util.c | 469 const size_t path_len = strlen(path); in printfd() local 474 path[path_len - 1] == ']') { in printfd() 488 print_quoted_string(path, path_len, in printfd()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 443 const size_t path_len = my_strlen(path); in HandleDeletedFileInMapping() local 444 if (path_len < kDeletedSuffixLen + 2) in HandleDeletedFileInMapping() 446 if (my_strncmp(path + path_len - kDeletedSuffixLen, kDeletedSuffix, in HandleDeletedFileInMapping()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp.c | 321 size_t host_len, path_len; in subscr_addr_add_url() local 379 path_len = path ? os_strlen(path) : 0; in subscr_addr_add_url() 380 alloc_len = host_len + 1 + 1 + path_len + 1; in subscr_addr_add_url() 403 os_memcpy(mem, path, path_len); in subscr_addr_add_url()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 130 int path_len; member 2637 temp->path_len = regex_len; in semanage_fc_sort() 2696 i += current->path_len + 1; /* +1 for a tab */ in semanage_fc_sort() 2719 i = current->path_len + 1; /* +1 for tab */ in semanage_fc_sort()
|