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.java473 private void sendServer(String cmd) { in sendServer() argument
474 out.print(cmd); in sendServer()
476 logger.finest("Server [" + serverAddr + "] <-- " + cmd); in sendServer()
520 private boolean issueCommand(String cmd) throws IOException, in issueCommand() argument
532 if (cmd.indexOf('\n') != -1) { in issueCommand()
538 sendServer(cmd + "\r\n"); in issueCommand()
549 … private void issueCommandCheck(String cmd) throws sun.net.ftp.FtpProtocolException, IOException { in issueCommandCheck() argument
550 if (!issueCommand(cmd)) { in issueCommandCheck()
551 … throw new sun.net.ftp.FtpProtocolException(cmd + ":" + getResponseString(), getLastReplyCode()); in issueCommandCheck()
564 …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.h192 NET_MapSocketOption(jint cmd, int *level, int *optname);
195 NET_MapSocketOptionV6(jint cmd, int *level, int *optname);
Dnet_util_md.c909 NET_MapSocketOption(jint cmd, int *level, int *optname) {
911 jint cmd;
933 switch (cmd) {
960 if (cmd == opts[i].cmd) {
/libcore/ojluni/src/main/java/java/lang/
DCompiler.java78 public static Object command(Object cmd) { in command() argument
DSecurityManager.java143 public void checkExec(String cmd) { } in checkExec() argument
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java82 …ock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, InterruptedIOException { r… in fcntlFlock() argument
83 …public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException { return os.fcntlIn… in fcntlInt() argument
84 …public int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException { return os.fcntlVoid(fd, c… in fcntlVoid() argument
118 …netAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioc… in ioctlInetAddress() argument
119 …blic int ioctlInt(FileDescriptor fd, int cmd, MutableInt arg) throws ErrnoException { return os.io… in ioctlInt() argument
DOs.java67 …public int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, Interrup… in fcntlFlock() argument
68 public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() argument
69 public int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException; in fcntlVoid() argument
104 …public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws Errno… in ioctlInetAddress() argument
105 public int ioctlInt(FileDescriptor fd, int cmd, MutableInt arg) throws ErrnoException; in ioctlInt() argument
DLinux.java73 …public native int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, I… in fcntlFlock() argument
74 public native int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() argument
75 public native int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException; in fcntlVoid() argument
109 …public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throw… in ioctlInetAddress() argument
110 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
270 …ddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return Libcore.os… in ioctlInetAddress() argument
271 … 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.cpp1159 static jint Linux_fcntlFlock(JNIEnv* env, jobject, jobject javaFd, jint cmd, jobject javaFlock) { in Linux_fcntlFlock() argument
1174 int rc = IO_FAILURE_RETRY(env, int, fcntl, javaFd, cmd, &lock); in Linux_fcntlFlock()
1185 static jint Linux_fcntlInt(JNIEnv* env, jobject, jobject javaFd, jint cmd, jint arg) { in Linux_fcntlInt() argument
1187 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd, arg))); in Linux_fcntlInt()
1190 static jint Linux_fcntlVoid(JNIEnv* env, jobject, jobject javaFd, jint cmd) { in Linux_fcntlVoid() argument
1192 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd))); in Linux_fcntlVoid()
1654 static jobject Linux_ioctlInetAddress(JNIEnv* env, jobject, jobject javaFd, jint cmd, jstring javaI… in Linux_ioctlInetAddress() argument
1660 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &req))); in Linux_ioctlInetAddress()
1667 static jint Linux_ioctlInt(JNIEnv* env, jobject, jobject javaFd, jint cmd, jobject javaArg) { in Linux_ioctlInt() argument
1673 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