Home | History | Annotate | Download | only in native

Lines Matching refs:valueLength

1410         ssize_t valueLength;
1411 if ((valueLength = getxattr(path.c_str(), name.c_str(), NULL, 0)) < 0) {
1417 std::vector<char> buf(valueLength);
1418 if ((valueLength = getxattr(path.c_str(), name.c_str(), buf.data(), valueLength)) < 0) {
1427 jbyteArray array = env->NewByteArray(valueLength);
1431 env->SetByteArrayRegion(array, 0, valueLength, reinterpret_cast<const jbyte*>(buf.data()));
1653 ssize_t valueLength;
1654 if ((valueLength = listxattr(path.c_str(), NULL, 0)) < 0) {
1660 std::string buf(valueLength, '\0');
1661 if ((valueLength = listxattr(path.c_str(), &buf[0], valueLength)) < 0) {
1672 buf.resize(valueLength > 0 ? valueLength - 1 : 0); // Remove the trailing NULL character.
2229 size_t valueLength = env->GetArrayLength(javaValue);
2230 int res = setxattr(path.c_str(), name.c_str(), value.get(), valueLength, flags);