Searched defs:mode (Results 51 - 61 of 61) sorted by relevance

123

/libcore/luni/src/main/java/libcore/io/
H A DLinux.java52 public native boolean access(String path, int mode) throws ErrnoException; argument
61 public native void chmod(String path, int mode) throws ErrnoException; argument
71 public native void fchmod(FileDescriptor fd, int mode) throws ErrnoException; argument
121 public native void mkdir(String path, int mode) throws ErrnoException; argument
122 public native void mkfifo(String path, int mode) throws ErrnoException; argument
128 public native FileDescriptor open(String path, int flags, int mode) throws ErrnoException; argument
H A DOs.java49 public boolean access(String path, int mode) throws ErrnoException; argument
55 public void chmod(String path, int mode) throws ErrnoException; argument
65 public void fchmod(FileDescriptor fd, int mode) throws ErrnoException; argument
116 public void mkdir(String path, int mode) throws ErrnoException; argument
117 public void mkfifo(String path, int mode) throws ErrnoException; argument
123 public FileDescriptor open(String path, int flags, int mode) throws ErrnoException; argument
/libcore/ojluni/src/main/java/java/util/
H A DLocale.java2836 * This enum provides constants to select a filtering mode for locale
2929 * Specifies automatic filtering mode based on the given Language
3317 * @param mode filtering mode
3331 FilteringMode mode) {
3332 return LocaleMatcher.filter(priorityList, locales, mode);
3338 * {@link #filter(List, Collection, FilteringMode)} when {@code mode} is
3364 * @param mode filtering mode
3378 FilteringMode mode) {
3329 filter(List<LanguageRange> priorityList, Collection<Locale> locales, FilteringMode mode) argument
3376 filterTags(List<LanguageRange> priorityList, Collection<String> tags, FilteringMode mode) argument
[all...]
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DCompletableFuture.java167 * * Completion method tryFire(int mode) invokes the associated x
169 * The mode argument allows tryFire to be called twice (SYNC,
197 * via method tryFire, in NESTED mode. Triggering can propagate
198 * recursively, so NESTED mode returns its completed dependent (if
443 * @param mode SYNC, ASYNC, or NESTED
445 abstract CompletableFuture<?> tryFire(int mode); argument
556 * postComplete or returns this to caller, depending on mode.
558 final CompletableFuture<T> postFire(CompletableFuture<?> a, int mode) { argument
560 if (mode < 0 || a.result == null)
566 if (mode <
582 tryFire(int mode) argument
637 tryFire(int mode) argument
692 tryFire(int mode) argument
741 tryFire(int mode) argument
804 tryFire(int mode) argument
859 tryFire(int mode) argument
907 tryFire(int mode) argument
957 tryFire(int mode) argument
1053 tryFire(int mode) argument
1081 postFire(CompletableFuture<?> a, CompletableFuture<?> b, int mode) argument
1100 tryFire(int mode) argument
1171 tryFire(int mode) argument
1244 tryFire(int mode) argument
1301 tryFire(int mode) argument
1380 tryFire(int mode) argument
1444 tryFire(int mode) argument
1508 tryFire(int mode) argument
1563 tryFire(int mode) argument
[all...]
H A DForkJoinPool.java177 * or FIFO, depending on mode), then to randomized FIFO steals of
272 * This approach also enables support of a user mode in which
287 * mode requires a lock but we use only a simple spinlock (using
813 int config; // pool index and mode
983 * Takes next task, if one exists, in order specified by mode.
990 * Returns next task, if one exists, in order specified by mode.
1242 * in either shared or owned mode. Used only by helpComplete.
1244 final CountedCompleter<?> popCC(CountedCompleter<?> task, int mode) { argument
1255 if ((mode & IS_OWNED) == 0) {
1492 final int config; // parallelism, mode
2693 ForkJoinPool(int parallelism, ForkJoinWorkerThreadFactory factory, UncaughtExceptionHandler handler, int mode, String workerNamePrefix) argument
[all...]
/libcore/ojluni/src/main/native/
H A DUnixNativeDispatcher.c348 const char* mode = (const char*)jlong_to_ptr(modeAddress); local
351 fp = fopen(path, mode);
378 jlong pathAddress, jint oflags, jint mode)
383 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd);
392 jlong pathAddress, jint oflags, jint mode)
402 RESTARTABLE((*my_openat64_func)(dfd, path, (int)oflags, (mode_t)mode), fd);
538 jlong pathAddress, jint mode)
543 RESTARTABLE(chmod(path, (mode_t)mode), err);
551 jint mode)
555 RESTARTABLE(fchmod((int)filedes, (mode_t)mode), er
377 Java_sun_nio_fs_UnixNativeDispatcher_open0(JNIEnv* env, jclass this, jlong pathAddress, jint oflags, jint mode) argument
391 Java_sun_nio_fs_UnixNativeDispatcher_openat0(JNIEnv* env, jclass this, jint dfd, jlong pathAddress, jint oflags, jint mode) argument
537 Java_sun_nio_fs_UnixNativeDispatcher_chmod0(JNIEnv* env, jclass this, jlong pathAddress, jint mode) argument
550 Java_sun_nio_fs_UnixNativeDispatcher_fchmod(JNIEnv* env, jclass this, jint filedes, jint mode) argument
727 Java_sun_nio_fs_UnixNativeDispatcher_mkdir0(JNIEnv* env, jclass this, jlong pathAddress, jint mode) argument
959 Java_sun_nio_fs_UnixNativeDispatcher_mknod0(JNIEnv* env, jclass this, jlong pathAddress, jint mode, jlong dev) argument
[all...]
H A Dzip_util.c765 * Opens a zip file with the specified mode. Returns the jzfile object
771 ZIP_Open_Generic(const char *name, char **pmsg, int mode, jlong lastModified) argument
783 ZFILE zfd = ZFILE_Open(name, mode);
/libcore/luni/src/main/native/
H A Dlibcore_io_Linux.cpp963 static jboolean Linux_access(JNIEnv* env, jobject, jstring javaPath, jint mode) { argument
968 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode));
1070 static void Linux_chmod(JNIEnv* env, jobject, jstring javaPath, jint mode) { argument
1075 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode)));
1157 static void Linux_fchmod(JNIEnv* env, jobject, jobject javaFd, jint mode) { argument
1159 throwIfMinusOne(env, "fchmod", TEMP_FAILURE_RETRY(fchmod(fd, mode)));
1785 static void Linux_mkdir(JNIEnv* env, jobject, jstring javaPath, jint mode) { argument
1790 throwIfMinusOne(env, "mkdir", TEMP_FAILURE_RETRY(mkdir(path.c_str(), mode)));
1793 static void Linux_mkfifo(JNIEnv* env, jobject, jstring javaPath, jint mode) { argument
1798 throwIfMinusOne(env, "mkfifo", TEMP_FAILURE_RETRY(mkfifo(path.c_str(), mode)));
1831 Linux_open(JNIEnv* env, jobject, jstring javaPath, jint flags, jint mode) argument
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java3422 @Override public void setUseClientMode(boolean mode) { argument
3423 delegate.setUseClientMode(mode);
/libcore/luni/src/main/java/android/system/
H A DOsConstants.java41 * Tests whether the given mode is a block device.
43 public static boolean S_ISBLK(int mode) { return (mode & S_IFMT) == S_IFBLK; } argument
46 * Tests whether the given mode is a character device.
48 public static boolean S_ISCHR(int mode) { return (mode & S_IFMT) == S_IFCHR; } argument
51 * Tests whether the given mode is a directory.
53 public static boolean S_ISDIR(int mode) { return (mode & S_IFMT) == S_IFDIR; } argument
56 * Tests whether the given mode i
58 S_ISFIFO(int mode) argument
63 S_ISREG(int mode) argument
68 S_ISLNK(int mode) argument
73 S_ISSOCK(int mode) argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java1910 public static final int mode = 0; field in class:R

Completed in 352 milliseconds

123