Home
last modified time | relevance | path

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

/external/dbus/dbus/
Ddbus-sysdeps-unix.c425 size_t path_len; in _dbus_connect_unix_socket() local
443 path_len = strlen (path); in _dbus_connect_unix_socket()
449 path_len++; /* Account for the extra nul byte added to the start of sun_path */ in _dbus_connect_unix_socket()
451 if (path_len > _DBUS_MAX_SUN_PATH_LENGTH) in _dbus_connect_unix_socket()
459 strncpy (&addr.sun_path[1], path, path_len); in _dbus_connect_unix_socket()
470 if (path_len > _DBUS_MAX_SUN_PATH_LENGTH) in _dbus_connect_unix_socket()
478 strncpy (addr.sun_path, path, path_len); in _dbus_connect_unix_socket()
481 … (fd, (struct sockaddr*) &addr, _DBUS_STRUCT_OFFSET (struct sockaddr_un, sun_path) + path_len) < 0) in _dbus_connect_unix_socket()
562 size_t path_len; in _dbus_listen_unix_socket() local
601 path_len = strlen (path); in _dbus_listen_unix_socket()
[all …]
Ddbus-object-tree.h57 int *path_len);
Ddbus-object-tree.c1061 int *path_len) in _dbus_decompose_path() argument
1135 if (path_len) in _dbus_decompose_path()
1136 *path_len = n_components; in _dbus_decompose_path()
/external/qemu/
Dblock-vvfat.c1732 int path_len = strlen(path); in check_directory_consistency() local
1735 assert(path_len < PATH_MAX); /* len was tested before! */ in check_directory_consistency()
1737 path2[path_len] = '/'; in check_directory_consistency()
1738 path2[path_len + 1] = '\0'; in check_directory_consistency()
1806 if (path_len + 1 + lfn.len >= PATH_MAX) { in check_directory_consistency()
1810 pstrcpy(path2 + path_len + 1, sizeof(path2) - path_len - 1, in check_directory_consistency()
Dtrace.c136 int ii, len, base_len, dir_len, path_len, qtrace_len; in create_trace_path() local
165 path_len = dir_len + base_len + qtrace_len + strlen(ext) + 1; in create_trace_path()
166 fname = malloc(path_len); in create_trace_path()