/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 54 int size, /* buffer size in bytes */ 199 void *in, *out; local 240 in = mmap(0, width * height * 3 / 2, PROT_READ, MAP_PRIVATE, ifd, 0); 241 FAILIF(in == MAP_FAILED, "could not mmap input file: %s (%d)\n", 260 color_convert_common(in, in + width * height,
|
/device/google/dragon/audio/hal/ |
iniparser.c | 96 @brief Get number of sections in a dictionary 98 @return int Number of sections found in dictionary 100 This function returns the number of sections found in a dictionary. 101 The test to recognize sections is done on the string stored in the 106 This clearly fails in the case a section name contains a colon, but 109 This function returns -1 in case of error. 131 @brief Get name for section n in a dictionary. 136 This function locates the n-th section in a dictionary and returns 140 This function returns NULL in case of error. 216 /* No section in file: dump all keys as they are * 631 FILE * in ; local [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuiteFactory.java | 6 Redistribution and use in source and binary forms, with or without 11 2. Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 53 InputStream in = loader.getResourceAsStream(TEMPLATE_FILE); typedefs 54 if ( in == null ) { 57 Reader rd = new InputStreamReader(in); 63 * suite file in the same directory of the grammar file [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 49 * returns array of objects to be de/serialized in tests, and the second 57 * should be set to value "serial.reference". In this mode, no testing 61 * The location of golden files (in both modes) is controlled via 121 * @return array of objects to be de/serialized in tests. 385 * The <code>comparator</code> is searched in the following order: <br>- 388 * has class in its classes hierarchy that overrides <code>equals(Object)</code> 499 * with corresponding object in provided array (i.e. <code>objects[N]</code>) 501 * in object's array. 603 InputStream in = SerializationTest.class.getResourceAsStream(path.toString()); local 661 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Configuration.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 105 InputStream in = null; local 114 in = new FileInputStream(iniName); 121 if (in == null) { 125 in = cl.getResourceAsStream(iniName); 130 if (in != null) { 131 load(in, props); 221 static void load(InputStream in, Hashtable<String, String> result) throws IOException { 227 while ((nextChar = in.read()) != -1) [all...] |
/external/bison/src/ |
output.c | 13 This program is distributed in the hope that it will be useful, 93 /* Build `NAME_min' and `NAME_max' in the obstack. */ \ 233 /* Index of rule R in RHS. */ 242 /* Separator in RHS. */ 465 YYPACT) so that in states with unresolved conflicts, the default 466 reduction is not used in the conflicted entries, so that there is 470 parser, so we could avoid accidents by not writing them out in 505 FILE *in; 548 /* Some future version of GNU M4 (most likely 1.6) may treat the -dV in a 603 in = fdopen (filter_fd[0], "r") 504 FILE *in; local [all...] |
/external/boringssl/src/crypto/conf/ |
conf.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 718 BIO *in = BIO_new_file(filename, "rb"); local [all...] |
/external/boringssl/src/crypto/des/ |
des.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 300 const uint8_t *in; local 544 const uint8_t *in = in_block->bytes; local 640 const uint8_t *in = input->bytes; local [all...] |
/external/boringssl/src/crypto/ec/ |
ec_asn1.c | 5 * Redistribution and use in source and binary forms, with or without 12 * 2. Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in 20 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 28 * nor may "OpenSSL" appear in their names without prior written 34 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 39 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 44 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 46 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 242 const uint8_t *in = *inp local 290 const uint8_t *in = *inp; local [all...] |
/external/boringssl/src/crypto/evp/ |
evp_extra_test.cc | 5 * copyright notice and this permission notice appear in all copies. 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 33 // kExampleRSAKeyDER is an RSA private key in ASN.1, DER format. Of course, you 34 // should never use this key anywhere but in an example. 316 // kExampleRSAKeyPKCS8 is kExampleRSAKeyDER encoded in a PKCS #8 406 // then concatenated with an ECPrivateKey wrapped in a PrivateKeyInfo, 581 CBS in = *in_; local 640 CBS in, tbs_cert, signature; local 662 CBS in, tbs_cert, signature; local [all...] |
/external/boringssl/src/tool/ |
speed.cc | 5 * copyright notice and this permission notice appear in all copies. 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 45 // num_calls is the number of function calls done in the time period. 47 // us is the number of microseconds that elapsed in the time period. 51 printf("Did %u %s operations in %uus (%.1f ops/sec)\n", num_calls, 57 printf("Did %u %s operations in %uus (%.1f ops/sec): %.1f MB/s\n", 169 static uint8_t *align(uint8_t *in, unsigned alignment) { 171 (reinterpret_cast<uintptr_t>(in) + alignment) 193 uint8_t *const in = align(in_storage.get(), kAlignment); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
BCDHPrivateKey.java | 109 * return the encoding format we produce in getEncoded(). 194 ObjectInputStream in) 197 in.defaultReadObject(); 199 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
BCECPrivateKey.java | 239 * return the encoding format we produce in getEncoded(). 416 ObjectInputStream in) 419 in.defaultReadObject(); 421 byte[] enc = (byte[])in.readObject();
|
BCECPublicKey.java | 396 ObjectInputStream in) 399 in.defaultReadObject(); 401 byte[] enc = (byte[])in.readObject();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseWrapCipher.java | 366 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); local 368 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); 376 throw new InvalidKeyException("algorithm " + in.getPrivateKeyAlgorithm().getAlgorithm() + " not supported");
|
/external/c-ares/ |
ares_gethostbyname.c | 7 * notice appear in all copies and that both that copyright 8 * notice and this permission notice appear in supporting 9 * documentation, and that the name of M.I.T. not be used in 23 # include <netinet/in.h> 65 int want_family; /* this family is what is asked for in the API */ 107 /* Allocate and fill in the host query structure. */ 165 that can occur, as that is in fact no longer the case */ 247 struct in_addr in; local 271 result = ((in.s_addr = inet_addr(name)) == INADDR_NONE ? 0 : 1); 285 addrs[0] = (char *)∈ [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
Util.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 46 // try replacing the last dot with a $, in case that helps 48 // amusingly, the $ character means three different things in this one line alone 62 // Use the thread context class loader. This is necessary because in some configurations, e.g. 72 InputStream in = closer.register(is.openStream()); local 74 props.load(in); 100 * <p>The keys in the returned map have had their {@code <groupName>.} prefix removed.
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
FakeWorkers.java | 5 * in compliance with the License. You may obtain a copy of the License at 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 65 * Returns a ProcessBuilder that attempts to invoke the given class as main in a JVM configured 86 * A simple main method that will sleep for the number of milliseconds specified in the first 110 System.in.close();
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
collector.py | 20 from coverage.tracer import CTracer, CFileDisposition # pylint: disable=no-name-in-module namespace 29 # exception here causes all sorts of other noise in unittest. 82 `concurrency` is a string indicating the concurrency library in use. 160 # being excluded by the inclusion rules, in which case the 161 # FileDisposition will be replaced by None in the cache. 165 # should_trace_cache is a strictly growing key: once a key is in 186 """Start a new Tracer object, and store it in self.tracers.""" 231 # Return the new trace function to continue tracing in this scope. 261 for args in traces0: 268 # Install our installation tracer in threading, to jump start othe [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
message_registry.py | 119 if new_import not in self.__file_descriptor.additional_imports: namespace 126 """Register the given descriptor in this registry.""" 133 if full_name in self.__message_registry: 136 if full_name not in self.__nascent_types: 162 if name in self.__message_registry: 164 if name in self.__nascent_types: 186 for index, (enum_name, enum_description) in enumerate( 257 for index, (name, attrs) in enumerate(sorted(properties.items())): 267 if 'additionalProperties' in schema: 297 description = 'Single entry in a %s.' % parent_nam [all...] |
/external/clang/test/Analysis/ |
const-method-call.cpp | 45 Inner in; member in struct:Outer 95 t.in.p = &x; 99 clang_analyzer_eval(t.in.p == &x); // expected-warning{{TRUE}} 105 t.in.x = 2; 106 t.in.bar(); 108 clang_analyzer_eval(t.in.x == 2); // expected-warning{{TRUE}} 136 DInner in; member in struct:DOuter 166 t.in.x = 3; 167 t.in.p = &x; 171 clang_analyzer_eval(t.in.x == 3); // expected-warning{{TRUE} 238 InnerWithRef in; member in struct:Outer2 [all...] |
/external/curl/docs/examples/ |
curlx.c | 8 - using an ssl application callback to find a URI in the 17 * Redistribution and use in source and binary forms, with or without 25 * 2. Redistributions in binary form must reproduce the above copyright 27 * and the original OpenSSL and SSLeay Licences below in 34 * for use in the OpenEvidence Toolkit. (http://www.openevidence.org/)" 36 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 47 * nor may "OpenEvidence" appear in their names without prior written 53 * for use in the OpenEvidence Toolkit (http://www.openevidence.org/) 55 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 63 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenEvidence PROJECT O 260 BIO* in=NULL; local [all...] |
http2-upload.c | 10 * This software is licensed as described in the file COPYING, which 36 libcurls old enough to not have this symbol. It is _not_ defined to zero in 134 default: /* in case a new one is introduced to shock us */ 162 FILE *in; member in struct:input 170 size_t retcode = fread(ptr, size, nmemb, i->in); 194 indata[num].in = fopen(upload, "rb"); 207 /* send in the URL to store the upload as */ 313 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 315 to sleep 100ms, which is the minimum suggested value in the
|
/external/curl/lib/ |
asyn-ares.c | 10 * This software is licensed as described in the file COPYING, which 29 #include <netinet/in.h> 38 #include <in.h> 54 * as defined in asyn.h, nothing else belongs in this file! 212 * Returns: sockets-in-use-bitmap 412 in the cache. */ 496 struct in_addr in; local 505 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) { 507 return Curl_ip2addr(AF_INET, &in, hostname, port) [all...] |
asyn-thread.c | 10 * This software is licensed as described in the file COPYING, which 26 #include <netinet/in.h> 35 #include <in.h> 344 * if the thread is still blocking in the resolve syscall, detach it and 374 * Returns FALSE in case of failure, otherwise TRUE. 457 * This is the version for resolves-in-a-thread. 566 struct in_addr in; local 570 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) 572 return Curl_ip2addr(AF_INET, &in, hostname, port); 595 struct in_addr in; local [all...] |