/external/conscrypt/platform/src/main/java/org/conscrypt/ct/ |
Serialization.java | 37 public static byte[] readDEROctetString(byte[] input) 39 return readDEROctetString(new ByteArrayInputStream(input)); 42 public static byte[] readDEROctetString(InputStream input) 44 int tag = readByte(input) & DER_TAG_MASK; 49 int width = readNumber(input, 1); 51 length = readNumber(input, width & ~DER_LENGTH_LONG_FORM_FLAG); 56 return readFixedBytes(input, length); 59 public static byte[][] readList(byte[] input, int listWidth, int elemWidth) 61 return readList(new ByteArrayInputStream(input), listWidth, elemWidth); 72 public static byte[][] readList(InputStream input, int listWidth, int elemWidth [all...] |
/external/python/cpython2/Lib/encodings/ |
utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 17 def decode(input, errors='strict'): 19 if input[:3] == codecs.BOM_UTF8: 20 input = input[3:] 22 (output, consumed) = codecs.utf_8_decode(input, errors, True) 30 def encode(self, input, final=False): 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0 [all...] |
/packages/services/Telephony/src/com/android/phone/ |
SpecialCharSequenceMgr.java | 69 * Check for special strings of digits from an input 71 * @param context input Context for the events we handle. 72 * @param input the dial string to be examined. 74 static boolean handleChars(Context context, String input) { 75 return handleChars(context, input, null); 91 * @param context input Context for the events we handle. 92 * @param input the dial string to be examined. 97 * @return true if the input was a special string which has been 101 String input, 105 String dialString = PhoneNumberUtils.stripSeparators(input); [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/encodings/ |
utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 17 def decode(input, errors='strict'): 19 if input[:3] == codecs.BOM_UTF8: 20 input = input[3:] 22 (output, consumed) = codecs.utf_8_decode(input, errors, True) 30 def encode(self, input, final=False): 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/encodings/ |
utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 17 def decode(input, errors='strict'): 19 if input[:3] == codecs.BOM_UTF8: 20 input = input[3:] 22 (output, consumed) = codecs.utf_8_decode(input, errors, True) 30 def encode(self, input, final=False): 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 17 def decode(input, errors='strict'): 19 if input[:3] == codecs.BOM_UTF8: 20 input = input[3:] 22 (output, consumed) = codecs.utf_8_decode(input, errors, True) 30 def encode(self, input, final=False): 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 17 def decode(input, errors='strict'): 19 if input[:3] == codecs.BOM_UTF8: 20 input = input[3:] 22 (output, consumed) = codecs.utf_8_decode(input, errors, True) 30 def encode(self, input, final=False): 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0 [all...] |
/external/libmojo/mojo/public/cpp/bindings/ |
stl_converters.h | 30 // take an rvalue ref as input in order to avoid accidental copies. 55 static Type Unwrap(T input) { return input; } 63 static Type Unwrap(Array<T> input) { 64 return Helper<T>::Run(std::move(input)); 74 static Type Run(Array<T> input) { 76 output.reserve(input.size()); 77 for (size_t i = 0; i < input.size(); ++i) 78 output.push_back(UnwrapTraits<T>::Unwrap(std::move(input[i]))); 86 static Type Run(Array<T> input) { return input.PassStorage(); [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
xmppengine_unittest.cc | 96 std::string input = local 100 engine()->HandleInput(input.c_str(), input.length()); 102 input = 112 engine()->HandleInput(input.c_str(), input.length()); 119 input = "<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"; 120 engine()->HandleInput(input.c_str(), input.length()); 129 input = "<stream:stream id=\"01234567\" version=\"1.0\" 229 std::string input = "<!DOCTYPE HTML PUBLIC \\"-\/\/IETF\/\/DTD HTML 2.0\/\/EN\\">"; local 290 std::string input = "<iq type='result' id='2'>" local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
CParser.py | 97 def __init__(self, input):
98 Parser.__init__(self, input)
149 translation_unit_StartIndex = self.input.index()
152 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 1):
160 LA1_0 = self.input.LA(1)
185 self.recover(self.input, re)
188 self.memoize(self.input, 1, translation_unit_StartIndex)
201 external_declaration_StartIndex = self.input.index()
204 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 2):
209 LA3_0 = self.input.LA(1) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
CParser.py | 97 def __init__(self, input):
98 Parser.__init__(self, input)
149 translation_unit_StartIndex = self.input.index()
152 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 1):
160 LA1_0 = self.input.LA(1)
185 self.recover(self.input, re)
188 self.memoize(self.input, 1, translation_unit_StartIndex)
201 external_declaration_StartIndex = self.input.index()
204 if self.backtracking > 0 and self.alreadyParsedRule(self.input, 2):
209 LA3_0 = self.input.LA(1) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCLexer.m | 211 if ((([input LA:1] >= 'A') && ([input LA:1] <= 'Z'))||[input LA:1] == '_'||(([input LA:1] >= 'a') && ([input LA:1] <= 'z'))) { 212 [input consume]; 214 ANTLRMismatchedSetException *mse = [ANTLRMismatchedSetException newException:nil stream:input]; 222 NSInteger LA1_0 = [input LA:1]; 232 if ((([input LA:1] >= '0') && ([input LA:1] <= '9'))||(([input LA:1] >= 'A') && ([input LA:1] <= 'Z'))||[input LA:1] == '_'||(([input LA (…) [all...] |
/system/tools/aidl/tests/android/aidl/tests/ |
ITestService.aidl | 52 SimpleParcelable RepeatSimpleParcelable(in SimpleParcelable input, 54 PersistableBundle RepeatPersistableBundle(in PersistableBundle input); 57 boolean[] ReverseBoolean(in boolean[] input, out boolean[] repeated); 58 byte[] ReverseByte (in byte[] input, out byte[] repeated); 59 char[] ReverseChar (in char[] input, out char[] repeated); 60 int[] ReverseInt (in int[] input, out int[] repeated); 61 long[] ReverseLong (in long[] input, out long[] repeated); 62 float[] ReverseFloat (in float[] input, out float[] repeated); 63 double[] ReverseDouble (in double[] input, out double[] repeated); 64 String[] ReverseString (in String[] input, out String[] repeated) [all...] |
/device/google/contexthub/firmware/lib/builtins/ |
aeabi_llsl.c | 27 dwords input; local 29 input.all = a; 33 result.s.high = input.s.low << (b - bits_in_word); 39 result.s.low = input.s.low << b; 40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_word - b));
|
aeabi_llsr.c | 27 udwords input; local 29 input.all = a; 33 result.s.low = input.s.high >> (b - bits_in_word); 39 result.s.high = input.s.high >> b; 40 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeParser.cs | 54 protected ITreeNodeStream input; field in class:Antlr.Runtime.Tree.TreeParser 56 public TreeParser(ITreeNodeStream input) 59 SetTreeNodeStream(input); 62 public TreeParser(ITreeNodeStream input, RecognizerSharedState state) 65 SetTreeNodeStream(input); 70 if (input != null) { 71 input.Seek(0); // rewind the input 75 /** <summary>Set the input stream</summary> */ 76 public virtual void SetTreeNodeStream(ITreeNodeStream input) { [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreeParser.cs | 56 protected ITreeNodeStream input; field in class:Antlr.Runtime.Tree.TreeParser 58 public TreeParser( ITreeNodeStream input ) 61 SetTreeNodeStream( input ); 64 public TreeParser( ITreeNodeStream input, RecognizerSharedState state ) 67 SetTreeNodeStream( input ); 73 if ( input != null ) 75 input.Seek( 0 ); // rewind the input 79 /** <summary>Set the input stream</summary> */ 80 public virtual void SetTreeNodeStream( ITreeNodeStream input ) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/ |
SimpleCLexer.m | 546 if ((([input LA:1] >= 'A') && ([input LA:1] <= 'Z'))||[input LA:1] == '_'||(([input LA:1] >= 'a') && ([input LA:1] <= 'z'))) { 547 [input consume]; 549 ANTLRMismatchedSetException *mse = [ANTLRMismatchedSetException newException:nil stream:input]; 557 NSInteger LA1_0 = [input LA:1]; 567 if ((([input LA:1] >= '0') && ([input LA:1] <= '9'))||(([input LA:1] >= 'A') && ([input LA:1] <= 'Z'))||[input LA:1] == '_'||(([input LA (…) [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
mexpr.pl | 14 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => $_ }); 15 my $lexer = MExprLexer->new($input);
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/zero-one/ |
t.pl | 12 my $input = ANTLR::Runtime::ANTLRStringStream->new({ input => '010' }); 13 my $lexer = TLexer->new($input);
|
/external/guava/guava/src/com/google/common/hash/ |
HashFunction.java | 31 * <li><b>block of data:</b> the input for a hash function is always, in concept, an 42 * <li><b>pure function:</b> the value produced must depend only on the input bytes, in 43 * the order they appear. Input data is never modified. {@link HashFunction} instances 65 * input. The true test of a hash function is how it performs on representative 77 * designed to make it as infeasible as possible to reverse-engineer the input that 89 * <h3>Providing input to a hash function</h3> 147 * expected size of the input (in bytes). This is only important for non-streaming hash 148 * functions (hash functions that need to buffer their whole input before processing any 154 * Shortcut for {@code newHasher().putInt(input).hash()}; returns the hash code for the given 160 HashCode hashInt(int input); [all...] |
/external/libmojo/mojo/public/cpp/bindings/lib/ |
validation_util.cc | 145 bool IsHandleOrInterfaceValid(const AssociatedInterface_Data& input) { 146 return IsValidInterfaceId(input.interface_id); 149 bool IsHandleOrInterfaceValid(const AssociatedInterfaceRequest_Data& input) { 150 return IsValidInterfaceId(input.interface_id); 153 bool IsHandleOrInterfaceValid(const Interface_Data& input) { 154 return input.handle.is_valid(); 157 bool IsHandleOrInterfaceValid(const Handle_Data& input) { 158 return input.is_valid(); 162 const AssociatedInterface_Data& input, 165 if (IsHandleOrInterfaceValid(input)) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
FieldUtil.java | 43 @Override public boolean apply(@Nullable Field input) { 44 return input!=null && isStatic(input); 49 @Override public boolean apply(@Nullable Field input) { 50 return input!= null && !isStatic(input);
|
/frameworks/base/cmds/input/ |
Android.mk | 8 LOCAL_MODULE_STEM := input 12 LOCAL_MODULE := input 14 LOCAL_SRC_FILES := input
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
PixelUtils.java | 36 * @param input The input buffer containing pixel data. 38 * @param width The width of the input image. 39 * @param height The height of the input image. 44 public static void copyPixels(ByteBuffer input, 51 if (input.remaining() != output.remaining()) { 52 throw new IllegalArgumentException("Input and output buffers must have the same size!"); 53 } else if (input.remaining() % 4 != 0) { 54 throw new IllegalArgumentException("Input buffer size must be a multiple of 4!"); 57 } else if ((width * height * 4) != input.remaining()) [all...] |