/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...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
Ease.java | 28 public float getInterpolation(float input) { 29 return input; 36 public float getInterpolation(float input) { 37 return DOMAIN*(input/=DURATION)*input*input + START; 41 public float getInterpolation(float input) { 42 return DOMAIN*((input=input/DURATION-1)*input*input + 1) + START [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
Ease.java | 28 public float getInterpolation(float input) { 29 return input; 36 public float getInterpolation(float input) { 37 return DOMAIN*(input/=DURATION)*input*input + START; 41 public float getInterpolation(float input) { 42 return DOMAIN*((input=input/DURATION-1)*input*input + 1) + START [all...] |
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
Ease.java | 28 public float getInterpolation(float input) { 29 return input; 36 public float getInterpolation(float input) { 37 return DOMAIN*(input/=DURATION)*input*input + START; 41 public float getInterpolation(float input) { 42 return DOMAIN*((input=input/DURATION-1)*input*input + 1) + START [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
ShaderUtils.java | 37 public static String convertToGLSL130(String input, boolean isFrag){ 41 input = input.replaceAll("varying", "in"); 43 input = input.replaceAll("attribute", "in"); 44 input = input.replaceAll("varying", "out"); 46 sb.append(input);
|
/external/libvpx/libvpx/vp8/encoder/arm/ |
dct_arm.c | 16 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch) 18 vp8_short_fdct4x4_armv6(input, output, pitch); 19 vp8_short_fdct4x4_armv6(input + 4, output + 16, pitch);
|
/external/ceres-solver/include/ceres/internal/ |
variadic_evaluate.h | 52 static bool Call(const Functor& functor, T const *const *input, T* output) { 53 return functor(input[0], 54 input[1], 55 input[2], 56 input[3], 57 input[4], 58 input[5], 59 input[6], 60 input[7], 61 input[8] [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
ntohs.c | 12 uint8_t input[2]; local 13 memcpy(input, &networkshort, 2); 15 return ((((uint32_t) input[0]) << 8) | 16 ((uint32_t) input[1]));
|
ntohl.c | 12 uint8_t input[4]; local 13 memcpy(input, &networklong, 4); 15 return ((((uint32_t) input[0]) << 24) | 16 (((uint32_t) input[1]) << 16) | 17 (((uint32_t) input[2]) << 8) | 18 ((uint32_t) input[3]));
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Helpers/ |
init-order-pthread-create-extra.cc | 1 void *bar(void *input);
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/controls/ |
InputListener.java | 33 package com.jme3.input.controls; 36 * A generic interface for input listeners, the {@link AnalogListener} and
|
/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/ |
KeyboardLayout.aidl | 17 package android.hardware.input;
|
/libcore/luni/src/main/java/java/net/ |
IDN.java | 49 * <p>If the transformation fails (because the input is not a valid IDN), an 57 * @param input the Unicode name 61 * @throws IllegalArgumentException if {@code input} does not conform to <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a> 63 public static String toASCII(String input, int flags) { 64 return NativeIDN.toASCII(input, flags); 68 * Equivalent to {@code toASCII(input, 0)}. 70 * @param input the Unicode name 72 * @throws IllegalArgumentException if {@code input} does not conform to <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a> 74 public static String toASCII(String input) { 75 return toASCII(input, 0) [all...] |
/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{{format specifies type 'long long' but the argument has type 'TestEnum'}} 30 void testLong(LongEnum input) { 31 printf("%u", input); // expected-warning{{format specifies type 'unsigned int' but the argument has type 'LongEnum'}} 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 type 'TestEnum'}} 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 type 'TestEnum'}} 36 void testLong(LongEnum input) { 37 printf("%u", input); // expected-warning{{format specifies type 'unsigned int' but the argument has type 'LongEnum'}} 40 printf("%lu", input); 48 void testUnderlyingTypedef(ShortEnum input) { 49 printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has type 'ShortEnum'} [all...] |
/external/qemu/android/utils/ |
lineinput.h | 17 /* A LineInput is used to read input text, one line at a time, 25 /* Read next line from input. The result is zero-terminated with 34 const char* lineInput_getLine( LineInput* input ); 39 const char* lineInput_getLineAndSize( LineInput* input, size_t *pSize ); 42 int lineInput_getLineNumber( LineInput* input ); 45 int lineInput_isEof( LineInput* input ); 51 int lineInput_getError( LineInput* input ); 54 void lineInput_free( LineInput* input );
|
lineinput.c | 41 LineInput* input; local 43 ANEW0(input); 44 input->line = input->line0; 45 input->line_size = sizeof(input->line0); 47 return input; 54 LineInput* input = _lineInput_new(); local 56 input->std.file = file; 57 return input; [all...] |
/external/chromium_org/mojo/public/bindings/lib/ |
array.cc | 10 String TypeConverter<String, std::string>::ConvertFrom(const std::string& input, 12 String::Builder result(input.size(), buf); 13 if (!input.empty()) 14 memcpy(&result[0], input.data(), input.size()); 18 std::string TypeConverter<String, std::string>::ConvertTo(const String& input) { 19 if (input.is_null() || input.size() == 0) 22 return std::string(&input[0], &input[0] + input.size()) [all...] |
/dalvik/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/main/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/clang/lib/Basic/ |
VersionTuple.cpp | 38 static bool parseInt(StringRef &input, unsigned &value) { 40 if (input.empty()) return true; 42 char next = input[0]; 43 input = input.substr(1); 47 while (!input.empty()) { 48 next = input[0]; 50 input = input.substr(1); 57 bool VersionTuple::tryParse(StringRef input) { [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...] |