Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java474 private void sendServer(String cmd) { in sendServer() argument
475 out.print(cmd); in sendServer()
477 logger.finest("Server [" + serverAddr + "] <-- " + cmd); in sendServer()
521 private boolean issueCommand(String cmd) throws IOException, in issueCommand() argument
533 if (cmd.indexOf('\n') != -1) { in issueCommand()
539 sendServer(cmd + "\r\n"); in issueCommand()
550 … private void issueCommandCheck(String cmd) throws sun.net.ftp.FtpProtocolException, IOException { in issueCommandCheck() argument
551 if (!issueCommand(cmd)) { in issueCommandCheck()
552 … throw new sun.net.ftp.FtpProtocolException(cmd + ":" + getResponseString(), getLastReplyCode()); in issueCommandCheck()
565 …private Socket openPassiveDataConnection(String cmd) throws sun.net.ftp.FtpProtocolException, IOEx… in openPassiveDataConnection() argument
[all …]
/libcore/ojluni/src/main/native/
DFileDispatcherImpl.c197 int cmd = 0; in FileDispatcherImpl_lock0() local
213 cmd = F_SETLKW64; in FileDispatcherImpl_lock0()
215 cmd = F_SETLK64; in FileDispatcherImpl_lock0()
217 lockResult = fcntl(fd, cmd, &fl); in FileDispatcherImpl_lock0()
219 if ((cmd == F_SETLK64) && (errno == EAGAIN || errno == EACCES)) in FileDispatcherImpl_lock0()
235 int cmd = F_SETLK64; in FileDispatcherImpl_release0() local
245 lockResult = fcntl(fd, cmd, &fl); in FileDispatcherImpl_release0()
Dnet_util.h178 NET_MapSocketOption(jint cmd, int *level, int *optname);
181 NET_MapSocketOptionV6(jint cmd, int *level, int *optname);
Dnet_util_md.c894 NET_MapSocketOption(jint cmd, int *level, int *optname) { in NET_MapSocketOption() argument
896 jint cmd; in NET_MapSocketOption() member
918 switch (cmd) { in NET_MapSocketOption()
945 if (cmd == opts[i].cmd) { in NET_MapSocketOption()
/libcore/ojluni/src/main/java/java/lang/
DCompiler.java78 public static Object command(Object cmd) { in command() argument
DSecurityManager.java133 public void checkExec(String cmd) { } in checkExec() argument
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java81 …ock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, InterruptedIOException { r… in fcntlFlock() argument
82 …public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException { return os.fcntlIn… in fcntlInt() argument
83 …public int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException { return os.fcntlVoid(fd, c… in fcntlVoid() argument
116 …netAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioc… in ioctlInetAddress() argument
117 …blic int ioctlInt(FileDescriptor fd, int cmd, MutableInt arg) throws ErrnoException { return os.io… in ioctlInt() argument
DOs.java66 …public int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, Interrup… in fcntlFlock() argument
67 public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() argument
68 public int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException; in fcntlVoid() argument
102 …public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws Errno… in ioctlInetAddress() argument
103 public int ioctlInt(FileDescriptor fd, int cmd, MutableInt arg) throws ErrnoException; in ioctlInt() argument
DLinux.java72 …public native int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, I… in fcntlFlock() argument
73 public native int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() argument
74 public native int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException; in fcntlVoid() argument
107 …public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throw… in ioctlInetAddress() argument
108 public native int ioctlInt(FileDescriptor fd, int cmd, MutableInt arg) throws ErrnoException; in ioctlInt() argument
/libcore/luni/src/main/java/android/system/
DOs.java141 …FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, InterruptedIOException { retur… in fcntlFlock() argument
142 …tic int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException { return Libcore.os.fc… in fcntlInt() argument
143 …static int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException { return Libcore.os.fcntlVo… in fcntlVoid() argument
268 …ddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return Libcore.os… in ioctlInetAddress() argument
269 … int ioctlInt(FileDescriptor fd, int cmd, MutableInt arg) throws ErrnoException { return Libcore.o… in ioctlInt() argument
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java271 void socketSetOption0(int cmd, Object value) throws SocketException { in socketSetOption0() argument
273 if (cmd == SO_TIMEOUT) { in socketSetOption0()
277 IoBridge.setSocketOption(fd, cmd, value); in socketSetOption0()
DAbstractPlainSocketImpl.java742 abstract void socketSetOption(int cmd, Object value) throws SocketException; in socketSetOption() argument
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpClient.java930 public abstract String getHelp(String cmd) throws FtpProtocolException, IOException; in getHelp() argument
942 public abstract FtpClient siteCmd(String cmd) throws FtpProtocolException, IOException; in siteCmd() argument
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java117 public void checkExec(String cmd) { in test_execLjava_lang_StringLjava_lang_StringArray()
164 public void checkExec(String cmd) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
210 public void checkExec(String cmd) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
259 public void checkExec(String cmd) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java199 String[] cmd = { "ip", "link" }; in testGetNetworkInterfaces() local
200 Process proc = Runtime.getRuntime().exec(cmd); in testGetNetworkInterfaces()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1102 static jint Linux_fcntlFlock(JNIEnv* env, jobject, jobject javaFd, jint cmd, jobject javaFlock) { in Linux_fcntlFlock() argument
1117 int rc = IO_FAILURE_RETRY(env, int, fcntl, javaFd, cmd, &lock); in Linux_fcntlFlock()
1128 static jint Linux_fcntlInt(JNIEnv* env, jobject, jobject javaFd, jint cmd, jint arg) { in Linux_fcntlInt() argument
1130 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd, arg))); in Linux_fcntlInt()
1133 static jint Linux_fcntlVoid(JNIEnv* env, jobject, jobject javaFd, jint cmd) { in Linux_fcntlVoid() argument
1135 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd))); in Linux_fcntlVoid()
1575 static jobject Linux_ioctlInetAddress(JNIEnv* env, jobject, jobject javaFd, jint cmd, jstring javaI… in Linux_ioctlInetAddress() argument
1581 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &req))); in Linux_ioctlInetAddress()
1588 static jint Linux_ioctlInt(JNIEnv* env, jobject, jobject javaFd, jint cmd, jobject javaArg) { in Linux_ioctlInt() argument
1594 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &arg))); in Linux_ioctlInt()
/libcore/ojluni/src/main/java/javax/sql/
DRowSet.java278 void setCommand(String cmd) throws SQLException; in setCommand() argument