/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
Parser.as | 35 protected var input:TokenStream; 37 public function Parser(input:TokenStream, state:RecognizerSharedState = null) { 39 tokenStream = input; 44 if ( input!=null ) { 45 input.seek(0); // rewind the input 49 protected override function getCurrentInputSymbol(input:IntStream):Object { 50 return TokenStream(input).LT(1); 53 protected override function getMissingSymbol(input:IntStream, 61 var current:Token = TokenStream(input).LT(1) [all...] |
EarlyExitException.as | 34 public function EarlyExitException(decisionNumber:int, input:IntStream) { 35 super(input);
|
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/ |
ashldi3.c | 67 dwords input;
local 69 input.all = a;
73 result.high = input.low << (b - bits_in_word);
79 result.low = input.low << b;
80 result.high = (input.high << b) | (input.low >> (bits_in_word - b));
|
lshrdi3.c | 67 udwords input;
local 69 input.all = a;
73 result.low = input.high >> (b - bits_in_word);
79 result.high = input.high >> b;
80 result.low = (input.high << (bits_in_word - b)) | (input.low >> b);
|
/external/compiler-rt/lib/builtins/ |
ashldi3.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));
|
ashlti3.c | 27 twords input; local 29 input.all = a; 33 result.s.high = input.s.low << (b - bits_in_dword); 39 result.s.low = input.s.low << b; 40 result.s.high = (input.s.high << b) | (input.s.low >> (bits_in_dword - b));
|
lshrdi3.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);
|
lshrti3.c | 27 utwords input; local 29 input.all = a; 33 result.s.low = input.s.high >> (b - bits_in_dword); 39 result.s.high = input.s.high >> b; 40 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b);
|
/external/libmojo/mojo/public/cpp/bindings/ |
array_traits_stl.h | 20 static bool IsNull(const std::vector<T>& input) { 30 static size_t GetSize(const std::vector<T>& input) { return input.size(); } 32 static T* GetData(std::vector<T>& input) { return input.data(); } 34 static const T* GetData(const std::vector<T>& input) { return input.data(); } 36 static typename std::vector<T>::reference GetAt(std::vector<T>& input, 38 return input[index]; 42 const std::vector<T>& input, [all...] |
string_traits_string16.h | 16 static bool IsNull(const base::string16& input) { 26 static void* SetUpContext(const base::string16& input); 27 static void TearDownContext(const base::string16& input, void* context); 29 static size_t GetSize(const base::string16& input, void* context); 30 static const char* GetData(const base::string16& input, void* context); 32 static bool Read(StringDataView input, base::string16* output);
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
validation_util.cc | 103 bool IsHandleOrInterfaceValid(const AssociatedInterface_Data& input) { 104 return input.handle.is_valid(); 107 bool IsHandleOrInterfaceValid(const AssociatedEndpointHandle_Data& input) { 108 return input.is_valid(); 111 bool IsHandleOrInterfaceValid(const Interface_Data& input) { 112 return input.handle.is_valid(); 115 bool IsHandleOrInterfaceValid(const Handle_Data& input) { 116 return input.is_valid(); 120 const AssociatedInterface_Data& input, 123 if (IsHandleOrInterfaceValid(input)) [all...] |
string_serialization.h | 25 static size_t PrepareToSerialize(MaybeConstUserType& input, 27 if (CallIsNullIfExists<Traits>(input)) 30 void* custom_context = CustomContextHelper<Traits>::SetUp(input, context); 32 CallWithContext(Traits::GetSize, input, custom_context)); 35 static void Serialize(MaybeConstUserType& input, 39 if (CallIsNullIfExists<Traits>(input)) { 47 CallWithContext(Traits::GetSize, input, custom_context), buffer); 50 CallWithContext(Traits::GetData, input, custom_context), 51 CallWithContext(Traits::GetSize, input, custom_context)); 55 CustomContextHelper<Traits>::TearDown(input, custom_context) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HeaderParser.java | 21 * Returns the next index in {@code input} at or after {@code pos} that 22 * contains a character from {@code characters}. Returns the input length if 25 public static int skipUntil(String input, int pos, String characters) { 26 for (; pos < input.length(); pos++) { 27 if (characters.indexOf(input.charAt(pos)) != -1) { 35 * Returns the next non-whitespace character in {@code input} that is white 36 * space. Result is undefined if input contains newline characters. 38 public static int skipWhitespace(String input, int pos) { 39 for (; pos < input.length(); pos++) { 40 char c = input.charAt(pos) [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
Parser.js | 4 org.antlr.runtime.Parser = function(input, state) { 6 this.setTokenStream(input); 13 if ( org.antlr.lang.isValue(this.input) ) { 14 this.input.seek(0); // rewind the input 18 getCurrentInputSymbol: function(input) { 19 return input.LT(1); 22 getMissingSymbol: function(input, 30 var current = input.LT(1); 34 current = input.LT(-1) [all...] |
/external/webrtc/webrtc/base/ |
md5digest_unittest.cc | 17 std::string Md5(const std::string& input) { 19 return ComputeDigest(&md5, input); 40 std::string input = "abcdefghijklmnopqrstuvwxyz"; local 42 for (size_t i = 0; i < input.size(); ++i) { 43 md5.Update(&input[i], 1); 52 std::string input = "message digest"; local 53 EXPECT_EQ("f96b697d7cb7938d525a2f31aaf161d0", ComputeDigest(&md5, input)); 54 input = "abcdefghijklmnopqrstuvwxyz"; 55 EXPECT_EQ("c3fcd3d76192e4007dfb496cca67e13b", ComputeDigest(&md5, input)); 60 std::string input = "abcdefghijklmnopqrstuvwxyz" local 75 EXPECT_EQ(static_cast<char>(i), input[i]); local [all...] |
sha1digest_unittest.cc | 17 std::string Sha1(const std::string& input) { 19 return ComputeDigest(&sha1, input); 40 std::string input = local 43 for (size_t i = 0; i < input.size(); ++i) { 44 sha1.Update(&input[i], 1); 53 std::string input = "abc"; local 55 ComputeDigest(&sha1, input)); 56 input = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"; 58 ComputeDigest(&sha1, input)); 63 std::string input = "abcdefghijklmnopqrstuvwxyz" local 78 EXPECT_EQ(static_cast<char>(i), input[i]); local [all...] |
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/ |
FunctionWithDefaultMethod.java | 20 /** Desugaring test input interface that includes a default method and a static method. */ 24 T apply(T input); 27 return input -> input.longValue(); 30 default T twice(T input) { 31 return apply(apply(input)); 36 return input -> input + add; 45 public Integer apply(Integer input) { 46 return 2 * input; [all...] |
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
test_VIDIOC_ENUMINPUT.c | 46 struct v4l2_input input; local 52 memset(&input, 0xff, sizeof(input)); 53 input.index = i; 54 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); 63 CU_ASSERT_EQUAL(input.index, i); 65 CU_ASSERT(0 < strlen((char *)input.name)); 67 ((char *)input.name, sizeof(input.name))); 69 //CU_ASSERT_EQUAL(input.type, ?) 116 struct v4l2_input input; local 138 struct v4l2_input input; local 160 struct v4l2_input input; local 183 struct v4l2_input input; local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
DebugTreeNodeStream.cs | 47 protected ITreeNodeStream input; field in class:Antlr.Runtime.Debug.DebugTreeNodeStream 53 public DebugTreeNodeStream(ITreeNodeStream input, 55 this.input = input; 56 this.adaptor = input.TreeAdaptor; 57 this.input.UniqueNavigationNodes = true; 72 return input.Index; 77 return input.TokenStream; 87 return input; 99 return input.UniqueNavigationNodes [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
DebugTreeNodeStream.cs | 49 protected ITreeNodeStream input; field in class:Antlr.Runtime.Debug.DebugTreeNodeStream 55 public DebugTreeNodeStream( ITreeNodeStream input, 58 this.input = input; 59 this.adaptor = input.TreeAdaptor; 60 this.input.UniqueNavigationNodes = true; 80 return input.Index; 87 return input.TokenStream; 101 return input; 115 return input.UniqueNavigationNodes [all...] |
/external/libvpx/libvpx/vpx_dsp/ |
inv_txfm.h | 24 static INLINE tran_high_t check_range(tran_high_t input) { 26 // For valid VP9 input streams, intermediate stage coefficients should always 32 assert(INT16_MIN <= input); 33 assert(input <= INT16_MAX); 35 return input; 38 static INLINE tran_high_t dct_const_round_shift(tran_high_t input) { 39 tran_high_t rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); 44 static INLINE tran_high_t highbd_check_range(tran_high_t input, int bd) { 53 assert(int_min <= input); 54 assert(input <= int_max) [all...] |
/external/eigen/unsupported/test/ |
cxx11_tensor_convolution.cpp | 20 Tensor<float, 2, DataLayout> input(3, 3); 23 input.setRandom(); 30 typedef TensorEvaluator<decltype(input.convolve(kernel, dims3)), DefaultDevice> Evaluator; 31 Evaluator eval(input.convolve(kernel, dims3), DefaultDevice()); 37 VERIFY_IS_APPROX(result(0,0), input(0,0)*kernel(0) + input(1,0)*kernel(1)); // index 0 38 VERIFY_IS_APPROX(result(0,1), input(0,1)*kernel(0) + input(1,1)*kernel(1)); // index 2 39 VERIFY_IS_APPROX(result(0,2), input(0,2)*kernel(0) + input(1,2)*kernel(1)); // index [all...] |
/cts/tests/app/src/android/app/cts/ |
RemoteInputTest.java | 33 RemoteInput input = newDataOnlyRemoteInput(); local 35 assertTrue(input.isDataOnly()); 36 assertFalse(input.getAllowFreeFormInput()); 37 assertTrue(input.getChoices() == null || input.getChoices().length == 0); 38 assertEquals(1, input.getAllowedDataTypes().size()); 39 assertTrue(input.getAllowedDataTypes().contains(MIME_TYPE)); 43 RemoteInput input = newTextRemoteInput(); local 45 assertFalse(input.isDataOnly()); 46 assertTrue(input.getAllowFreeFormInput()) 52 RemoteInput input = newChoicesOnlyRemoteInput(); local 64 RemoteInput input = local 79 RemoteInput input = newDataOnlyRemoteInput(); local 90 RemoteInput input = newTextRemoteInput(); local 105 RemoteInput input = newTextAndDataRemoteInput(); local 120 RemoteInput input = newTextAndDataRemoteInput(); local 140 RemoteInput input = newTextAndDataRemoteInput(); local 160 RemoteInput input = newTextAndDataRemoteInput(); local [all...] |
/external/adhd/cras/src/dsp/ |
dsp_util.h | 19 * input - The interleaved input buffer. Every "channels" samples is a frame. 24 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, 31 * input - Pointers to input buffers. There are "channels" input buffers. 37 void dsp_util_interleave(float *const *input, int16_t *output, int channels,
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
MismatchedNotSetException.java | 34 public MismatchedNotSetException(BitSet expecting, IntStream input) { 35 super(expecting, input);
|