/external/python/cpython2/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/selinux/policycoreutils/setfiles/ |
restore.c | 74 int len, rc, errors; local 79 errors = glob(name, GLOB_TILDE | GLOB_PERIOD | 81 if (errors) 82 return errors; 93 errors = rc; 98 return errors;
|
/external/selinux/restorecond/ |
restore.c | 73 int len, rc, errors; local 78 errors = glob(name, GLOB_TILDE | GLOB_PERIOD | 80 if (errors) 81 return errors; 92 errors = rc; 97 return errors;
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
index_ops_cpu.cc | 43 errors::InvalidArgument( 53 OP_REQUIRES(ctx, dim >= 0, errors::InvalidArgument("dim must be >= 0")); 56 errors::InvalidArgument("dim must be < input rank (", 60 errors::InvalidArgument( 72 errors::InvalidArgument( 104 errors::Unimplemented(
|
slice_op.cc | 48 errors::InvalidArgument( 73 errors::InvalidArgument( 79 errors::InvalidArgument("Expected begin[", i, "] in [0, ", 83 errors::InvalidArgument("Expected size[", i, "] in [0, ", 101 errors::InvalidArgument( 105 errors::InvalidArgument("Expected size[", i, "] in [0, ",
|
sequence_ops.cc | 50 return errors::InvalidArgument("Invalid argument type for argument", 66 return errors::InvalidArgument("Requires delta != 0: ", delta); 70 return errors::InvalidArgument("Requires start <= limit when delta > 0: ", 75 return errors::InvalidArgument("Requires start >= limit when delta < 0: ", 103 errors::InvalidArgument("start must be a scalar, not shape ", 106 errors::InvalidArgument("limit must be a scalar, not shape ", 109 errors::InvalidArgument("delta must be a scalar, not shape ", 133 status = errors::InvalidArgument("Invalid type for Range ", 156 errors::InvalidArgument("start must be a scalar, not shape ", 159 errors::InvalidArgument("stop must be a scalar, not shape " [all...] |
/external/tensorflow/tensorflow/core/util/ |
memmapped_file_system_writer.cc | 33 return errors::FailedPrecondition( 38 return errors::InvalidArgument( 45 return errors::InvalidArgument( 61 return errors::FailedPrecondition( 66 return errors::InvalidArgument( 94 return errors::FailedPrecondition(
|
reffed_status_callback_test.cc | 20 #include "tensorflow/core/lib/core/errors.h" 31 Status status = errors::InvalidArgument(""); 51 cb->UpdateStatus(errors::Internal("1")); 52 cb->UpdateStatus(errors::Internal("2")); // Will be ignored. 68 cb->UpdateStatus(errors::Internal("1")); 70 cb->UpdateStatus(errors::Internal("2")); // Will be ignored. 96 cb->UpdateStatus(errors::InvalidArgument("err"));
|
/external/tensorflow/tensorflow/python/client/ |
device_lib.i | 46 errors::Internal("Could not serialize device string")); 76 from tensorflow.python.framework import errors 78 with errors.raise_exception_on_not_ok_status() as status:
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
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 */
|
/prebuilts/gdb/darwin-x86/lib/python2.7/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]
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
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 */
|
/prebuilts/gdb/linux-x86/lib/python2.7/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]
|
/prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/src/ |
spirv_tools_wrapper.cc | 59 spv_binary* binary, std::string* errors) { 64 errors->clear(); 74 *errors = oss.str(); 85 std::vector<uint32_t>* binary, std::string* errors) { 86 errors->clear(); 115 *errors = oss.str();
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
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 */
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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]
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
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 */
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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/tensorflow/tensorflow/core/kernels/ |
avgpooling_op.cc | 33 #include "tensorflow/core/lib/core/errors.h" 56 errors::InvalidArgument("Invalid data format")); 59 errors::InvalidArgument("Default AvgPoolingOp only supports NHWC ", 64 errors::InvalidArgument("Sliding window ksize field must " 68 errors::InvalidArgument("Sliding window stride field must " 72 errors::Unimplemented( 84 errors::Unimplemented("Non-spatial pooling is not " 89 errors::InvalidArgument("tensor_in must be 4-dimensional")); 121 errors::InvalidArgument("Invalid data format")); 124 errors::InvalidArgument("Sliding window ksize field must [all...] |
/external/python/cpython3/Lib/test/test_email/ |
test__header_value_parser.py | 4 from email import errors 24 self.assertDefectsEqual(unst.all_defects, [errors.UndecodableBytesDefect]) 28 self.assertDefectsEqual(parts[2].all_defects, [errors.UndecodableBytesDefect]) 92 with self.assertRaises(errors.HeaderParseError): 96 with self.assertRaises(errors.HeaderParseError): 100 with self.assertRaises(errors.HeaderParseError): 116 [errors.InvalidHeaderDefect], 162 [errors.NonPrintableDefect], 326 [errors.UndecodableBytesDefect], 335 [errors.UndecodableBytesDefect]*2 [all...] |
test__encoded_words.py | 3 from email import errors 36 self._test(b'dmk', b'vi', [errors.InvalidBase64PaddingDefect]) 39 self._test(b'dm\x01k===', b'vi', [errors.InvalidBase64CharactersDefect]) 42 self._test(b'dm\x01k', b'vi', [errors.InvalidBase64CharactersDefect, 43 errors.InvalidBase64PaddingDefect]) 82 defects = [errors.UndecodableBytesDefect]) 89 errors.InvalidBase64CharactersDefect, 90 errors.InvalidBase64PaddingDefect]) 95 defects = [errors.InvalidBase64CharactersDefect]) 101 errors.InvalidBase64CharactersDefect [all...] |
/external/tensorflow/tensorflow/core/lib/wav/ |
wav_io.cc | 24 #include "tensorflow/core/lib/core/errors.h" 88 return errors::InvalidArgument("Data too short when trying to read ", 93 return errors::InvalidArgument("Header mismatch: Expected ", expected_text, 104 return errors::InvalidArgument("Data too short when trying to read value"); 125 return errors::InvalidArgument("Data too short when trying to read string"); 144 return errors::InvalidArgument("audio is null"); 147 return errors::InvalidArgument("wav_string is null"); 150 return errors::InvalidArgument("sample_rate must be in (0, 2^32), got: ", 154 return errors::InvalidArgument("num_channels must be in (0, 2^16), got: ", 158 return errors::InvalidArgument("num_frames must be positive.") [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
IDNA.java | 153 * The label might be modified according to the types of errors. 154 * Labels with severe errors will be left in (or turned into) their Unicode form. 166 * The label might be modified according to the types of errors. 179 * The domain name might be modified according to the types of errors. 180 * Labels with severe errors will be left in (or turned into) their Unicode form. 192 * The domain name might be modified according to the types of errors. 202 * Output container for IDNA processing errors. 210 errors=EnumSet.noneOf(Error.class); 217 * Were there IDNA processing errors? 218 * @return true if there were processing errors 248 private EnumSet<Error> errors, labelErrors; field in class:IDNA.Info [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
IDNA.java | 160 * The label might be modified according to the types of errors. 161 * Labels with severe errors will be left in (or turned into) their Unicode form. 174 * The label might be modified according to the types of errors. 188 * The domain name might be modified according to the types of errors. 189 * Labels with severe errors will be left in (or turned into) their Unicode form. 202 * The domain name might be modified according to the types of errors. 213 * Output container for IDNA processing errors. 223 errors=EnumSet.noneOf(Error.class); 230 * Were there IDNA processing errors? 231 * @return true if there were processing errors 264 private EnumSet<Error> errors, labelErrors; field in class:IDNA.Info [all...] |
/external/selinux/python/chcat/ |
chcat | 72 errors = 0 108 errors += 1 110 return errors 120 errors = 0 147 errors += 1 148 return errors 152 errors = 0 188 errors += 1 189 return errors 199 errors = [all...] |