Searched refs:path_len (Results 1 – 5 of 5) sorted by relevance
/external/dbus/dbus/ |
D | dbus-sysdeps-unix.c | 425 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 …]
|
D | dbus-object-tree.h | 57 int *path_len);
|
D | dbus-object-tree.c | 1061 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/ |
D | block-vvfat.c | 1732 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()
|
D | trace.c | 136 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()
|