HomeSort by relevance Sort by last modified time
    Searched refs:errors (Results 601 - 625 of 5875) sorted by null

<<21222324252627282930>>

  /external/python/cpython3/Modules/cjkcodecs/
multibytecodec.c 32 static char *incnewkwarglist[] = {"errors", NULL};
33 static char *streamkwarglist[] = {"stream", "errors", NULL};
69 internal_error_callback(const char *errors)
71 if (errors == NULL || strcmp(errors, "strict") == 0)
73 else if (strcmp(errors, "ignore") == 0)
75 else if (strcmp(errors, "replace") == 0)
78 return PyUnicode_FromString(errors);
82 call_error_callback(PyObject *errors, PyObject *exc)
87 assert(PyUnicode_Check(errors));
113 const char *errors; local
931 char *errors = NULL; local
1149 char *errors = NULL; local
1492 char *errors = NULL; local
1721 char *errors = NULL; local
    [all...]
  /external/tensorflow/tensorflow/python/lib/io/
file_io.py 31 from tensorflow.python.framework import errors
58 raise errors.InvalidArgumentError(
76 raise errors.PermissionDeniedError(None, None,
78 with errors.raise_exception_on_not_ok_status() as status:
85 raise errors.PermissionDeniedError(None, None,
87 with errors.raise_exception_on_not_ok_status() as status:
104 with errors.raise_exception_on_not_ok_status() as status:
121 with errors.raise_exception_on_not_ok_status() as status:
161 with errors.raise_exception_on_not_ok_status() as status:
169 raise errors.InvalidArgumentError
    [all...]
  /external/autotest/utils/
build_externals.py 91 errors = fetch_errors + install_errors
92 for error_msg in errors:
95 return len(errors)
131 errors = []
147 errors.append(msg)
151 return fetched_packages, errors
165 errors = []
181 errors.append(msg)
182 return errors
  /external/tensorflow/tensorflow/core/kernels/
decode_bmp_op.cc 39 errors::InvalidArgument("channels must be 0, 1, 3 or 4, got ",
53 errors::InvalidArgument("contents must be scalar, got shape ",
60 errors::InvalidArgument("Incomplete bmp content, requires at "
81 errors::InvalidArgument(
91 errors::InvalidArgument(
95 errors::InvalidArgument("Width must be positive"));
97 errors::InvalidArgument("header size must be nonnegative"));
105 errors::InvalidArgument(
123 errors::InvalidArgument("Incomplete bmp content, requires at least ",
  /external/tensorflow/tensorflow/core/platform/cloud/
google_auth_provider.cc 25 #include "tensorflow/core/lib/core/errors.h"
85 return errors::FailedPrecondition("'filename' cannot be nullptr.");
89 return errors::NotFound(strings::StrCat("$", kGoogleApplicationCredentials,
99 return errors::FailedPrecondition("'filename' cannot be nullptr.");
109 return errors::FailedPrecondition("Could not read $HOME.");
115 return errors::NotFound(
185 return errors::NotFound("Could not locate the credentials file.");
192 return errors::FailedPrecondition(
203 return errors::FailedPrecondition(
233 return errors::NotFound("The env variable for testing was not set.")
    [all...]
oauth_client.cc 29 #include "tensorflow/core/lib/core/errors.h"
54 return errors::FailedPrecondition("'value' cannot be nullptr.");
58 return errors::FailedPrecondition(
69 return errors::FailedPrecondition(
80 return errors::FailedPrecondition(
90 return errors::FailedPrecondition(
96 return errors::Internal("Could not get a sha256 encryptor.");
101 return errors::Internal("Could not create MD_CTX.");
109 return errors::Internal("DigestInit failed.");
112 return errors::Internal("DigestUpdate failed.")
    [all...]
  /external/guice/core/src/com/google/inject/internal/
InternalInjectorCreator.java 62 private final Errors errors = new Errors(); field in class:InternalInjectorCreator
72 injectionRequestProcessor = new InjectionRequestProcessor(errors, initializer);
104 shells = shellBuilder.build(initializer, bindingData, stopwatch, errors);
134 bindingData.runCreationListeners(errors);
140 initializer.validateOustandingInjections(errors);
143 new LookupProcessor(errors).process(shells);
145 ((DeferredLookups) shell.getInjector().lookups).initialize(errors);
155 errors.throwCreationExceptionIfErrorsExist()
180 loadEagerSingletons(shell.getInjector(), shellBuilder.getStage(), errors); local
    [all...]
InjectionRequestProcessor.java 42 InjectionRequestProcessor(Errors errors, Initializer initializer) {
43 super(errors);
57 errors.merge(e.getErrorMessages());
97 Errors errorsForMember = errors.withSource(source);
112 errors.merge(errorsForMember);
123 memberInjector.inject(errors, context, null);
SingleMethodInjector.java 35 SingleMethodInjector(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors)
40 parameterInjectors = injector.getParametersInjectors(injectionPoint.getDependencies(), errors);
81 public void inject(Errors errors, InternalContext context, Object o) {
84 parameters = SingleParameterInjector.getAll(errors, context, parameterInjectors);
86 errors.merge(e.getErrors());
98 errors.withSource(injectionPoint).errorInjectingMethod(cause);
  /external/python/cpython2/Lib/sqlite3/test/
dbapi.py 491 def run(con, errors):
494 errors.append("did not raise ProgrammingError")
499 errors.append("raised wrong exception")
501 errors = []
502 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
505 if len(errors) > 0:
506 self.fail("\n".join(errors))
509 def run(con, errors):
512 errors.append("did not raise ProgrammingError"
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/sqlite3/test/
dbapi.py 490 def run(con, errors):
493 errors.append("did not raise ProgrammingError")
498 errors.append("raised wrong exception")
500 errors = []
501 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
504 if len(errors) > 0:
505 self.fail("\n".join(errors))
508 def run(con, errors):
511 errors.append("did not raise ProgrammingError"
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/sqlite3/test/
dbapi.py 490 def run(con, errors):
493 errors.append("did not raise ProgrammingError")
498 errors.append("raised wrong exception")
500 errors = []
501 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
504 if len(errors) > 0:
505 self.fail("\n".join(errors))
508 def run(con, errors):
511 errors.append("did not raise ProgrammingError"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
dbapi.py 490 def run(con, errors):
493 errors.append("did not raise ProgrammingError")
498 errors.append("raised wrong exception")
500 errors = []
501 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
504 if len(errors) > 0:
505 self.fail("\n".join(errors))
508 def run(con, errors):
511 errors.append("did not raise ProgrammingError"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
dbapi.py 490 def run(con, errors):
493 errors.append("did not raise ProgrammingError")
498 errors.append("raised wrong exception")
500 errors = []
501 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
504 if len(errors) > 0:
505 self.fail("\n".join(errors))
508 def run(con, errors):
511 errors.append("did not raise ProgrammingError"
    [all...]
  /external/tensorflow/tensorflow/contrib/android/
asset_manager_filesystem.cc 94 return errors::NotFound("File ", file_name_, " not found.");
101 return errors::OutOfRange("Read after file end.");
107 return errors::Internal("Error reading from asset.");
112 : errors::OutOfRange("Read less bytes than requested.");
131 return errors::NotFound("File ", fname, " not found.");
142 return errors::NotFound("File ", fname, " not found.");
154 return errors::NotFound("File ", fname, " not found.");
164 return errors::Internal("Error reading from file ", fname,
168 return errors::Internal("Expected size does not match size read: ",
177 return errors::Internal("Error reading ", fname, " from asset manager.")
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
stringobject.h 107 const char *errors /* error handling */
117 const char *errors /* error handling */
126 const char *errors /* error handling */
140 const char *errors /* error handling */
149 const char *errors /* error handling */
163 const char *errors /* error handling */
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
rot_13.py 16 def encode(self,input,errors='strict'):
17 return codecs.charmap_encode(input,errors,encoding_map)
19 def decode(self,input,errors='strict'):
20 return codecs.charmap_decode(input,errors,decoding_map)
24 return codecs.charmap_encode(input,self.errors,encoding_map)[0]
28 return codecs.charmap_decode(input,self.errors,decoding_map)[0]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
stringobject.h 107 const char *errors /* error handling */
117 const char *errors /* error handling */
126 const char *errors /* error handling */
140 const char *errors /* error handling */
149 const char *errors /* error handling */
163 const char *errors /* error handling */
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
rot_13.py 16 def encode(self,input,errors='strict'):
17 return codecs.charmap_encode(input,errors,encoding_map)
19 def decode(self,input,errors='strict'):
20 return codecs.charmap_decode(input,errors,decoding_map)
24 return codecs.charmap_encode(input,self.errors,encoding_map)[0]
28 return codecs.charmap_decode(input,self.errors,decoding_map)[0]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
calc.rb 71 errors = parser.reported_errors
72 return [ value, errors ]
87 parser_value, errors = evaluate( expression )
93 val, errors = evaluate "6 - (2*1"
95 errors.should have( 1 ).thing
96 errors.first.should =~ /mismatched/
  /external/autotest/client/site_tests/platform_MemCheck/
platform_MemCheck.py 23 errors = 0
75 errors += 1
81 errors += 1
101 errors += 1
110 errors += 1
126 elif errors > 0:
127 # If self.error is not zero, there were errors.
  /external/autotest/client/site_tests/platform_OSLimits/
platform_OSLimits.py 62 errors = set()
139 errors.add(key)
149 errors.add(key)
157 errors.add(key)
159 # If self.error is not zero, there were errors.
160 if len(errors) > 0:
162 ', '.join(errors))
  /external/autotest/server/site_tests/display_HDCPScreen/
display_HDCPScreen.py 52 errors = []
93 errors.append(error_message)
102 errors.append(error_message)
107 resolution, test_mirrored, errors)
112 if errors:
113 raise error.TestFail('; '.join(set(errors)))
  /external/autotest/server/site_tests/display_HotPlugNoisy/
display_HotPlugNoisy.py 55 errors = []
84 errors):
125 resolution, test_mirrored, errors)
127 screen_test.check_external_display_connected(False, errors)
130 if errors:
131 raise error.TestFail('; '.join(set(errors)))
  /external/python/cpython2/Include/
stringobject.h 107 const char *errors /* error handling */
117 const char *errors /* error handling */
126 const char *errors /* error handling */
140 const char *errors /* error handling */
149 const char *errors /* error handling */
163 const char *errors /* error handling */

Completed in 1098 milliseconds

<<21222324252627282930>>