Lines Matching refs:result

151         // trim result to actual length if required
227 int[] result = new int[count];
235 result[count++] = index++;
242 offsets = result;
287 byte[] result = new byte[len];
288 System.arraycopy(path, lastOffset, result, 0, len);
289 return new UnixPath(getFileSystem(), result);
306 byte[] result = new byte[len];
307 System.arraycopy(path, 0, result, 0, len);
308 return new UnixPath(getFileSystem(), result);
333 // construct result
334 byte[] result = new byte[len];
335 System.arraycopy(path, begin, result, 0, len);
336 return new UnixPath(getFileSystem(), result);
362 // construct result
363 byte[] result = new byte[len];
364 System.arraycopy(path, begin, result, 0, len);
365 return new UnixPath(getFileSystem(), result);
381 byte[] result;
383 result = new byte[childLength + 1];
384 result[0] = '/';
385 System.arraycopy(child, 0, result, 1, childLength);
387 result = new byte[baseLength + 1 + childLength];
388 System.arraycopy(base, 0, result, 0, baseLength);
389 result[base.length] = '/';
390 System.arraycopy(child, 0, result, baseLength+1, childLength);
392 return result;
400 byte[] result = resolve(path, other);
401 return new UnixPath(getFileSystem(), result);
444 // result is a "../" for each remaining name in base
452 byte[] result = new byte[len];
455 result[pos++] = (byte)'.';
456 result[pos++] = (byte)'.';
458 if (dotdots > 1) result[pos++] = (byte)'/';
460 result[pos++] = (byte)'/';
464 System.arraycopy(remainder.path, 0, result, pos, remainder.path.length);
465 return new UnixPath(getFileSystem(), result);
467 // no remaining names in other so result is simply a sequence of ".."
468 byte[] result = new byte[dotdots*3 - 1];
471 result[pos++] = (byte)'.';
472 result[pos++] = (byte)'.';
475 result[pos++] = (byte)'/';
478 return new UnixPath(getFileSystem(), result);
580 // compute length of result
589 byte[] result = new byte[len];
591 // copy names into result
594 result[pos++] = '/';
597 System.arraycopy(path, offsets[i], result, pos, size[i]);
600 result[pos++] = '/';
604 return new UnixPath(getFileSystem(), result);
843 UnixPath result = fs.rootDirectory();
857 attrs = UnixFileAttributes.get(result, false);
859 x.rethrowAsIOException(result);
862 result = result.getParent();
863 if (result == null) {
864 result = fs.rootDirectory();
869 result = result.resolve(element);
874 UnixFileAttributes.get(result, false);
876 x.rethrowAsIOException(result);
878 return result;