/external/strace/tests/ |
D | inode_of_sockfd.c | 48 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd() local 49 if (path_len < 0) in inode_of_sockfd() 51 path[path_len] = '\0'; in inode_of_sockfd() 56 && path[path_len - 1] == ']'); in inode_of_sockfd()
|
/external/strace/tests-mx32/ |
D | inode_of_sockfd.c | 48 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd() local 49 if (path_len < 0) in inode_of_sockfd() 51 path[path_len] = '\0'; in inode_of_sockfd() 56 && path[path_len - 1] == ']'); in inode_of_sockfd()
|
/external/strace/tests-m32/ |
D | inode_of_sockfd.c | 48 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd() local 49 if (path_len < 0) in inode_of_sockfd() 51 path[path_len] = '\0'; in inode_of_sockfd() 56 && path[path_len - 1] == ']'); in inode_of_sockfd()
|
/external/dtc/libfdt/ |
D | fdt_overlay.c | 56 int path_len; in overlay_get_target() local 67 path = fdt_getprop(fdto, fragment, "target-path", &path_len); in overlay_get_target() 76 if (path_len == -FDT_ERR_NOTFOUND) in overlay_get_target() 79 return path_len; in overlay_get_target() 352 const char *path, uint32_t path_len, in overlay_fixup_one_phandle() argument 378 fixup_off = fdt_path_offset_namelen(fdto, path, path_len); in overlay_fixup_one_phandle() 429 uint32_t path_len, name_len; in overlay_fixup_phandle() local 447 path_len = sep - path; in overlay_fixup_phandle() 448 if (path_len == (fixup_len - 1)) in overlay_fixup_phandle() 451 fixup_len -= path_len + 1; in overlay_fixup_phandle() [all …]
|
/external/strace/ |
D | socketutils.c | 274 size_t path_len = 0; in unix_parse_response() local 289 if (!path_len) { in unix_parse_response() 290 path_len = RTA_PAYLOAD(attr); in unix_parse_response() 291 if (path_len > UNIX_PATH_MAX) in unix_parse_response() 292 path_len = UNIX_PATH_MAX; in unix_parse_response() 293 memcpy(path, RTA_DATA(attr), path_len); in unix_parse_response() 294 path[path_len] = '\0'; in unix_parse_response() 308 if (!peer && !path_len) in unix_parse_response() 318 if (path_len) { in unix_parse_response() 319 char *outstr = alloca(4 * path_len + 4); in unix_parse_response() [all …]
|
D | sockaddr.c | 72 const int path_len = un_len - SIZEOF_SA_FAMILY; in print_sockaddr_data_un() local 76 print_quoted_string(sa_un->sun_path, path_len + 1, in print_sockaddr_data_un() 80 print_quoted_string(sa_un->sun_path + 1, path_len - 1, 0); in print_sockaddr_data_un()
|
/external/rootdev/ |
D | rootdev.c | 143 size_t path_len = 0; in match_sysfs_device() local 161 path_len = snprintf(working_path, working_path_size, "%s/%s/dev", in match_sysfs_device() 164 if (path_len != candidate_len + basedir_len + 5) in match_sysfs_device() 347 int path_len; in rootdev_get_path() local 355 path_len = snprintf(path, size, "%s/%s", dev_path, device); in rootdev_get_path() 356 if (path_len != strlen(dev_path) + 1 + strlen(device)) in rootdev_get_path()
|
/external/libchrome/base/ |
D | os_compat_android.cc | 121 const int path_len = strlen(path); in mkdtemp() local 126 if (!base::StringPiece(path, path_len).ends_with(kSuffix)) { in mkdtemp() 161 path[path_len - kSuffixLen + pos] = rand_char; in mkdtemp()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 483 size_t path_len; in Curl_unix2addr() local 493 path_len = strlen(path); in Curl_unix2addr() 494 if(path_len >= sizeof(sa_un->sun_path)) { in Curl_unix2addr() 505 memcpy(sa_un->sun_path, path, path_len + 1); /* copy NUL byte */ in Curl_unix2addr()
|
/external/e2fsprogs/misc/ |
D | create_inode.c | 694 size_t path_len; member 700 if (strlen(file) + target->path_len + 1 > target->path_max_len) { in path_append() 706 target->path_len += sprintf(target->path + target->path_len, "/%s", in path_append() 776 cur_dir_path_len = target->path_len; in __populate_fs() 938 target->path_len = cur_dir_path_len; in __populate_fs() 939 target->path[target->path_len] = 0; in __populate_fs() 969 file_info.path_len = 0; in populate_fs2()
|
/external/webrtc/webrtc/base/ |
D | win32filesystem.cc | 427 int path_len = 0; in GetCurrentDirectory() local 430 int needed = ::GetCurrentDirectory(path_len, path.get()); in GetCurrentDirectory() 436 if (needed <= path_len) { in GetCurrentDirectory() 442 path_len = needed; in GetCurrentDirectory()
|
/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 | 136 int path_len; member 2674 temp->path_len = regex_len; in semanage_fc_sort() 2733 i += current->path_len + 1; /* +1 for a tab */ in semanage_fc_sort() 2756 i = current->path_len + 1; /* +1 for tab */ in semanage_fc_sort()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_device.cpp | 701 DWORD path_len = ::GetWindowsDirectoryA(windows_path, MAX_PATH); in CreateDefault() local 702 if (path_len > 0 && path_len < MAX_PATH) { in CreateDefault()
|