/external/dtc/libfdt/ |
D | fdt_overlay.c | 63 int path_len = 0, ret; in overlay_get_target() local 73 path = fdt_getprop(fdto, fragment, "target-path", &path_len); in overlay_get_target() 77 ret = path_len; in overlay_get_target() 88 if (ret < 0 && path_len == -FDT_ERR_NOTFOUND) in overlay_get_target() 369 const char *path, uint32_t path_len, in overlay_fixup_one_phandle() argument 395 fixup_off = fdt_path_offset_namelen(fdto, path, path_len); in overlay_fixup_one_phandle() 446 uint32_t path_len, name_len; in overlay_fixup_phandle() local 464 path_len = sep - path; in overlay_fixup_phandle() 465 if (path_len == (fixup_len - 1)) in overlay_fixup_phandle() 468 fixup_len -= path_len + 1; in overlay_fixup_phandle() [all …]
|
/external/strace/tests-mx32/ |
D | inode_of_sockfd.c | 49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd() local 50 if (path_len < 0) in inode_of_sockfd() 52 path[path_len] = '\0'; in inode_of_sockfd() 57 && path[path_len - 1] == ']'); in inode_of_sockfd()
|
/external/strace/tests/ |
D | inode_of_sockfd.c | 49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd() local 50 if (path_len < 0) in inode_of_sockfd() 52 path[path_len] = '\0'; in inode_of_sockfd() 57 && path[path_len - 1] == ']'); in inode_of_sockfd()
|
/external/strace/tests-m32/ |
D | inode_of_sockfd.c | 49 const ssize_t path_len = readlink(linkpath, path, sizeof(path) - 1); in inode_of_sockfd() local 50 if (path_len < 0) in inode_of_sockfd() 52 path[path_len] = '\0'; in inode_of_sockfd() 57 && path[path_len - 1] == ']'); in inode_of_sockfd()
|
/external/ltp/lib/ |
D | tst_device.c | 57 static int set_dev_path(int dev, char *path, size_t path_len) in set_dev_path() argument 63 snprintf(path, path_len, dev_variants[i], dev); in set_dev_path() 72 int tst_find_free_loopdev(char *path, size_t path_len) in tst_find_free_loopdev() argument 86 set_dev_path(rc, path, path_len); in tst_find_free_loopdev() 129 strncpy(path, buf, path_len); in tst_find_free_loopdev() 130 path[path_len-1] = '\0'; in tst_find_free_loopdev() 389 int find_stat_file(const char *dev, char *path, size_t path_len) in find_stat_file() argument 393 snprintf(path, path_len, "/sys/block/%s/stat", devname); in find_stat_file() 402 snprintf(path, path_len, "/sys/block/%s/%s/stat", ent->d_name, devname); in find_stat_file()
|
/external/strace/ |
D | socketutils.c | 295 size_t path_len = 0; in unix_parse_response() local 310 if (!path_len) { in unix_parse_response() 311 path_len = RTA_PAYLOAD(attr); in unix_parse_response() 312 if (path_len > UNIX_PATH_MAX) in unix_parse_response() 313 path_len = UNIX_PATH_MAX; in unix_parse_response() 314 memcpy(path, RTA_DATA(attr), path_len); in unix_parse_response() 315 path[path_len] = '\0'; in unix_parse_response() 329 if (!peer && !path_len) in unix_parse_response() 339 if (path_len) { in unix_parse_response() 340 char *outstr = alloca(4 * path_len + 4); in unix_parse_response() [all …]
|
/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 | 122 const int path_len = strlen(path); in mkdtemp() local 127 if (!base::StringPiece(path, path_len).ends_with(kSuffix)) { in mkdtemp() 162 path[path_len - kSuffixLen + pos] = rand_char; in mkdtemp()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 475 size_t path_len; in Curl_unix2addr() local 488 path_len = strlen(path) + 1; in Curl_unix2addr() 489 if(path_len > sizeof(sa_un->sun_path)) { in Curl_unix2addr() 498 ((offsetof(struct sockaddr_un, sun_path) + path_len) & 0x7FFFFFFF); in Curl_unix2addr() 502 memcpy(sa_un->sun_path + 1, path, path_len - 1); in Curl_unix2addr() 504 memcpy(sa_un->sun_path, path, path_len); /* copy NUL byte */ in Curl_unix2addr()
|
/external/drm_hwcomposer/drm/ |
D | ResourceManager.cpp | 38 int path_len = property_get("vendor.hwc.drm.device", path_pattern, in Init() local 41 if (path_pattern[path_len - 1] != '%') { in Init() 44 path_pattern[path_len - 1] = '\0'; in Init()
|
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/ |
D | graphcycles_test.cc | 285 int path_len = graph_cycles.FindPath(id[nodes[from]], id[nodes[to]], in TEST() local 291 ASSERT_EQ(path_len != 0, reachable); in TEST() 292 ASSERT_EQ(path_len != 0, gc_reachable); in TEST() 296 ASSERT_LE(path_len, kMaxNodes + 1); in TEST() 297 if (path_len != 0) { in TEST() 299 ASSERT_EQ(id[nodes[to]], path[path_len-1]); in TEST() 300 for (int i = 1; i < path_len; i++) { in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 285 int path_len = graph_cycles.FindPath(id[nodes[from]], id[nodes[to]], in TEST() local 291 ASSERT_EQ(path_len != 0, reachable); in TEST() 292 ASSERT_EQ(path_len != 0, gc_reachable); in TEST() 296 ASSERT_LE(path_len, kMaxNodes + 1); in TEST() 297 if (path_len != 0) { in TEST() 299 ASSERT_EQ(id[nodes[to]], path[path_len-1]); in TEST() 300 for (int i = 1; i < path_len; i++) { in TEST()
|
/external/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 285 int path_len = graph_cycles.FindPath(id[nodes[from]], id[nodes[to]], in TEST() local 291 ASSERT_EQ(path_len != 0, reachable); in TEST() 292 ASSERT_EQ(path_len != 0, gc_reachable); in TEST() 296 ASSERT_LE(path_len, kMaxNodes + 1); in TEST() 297 if (path_len != 0) { in TEST() 299 ASSERT_EQ(id[nodes[to]], path[path_len-1]); in TEST() 300 for (int i = 1; i < path_len; i++) { in TEST()
|
D | graphcycles.cc | 634 int path_len = 0; in FindPath() local 644 path_len--; in FindPath() 648 if (path_len < max_path_len) { in FindPath() 649 path[path_len] = MakeId(n, rep_->nodes_[n]->version); in FindPath() 651 path_len++; in FindPath() 655 return path_len; in FindPath()
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 285 int path_len = graph_cycles.FindPath(id[nodes[from]], id[nodes[to]], in TEST() local 291 ASSERT_EQ(path_len != 0, reachable); in TEST() 292 ASSERT_EQ(path_len != 0, gc_reachable); in TEST() 296 ASSERT_LE(path_len, kMaxNodes + 1); in TEST() 297 if (path_len != 0) { in TEST() 299 ASSERT_EQ(id[nodes[to]], path[path_len-1]); in TEST() 300 for (int i = 1; i < path_len; i++) { in TEST()
|
D | graphcycles.cc | 634 int path_len = 0; in FindPath() local 644 path_len--; in FindPath() 648 if (path_len < max_path_len) { in FindPath() 649 path[path_len] = MakeId(n, rep_->nodes_[n]->version); in FindPath() 651 path_len++; in FindPath() 655 return path_len; in FindPath()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 285 int path_len = graph_cycles.FindPath(id[nodes[from]], id[nodes[to]], in TEST() local 291 ASSERT_EQ(path_len != 0, reachable); in TEST() 292 ASSERT_EQ(path_len != 0, gc_reachable); in TEST() 296 ASSERT_LE(path_len, kMaxNodes + 1); in TEST() 297 if (path_len != 0) { in TEST() 299 ASSERT_EQ(id[nodes[to]], path[path_len-1]); in TEST() 300 for (int i = 1; i < path_len; i++) { in TEST()
|
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/ |
D | graphcycles_test.cc | 285 int path_len = graph_cycles.FindPath(id[nodes[from]], id[nodes[to]], in TEST() local 291 ASSERT_EQ(path_len != 0, reachable); in TEST() 292 ASSERT_EQ(path_len != 0, gc_reachable); in TEST() 296 ASSERT_LE(path_len, kMaxNodes + 1); in TEST() 297 if (path_len != 0) { in TEST() 299 ASSERT_EQ(id[nodes[to]], path[path_len-1]); in TEST() 300 for (int i = 1; i < path_len; i++) { in TEST()
|
D | graphcycles.cc | 635 int path_len = 0; in FindPath() local 645 path_len--; in FindPath() 649 if (path_len < max_path_len) { in FindPath() 650 path[path_len] = MakeId(n, rep_->nodes_[n]->version); in FindPath() 652 path_len++; in FindPath() 656 return path_len; in FindPath()
|
/external/tensorflow/tensorflow/compiler/xla/service/graphcycles/ |
D | graphcycles_test.cc | 304 int path_len = graph_cycles.FindPath(nodes[from], nodes[to], in TEST() local 311 ASSERT_EQ(path_len != 0, reachable); in TEST() 312 ASSERT_EQ(path_len != 0, gc_reachable); in TEST() 316 ASSERT_LE(path_len, kMaxNodes + 1); in TEST() 317 if (path_len != 0) { in TEST() 319 ASSERT_EQ(nodes[to], path[path_len - 1]); in TEST() 320 for (int i = 1; i < path_len; i++) { in TEST()
|
D | graphcycles.cc | 303 int path_len = 0; in FindPath() local 314 path_len--; in FindPath() 318 if (path_len < max_path_len) { in FindPath() 319 path[path_len] = n; in FindPath() 321 path_len++; in FindPath() 325 return path_len; in FindPath()
|
/external/webrtc/modules/desktop_capture/win/ |
D | full_screen_win_application_handler.cc | 179 DWORD path_len = MAX_PATH; in GetPathByWindowId() local 182 if (::QueryFullProcessImageNameW(process, 0, path, &path_len)) in GetPathByWindowId() 183 result = std::wstring(path, path_len); in GetPathByWindowId()
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | load_system_roots_linux.cc | 76 int path_len = snprintf(path_buffer, MAXPATHLEN, "%s/%s", valid_file_dir, in GetAbsoluteFilePath() local 78 if (path_len == 0) { in GetAbsoluteFilePath()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ |
D | load_system_roots_linux.cc | 82 int path_len = snprintf(path_buffer, MAXPATHLEN, "%s/%s", valid_file_dir, in GetAbsoluteFilePath() local 84 if (path_len == 0) { in GetAbsoluteFilePath()
|
/external/ltp/include/ |
D | tst_device.h | 54 int tst_find_free_loopdev(const char *path, size_t path_len);
|