/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; 51 LVM_FLOAT Abs_Float(LVM_FLOAT input) [all...] |
/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/strace/tests/ |
gen_pure_executables.sh | 31 Usage: $0 [<input> [<output>]] 33 Generate pure_executables.am from <input> list. 34 Deduce output file from <input> unless an <output> is specified. 39 input="${0%/*}/pure_executables.list" 40 [ $# -eq 0 ] || { input="$1"; shift; } 41 output="$(dirname "$input")/pure_executables.am" 47 echo "# Generated by $0 from $input; do not edit." 49 sed -n 's/^[^#].*/ & \\/p' < "$input"
|
/external/strace/tests-m32/ |
gen_pure_executables.sh | 31 Usage: $0 [<input> [<output>]] 33 Generate pure_executables.am from <input> list. 34 Deduce output file from <input> unless an <output> is specified. 39 input="${0%/*}/pure_executables.list" 40 [ $# -eq 0 ] || { input="$1"; shift; } 41 output="$(dirname "$input")/pure_executables.am" 47 echo "# Generated by $0 from $input; do not edit." 49 sed -n 's/^[^#].*/ & \\/p' < "$input"
|
/external/strace/tests-mx32/ |
gen_pure_executables.sh | 31 Usage: $0 [<input> [<output>]] 33 Generate pure_executables.am from <input> list. 34 Deduce output file from <input> unless an <output> is specified. 39 input="${0%/*}/pure_executables.list" 40 [ $# -eq 0 ] || { input="$1"; shift; } 41 output="$(dirname "$input")/pure_executables.am" 47 echo "# Generated by $0 from $input; do not edit." 49 sed -n 's/^[^#].*/ & \\/p' < "$input"
|
/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...] |
/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, 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...] |
/external/brotli/enc/ |
utf8_util.c | 18 int* symbol, const uint8_t* input, size_t size) { 20 if ((input[0] & 0x80) == 0) { 21 *symbol = input[0]; 28 (input[0] & 0xe0) == 0xc0 && 29 (input[1] & 0xc0) == 0x80) { 30 *symbol = (((input[0] & 0x1f) << 6) | 31 (input[1] & 0x3f)); 38 (input[0] & 0xf0) == 0xe0 && 39 (input[1] & 0xc0) == 0x80 && 40 (input[2] & 0xc0) == 0x80) [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...] |