/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
URLResource.java | 215 InputStream in = _in; local 217 return in; 263 * Returns a list of resource names contained in the given resource
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
VariableTranslator.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 * Translates a variable name (e.g. search.results.3.title) into the Java code for use as a key in 55 * @param csVariable Variable node in template's AST. 99 * Inserts dots between each component in the path. 103 private List<JavaExpression> joinComponentsWithDots(List<JavaExpression> in) { 104 List<JavaExpression> out = new ArrayList<JavaExpression>(in.size() * 2); 105 for (JavaExpression component : in) { 121 private List<JavaExpression> combineAdjacentStrings(List<JavaExpression> in) { 122 assert !in.isEmpty() [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
TextHtmlFunction.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 * Note this implementation differs from ClearSilver, in that it html escapes the contents of links 38 // These regular expressions are adapted from html.c in the ClearSilver 54 // Pattern to match any string in the input that is linkable. 92 public void filter(String in, Appendable out) throws IOException { 94 boolean hasAsciiArt = hasAsciiArt(in); 101 splitAndConvert(in, out); 113 private void splitAndConvert(String in, Appendable out) throws IOException { 114 Matcher matcher = LINKABLES.matcher(in); [all...] |
/external/libchrome/base/ |
md5.cc | 3 // found in the LICENSE file. 5 // The original file was copied from sqlite, and was in the public domain. 10 * written by Colin Plumb in 1993, no copyright is claimed. 11 * This code is in the public domain; do with it what you wish. 33 uint8_t in[64]; member in struct:__anon14279::Context 58 /* This is the central step in the MD5 algorithm. */ 67 void MD5Transform(uint32_t buf[4], const uint32_t in[16]) { 75 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); 76 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); 77 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17) [all...] |
/external/libdrm/tests/ |
lock.c | 6 * to deal in the Software without restriction, including without limitation 12 * paragraph) shall be included in all copies or substantial portions of the 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 21 * IN THE SOFTWARE. 47 /* return time in milliseconds */ 62 unsigned char in; local 64 ret = read(commfd[pipe], &in, 1); 67 event = in; [all...] |
/external/libedit/src/ |
map.c | 10 * 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 the 25 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 323 * insert mode characters are in the normal keymap, and command mode 324 * in the extended keymap. 1251 const Char *in = NULL; local [all...] |
/external/libopus/celt/ |
mathops.h | 10 Redistribution and use in source and binary forms, with or without 17 - Redistributions in binary form must reproduce the above copyright 18 notice, this list of conditions and the following disclaimer in the 24 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 29 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 30 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 105 } in; local 106 in.f = x; 107 integer = (in.i>>23)-127; 108 in.i -= integer<<23 [all...] |
/external/libpcap/ |
pcap-bt-linux.c | 5 * 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 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 339 int in=0; local 343 memcpy(&in, CMSG_DATA(cmsg), sizeof in); 352 if ((in && (handle->direction == PCAP_D_OUT)) | [all...] |
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
PhoneNumberParserServlet.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 68 InputStream in = item.openStream(); local 72 phoneNumber = Streams.asString(in, "UTF-8"); 74 defaultCountry = Streams.asString(in).toUpperCase(); 76 String languageEntered = Streams.asString(in).toLowerCase(); 81 regionCode = Streams.asString(in).toUpperCase(); 85 fileContents = IOUtils.toString(in); 87 IOUtils.closeQuietly(in); 120 output.append("<HTML><HEAD><TITLE>Results generated from phone numbers in the file provided: [all...] |
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
MultiFileMetadataSourceImpl.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 44 // Note: Synchronization, though only needed for the Android version of the library, is used in 52 // Note: Synchronization, though only needed for the Android version of the library, is used in 79 // what to pass in for the country calling code. 108 ObjectInputStream in = null; local 110 in = new ObjectInputStream(source); 111 PhoneMetadataCollection metadataCollection = loadMetadataAndCloseInput(in);
|
/external/libpng/contrib/examples/ |
simpleover.c | 16 * locations in the image. 25 * in order. --add may refer to any sprite already read. 28 * correctly. Apart from the libpng Simplified API the only work done in here 132 /* In and out are RGBA values, so: */ 157 * x in the range 0..65535*65535. (Note that the calculation 191 * been allocated. This reads the input PNGs one by one in linear format, 192 * composes them onto the sprite buffer (the code in the function above) 232 * needs to be done by this code. In fact, any image 233 * processing required can be done here; the data is in 235 * destination are in memory 353 png_image in; local [all...] |
/external/llvm/examples/BrainF/ |
BrainF.h | 46 /// The different symbols in the BrainF language 79 std::istream *in; member in class:BrainF
|
/external/mesa3d/src/mesa/state_tracker/ |
st_format.c | 9 * "Software"), to deal in the Software without restriction, including 16 * next paragraph) shall be included in all copies or substantial portions 22 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR 23 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 24 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 25 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 755 * The first pipe format in the list that's supported is the one that's chosen. 1707 int *in = colorIn->i; local 1749 float *in = colorIn->f; local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_draw.c | 9 * to deal in the Software without restriction, including without limitation 15 * in all copies or substantial portions of the Software. 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 21 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 69 const TYPE *in = (TYPE *)ptr; \ 71 *fptr++ = MACRO(*in); \ 72 in++; \ 78 const TYPE *in = (TYPE *)ptr; 103 const GLubyte *in = (GLubyte *) ptr; \/* in is in BGRA order *\/ local 120 GLhalfARB *in = (GLhalfARB *)ptr; local 149 const GLfixed *in = (GLfixed *) ptr; local 157 const GLfixed *in = (GLfixed *) ptr; local 371 const GLuint *in = (GLuint *)ptr; local 376 const GLushort *in = (GLushort *)ptr; local 381 const GLubyte *in = (GLubyte *)ptr; local [all...] |
/external/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.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 47 * of type java.security.PrivateKey, String, or byte[]. In the latter two 61 * of type java.security.PublicKey, String, or byte[]. In the latter two 76 * or byte[]. In the latter two cases, the certificate must be DER-encoded 153 ByteArrayInputStream in = new ByteArrayInputStream(certObject.getBytes()); local 154 X509Certificate cert = (X509Certificate)fac.generateCertificate(in); 161 ByteArrayInputStream in = new ByteArrayInputStream(certObject); local 162 X509Certificate cert = (X509Certificate)fac.generateCertificate(in);
|
/external/okhttp/okio/okio/src/test/java/okio/ |
OkioTest.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 99 InputStream in = new ByteArrayInputStream( local 103 Source source = Okio.source(in);
|
TestUtil.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 132 ObjectInputStream in = new ObjectInputStream(buffer.inputStream()); local 133 return (T) in.readObject();
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CustomTrust.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 63 * embeds the PEM files in Java strings; most applications will instead read this from a resource 145 * <p>This can be used to replace the host platform's built-in trusted certificates with a custom 146 * set. This is useful in development where certificate authority-trusted certificates aren't 147 * available. Or in production, to avoid reliance on third-party certificate authorities. 150 * the host platform's built-in trust store. 156 * not use custom trusted certificates in production without the blessing of your server's TLS 159 public SSLContext sslContextForTrustedCertificates(InputStream in) { 162 Collection<? extends Certificate> certificates = certificateFactory.generateCertificates(in); 195 InputStream in = null; \/\/ By convention, 'null' creates an empty key store. local [all...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfRgbaYca.cpp | 7 // Redistribution and use in source and binary forms, with or without 15 // * Redistributions in binary form must reproduce the above 17 // disclaimer in the documentation and/or other materials provided with 28 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 33 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 34 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 73 Rgba in = rgbaIn[i]; local 81 if (!in.r.isFinite() || in.r < 0) 82 in.r = 0 364 const Rgba &in = ycaIn[i]; local 474 const Rgba &in = rgbaIn[1][i]; local [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmsmd5.c | 8 // to deal in the Software without restriction, including without limitation 13 // The above copyright notice and this permission notice shall be included in 19 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 52 cmsUInt8Number in[64]; member in struct:__anon21552 67 void MD5_Transform(cmsUInt32Number buf[4], cmsUInt32Number in[16]) 77 STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); 78 STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12) [all...] |
/external/ppp/pppd/ |
md5.c | 18 ** Digest Algorithm" in all material mentioning or referencing this ** 23 ** Data Security, Inc. MD5 Message-Digest Algorithm" in all ** 31 ** These notices must be retained in any copies of any part of this ** 46 ** The message digest is now in mdContext->digest[0...15] ** 51 static void Transform (UINT4 *buf, UINT4 *in); 120 in the message whose digest is being computed. 127 UINT4 in[16]; local 142 mdContext->in[mdi++] = *inBuf++; 147 in[i] = (((UINT4)mdContext->in[ii+3]) << 24) 164 UINT4 in[16]; local [all...] |
/external/protobuf/src/google/protobuf/io/ |
gzip_stream.cc | 5 // Redistribution and use in source and binary forms, with or without 11 // * Redistributions in binary form must reproduce the above 13 // in the documentation and/or other materials provided with the 22 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 91 const void* in; local 94 bool ok = sub_stream_->Next(&in, &in_size); 100 zcontext_.next_in = static_cast<Bytef*>(const_cast<void*>(in)); 288 // The loop in Deflate should consume all avail_i [all...] |
/external/skia/include/private/ |
SkTHash.h | 5 * found in the LICENSE file. 35 // How many entries are in the table? 49 // The pointers you receive in foreach() are only valid for its duration. 51 // Copy val into the hash table, returning a pointer to the copy now in the table. 52 // If there already is an entry in the table with the same key, we overwrite it. 60 // If there is an entry in the table with this key, return a pointer to it. If not, NULL. 98 // Call fn on every entry in the table. You may mutate the entries, but be very careful. 108 // Call fn on every entry in the table. You may not mutate anything. 166 // A valid strategy explores all slots in [0, fCapacity) as n walks from 0 to fCapacity-1. 202 // How many key/value pairs are in the table 213 Pair in = { key, val }; local [all...] |
/external/skia/tests/ |
ColorFilterTest.cpp | 5 * found in the LICENSE file. 68 // allow for no filter if we're in Dst mode (its a no op) 119 SkPMColor in, out; local 124 in = SkPackARGB32(i, i, i, i); 125 lf->filterSpan(&in, 1, &out); 134 in = SkPackARGB32(i, 0, 0, 0); 135 lf->filterSpan(&in, 1, &out); 141 in = SkPackARGB32(i, i, i / 2, i / 3); 142 lf->filterSpan(&in, 1, &out); 143 REPORTER_ASSERT(reporter, out != in); [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/apache/harmony/niochar/charset/additional/ |
IBM437.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 86 char in = (char)(bArr[i] & 0xFF); local 87 if(in >= 26){ 88 int index = (int)in - 26; 91 cArr[cStart++] = (char)(in & 0xFF); 100 char in = (char)(bb.get() & 0xFF); local 101 if(in >= 26){ 102 int index = (int)in - 26; 105 cb.put((char)(in & 0xFF)) [all...] |