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

<<11121314151617181920>>

  /external/python/cpython2/Lib/encodings/
uu_codec.py 15 def uu_encode(input,errors='strict',filename='<data>',mode=0666):
20 errors defines the error handling to apply. It defaults to
25 assert errors == 'strict'
44 def uu_decode(input,errors='strict'):
53 errors defines the error handling to apply. It defaults to
61 assert errors == 'strict'
98 def encode(self,input,errors='strict'):
99 return uu_encode(input,errors)
101 def decode(self,input,errors='strict'):
102 return uu_decode(input,errors)
    [all...]
  /external/python/cpython3/Lib/encodings/
uu_codec.py 16 def uu_encode(input, errors='strict', filename='<data>', mode=0o666):
17 assert errors == 'strict'
33 def uu_decode(input, errors='strict'):
34 assert errors == 'strict'
67 def encode(self, input, errors='strict'):
68 return uu_encode(input, errors)
70 def decode(self, input, errors='strict'):
71 return uu_decode(input, errors)
75 return uu_encode(input, self.errors)[0]
79 return uu_decode(input, self.errors)[0
    [all...]
  /external/tensorflow/tensorflow/core/util/
saved_tensor_slice_util.cc 18 #include "tensorflow/core/lib/core/errors.h"
50 return errors::Internal("Failed to parse the leading number: src = ", src);
53 return errors::Internal(
57 return errors::Internal("Failed to parse the tensor name: src = ", src);
60 return errors::Internal("Failed to parse the tensor rank: src = ", src);
63 return errors::Internal("Expecting positive rank of the tensor, got ", x,
67 return errors::Internal("Too many elements ", x);
75 return errors::Internal("Failed to parse start: src = ", src);
79 return errors::Internal("Failed to parse length: src = ", src);
99 return errors::InvalidArgument
    [all...]
memmapped_file_system.cc 17 #include "tensorflow/core/lib/core/errors.h"
85 return errors::FailedPrecondition("MemmappedEnv is not initialized");
91 return errors::NotFound(fname, " not found");
97 return errors::FailedPrecondition("MemmappedEnv is not initialized");
101 return errors::NotFound("Region ", filename, " is not found");
112 return errors::FailedPrecondition("MemmappedEnv is not initialized");
116 return errors::NotFound("Region ", filename, " is not found");
126 return errors::FailedPrecondition("MemmappedEnv is not initialized");
130 return errors::NotFound("Region ", filename, " is not found");
147 return errors::Unimplemented("memmapped format doesn't support writing")
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/encodings/
uu_codec.py 15 def uu_encode(input,errors='strict',filename='<data>',mode=0666):
20 errors defines the error handling to apply. It defaults to
25 assert errors == 'strict'
44 def uu_decode(input,errors='strict'):
53 errors defines the error handling to apply. It defaults to
61 assert errors == 'strict'
98 def encode(self,input,errors='strict'):
99 return uu_encode(input,errors)
101 def decode(self,input,errors='strict'):
102 return uu_decode(input,errors)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/encodings/
uu_codec.py 15 def uu_encode(input,errors='strict',filename='<data>',mode=0666):
20 errors defines the error handling to apply. It defaults to
25 assert errors == 'strict'
44 def uu_decode(input,errors='strict'):
53 errors defines the error handling to apply. It defaults to
61 assert errors == 'strict'
98 def encode(self,input,errors='strict'):
99 return uu_encode(input,errors)
101 def decode(self,input,errors='strict'):
102 return uu_decode(input,errors)
    [all...]
  /prebuilts/go/darwin-x86/src/os/user/
lookup_android.go 9 import "errors"
12 return nil, errors.New("user: Lookup not implemented on android")
16 return nil, errors.New("user: LookupId not implemented on android")
20 return nil, errors.New("user: LookupGroup not implemented on android")
24 return nil, errors.New("user: LookupGroupId not implemented on android")
  /prebuilts/go/linux-x86/src/os/user/
lookup_android.go 9 import "errors"
12 return nil, errors.New("user: Lookup not implemented on android")
16 return nil, errors.New("user: LookupId not implemented on android")
20 return nil, errors.New("user: LookupGroup not implemented on android")
24 return nil, errors.New("user: LookupGroupId not implemented on android")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
uu_codec.py 15 def uu_encode(input,errors='strict',filename='<data>',mode=0666):
20 errors defines the error handling to apply. It defaults to
25 assert errors == 'strict'
44 def uu_decode(input,errors='strict'):
53 errors defines the error handling to apply. It defaults to
61 assert errors == 'strict'
98 def encode(self,input,errors='strict'):
99 return uu_encode(input,errors)
101 def decode(self,input,errors='strict'):
102 return uu_decode(input,errors)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
uu_codec.py 15 def uu_encode(input,errors='strict',filename='<data>',mode=0666):
20 errors defines the error handling to apply. It defaults to
25 assert errors == 'strict'
44 def uu_decode(input,errors='strict'):
53 errors defines the error handling to apply. It defaults to
61 assert errors == 'strict'
98 def encode(self,input,errors='strict'):
99 return uu_encode(input,errors)
101 def decode(self,input,errors='strict'):
102 return uu_decode(input,errors)
    [all...]
  /external/libcups/cups/
testi18n.c 121 errors; /* Error count */ local
198 errors = 0;
219 errors ++;
244 errors ++;
267 errors ++;
286 errors ++;
293 errors ++;
298 errors ++;
312 errors ++;
321 errors ++
    [all...]
  /external/guice/core/src/com/google/inject/internal/
MembersInjectorStore.java 43 @Override protected MembersInjectorImpl<?> create(TypeLiteral<?> type, Errors errors)
45 return createWithListeners(type, errors);
67 public <T> MembersInjectorImpl<T> get(TypeLiteral<T> key, Errors errors) throws ErrorsException {
68 return (MembersInjectorImpl<T>) cache.get(key, errors);
87 private <T> MembersInjectorImpl<T> createWithListeners(TypeLiteral<T> type, Errors errors)
89 int numErrorsBefore = errors.size();
95 errors.merge(e.getErrorMessages())
    [all...]
  /external/tensorflow/tensorflow/contrib/ffmpeg/
encode_audio_op.cc 66 errors::InvalidArgument("EncodeAudio requires exactly four inputs."));
74 errors::InvalidArgument(
79 errors::InvalidArgument(
83 errors::InvalidArgument(
88 errors::InvalidArgument(
93 errors::InvalidArgument(
104 errors::InvalidArgument(
107 errors::InvalidArgument(
112 errors::InvalidArgument("bits_per_second must be positive, but got: ",
162 errors::InvalidArgument("file_format arg must be \"wav\"."))
    [all...]
  /external/tensorflow/tensorflow/core/platform/cloud/
retrying_utils_test.cc 30 std::function<Status()> f = []() { return errors::Unavailable("Failed."); };
33 EXPECT_EQ(errors::Code::ABORTED, status.code());
57 {errors::Unavailable("Failed."), errors::NotFound("Not found.")});
63 EXPECT_EQ(errors::Code::NOT_FOUND,
81 std::vector<Status> results({errors::Unavailable("Failed."),
82 errors::Unavailable("Failed again."),
103 std::vector<Status> delete_results({errors::Unavailable(""), Status::OK()});
114 {errors::Unavailable(""), errors::PermissionDenied("")})
    [all...]
  /toolchain/binutils/binutils-2.27/libiberty/
gather-docs 54 $errors = 0;
60 $errors ++;
101 exit $errors if $errors;
105 $errors ++;
123 $errors ++;
128 exit $errors;
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
test_support.py 12 # the number of errors that are encountered.
19 # errors = 0
20 # errors += EXPECT_EQ('test', test())
22 # return errors
124 # errors
126 errors = 0
128 errors += EXPECT_EQ('test', module.name)
129 errors += EXPECT_EQ('testspace', module.namespace)
130 errors += EXPECT_EQ(1, len(module.structs))
131 errors += EXPECT_EQ('teststruct', module.structs[0].name
    [all...]
  /external/python/cpython3/Modules/
_codecsmodule.c 17 <encoding>_encode(Unicode_object[,errors='strict']) ->
20 <encoding>_decode(char_buffer_obj[,errors='strict']) ->
91 errors: str(c_default="NULL") = "strict"
95 The default encoding is 'utf-8'. errors may be given to set a
97 errors raise a ValueError. Other possible values are 'ignore', 'replace'
104 const char *errors)
111 return PyCodec_Encode(obj, encoding, errors);
118 errors: str(c_default="NULL") = "strict"
122 Default encoding is 'utf-8'. errors may be given to set a
124 errors raise a ValueError. Other possible values are 'ignore', 'replace
    [all...]
  /external/tensorflow/tensorflow/core/lib/io/
random_inputstream.cc 35 return errors::InvalidArgument("Cannot read negative number of bytes");
46 if (s.ok() || errors::IsOutOfRange(s)) {
55 return errors::OutOfRange("reached end of file");
66 return errors::InvalidArgument("Can't skip a negative number of bytes");
74 if ((s.ok() || errors::IsOutOfRange(s)) && data.size() == 1) {
84 if (s.ok() || errors::IsOutOfRange(s)) {
90 return errors::OutOfRange("reached end of file");
  /system/extras/libfec/test/
test_rs.c 39 int i, rc, neras, errors; local
56 printf("%d errors\n", neras);
69 errors = 0;
73 ++errors;
76 printf("\t\t%d errors in output\n", errors);
82 errors = 0;
86 ++errors;
89 printf("\t\t%d errors in output\n", errors);
    [all...]
  /external/fec/
rstest.c 72 int errors; local
83 for(errors=0;errors<=(nn-kk)/2;errors++){
91 /* Make temp copy, seed with errors */
96 for(i=0;i<errors;i++){
117 if(derrors != errors){
118 printf("(%d,%d) decoder says %d errors, true number is %d\n",nn,kk,derrors,errors);
128 printf("(%d,%d) decoder uncorrected errors! output ^ input:",nn,kk)
144 int errors; local
225 int errors; local
    [all...]
  /external/junit/src/main/java/org/junit/experimental/theories/
Theories.java 77 protected void collectInitializationErrors(List<Throwable> errors) {
78 super.collectInitializationErrors(errors);
79 validateDataPointFields(errors);
80 validateDataPointMethods(errors);
83 private void validateDataPointFields(List<Throwable> errors) {
91 errors.add(new Error("DataPoint field " + field.getName() + " must be static"));
94 errors.add(new Error("DataPoint field " + field.getName() + " must be public"));
99 private void validateDataPointMethods(List<Throwable> errors) {
107 errors.add(new Error("DataPoint method " + method.getName() + " must be static"));
110 errors.add(new Error("DataPoint method " + method.getName() + " must be public"))
133 validateParameterSupplier(annotation.value(), errors); local
    [all...]
  /external/junit/src/main/java/org/junit/internal/runners/rules/
RuleMemberValidator.java 18 * {@code TestClass} are written to a list of errors.
83 * for rejecting the class to a list of errors.
86 * @param errors the list of errors.
88 public void validate(TestClass target, List<Throwable> errors) {
93 validateMember(each, errors);
97 private void validateMember(FrameworkMember<?> member, List<Throwable> errors) {
99 strategy.validate(member, annotation, errors);
155 * Examine the given member and add any violations of the strategy's validation logic to the given list of errors
158 * @param errors The list of errors to add validation violations t
    [all...]
  /external/junit/src/main/java/org/junit/runners/
BlockJUnit4ClassRunner.java 123 protected void collectInitializationErrors(List<Throwable> errors) {
124 super.collectInitializationErrors(errors);
126 validateNoNonStaticInnerClass(errors);
127 validateConstructor(errors);
128 validateInstanceMethods(errors);
129 validateFields(errors);
130 validateMethods(errors);
133 protected void validateNoNonStaticInnerClass(List<Throwable> errors) {
137 errors.add(new Exception(gripe));
142 * Adds to {@code errors} if the test class has more than one constructor
196 RULE_VALIDATOR.validate(getTestClass(), errors); local
200 RULE_METHOD_VALIDATOR.validate(getTestClass(), errors); local
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
image_resizer_state.h 60 errors::InvalidArgument("input must be 4-dimensional",
64 errors::InvalidArgument("shape_t must be 1-dimensional",
67 errors::InvalidArgument("shape_t must have two elements",
78 errors::InvalidArgument("input sizes must be between 0 and max int32"));
84 errors::InvalidArgument("output dimensions must be positive"));
87 errors::InvalidArgument("image must have at least one channel"));
90 errors::InvalidArgument("input image must be of non-zero size"));
98 errors::InvalidArgument(
103 errors::InvalidArgument(
139 errors::InvalidArgument("input_grad must be 4-dimensional"
    [all...]
  /external/autotest/client/cros/cellular/
scpi.py 14 errors when we take the first ref or drop the last ref.
20 On first entry, we check for errors, but do not stop if we find
21 them; these are errors that were accumulated on the device before
34 errors = self.scpi._WaitAndFetchErrors(
35 raise_on_error=False) # Never raise when clearing old errors
81 errors = []
102 errors.append(error)
105 errors.reverse()
106 return errors
109 """Waits for command completion, returns errors.""
    [all...]

Completed in 1201 milliseconds

<<11121314151617181920>>