Searched refs:pathLength (Results 1 – 1 of 1) sorted by relevance
383 size_t pathLength = sa_len - offsetof(struct sockaddr_un, sun_path); in getUnixSocketPath() local385 jbyteArray javaSunPath = env->NewByteArray(pathLength); in getUnixSocketPath()390 if (pathLength > 0) { in getUnixSocketPath()391 env->SetByteArrayRegion(javaSunPath, 0, pathLength, in getUnixSocketPath()684 jsize pathLength = env->GetArrayLength(javaSunPath); in javaUnixSocketAddressToSockaddr() local685 if ((size_t) pathLength > sizeof(sockaddr_un::sun_path)) { in javaUnixSocketAddressToSockaddr()688 sizeof(sockaddr_un::sun_path), pathLength); in javaUnixSocketAddressToSockaddr()691 env->GetByteArrayRegion(javaSunPath, 0, pathLength, (jbyte*) un_addr->sun_path); in javaUnixSocketAddressToSockaddr()695 sa_len = offsetof(struct sockaddr_un, sun_path) + pathLength; in javaUnixSocketAddressToSockaddr()