HomeSort by relevance Sort by last modified time
    Searched refs:input (Results 1 - 25 of 2942) 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...]
  /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...]
  /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/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...]
  /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...]
  /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...]
  /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...]
  /external/apache-http/src/org/apache/http/conn/util/
InetAddressUtils.java 56 public static boolean isIPv4Address(final String input) {
57 return IPV4_PATTERN.matcher(input).matches();
60 public static boolean isIPv6StdAddress(final String input) {
61 return IPV6_STD_PATTERN.matcher(input).matches();
64 public static boolean isIPv6HexCompressedAddress(final String input) {
65 return IPV6_HEX_COMPRESSED_PATTERN.matcher(input).matches();
68 public static boolean isIPv6Address(final String input) {
69 return isIPv6StdAddress(input) || isIPv6HexCompressedAddress(input);
  /packages/apps/Email/src/org/apache/commons/io/input/
DemuxInputStream.java 17 package org.apache.commons.io.input;
37 * @param input the stream to bind
40 public InputStream bindStream( InputStream input )
43 m_streams.set( input );
56 InputStream input = getStream(); local
57 if( null != input )
59 input.close();
73 InputStream input = getStream(); local
74 if( null != input )
76 return input.read();
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
gUnitTestInput.java 30 /** A class which contains input information of an individual testuite */
32 public String input; // a test input string for a testsuite field in class:gUnitTestInput
33 public boolean isFile; // if true, the input represents a filename
36 public gUnitTestInput(String input, boolean isFile, int line) {
37 this.input = input;
43 return JUnitCodeGen.escapeForJava(input);

Completed in 750 milliseconds

1 2 3 4 5 6 7 8 91011>>