Searched refs:flags (Results 51 - 75 of 89) sorted by relevance

1234

/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java95 public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); } argument
133 public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException { return os.mmap(address, byteCount, prot, flags, fd, offset); } argument
134 public void msync(long address, long byteCount, int flags) throws ErrnoException { os.msync(address, byteCount, flags); } argument
137 public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { return os.open(path, flags, mode); } argument
138 public FileDescriptor[] pipe2(int flags) throws ErrnoException { return os.pipe2(flags); } argument
151 recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) argument
152 recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) argument
157 sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) argument
158 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) argument
159 sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, SocketAddress address) argument
176 setxattr(String path, String name, byte[] value, int flags) argument
180 splice(FileDescriptor fdIn, Int64Ref offIn, FileDescriptor fdOut, Int64Ref offOut, long len, int flags) argument
[all...]
H A DIoBridge.java466 public static FileDescriptor open(String path, int flags) throws FileNotFoundException { argument
470 int mode = ((flags & O_ACCMODE) == O_RDONLY) ? 0 : 0600;
471 fd = Libcore.os.open(path, flags, mode);
535 public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException { argument
542 result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
549 public static int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOException { argument
556 result = Libcore.os.sendto(fd, buffer, flags, inetAddress, port);
579 public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException { argument
583 result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
591 public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacke argument
[all...]
/libcore/ojluni/src/main/java/java/util/stream/
H A DLongPipeline.java63 * @param sourceFlags the source flags for the stream source, described in
76 * @param sourceFlags the source flags for the stream source, described in
89 * @param opFlags the operation flags
189 public Sink<Long> opWrapSink(int flags, Sink<Double> sink) {
211 public Sink<Long> opWrapSink(int flags, Sink<Long> sink) {
228 public Sink<Long> opWrapSink(int flags, Sink<U> sink) {
245 public Sink<Long> opWrapSink(int flags, Sink<Integer> sink) {
262 public Sink<Long> opWrapSink(int flags, Sink<Double> sink) {
278 public Sink<Long> opWrapSink(int flags, Sink<Long> sink) {
304 public Sink<Long> opWrapSink(int flags, Sin
533 opWrapSink(int flags, Sink<Long> sink) argument
[all...]
H A DDoublePipeline.java63 * @param sourceFlags the source flags for the stream source, described in
75 * @param sourceFlags the source flags for the stream source, described in
88 * @param opFlags the operation flags
194 public Sink<Double> opWrapSink(int flags, Sink<Double> sink) {
211 public Sink<Double> opWrapSink(int flags, Sink<U> sink) {
228 public Sink<Double> opWrapSink(int flags, Sink<Integer> sink) {
245 public Sink<Double> opWrapSink(int flags, Sink<Long> sink) {
261 public Sink<Double> opWrapSink(int flags, Sink<Double> sink) {
287 public Sink<Double> opWrapSink(int flags, Sink<Double> sink) {
299 public Sink<Double> opWrapSink(int flags, Sin
553 opWrapSink(int flags, Sink<Double> sink) argument
[all...]
H A DDistinctOps.java119 public Sink<T> opWrapSink(int flags, Sink<T> sink) {
122 if (StreamOpFlag.DISTINCT.isKnown(flags)) {
124 } else if (StreamOpFlag.SORTED.isKnown(flags)) {
H A DReferencePipeline.java66 * @param sourceFlags the source flags for the stream source, described in
79 * @param sourceFlags The source flags for the stream source, described in
154 public Sink<P_OUT> opWrapSink(int flags, Sink<P_OUT> sink) {
166 public Sink<P_OUT> opWrapSink(int flags, Sink<P_OUT> sink) {
190 public Sink<P_OUT> opWrapSink(int flags, Sink<R> sink) {
207 public Sink<P_OUT> opWrapSink(int flags, Sink<Integer> sink) {
224 public Sink<P_OUT> opWrapSink(int flags, Sink<Long> sink) {
241 public Sink<P_OUT> opWrapSink(int flags, Sink<Double> sink) {
259 public Sink<P_OUT> opWrapSink(int flags, Sink<R> sink) {
286 public Sink<P_OUT> opWrapSink(int flags, Sin
574 opWrapSink(int flags, Sink<E_OUT> sink) argument
[all...]
H A DSortedOps.java133 public Sink<T> opWrapSink(int flags, Sink<T> sink) { argument
138 if (StreamOpFlag.SORTED.isKnown(flags) && isNaturalSort)
140 else if (StreamOpFlag.SIZED.isKnown(flags))
174 public Sink<Integer> opWrapSink(int flags, Sink<Integer> sink) { argument
177 if (StreamOpFlag.SORTED.isKnown(flags))
179 else if (StreamOpFlag.SIZED.isKnown(flags))
213 public Sink<Long> opWrapSink(int flags, Sink<Long> sink) { argument
216 if (StreamOpFlag.SORTED.isKnown(flags))
218 else if (StreamOpFlag.SIZED.isKnown(flags))
252 public Sink<Double> opWrapSink(int flags, Sin argument
[all...]
H A DIntPipeline.java62 * @param sourceFlags The source flags for the stream source, described in
75 * @param sourceFlags The source flags for the stream source, described in
89 * @param opFlags the operation flags for the new operation
192 public Sink<Integer> opWrapSink(int flags, Sink<Long> sink) {
208 public Sink<Integer> opWrapSink(int flags, Sink<Double> sink) {
230 public Sink<Integer> opWrapSink(int flags, Sink<Integer> sink) {
247 public Sink<Integer> opWrapSink(int flags, Sink<U> sink) {
264 public Sink<Integer> opWrapSink(int flags, Sink<Long> sink) {
281 public Sink<Integer> opWrapSink(int flags, Sink<Double> sink) {
297 public Sink<Integer> opWrapSink(int flags, Sin
550 opWrapSink(int flags, Sink<Integer> sink) argument
[all...]
H A DSliceOps.java120 flags(limit)) {
189 public Sink<T> opWrapSink(int flags, Sink<T> sink) {
236 flags(limit)) {
298 public Sink<Integer> opWrapSink(int flags, Sink<Integer> sink) {
345 flags(limit)) {
407 public Sink<Long> opWrapSink(int flags, Sink<Long> sink) {
454 flags(limit)) {
516 public Sink<Double> opWrapSink(int flags, Sink<Double> sink) {
548 private static int flags(long limit) { method in class:SliceOps
/libcore/luni/src/main/native/
H A DNetworkUtilities.cpp199 int flags = fcntl(fd, F_GETFL); local
200 if (flags == -1) {
205 flags |= O_NONBLOCK;
207 flags &= ~O_NONBLOCK;
210 int rc = fcntl(fd, F_SETFL, flags);
/libcore/ojluni/src/main/native/
H A DFileChannelImpl.c86 int flags = 0; local
90 flags = MAP_SHARED;
93 flags = MAP_SHARED;
96 flags = MAP_PRIVATE;
103 flags, /* Changes are shared */
H A Dio_util_md.c89 fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags) argument
100 fd = handleOpen(ps, flags, 0666);
H A Dnet_util_md.c547 unsigned long flags;
578 &metric, &use, &refcnt, &flags, device) == 31) {
585 (flags & (RTF_POLICY | RTF_FLOW)) ||
586 ((flags & RTF_REJECT) && dest_plen == 0) ) {
1344 * flags (defined in net_util_md.h can be any combination of
1354 NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout)
1366 if (flags & NET_WAIT_READ)
1368 if (flags & NET_WAIT_WRITE)
1370 if (flags & NET_WAIT_CONNECT)
1387 if (flags
[all...]
H A Dio_util.h55 void fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags);
/libcore/tools/docs/crypto/
H A Dupdate_crypto_support.py113 name = re.sub('WITH', 'with', name, flags=re.I)
114 name = re.sub('DESEDE', 'DESede', name, flags=re.I)
115 name = re.sub('HMAC', 'Hmac', name, flags=re.I)
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
H A DStreamOpFlagsTest.java54 List<StreamOpFlag> flags = new ArrayList<>(StreamOpFlagTestHelper.allStreamFlags());
55 for (int i = 0; i < (1 << flags.size()); i++) {
57 for (int f = 0; f < flags.size(); f++) {
59 sourceFlags |= flags.get(f).set();
372 int flags = StreamOpFlag.fromCharacteristics(new SortedEmptySpliterator(null));
373 assertEquals(flags, StreamOpFlag.IS_SORTED);
377 int flags = StreamOpFlag.fromCharacteristics(new SortedEmptySpliterator((a, b) -> 0));
378 assertEquals(flags, 0);
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DExecutable.java293 // synthetic and mandate flags to our advantage.
573 /** Bits encoding access (e.g. public, private) as well as other runtime specific flags */
601 * check the access flags at the time of the method call. This results in
607 * the "traditional" meaning of the flags to their callers.
609 private static int fixMethodFlags(int flags) { argument
610 if ((flags & Modifier.ABSTRACT) != 0) {
611 flags &= ~Modifier.NATIVE;
613 flags &= ~Modifier.SYNCHRONIZED;
615 if ((flags & ACC_DECLARED_SYNCHRONIZED) != 0) {
616 flags |
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixSecureDirectoryStream.java128 int flags = O_RDONLY;
130 flags |= O_NOFOLLOW;
131 newdfd1 = openat(dfd, file.asByteArray(), flags , 0);
183 * when invoked with flags.
185 private void implDelete(Path obj, boolean haveFlags, int flags) argument
212 flags = (attrs.isDirectory()) ? AT_REMOVEDIR : 0;
216 unlinkat(dfd, file.asByteArray(), flags);
218 if ((flags & AT_REMOVEDIR) != 0) {
H A DUnixNativeDispatcher.java68 static int open(UnixPath path, int flags, int mode) throws UnixException { argument
71 return open0(buffer.address(), flags, mode);
76 private static native int open0(long pathAddress, int flags, int mode) argument
82 static int openat(int dfd, byte[] path, int flags, int mode) throws UnixException { argument
85 return openat0(dfd, buffer.address(), flags, mode);
90 private static native int openat0(int dfd, long pathAddress, int flags, int mode) argument
/libcore/luni/src/test/java/libcore/java/text/
H A DOldBidiTest.java219 int flags = Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT;
222 Bidi bidi = new Bidi(text, 0, embeddings, 0, 2, flags);
/libcore/luni/src/test/java/libcore/java/util/
H A DOldFormatterTest.java32 public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalFormatException {
41 public void formatTo(Formatter formatter, int flags, int width, int precision) throws IllegalFormatException {
/libcore/ojluni/src/main/java/java/text/
H A DDateFormat.java783 * ignored if flags is 2
785 * ignored if flags is 1
786 * @param flags either 1 for a time format, 2 for a date format,
791 int flags, Locale loc) {
792 if ((flags & 1) != 0) {
799 if ((flags & 2) != 0) {
790 get(int timeStyle, int dateStyle, int flags, Locale loc) argument
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DLambdaTestHelpers.java453 public static String flagsToString(int flags) { argument
455 if (StreamOpFlag.DISTINCT.isKnown(flags)) sj.add("IS_DISTINCT");
456 if (StreamOpFlag.ORDERED.isKnown(flags)) sj.add("IS_ORDERED");
457 if (StreamOpFlag.SIZED.isKnown(flags)) sj.add("IS_SIZED");
458 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
459 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(flags)) sj.add("IS_SHORT_CIRCUIT");
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DLambdaTestHelpers.java454 public static String flagsToString(int flags) { argument
456 if (StreamOpFlag.DISTINCT.isKnown(flags)) sj.add("IS_DISTINCT");
457 if (StreamOpFlag.ORDERED.isKnown(flags)) sj.add("IS_ORDERED");
458 if (StreamOpFlag.SIZED.isKnown(flags)) sj.add("IS_SIZED");
459 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
460 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(flags)) sj.add("IS_SHORT_CIRCUIT");
/libcore/ojluni/src/main/java/java/net/
H A DPlainDatagramSocketImpl.java144 private void doRecv(DatagramPacket p, int flags) throws IOException { argument
153 IoBridge.recvfrom(false, fd, p.getData(), p.getOffset(), p.bufLength, flags, p,

Completed in 962 milliseconds

1234