HomeSort by relevance Sort by last modified time
    Searched defs:errors (Results 376 - 400 of 1189) sorted by null

<<11121314151617181920>>

  /external/python/cpython2/Lib/
tarfile.py 226 def uts(s, encoding, errors):
229 if errors == "utf-8":
244 return s.encode(encoding, errors)
330 """General exception for extract errors."""
342 """Base exception for header errors."""
972 def get_info(self, encoding, errors):
996 info[key] = info[key].encode(encoding, errors)
1000 def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="strict"):
1003 info = self.get_info(encoding, errors)
1010 return self.create_pax_header(info, encoding, errors)
1507 errors = None # Error handler for unicode conversion. variable in class:TarFile
    [all...]
  /external/python/cpython2/Modules/_io/
textio.c 131 {"errors", (getter)textiobase_errors_get, NULL, textiobase_errors_doc},
192 PyObject *errors; member in struct:__anon32719
204 PyObject *errors = NULL; local
205 char *kwlist[] = {"decoder", "translate", "errors", NULL};
208 kwlist, &decoder, &translate, &errors))
214 if (errors == NULL) {
215 self->errors = PyUnicode_FromString("strict");
216 if (self->errors == NULL)
220 Py_INCREF(errors);
221 self->errors = errors
669 PyObject *errors; member in struct:__anon32720
831 char *errors = NULL; local
    [all...]
  /external/python/cpython2/Modules/
_testcapimodule.c 1647 char *errors = NULL; local
1706 const char *encoding, *errors = NULL; local
1716 const char *encoding, *errors = NULL; local
    [all...]
  /external/python/cpython2/Objects/
bytearrayobject.c 753 static char *kwlist[] = {"source", "encoding", "errors", 0};
756 const char *errors = NULL; local
769 &arg, &encoding, &errors))
774 if (encoding != NULL || errors != NULL) {
776 "encoding or errors without sequence argument");
785 encoded = _PyCodec_EncodeText(arg, encoding, errors);
811 encoded = _PyCodec_EncodeText(arg, encoding, errors);
824 /* If it's not unicode, there can't be encoding or errors */
825 if (encoding != NULL || errors != NULL) {
827 "encoding or errors without a string argument")
2566 const char *errors = NULL; local
    [all...]
fileobject.c 558 PyFile_SetEncodingAndErrors(PyObject *f, const char *enc, char* errors)
567 if (errors) {
568 oerrors = PyString_FromString(errors);
1827 const char *encoding, *errors; local
2569 char *errors = fobj->f_errors == Py_None ? local
    [all...]
  /external/python/cpython2/Python/
pythonrun.c 164 char *errors = NULL; local
289 errors = strchr(p, ':');
290 if (errors) {
291 *errors = '\0';
292 errors++;
355 if (!PyFile_SetEncodingAndErrors(sys_stream, icodeset, errors))
362 if (!PyFile_SetEncodingAndErrors(sys_stream, codeset, errors))
369 if (!PyFile_SetEncodingAndErrors(sys_stream, codeset, errors))
469 * XXX triggers a comedy of errors as subsystem after subsystem
992 /* old style errors */
    [all...]
  /external/python/cpython3/Lib/
tarfile.py 160 def stn(s, length, encoding, errors):
163 s = s.encode(encoding, errors)
166 def nts(s, encoding, errors):
172 return s.decode(encoding, errors)
278 """General exception for extract errors."""
290 """Base exception for header errors."""
803 def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="surrogateescape"):
809 return self.create_ustar_header(info, encoding, errors)
811 return self.create_gnu_header(info, encoding, errors)
817 def create_ustar_header(self, info, encoding, errors)
1402 errors = None # Error handler for unicode conversion. variable in class:TarFile
    [all...]
typing.py 651 pass # All real errors (not unhashable args) are raised below.
2291 def errors(self) -> Optional[str]: member in class:TextIO
    [all...]
  /external/python/cpython3/Modules/_io/
textio.c 168 {"errors", (getter)textiobase_errors_get, NULL, textiobase_errors_doc},
230 PyObject *errors; member in struct:__anon33326
240 errors: object(c_default="NULL") = "strict"
255 PyObject *errors)
261 if (errors == NULL) {
262 self->errors = PyUnicode_FromString("strict");
263 if (self->errors == NULL)
267 Py_INCREF(errors);
268 self->errors = errors;
641 PyObject *errors; member in struct:__anon33327
    [all...]
  /external/python/cpython3/Objects/
bytearrayobject.c 741 static char *kwlist[] = {"source", "encoding", "errors", 0};
744 const char *errors = NULL; local
757 &arg, &encoding, &errors))
762 if (encoding != NULL || errors != NULL) {
764 "encoding or errors without sequence argument");
778 encoded = PyUnicode_AsEncodedString(arg, encoding, errors);
790 /* If it's not unicode, there can't be encoding or errors */
791 if (encoding != NULL || errors != NULL) {
793 "encoding or errors without a string argument");
    [all...]
