Home
last modified time | relevance | path

Searched refs:IOError (Results 1 – 25 of 701) sorted by relevance

12345678910>>...29

/external/tensorflow/tensorflow/core/platform/default/
Dposix_file_system.cc91 s = IOError(filename_, errno); in Read()
146 return IOError(filename_, errno); in Append()
157 return IOError(filename_, errno); in Append()
166 return IOError(filename_, EBADF); in Close()
170 result = IOError(filename_, errno); in Close()
178 return IOError(filename_, errno); in Flush()
191 s = IOError(filename_, errno); in Sync()
201 s = IOError(filename_, errno); in Tell()
230 s = IOError(fname, errno); in NewRandomAccessFile()
244 s = IOError(fname, errno); in NewWritableFile()
[all …]
/external/python/cpython2/Lib/
Dwhichdb.py15 _dbmerror = IOError
39 except IOError:
52 except (IOError, _dbmerror):
69 except (OSError, IOError):
75 except IOError:
D_pyio.py33 class BlockingIOError(IOError):
38 super(IOError, self).__init__(errno, strerror)
260 class UnsupportedOperation(ValueError, IOError):
383 raise IOError("File or stream is not seekable."
398 raise IOError("File or stream is not readable."
412 raise IOError("File or stream is not writable."
703 raise IOError("seek() returned an invalid position")
709 raise IOError("tell() returned an invalid position")
925 raise IOError('"raw" argument must be readable.')
966 except IOError as e:
[all …]
Dgzip.py128 raise IOError, "Mode " + mode + " not supported"
196 raise IOError, 'Not a gzipped file'
199 raise IOError, 'Unknown compression method'
230 raise IOError(errno.EBADF, "write() on read-only GzipFile object")
251 raise IOError(errno.EBADF, "read() on write-only GzipFile object")
352 raise IOError("CRC check failed %s != %s" % (hex(crc32),
355 raise IOError, "Incorrect length of data produced"
406 raise IOError("Can't rewind in write mode")
431 raise IOError('Negative seek in write mode')
Dcompileall.py94 except IOError:
105 except IOError, e:
146 except IOError:
207 except IOError:
Durllib.py114 class ContentTooShortError(IOError):
116 IOError.__init__(self, message)
217 raise IOError, ('socket error', msg), sys.exc_info()[2]
222 raise IOError, ('url error', 'unknown url type', type)
227 raise IOError, ('url error', 'invalid proxy for %s' % type, proxy)
243 except IOError:
326 if not host: raise IOError, ('http error', 'no host given')
356 raise IOError, ('http protocol error', 0,
386 raise IOError, ('http error', errcode, errmsg, headers)
417 if not host: raise IOError, ('https error', 'no host given')
[all …]
Dtoken.py95 except IOError, err:
115 except IOError, err:
132 except IOError, err:
Dchunk.py73 except (AttributeError, IOError):
107 raise IOError, "cannot seek"
163 except IOError:
Dtempfile.py51 except IOError:
96 except IOError:
207 except (OSError, IOError) as e:
216 raise IOError, (_errno.ENOENT,
257 raise IOError, (_errno.EEXIST, "No usable temporary file name found")
351 raise IOError, (_errno.EEXIST, "No usable temporary directory name found")
380 raise IOError, (_errno.EEXIST, "No usable temporary filename found")
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system.cc274 return IOError(filename_, errno); in Read()
279 return IOError(filename_, errno); in Read()
287 s = IOError(filename_, errno); in Read()
313 return IOError(fname, errno); in NewRandomAccessFile()
345 return IOError(filename_, errno); in Append()
357 result = IOError(filename_, errno); in Close()
366 return IOError(filename_, errno); in Flush()
378 return IOError(filename_, errno); in Sync()
386 return IOError(filename_, errno); in Tell()
406 return IOError(fname, errno); in NewWritableFile()
[all …]
/external/scapy/scapy/arch/bpf/
Dsupersocket.py63 except IOError:
70 except IOError:
81 except IOError:
89 except IOError:
111 except IOError:
129 except IOError:
149 except IOError:
171 except IOError:
181 except IOError:
328 except IOError:
/external/tensorflow/tensorflow/lite/toco/logging/
Dgen_html.py104 raise IOError("File '{0}' does not exist.".format(html_template_path))
228 raise IOError("Failed to generate HTML: file '{0}' doesn't exist.".format(
236 raise IOError("Failed to generate HTML: file '{0}' doesn't exist.".format(
239 raise IOError("Failed to generate HTML: file '{0}' doesn't exist.".format(
242 raise IOError("Failed to generate HTML: file '{0}' doesn't exist.".format(
245 raise IOError("Failed to generate HTML: file '{0}' doesn't exist.".format(
/external/rust/crates/vmm_vhost/src/vhost_user/
Dmod.rs21 use std::io::Error as IOError;
84 ReqHandlerError(IOError),
148 libc::EAGAIN => Error::SocketRetry(IOError::from_raw_os_error(libc::EAGAIN)), in from()
150 libc::EWOULDBLOCK => Error::SocketRetry(IOError::from_raw_os_error(libc::EWOULDBLOCK)), in from()
152 libc::EINTR => Error::SocketRetry(IOError::from_raw_os_error(libc::EINTR)), in from()
155 libc::ENOBUFS => Error::SocketRetry(IOError::from_raw_os_error(libc::ENOBUFS)), in from()
157 libc::ENOMEM => Error::SocketRetry(IOError::from_raw_os_error(libc::ENOMEM)), in from()
159 libc::ECONNRESET => Error::SocketBroken(IOError::from_raw_os_error(libc::ECONNRESET)), in from()
162 libc::EPIPE => Error::SocketBroken(IOError::from_raw_os_error(libc::EPIPE)), in from()
165 libc::EACCES => Error::SocketConnect(IOError::from_raw_os_error(libc::EACCES)), in from()
[all …]
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_utils.py55 raise IOError("SavedModel file does not exist at: %s" % saved_model_dir)
65 raise IOError("Cannot parse file %s: %s." % (path_to_pb, str(e)))
72 raise IOError("Cannot parse file %s: %s." % (path_to_pbtxt, str(e)))
74 raise IOError("SavedModel file does not exist at: %s/{%s|%s}" %
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_io.py68 self.assertRaises(IOError, f.fileno)
69 self.assertRaises(IOError, f.tell)
70 self.assertRaises(IOError, f.seek, 0)
71 self.assertRaises(IOError, f.read, 0)
72 self.assertRaises(IOError, f.readline, 0)
179 self.assertRaises(IOError, f.fileno)
180 self.assertRaises(IOError, f.tell)
181 self.assertRaises(IOError, f.seek, 0)
182 self.assertRaises(IOError, f.write, 'x')
183 self.assertRaises(IOError, f.writelines, ['x'])
/external/python/cpython2/Lib/test/
Dtest_file2k.py154 self.assertRaises(IOError, self.f.read)
172 self.assertRaises(IOError, getattr(self.f, attr))
177 self.assertRaises(IOError, lambda: [line for line in self.f])
182 self.assertRaises(IOError, self.f.readinto, bytearray(len(data)))
187 self.assertRaises(IOError, self.f.write, data)
191 self.assertRaises(IOError, self.f.writelines, [data, data])
195 self.assertRaises(IOError, self.f.truncate)
208 except IOError as e:
229 except (IOError, ValueError):
245 self.assertRaises(IOError, sys.stdin.seek, -1)
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_linux.py24 raise IOError('lsusb failed')
30 raise IOError('lsusb failed')
49 except IOError:
94 except IOError:
/external/python/cpython2/Demo/scripts/
Dupdate.py22 except IOError, msg:
35 except (os.error, IOError), msg:
70 except IOError, msg:
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
Dptyprocess.py77 except (ImportError, OSError, IOError, ValueError, termios.error):
101 raise IOError(err.args[0], '%s: %s.' % (err.args[1], errmsg))
113 except IOError as err:
115 raise IOError(err.args[0], '%s: %s.' % (err.args[1], errmsg))
239 except IOError as err:
247 except (IOError, termios.error) as err:
334 except IOError as err:
461 raise IOError(err.args[0], '%s: %s.' % (err.args[1], errmsg))
517 except (OSError, IOError) as err:
538 except (OSError, IOError) as err:
/external/scapy/scapy/
Ddata.py138 except IOError:
162 except IOError as msg:
190 except IOError:
243 except IOError:
256 except IOError:
/external/tensorflow/tensorflow/c/
Dtf_status.cc22 using ::tensorflow::IOError;
41 s->status = IOError(context, error_code); in TF_SetStatusFromIOError()
/external/python/cpython2/Tools/scripts/
Dfixheader.py15 except IOError, msg:
25 except IOError, msg:
/external/python/cpython2/Demo/pdist/
Dsecurity.py21 except IOError:
22 raise IOError, "python keyfile %s: cannot open" % keyfile
/external/python/cpython2/Demo/sockets/
Dgopher.py193 except (IOError, socket.error):
205 except IOError, msg:
216 except IOError, msg:
309 except IOError, msg:
318 except IOError, msg:
/external/python/cpython3/Tools/scripts/
Dfixheader.py15 except IOError as msg:
25 except IOError as msg:

12345678910>>...29