HomeSort by relevance Sort by last modified time
    Searched refs:input (Results 1 - 25 of 8657) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/av/media/libeffects/lvm/lib/Common/src/
Abs_32.c 26 * Input : Signed 32-bit integer
33 LVM_INT32 Abs_32(LVM_INT32 input)
35 if(input < 0)
37 if (input == (LVM_INT32)(0x80000000U))
40 input=(LVM_INT32) 0x7fffffff;
44 /* Negative input, so invert */
45 input = (LVM_INT32)(-input);
48 return input;
  /packages/apps/Contacts/src/com/android/contacts/util/
MoreMath.java 24 * If the input value lies outside of the specified range, return the nearer
25 * bound. Otherwise, return the input value, unchanged.
27 public static int clamp(int input, int lowerBound, int upperBound) {
28 if (input < lowerBound) return lowerBound;
29 if (input > upperBound) return upperBound;
30 return input;
34 * If the input value lies outside of the specified range, return the nearer
35 * bound. Otherwise, return the input value, unchanged.
37 public static float clamp(float input, float lowerBound, float upperBound) {
38 if (input < lowerBound) return lowerBound
    [all...]
  /external/libmojo/mojo/public/cpp/bindings/
string_traits_standard.h 15 static bool IsNull(const String& input) { return input.is_null(); }
18 static size_t GetSize(const String& input) { return input.size(); }
20 static const char* GetData(const String& input) { return input.data(); }
22 static bool Read(StringDataView input, String* output) {
23 String result(input.storage(), input.size());
array_traits_standard.h 17 static bool IsNull(const Array<T>& input) { return input.is_null(); }
20 static size_t GetSize(const Array<T>& input) { return input.size(); }
22 static T* GetData(Array<T>& input) { return &input.front(); }
24 static const T* GetData(const Array<T>& input) { return &input.front(); }
26 static typename Array<T>::RefType GetAt(Array<T>& input, size_t index) {
27 return input[index]
    [all...]
array_traits_wtf.h 17 static bool IsNull(const WTFArray<U>& input) { return input.is_null(); }
20 static size_t GetSize(const WTFArray<U>& input) { return input.size(); }
22 static U* GetData(WTFArray<U>& input) { return &input.front(); }
24 static const U* GetData(const WTFArray<U>& input) { return &input.front(); }
26 static U& GetAt(WTFArray<U>& input, size_t index) { return input[index];
    [all...]
array_traits_wtf_vector.h 17 static bool IsNull(const WTF::Vector<U>& input) {
27 static size_t GetSize(const WTF::Vector<U>& input) { return input.size(); }
29 static U* GetData(WTF::Vector<U>& input) { return input.data(); }
31 static const U* GetData(const WTF::Vector<U>& input) { return input.data(); }
33 static U& GetAt(WTF::Vector<U>& input, size_t index) { return input[index]; }
35 static const U& GetAt(const WTF::Vector<U>& input, size_t index)
    [all...]
  /external/curl/lib/
dotdot.h 24 char *Curl_dedotdotify(const char *input);
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
swap_bytes.c 26 const uint16_t* input, /* (i) the sequence to swap */
32 *output++ = (*input >> 8)|(*input << 8);
33 input++;
  /frameworks/base/core/java/android/animation/
TimeInterpolator.java 30 * @param input A value between 0 and 1.0 indicating our current point
37 float getInterpolation(float input);
  /frameworks/base/core/java/android/hardware/input/
InputDeviceIdentifier.aidl 17 package android.hardware.input;
KeyboardLayout.aidl 17 package android.hardware.input;
TouchCalibration.aidl 17 package android.hardware.input;
  /external/clang/test/Sema/
format-strings-enum.c 19 void test(TestEnum input) {
20 printf("%d", input); // no-warning
23 printf("%lld", input); // expected-warning-re{{format specifies type 'long long' but the argument has underlying type '{{(unsigned)?}} int'}}
30 void testLong(LongEnum input) {
31 printf("%u", input); // expected-warning{{format specifies type 'unsigned int' but the argument has underlying type}}
34 printf("%lu", input);
format-strings-enum-fixed-type.cpp 18 void test(TestEnum input) {
19 printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has underlying type 'short'}}
22 printf("%hd", input); // no-warning
26 printf("%d", input); // no-warning
29 printf("%lld", input); // expected-warning{{format specifies type 'long long' but the argument has underlying type 'short'}}
36 void testLong(LongEnum input) {
37 printf("%u", input); // expected-warning{{format specifies type 'unsigned int' but the argument has underlying type 'unsigned long'}}
40 printf("%lu", input);
48 void testUnderlyingTypedef(ShortEnum input) {
49 printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has underlying type 'short_t' (…)
    [all...]
  /libcore/ojluni/src/main/java/java/net/
IDN.java 90 * In this case, the input string should not be used in an internationalized domain name.
101 * @param input the string to be processed
106 * @throws IllegalArgumentException if the input string doesn't conform to RFC 3490 specification
108 public static String toASCII(String input, int flag) {
110 return IDNA.convertIDNToASCII(input, flag).toString();
112 throw new IllegalArgumentException("Invalid input to toASCII: " + input, e);
124 * {@link #toASCII(String, int) toASCII}(input,&nbsp;0);
127 * @param input the string to be processed
131 * @throws IllegalArgumentException if the input string doesn't conform to RFC 3490 specificatio
    [all...]
  /art/tools/dmtracedump/
dmtracedump.pl 8 $input = $_;
9 $input =~ s/\.data$//;
11 $output = "$input.html";
13 print("dmtracedump -h -p $input > $output\n");
14 system("dmtracedump -h -p '$input' > '$output'");
  /external/valgrind/memcheck/tests/s390x/
cu42.c 8 /* Define various input buffers. */
68 uint8_t *input; local
70 /* Input buffer is completely uninitialised */
71 input = malloc(10);
72 do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
74 /* Read 4 bytes from input buffer. First byte is uninitialised */
75 input = malloc(10);
76 input[1] = input[2] = input[3] = 0x0
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
Parser.java 36 public TokenStream input; field in class:Parser
38 public Parser(TokenStream input) {
40 setTokenStream(input);
43 public Parser(TokenStream input, RecognizerSharedState state) {
45 this.input = input;
50 if ( input!=null ) {
51 input.seek(0); // rewind the input
55 protected Object getCurrentInputSymbol(IntStream input) {
    [all...]
  /frameworks/compile/mclinker/lib/MC/
FileAction.cpp 11 #include "mcld/MC/Input.h"
23 Input* input = *pBuilder.getCurrentNode(); local
25 if (input->hasContext())
29 if (input->type() == Input::Script || input->type() == Input::Object ||
30 input->type() == Input::DynObj || input->type() == Input::Archive
46 Input* input = *pBuilder.getCurrentNode(); local
    [all...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3filestream.c 3 * is a filesystem based input set and all the characters in the filestream
7 * sets can be supported from input files. The ANTLR3 C runtime expects
49 static void setupInputStream (pANTLR3_INPUT_STREAM input);
56 pANTLR3_INPUT_STREAM input; local
63 input = antlr3CreateFileStream(fileName);
64 if (input == NULL)
72 input->encoding = encoding;
77 setupInputStream(input);
81 input->istream->streamName = input->strFactory->newStr8(input->strFactory, fileName)
91 pANTLR3_INPUT_STREAM input; local
312 pANTLR3_INPUT_STREAM input; local
446 pANTLR3_INPUT_STREAM input; local
    [all...]
  /external/clang/lib/Basic/
VersionTuple.cpp 40 static bool parseInt(StringRef &input, unsigned &value) {
42 if (input.empty()) return true;
44 char next = input[0];
45 input = input.substr(1);
49 while (!input.empty()) {
50 next = input[0];
52 input = input.substr(1);
59 bool VersionTuple::tryParse(StringRef input) {
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
ANTLRInputStream.cs 45 public ANTLRInputStream(Stream input)
46 : this(input, null) {
49 public ANTLRInputStream(Stream input, int size)
50 : this(input, size, null) {
53 public ANTLRInputStream(Stream input, Encoding encoding)
54 : this(input, InitialBufferSize, encoding) {
57 public ANTLRInputStream(Stream input, int size, Encoding encoding)
58 : this(input, size, ReadBufferSize, encoding) {
61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding)
62 : base(GetStreamReader(input, encoding), size, readBufferSize)
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
ANTLRInputStream.cs 47 public ANTLRInputStream( Stream input )
48 : this( input, null )
52 public ANTLRInputStream( Stream input, int size )
53 : this( input, size, null )
57 public ANTLRInputStream( Stream input, Encoding encoding )
58 : this( input, InitialBufferSize, encoding )
62 public ANTLRInputStream( Stream input, int size, Encoding encoding )
63 : this( input, size, ReadBufferSize, encoding )
67 public ANTLRInputStream( Stream input, int size, int readBufferSize, Encoding encoding )
68 : base(GetStreamReader(input, encoding), size, readBufferSize
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/ocaml/
typecheck.i 8 if( !Is_block($input) ) $1 = 0;
10 switch( SWIG_Tag_val($input) ) {
18 if( !Is_block($input) ) $1 = 0;
20 switch( SWIG_Tag_val($input) ) {
28 if( !Is_block($input) ) $1 = 0;
30 switch( SWIG_Tag_val($input) ) {
38 if( !Is_block($input) ) $1 = 0;
40 switch( SWIG_Tag_val($input) ) {
51 if( !Is_block($input) ) $1 = 0;
53 switch( SWIG_Tag_val($input) ) {
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
TestCase.java 32 private ITestCaseInput input; field in class:TestCase
45 return this.input;
52 public TestCase(ITestCaseInput input, ITestCaseOutput output) {
53 this.input = input;
59 return String.format("[%s]->[%s]", input.getScript(), output.getScript());
63 this.input = in;
70 public static String convertPreservedChars(String input) {
71 //return input.replace("\"", "\\\"");
72 return input;
    [all...]

Completed in 1245 milliseconds

1 2 3 4 5 6 7 8 91011>>