Home
last modified time | relevance | path

Searched refs:path_len (Results 1 – 12 of 12) sorted by relevance

/external/strace/
Dsocketutils.c245 size_t path_len = 0; in unix_parse_response() local
258 if (!path_len) { in unix_parse_response()
259 path_len = RTA_PAYLOAD(attr); in unix_parse_response()
260 if (path_len > UNIX_PATH_MAX) in unix_parse_response()
261 path_len = UNIX_PATH_MAX; in unix_parse_response()
262 memcpy(path, RTA_DATA(attr), path_len); in unix_parse_response()
263 path[path_len] = '\0'; in unix_parse_response()
277 if (peer || path_len) { in unix_parse_response()
281 if (path_len) { in unix_parse_response()
284 print_quoted_string(path + 1, path_len, in unix_parse_response()
[all …]
Dutil.c509 const size_t path_len = strlen(path); local
514 path[path_len - 1] == ']') {
528 print_quoted_string(path, path_len,
/external/rootdev/
Drootdev.c143 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/curl/lib/
Dcurl_addrinfo.c484 size_t path_len; in Curl_unix2addr() local
494 path_len = strlen(path); in Curl_unix2addr()
495 if(path_len >= sizeof(sa_un->sun_path)) { in Curl_unix2addr()
506 memcpy(sa_un->sun_path, path, path_len + 1); /* copy NUL byte */ in Curl_unix2addr()
/external/webrtc/webrtc/base/
Dwin32filesystem.cc427 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/dbus/dbus/
Ddbus-sysdeps-unix.c791 size_t path_len; in _dbus_connect_unix_socket() local
809 path_len = strlen (path); in _dbus_connect_unix_socket()
815 path_len++; /* Account for the extra nul byte added to the start of sun_path */ in _dbus_connect_unix_socket()
817 if (path_len > _DBUS_MAX_SUN_PATH_LENGTH) in _dbus_connect_unix_socket()
825 strncpy (&addr.sun_path[1], path, path_len); in _dbus_connect_unix_socket()
836 if (path_len > _DBUS_MAX_SUN_PATH_LENGTH) in _dbus_connect_unix_socket()
844 strncpy (addr.sun_path, path, path_len); in _dbus_connect_unix_socket()
847 … (fd, (struct sockaddr*) &addr, _DBUS_STRUCT_OFFSET (struct sockaddr_un, sun_path) + path_len) < 0) in _dbus_connect_unix_socket()
1016 size_t path_len; in _dbus_listen_unix_socket() local
1056 path_len = strlen (path); in _dbus_listen_unix_socket()
[all …]
Ddbus-object-tree.h59 int *path_len);
Ddbus-object-tree.c1089 int *path_len) in _dbus_decompose_path() argument
1165 if (path_len) in _dbus_decompose_path()
1166 *path_len = n_components; in _dbus_decompose_path()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc443 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/
Dwps_upnp.c321 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/
Dsemanage_store.c134 int path_len; member
2631 temp->path_len = regex_len; in semanage_fc_sort()
2690 i += current->path_len + 1; /* +1 for a tab */ in semanage_fc_sort()
2713 i = current->path_len + 1; /* +1 for tab */ in semanage_fc_sort()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp452 DWORD path_len = ::GetWindowsDirectoryA(windows_path, MAX_PATH); in CreateDefault() local
453 if (path_len > 0 && path_len < MAX_PATH) { in CreateDefault()