Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 21 of 21) 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()
524 private boolean issueCommand(String cmd) throws IOException, in issueCommand() argument
537 if (cmd.indexOf('\n') != -1) { in issueCommand()
544 sendServer(cmd + "\r\n"); in issueCommand()
555 … private void issueCommandCheck(String cmd) throws sun.net.ftp.FtpProtocolException, IOException { in issueCommandCheck() argument
556 if (!issueCommand(cmd)) { in issueCommandCheck()
557 … throw new sun.net.ftp.FtpProtocolException(cmd + ":" + getResponseString(), getLastReplyCode()); in issueCommandCheck()
570 …private Socket openPassiveDataConnection(String cmd) throws sun.net.ftp.FtpProtocolException, IOEx… in openPassiveDataConnection() argument
[all …]
/libcore/ojluni/src/main/native/
DFileDispatcherImpl.c199 int cmd = 0; in FileDispatcherImpl_lock0() local
215 cmd = F_SETLKW64; in FileDispatcherImpl_lock0()
217 cmd = F_SETLK64; in FileDispatcherImpl_lock0()
219 lockResult = fcntl(fd, cmd, &fl); in FileDispatcherImpl_lock0()
221 if ((cmd == F_SETLK64) && (errno == EAGAIN || errno == EACCES)) in FileDispatcherImpl_lock0()
237 int cmd = F_SETLK64; in FileDispatcherImpl_release0() local
247 lockResult = fcntl(fd, cmd, &fl); in FileDispatcherImpl_release0()
Dnet_util.h193 NET_MapSocketOption(jint cmd, int *level, int *optname);
196 NET_MapSocketOptionV6(jint cmd, int *level, int *optname);
Dnet_util_md.c908 NET_MapSocketOption(jint cmd, int *level, int *optname) {
910 jint cmd;
932 switch (cmd) {
959 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/
DAndroid.bp12cmd: "cp -f $(location NOTICE) $(genDir)/NOTICES/libcore-NOTICE && cp -f $(location ojluni/NOTICE)…
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java104 …ock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, InterruptedIOException { r… in fcntlFlock() argument
105 …public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException { return os.fcntlIn… in fcntlInt() argument
106 …public int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException { return os.fcntlVoid(fd, c… in fcntlVoid() argument
141 …netAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioc… in ioctlInetAddress() argument
142 …ublic int ioctlInt(FileDescriptor fd, int cmd, Int32Ref arg) throws ErrnoException { return os.ioc… in ioctlInt() argument
DOs.java79 …public int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, Interrup… in fcntlFlock() argument
80 public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() argument
81 public int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException; in fcntlVoid() argument
117 …public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws Errno… in ioctlInetAddress() argument
118 public int ioctlInt(FileDescriptor fd, int cmd, Int32Ref arg) throws ErrnoException; in ioctlInt() argument
DLinux.java79 …public native int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, I… in fcntlFlock() argument
80 public native int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() argument
81 public native int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException; in fcntlVoid() argument
115 …public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throw… in ioctlInetAddress() argument
116 public native int ioctlInt(FileDescriptor fd, int cmd, Int32Ref arg) throws ErrnoException; in ioctlInt() argument
/libcore/luni/src/main/java/android/system/
DOs.java156 …FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, InterruptedIOException { retur… in fcntlFlock() argument
160 …tic int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException { return Libcore.os.fc… in fcntlInt() argument
163 …static int fcntlVoid(FileDescriptor fd, int cmd) throws ErrnoException { return Libcore.os.fcntlVo… in fcntlVoid() argument
318 …ddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return Libcore.os… in ioctlInetAddress() argument
323 public static int ioctlInt(FileDescriptor fd, int cmd, Int32Ref arg) throws ErrnoException { in ioctlInt() argument
324 return Libcore.os.ioctlInt(fd, cmd, arg); in ioctlInt()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java287 void socketSetOption0(int cmd, Object value) throws SocketException { in socketSetOption0() argument
289 if (cmd == SO_TIMEOUT) { in socketSetOption0()
293 IoBridge.setSocketOption(fd, cmd, value); in socketSetOption0()
DAbstractPlainSocketImpl.java786 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.java123 public void checkExec(String cmd) { in test_execLjava_lang_StringLjava_lang_StringArray()
170 public void checkExec(String cmd) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
216 public void checkExec(String cmd) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
265 public void checkExec(String cmd) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
/libcore/ojluni/annotations/hiddenapi/java/net/
DPlainSocketImpl.java91 void socketSetOption0(int cmd, java.lang.Object value) throws java.net.SocketException { in socketSetOption0() argument
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java209 String[] cmd = { "ip", "link" }; in testGetNetworkInterfaces() local
210 Process proc = Runtime.getRuntime().exec(cmd); in testGetNetworkInterfaces()
/libcore/ojluni/annotations/hiddenapi/sun/net/ftp/
DFtpClient.java220 public abstract java.lang.String getHelp(java.lang.String cmd) in getHelp() argument
223 public abstract sun.net.ftp.FtpClient siteCmd(java.lang.String cmd) in siteCmd() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1245 static jint Linux_fcntlFlock(JNIEnv* env, jobject, jobject javaFd, jint cmd, jobject javaFlock) { in Linux_fcntlFlock() argument
1260 int rc = IO_FAILURE_RETRY(env, int, fcntl, javaFd, cmd, &lock); in Linux_fcntlFlock()
1271 static jint Linux_fcntlInt(JNIEnv* env, jobject, jobject javaFd, jint cmd, jint arg) { in Linux_fcntlInt() argument
1273 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd, arg))); in Linux_fcntlInt()
1276 static jint Linux_fcntlVoid(JNIEnv* env, jobject, jobject javaFd, jint cmd) { in Linux_fcntlVoid() argument
1278 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd))); in Linux_fcntlVoid()
1753 static jobject Linux_ioctlInetAddress(JNIEnv* env, jobject, jobject javaFd, jint cmd, jstring javaI… in Linux_ioctlInetAddress() argument
1759 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &req))); in Linux_ioctlInetAddress()
1766 static jint Linux_ioctlInt(JNIEnv* env, jobject, jobject javaFd, jint cmd, jobject javaArg) { in Linux_ioctlInt() argument
1771 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
/libcore/luni/src/main/java/libcore/net/
Dmime.types65 application/index.cmd