/bionic/tests/ |
iconv_test.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 60 char* in = const_cast<char*>(utf8); local 61 size_t in_bytes = strlen(in); 66 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); 86 char* in = const_cast<char*>(utf8); local 87 size_t in_bytes = strlen(in); 95 EXPECT_EQ(2U, iconv(c, &in, &in_bytes, &out, &out_bytes)); 115 char* in = const_cast<char*>(utf8); local 116 size_t in_bytes = strlen(in); 143 char* in = const_cast<char*>(utf8); local 169 char* in = const_cast<char*>(utf8); local 202 char* in = const_cast<char*>(utf8); local 229 char* in = const_cast<char*>(utf8); local 276 char* in = nullptr; local 298 char* in = const_cast<char*>(utf8); local 364 char* in = const_cast<char*>(src); local 436 char* in = nullptr; local [all...] |
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
InMatcher.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 28 * A {@link Matcher} class for checking if value contained in a {@link Collection} or array. 58 description.appendText("in(").appendValue(mValues).appendText(")"); 62 public static <T> Matcher<T> in(T... operand) { method in class:InMatcher 67 public static <T> Matcher<T> in(Collection<T> operand) { method in class:InMatcher
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyViewProducerActivity.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 98 public WindowInsets onApplyWindowInsets(View v, WindowInsets in) { 99 if (in.isRound()) { 101 params.setMargins(in.getSystemWindowInsetLeft(), in.getSystemWindowInsetTop(), 102 in.getSystemWindowInsetRight(), in.getSystemWindowInsetBottom()); 103 mOutsets = new Rect(in.getSystemWindowInsetLeft(), in.getSystemWindowInsetTop() [all...] |
/developers/build/prebuilts/gradle/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 33 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/developers/samples/android/ui/views/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 33 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/ |
MainActivity.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 33 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 34 uint8_t in; member in class:AndroidAccessory
|
/device/google/contexthub/firmware/external/arm/ |
arm_sin_cos_f32.c | 16 * Redistribution and use in source and binary forms, with or without 21 * - Redistributions in binary form must reproduce the above copyright 22 * notice, this list of conditions and the following disclaimer in 32 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 38 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 169 * The input to the floating-point version is in radians while the 205 * @param[in] x input value in radians. 212 float32_t sinVal, fract, in; /* Temporary variables for input, output * local 301 float32_t cosVal, fract, in; \/* Temporary variables for input, output *\/ local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
yuvconvert.c | 7 struct yuv411 *in = data;
local 14 YUV422_Y0(*out_even) = YUV411_Y00(*in);
15 YUV422_U0(*out_even) = YUV411_U00(*in);
16 YUV422_V0(*out_even) = YUV411_V00(*in);
17 YUV422_Y1(*out_even) = YUV411_Y01(*in);
19 YUV422_Y0(*out_even) = YUV411_Y02(*in);
20 YUV422_U0(*out_even) = YUV411_U02(*in);
21 YUV422_V0(*out_even) = YUV411_V02(*in);
22 YUV422_Y1(*out_even) = YUV411_Y03(*in);
24 YUV422_Y0(*out_odd) = YUV411_Y10(*in);
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
PBlackBox.h | 8 * Set (PCCTS) -- PCCTS is in the public domain. An individual or
17 * acknowledge this fact somewhere in the documentation, research report,
19 * output, please mention that you developed it using PCCTS. In
20 * addition, we ask that this header remain intact in our source code.
60 DLGFileInput *in;
member in class:ParserBlackBox 70 : in(0)
86 in = new DLGFileInput(f);
87 scan = new Lexer(in);
96 : in(0)
112 in = new DLGFileInput(f); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
PBlackBox.h | 8 * Set (PCCTS) -- PCCTS is in the public domain. An individual or
17 * acknowledge this fact somewhere in the documentation, research report,
19 * output, please mention that you developed it using PCCTS. In
20 * addition, we ask that this header remain intact in our source code.
51 DLGFileInput *in;
member in class:ParserBlackBox 64 in = new DLGFileInput(f);
65 scan = new Lexer(in);
82 in = new DLGFileInput(f);
83 scan = new Lexer(in);
94 delete in; delete scan; delete pipe; delete _parser; delete tok; [all...] |
/external/annotation-tools/scene-lib/test/annotations/tests/executable/ |
RegurgitateDemo.java | 18 LineNumberReader in = new LineNumberReader(new FileReader("test2-2.jaif")); local 19 IndexFileParser.parse(in, scene);
|
/external/apache-http/src/org/apache/http/impl/io/ |
IdentityInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 55 private final SessionInputBuffer in; field in class:IdentityInputStream 59 public IdentityInputStream(final SessionInputBuffer in) { 61 if (in == null) { 64 this.in = in; 68 if (!this.closed && this.in.isDataAvailable(10)) { 83 return this.in.read(); 91 return this.in.read(b, off, len) [all...] |
/external/boringssl/src/crypto/x509/ |
by_file.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 124 BIO *in = NULL; local 183 BIO *in = NULL; local 243 BIO *in; local [all...] |
x509_set.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 15 * Copyright remains Eric Young's, and as such any Copyright notices in 17 * If this package is used in a product, Eric Young should be given attribution 19 * This can be in the form of a textual message at program startup or 20 * in documentation (online or textual) provided with the package. 22 * Redistribution and use in source and binary forms, with or without 27 * 2. Redistributions in binary form must reproduce the above copyright 28 * notice, this list of conditions and the following disclaimer in the 43 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 81 ASN1_INTEGER *in; local 112 ASN1_TIME *in; local 134 ASN1_TIME *in; local [all...] |
x509cset.c | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 49 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 84 ASN1_TIME *in; local 101 ASN1_TIME *in; local 140 ASN1_TIME *in; local 157 ASN1_INTEGER *in; local [all...] |
/external/brotli/c/enc/ |
port.h | 127 const uint8_t* in = (const uint8_t*)p; local 128 uint64_t value = (uint64_t)(in[0]); 129 value |= (uint64_t)(in[1]) << 8; 130 value |= (uint64_t)(in[2]) << 16; 131 value |= (uint64_t)(in[3]) << 24; 132 value |= (uint64_t)(in[4]) << 32; 133 value |= (uint64_t)(in[5]) << 40; 134 value |= (uint64_t)(in[6]) << 48; 135 value |= (uint64_t)(in[7]) << 56;
|
/external/conscrypt/libcore-stub/src/main/java/libcore/io/ |
Streams.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 28 * Returns a byte[] containing the remainder of 'in', closing it when done. 30 public static byte[] readFully(InputStream in) throws IOException { 32 return readFullyNoClose(in); 34 in.close(); 39 * Returns a byte[] containing the remainder of 'in'. 41 private static byte[] readFullyNoClose(InputStream in) throws IOException { 45 while ((count = in.read(buffer)) != -1) { 52 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed [all...] |
/external/conscrypt/testing/src/main/java/libcore/tlswire/handshake/ |
EllipticCurvesHelloExtension.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 37 DataInputStream in = new DataInputStream(ellipticCurvesListIn); local 41 int curve_id = in.readUnsignedShort();
|
ServerNameHelloExtension.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 36 DataInputStream in = new DataInputStream(serverNameListIn); local 39 int type = in.readUnsignedByte(); 43 byte[] hostnameBytes = IoUtils.readTlsVariableLengthByteVector(in, 0xffff);
|
/external/curl/lib/ |
hostip4.c | 10 * This software is licensed as described in the file COPYING, which 31 #include <netinet/in.h> 40 #include <in.h> 56 /* The last 3 #include files should be in this order */ 85 * detect which one this platform supports in the configure script and set up 131 struct in_addr in; local 134 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) 136 return Curl_ip2addr(AF_INET, &in, hostname, port); 167 * The clearing of the buffer is a workaround for a gethostbyname_r bug in 218 * gethostbyname_r() in glibc [all...] |
/external/curl/tests/unit/ |
unit1396.c | 10 * This software is licensed as described in the file COPYING, which 42 const char *in; member in struct:test 84 for(i = 0; list1[i].in; i++) { 87 list1[i].in, list1[i].inlen, 100 for(i = 0; list2[i].in; i++) { 102 char *out = curl_easy_escape(hnd, list2[i].in, list2[i].inlen);
|
/external/flac/libFLAC/include/private/ |
md5.h | 7 * written by Colin Plumb in 1993, no copyright is claimed. 8 * This code is in the public domain; do with it what you wish. 23 * Still in the public domain. 26 * Still in the public domain, with no warranty. 38 FLAC__uint32 in[16]; member in struct:__anon20621
|
/external/guava/guava/src/com/google/common/io/ |
CountingInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 42 * @param in the input stream to be wrapped 44 public CountingInputStream(@Nullable InputStream in) { 45 super(in); 54 int result = in.read(); 62 int result = in.read(b, off, len); 70 long result = in.skip(n); 76 in.mark(readlimit); 82 if (!in.markSupported()) [all...] |
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
IsIn.java | 39 * @deprecated use is(in(...)) instead 42 * the collection in which matching items must be found 47 return in(collection); 54 * <pre>assertThat("foo", is(in(Arrays.asList("bar", "foo"))))</pre> 57 * the collection in which matching items must be found 60 public static <T> Matcher<T> in(Collection<T> collection) { method in class:IsIn 70 * @deprecated use is(in(...)) instead 73 * the array in which matching items must be found 78 return in(elements); 85 * <pre>assertThat("foo", is(in(new String[]{"bar", "foo"})))</pre 91 public static <T> Matcher<T> in(T[] elements) { method in class:IsIn [all...] |