bytesobject.c 1073 const char *errors, const char *recode_encoding,
1083 u = PyUnicode_DecodeUTF8(*s, t - *s, errors);
1088 w = PyUnicode_AsEncodedString(u, recode_encoding, errors);
2522 const char *errors = NULL; local
    [all...]
exceptions.c 2252 PyObject *errors[MEMERRORS_SAVE]; local
    [all...]
  /external/python/cpython3/Python/
bltinmodule.c 42 _Py_IDENTIFIER(errors); variable
    [all...]
  /external/valgrind/coregrind/
m_errormgr.c 58 /* After this many different unsuppressed errors have been observed,
62 /* After this many different unsuppressed errors have been observed,
63 stop collecting errors at all, and tell the user their program is
67 /* After this many total errors have been observed, stop collecting
68 errors at all. Counterpart to M_COLLECT_NO_ERRORS_AFTER_SHOWN. */
72 Initially empty, and grows as errors are detected. */
73 static Error* errors = NULL; variable
80 /* Running count of unsuppressed errors detected. */
83 /* Running count of suppressed errors detected. */
86 /* Running count of errors shown. *
    [all...]
  /external/wpa_supplicant_8/src/ap/
hostapd.c 255 int errors = 0, idx; local
265 errors++;
268 return errors;
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
config.c 604 int val = 0, last, errors = 0; local
632 errors++;
644 errors++;
647 if (!errors && ssid->proto == val)
651 return errors ? -1 : 0;
705 int val = 0, last, errors = 0; local
790 errors++;
802 errors++;
805 if (!errors && ssid->key_mgmt == val)
809 return errors ? -1 : 0
1189 int val = 0, last, errors = 0; local
1426 int last, errors = 0; local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
Utils.java 460 final String[] errors = context.getResources().getStringArray(R.array.sync_status); local
462 if (status >= errors.length) {
465 return errors[status];
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
tarfile.py 226 def uts(s, encoding, errors):
229 if errors == "utf-8":
244 return s.encode(encoding, errors)
330 """General exception for extract errors."""
342 """Base exception for header errors."""
960 def get_info(self, encoding, errors):
984 info[key] = info[key].encode(encoding, errors)
988 def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="strict"):
991 info = self.get_info(encoding, errors)
998 return self.create_pax_header(info, encoding, errors)
1495 errors = None # Error handler for unicode conversion. variable in class:TarFile
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
tarfile.py 226 def uts(s, encoding, errors):
229 if errors == "utf-8":
244 return s.encode(encoding, errors)
330 """General exception for extract errors."""
342 """Base exception for header errors."""
960 def get_info(self, encoding, errors):
984 info[key] = info[key].encode(encoding, errors)
988 def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="strict"):
991 info = self.get_info(encoding, errors)
998 return self.create_pax_header(info, encoding, errors)
1495 errors = None # Error handler for unicode conversion. variable in class:TarFile
    [all...]
  /prebuilts/go/darwin-x86/src/regexp/testdata/
testregex.c 187 T(" -o ignore match[] overrun errors\n");
237 T(" u standard unspecified behavior -- errors not counted\n");
240 T(" x REG_LENIENT let some errors slide\n");
555 int errors; member in struct:__anon66637
675 state.errors++;
1107 state.errors++;
1352 testno = state.errors = state.ignored = state.lineno = state.passed =
    [all...]
  /prebuilts/go/linux-x86/src/regexp/testdata/
testregex.c 187 T(" -o ignore match[] overrun errors\n");
237 T(" u standard unspecified behavior -- errors not counted\n");
240 T(" x REG_LENIENT let some errors slide\n");
555 int errors; member in struct:__anon66647
675 state.errors++;
1107 state.errors++;
1352 testno = state.errors = state.ignored = state.lineno = state.passed =
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
tarfile.py 226 def uts(s, encoding, errors):
229 if errors == "utf-8":
244 return s.encode(encoding, errors)
330 """General exception for extract errors."""
342 """Base exception for header errors."""
960 def get_info(self, encoding, errors):
984 info[key] = info[key].encode(encoding, errors)
988 def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="strict"):
991 info = self.get_info(encoding, errors)
998 return self.create_pax_header(info, encoding, errors)
1495 errors = None # Error handler for unicode conversion. variable in class:TarFile
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
tarfile.py 226 def uts(s, encoding, errors):
229 if errors == "utf-8":
244 return s.encode(encoding, errors)
330 """General exception for extract errors."""
342 """Base exception for header errors."""
960 def get_info(self, encoding, errors):
984 info[key] = info[key].encode(encoding, errors)
988 def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="strict"):
991 info = self.get_info(encoding, errors)
998 return self.create_pax_header(info, encoding, errors)
1495 errors = None # Error handler for unicode conversion. variable in class:TarFile
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
PreCompilerBuilder.java 428 // if there was some XML errors, we just return w/o doing
981 final ArrayList<String> errors = new ArrayList<String>(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
LintViewPart.java 406 int errors = mLintView.getErrorCount(); local
408 mErrorLabel.setText(String.format("%1$d errors, %2$d warnings", errors, warnings));

Completed in 1554 milliseconds

<<11121314151617181920>>