Home
last modified time | relevance | path

Searched refs:format_error (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/python/tpu/
Dxla.py75 def format_error(complaint, quantity): function
92 return format_error('exactly', num_func_args)
94 return format_error('at least', min_func_args)
98 return format_error('exactly', num_func_args)
100 return format_error('at most', num_func_args)
/external/tensorflow/tensorflow/core/kernels/
Dunicode_ops.cc95 bool* format_error = const_cast<bool*>(static_cast<const bool*>(context)); in unicode_error_callback() local
99 *format_error = true; in unicode_error_callback()
128 bool format_error = false; in IterateUnicodeString() local
132 ucnv_setToUCallBack(converter, unicode_error_callback, &format_error, in IterateUnicodeString()
147 callback(next_char, bytes_consumed, format_error); in IterateUnicodeString()
148 format_error = false; in IterateUnicodeString()
243 UChar32 ch, bool format_error) { in ShouldHandleFormatError() argument
244 return ((error_options.replace_control_chars && ch <= 0x1F) || format_error); in ShouldHandleFormatError()
318 UChar32 ch, int src_bytes, bool format_error) { in TranslateCodepoints() argument
319 if (ShouldHandleFormatError(error_options_, ch, format_error)) { in TranslateCodepoints()
/external/tensorflow/tensorflow/core/api_def/
Dupdate_api_def.cc151 const string format_error = strings::Printf( in RemoveDoc() local
156 std::cerr << format_error << std::endl; in RemoveDoc()
163 std::cerr << format_error << std::endl; in RemoveDoc()
176 std::cerr << format_error << std::endl; in RemoveDoc()
/external/autotest/site_utils/lxc/
Dshared_host_dir_unittest.py62 self.fail('SharedHostDir crashed.\n%s' % error.format_error())
73 error.format_error())
Dbase_image_unittest.py47 error.format_error())
111 self.fail(error.format_error())
Dcontainer_factory_unittest.py63 self.fail('Invalid container:\n%s' % error.format_error())
Dlxc_functional_test.py367 logging.exception('ERROR:\n%s', error.format_error())
Dcontainer_unittest.py92 self.fail('Unexpected exception:\n%s' % error.format_error())
/external/autotest/client/bin/
Dpartition.py86 job.record('FAIL', None, wipe_cmd, error.format_error())
582 self.job.record('FAIL', None, mkfs_cmd, error.format_error())
586 self.job.record('FAIL', None, mkfs_cmd, error.format_error())
631 self.job.record('FAIL', None, fsck_cmd, error.format_error())
692 self.job.record('FAIL', None, mount_cmd, error.format_error())
777 self.job.record('FAIL', None, umount_cmd, error.format_error())
/external/libusb/libusb/os/
Dwindows_nt_common.c73 DWORD error_code, format_error; in windows_error_str() local
99 format_error = GetLastError(); in windows_error_str()
100 if (format_error) in windows_error_str()
103 (unsigned int)error_code, (unsigned int)format_error); in windows_error_str()
Dwince_usb.c50 DWORD error_code, format_error; in windows_error_str() local
62 format_error = GetLastError(); in windows_error_str()
63 if (format_error) in windows_error_str()
66 (unsigned int)error_code, (unsigned int)format_error); in windows_error_str()
/external/tensorflow/tensorflow/contrib/compiler/
Dxla.py807 def format_error(complaint, quantity): function
824 return format_error('exactly', num_func_args)
826 return format_error('at least', min_func_args)
830 return format_error('exactly', num_func_args)
832 return format_error('at most', num_func_args)
/external/ltp/testcases/kernel/fs/doio/
Diogen.c1376 int o, len, nb, format_error; in parse_cmdline() local
1453 format_error = 0; in parse_cmdline()
1464 format_error = 1; in parse_cmdline()
1468 format_error = 1; in parse_cmdline()
1472 format_error = 1; in parse_cmdline()
1474 if (format_error) { in parse_cmdline()
/external/autotest/client/common_lib/
Derror.py16 def format_error(): function
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c1244 static PyObject *format_error(PyObject *self, PyObject *args) in format_error() function
1816 {"FormatError", format_error, METH_VARARGS, format_error_doc},
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c1253 static PyObject *format_error(PyObject *self, PyObject *args) in format_error() function
1934 {"FormatError", format_error, METH_VARARGS, format_error_doc},