/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
H A D | 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 { argument 94 boolean hasAsciiArt = hasAsciiArt(in); 101 splitAndConvert(in, out); 113 private void splitAndConvert(String in, Appendable out) throws IOException { argument 114 Matcher matcher = LINKABLES.matcher(in); 158 formatEmail(String in, int start, int end, Appendable out) argument 179 formatUrl(String in, int start, int end, boolean addScheme, Appendable out) argument 204 hasAsciiArt(String in) argument [all...] |
/external/libedit/src/ |
H A D | parse.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 236 * Parse the escapes from in and put the raw string out 239 parse__string(Char *out, const Char *in) argument 245 switch (*in) { 252 if ((n = parse__escape(&in)) == -1) 258 if (in[1] == '-' && in[2] != '\0') { 260 in [all...] |
/external/libmtp/examples/ |
H A D | pathutils.c | 12 * This library is distributed in the hope that it will be useful, 228 static char *basename(char *in) { argument 231 if (in == NULL) 233 p = in + strlen(in) - 1;
|
/external/libopus/celt/ |
H A D | opus_custom_demo.c | 5 Redistribution and use in source and binary forms, with or without 12 - Redistributions in binary form must reproduce the above copyright 13 notice, this list of conditions and the following disclaimer in the 61 opus_int16 *in, *out; local 128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16)); 134 err = fread(in, sizeof(short), frame_size*channels, fin); 137 len = opus_custom_encode(enc, in, frame_size, data, bytes_per_packet); 175 out[i] = in[i]; 180 rmsd += (in[i]-out[i])*1.0*(in[ [all...] |
/external/libopus/celt/tests/ |
H A D | test_unit_dft.c | 4 Redistribution and use in source and binary forms, with or without 11 - Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 54 void check(kiss_fft_cpx * in,kiss_fft_cpx * out,int nfft,int isinverse) argument 78 ansr += in[k].r * re - in[k].i * im; 79 ansi += in[k].r * im + in[k].i * re; 99 kiss_fft_cpx * in = (kiss_fft_cpx*)malloc(buflen); local 105 in[ [all...] |
H A D | test_unit_mdct.c | 4 Redistribution and use in source and binary forms, with or without 11 - Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 54 void check(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) argument 69 ansr += in[k] * re; 84 void check_inv(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) argument 99 ansr += in[k] * re; 120 kiss_fft_scalar * in = (kiss_fft_scalar*)malloc(buflen); local 128 in[k] = (rand() % 32768) - 16384; 135 in[ [all...] |
/external/libopus/doc/ |
H A D | trivial_example.c | 3 Redistribution and use in source and binary forms, with or without 10 - Redistributions in binary form must reproduce the above copyright 11 notice, this list of conditions and the following disclaimer in the 54 opus_int16 in[FRAME_SIZE*CHANNELS]; local 80 in worse quality, but better. */ 123 in[i]=pcm_bytes[2*i+1]<<8|pcm_bytes[2*i]; 126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE);
|
/external/libopus/silk/ |
H A D | Inlines.h | 3 Redistribution and use in source and binary forms, with or without 8 - Redistributions in binary form must reproduce the above copyright 9 notice, this list of conditions and the following disclaimer in the 41 static OPUS_INLINE opus_int32 silk_CLZ64( opus_int64 in ) 45 in_upper = (opus_int32)silk_RSHIFT64(in, 32); 47 /* Search in the lower 32 bits */ 48 return 32 + silk_CLZ32( (opus_int32) in ); 50 /* Search in the upper 32 bits */ 57 opus_int32 in, /* I input */ 62 opus_int32 lzeros = silk_CLZ32(in); 56 silk_CLZ_FRAC( opus_int32 in, opus_int32 *lz, opus_int32 *frac_Q7 ) argument [all...] |
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
H A D | MetadataManager.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 * additional data files such as PhoneNumberAlternateFormats, but in the future it is envisaged it 64 private static void close(InputStream in) { argument 65 if (in != null) { 67 in.close(); 77 ObjectInputStream in = null; 79 in = new ObjectInputStream(source); 81 alternateFormats.readExternal(in); 88 close(in); [all...] |
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/prefixmapper/ |
H A D | PrefixFileReader.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 39 // prefix mapping file is available in the file system, so that a file can be loaded when needed. 54 ObjectInputStream in = null; 56 in = new ObjectInputStream(source); 57 mappingFileProvider.readExternal(in); 61 close(in); 80 ObjectInputStream in = null; 82 in = new ObjectInputStream(source); 84 map.readExternal(in); 93 close(InputStream in) argument [all...] |
/external/libvorbis/vq/ |
H A D | latticebuild.c | 63 FILE *in=NULL; local 80 in=fopen(filename,"r"); 81 if(!in){ 97 line=get_line(in); 118 line=setup_line(in); 172 /* save the book in C header form */
|
/external/libvpx/libvpx/ |
H A D | md5_utils.c | 4 * written by Colin Plumb in 1993, no copyright is claimed. 5 * This code is in the public domain; do with it what you wish. 20 * Still in the public domain. 76 t = 64 - (t & 0x3f); /* Space available in ctx->in (at least 1) */ 79 memcpy((md5byte *)ctx->in + 64 - t, buf, len); 84 memcpy((md5byte *)ctx->in + 64 - t, buf, t); 85 byteSwap(ctx->in, 16); 86 MD5Transform(ctx->buf, ctx->in); 90 /* Process data in 6 159 MD5Transform(UWORD32 buf[4], UWORD32 const in[16]) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | run-command.h | 19 * Using .in, .out, .err: 23 * .in: returns the writable pipe end; parent writes to it, 30 * .in: a readable FD, becomes child's stdin 33 * The specified FD is closed by start_command(), even in case 36 int in; member in struct:child_process
|
/external/lldb/include/lldb/Utility/ |
H A D | SharedCluster.h | 24 template<class Y> shared_ptr_refcount (Y *in) : shared_count (0), manager(in) {} argument
|
/external/llvm/examples/BrainF/ |
H A D | BrainFDriver.cpp | 14 // with the head starting in the middle. 117 std::istream *in = &std::cin; local 119 in = new std::ifstream(InputFilename.c_str()); 128 Module *mod = bf.parse(in, 65536, cf, Context); //64 KiB 129 if (in != &std::cin) 130 delete in;
|
/external/lzma/xz-embedded/ |
H A D | xz.h | 66 * return code is possible only in multi-call mode 70 * is still possible in multi-call mode by simply 74 * which is not used in the kernel. Unsupported 85 * only in multi-call mode (XZ_PREALLOC or 107 * is too small or the compressed input is corrupt in a way that makes the 126 * @in: Beginning of the input buffer. This may be NULL if and only 128 * @in_pos: Current position in the input buffer. This must not exceed 133 * @out_pos: Current position in the output buffer. This must not exceed 141 const uint8_t *in; member in struct:xz_buf 159 * multi-call decoding. This is ignored in singl [all...] |
/external/mesa3d/src/gallium/auxiliary/indices/ |
H A D | u_unfilled_indices.c | 7 * to deal in the Software without restriction, including without limitation 13 * paragraph) shall be included in all copies or substantial portions of the 29 static void translate_ubyte_ushort( const void *in, argument 33 const ubyte *in_ub = (const ubyte *)in; 40 static void translate_memcpy_ushort( const void *in, argument 44 memcpy(out, in, nr*sizeof(short)); 47 static void translate_memcpy_uint( const void *in, argument 51 memcpy(out, in, nr*sizeof(int));
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_run.c | 8 * "Software"), to deal in the Software without restriction, including 15 * next paragraph) shall be included in all copies or substantial portions 38 * Runs all requested filters in order and handles shuffling the temp 39 * buffers in between. 42 pp_run(struct pp_queue_t *ppq, struct pipe_resource *in, argument 48 if (in->width0 != ppq->p->framebuffer.width || 49 in->height0 != ppq->p->framebuffer.height) { 52 pp_init_fbos(ppq, in->width0, in->height0); 55 if (in 114 pp_filter_setup_in(struct program *p, struct pipe_resource *in) argument [all...] |
/external/mockito/src/org/mockito/internal/configuration/ |
H A D | ClassPathLoader.java | 21 * Loads configuration or extension points available in the classpath. 44 * <br>Suppose you wrote an extension to create mocks with some <em>Awesome</em> library, in order to tell 45 * Mockito to use it you need to put in your classpath 48 * <li>A file named <code>org.mockito.plugins.MockMaker</code> in a folder named 94 * {@link MockMaker} extension exists or is visible in the current classpath.</p> 153 InputStream in = null; 155 in = resource.openStream(); 156 for (String line : readerToLines(new InputStreamReader(in, "UTF-8"))) { 166 closeQuietly(in); 190 private static void closeQuietly(InputStream in) { argument [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | PipelinedMsgParser.java | 7 * employees are not subject to copyright protection in the United States 8 * and are considered to be in the public domain. As a result, a formal 49 * keeps reading from the input stream and process messages in a never ending 100 * @param in 106 Pipeline in, boolean debug, int maxMessageSize) { 109 rawInputStream = in; 122 * @param in 126 public PipelinedMsgParser(SIPMessageListener mhandler, Pipeline in, argument 128 this(mhandler, in, false, maxMsgSize); 134 * @param in 105 PipelinedMsgParser(SIPMessageListener sipMessageListener, Pipeline in, boolean debug, int maxMessageSize) argument 138 PipelinedMsgParser(Pipeline in) argument [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | Job.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 169 * Figures out the HTTP request to make in response to receiving {@code 206 // "If the 307 status code is received in response to a request other than GET or HEAD, 239 private InputStream in; field in class:Job.RealResponseBody 264 InputStream result = in; 267 : (in = Okio.buffer(source).inputStream());
|
/external/openssl/apps/ |
H A D | crl2p7.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 80 * -in arg - input file - default stdin 89 BIO *in local 303 BIO *in=NULL; local [all...] |
H A D | dh.c | 12 * apply to all code found in this distribution, be it the RC4, RSA, 17 * Copyright remains Eric Young's, and as such any Copyright notices in 19 * If this package is used in a product, Eric Young should be given attribution 21 * This can be in the form of a textual message at program startup or 22 * in documentation (online or textual) provided with the package. 24 * Redistribution and use in source and binary forms, with or without 29 * 2. Redistributions in binary form must reproduce the above copyright 30 * notice, this list of conditions and the following disclaimer in the 79 * -in arg - input file - default stdin 93 BIO *in local [all...] |
H A D | pkcs7.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 76 * -in arg - input file - default stdin 87 BIO *in local [all...] |
H A D | pkey.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/)" 74 BIO *in = NULL, *out = NULL; local 135 else if (!strcmp (*args, "-in")) 188 BIO_printf(bio_err, "-in file input file\n"); 277 BIO_free(in); [all...] |