/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
H A D | GifDecoder.java | 7 * Permission is hereby granted, free of charge, to any person obtaining 12 * permit persons to whom the Software is furnished to do so, subject to 42 * This class is optimized for running animations with the frames, there 255 * @param is containing GIF file. 258 public int read(InputStream is, int contentLength) { argument 259 if (is != null) { 265 while ((nRead = is.read(data, 0, data.length)) != -1) { 279 if (is != null) { 280 is.close();
|
/external/hamcrest/library/src/org/hamcrest/ |
H A D | Matchers.java | 11 * vs assertThat(cheese, is(equalTo(smelly))) 13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { method in class:Matchers 14 return org.hamcrest.core.Is.is(matcher); 18 * This is a shortcut to the frequently used is(equalTo(x)). 20 * eg. assertThat(cheese, is(equalTo(smelly))) 21 * vs assertThat(cheese, is(smelly)) 23 public static <T> org.hamcrest.Matcher<T> is(T value) { method in class:Matchers 24 return org.hamcrest.core.Is.is(value); 28 * This is 33 public static org.hamcrest.Matcher<java.lang.Object> is(java.lang.Class<?> type) { method in class:Matchers [all...] |
/external/javasqlite/src/main/java/SQLite/ |
H A D | Shell.java | 8 * SQLite command line shell. This is a partial reimplementaion 461 String read_line(BufferedReader is, String prompt) { argument 467 String line = is.readLine(); 474 void do_input(BufferedReader is) { argument 477 while ((line = read_line(is, prompt)) != null) { 588 BufferedReader is = 590 s.do_input(is);
|
/external/libedit/src/ |
H A D | unvis.c | 197 unsigned char st, ia, is, lc; local 437 is = GI(*astate); /* index in the string */ 438 lc = is == 0 ? 0 : nv[ia].name[is - 1]; /* last character */ 444 if (is != 0 && nv[ia].name[is - 1] != lc) 446 if (nv[ia].name[is] == uc) 455 *astate = SS(is + 1, S_STRING); 484 * Number of chars decoded into dst is returned, -1 on error. 485 * Dst is nul [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | PointerUnion.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines the PointerUnion class, which is a discriminated union of 33 /// Ret will be EQ type if T1 is same as T2 or NE type otherwise. 51 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion 73 /// printf("%d %d", P.is<int*>(), P.is<float*>()); // prints "1 0" 107 /// isNull - Return true if the pointer held in the union is null, 108 /// regardless of which type it is. 116 /// is<T>() return true if the Union currently holds the type matching T. 118 int is() cons 235 int is() const { function in struct:llvm::PointerUnion3::IsInnerUnion 249 int is() const { function in struct:llvm::PointerUnion3::IsPT3 278 int is() const { function in class:llvm::PointerUnion3 392 int is() const { function in class:llvm::PointerUnion4 [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_debug.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 11 * permit persons to whom the Software is furnished to do so, subject to 55 void i915_debug_init(struct i915_screen *is) argument 58 is->debug.tiling = !debug_get_option_i915_no_tiling(); 59 is->debug.lie = debug_get_option_i915_lie(); 60 is->debug.use_blitter = debug_get_option_i915_use_blitter();
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
H A D | ClassReader.java | 72 * Flag to skip method code. If this class is set <code>CODE</code>
79 * Flag to skip the debug information in the class. If this flag is set the
80 * debug information of the class is not visited, i.e. the
88 * Flag to skip the stack map frames in the class. If this flag is set the
89 * stack map frames of the class is not visited, i.e. the
91 * This flag is useful when the {@link ClassWriter#COMPUTE_FRAMES} option is
100 * version is less than V1_6, and "compressed" for the other classes). If
101 * this flag is set, stack map frames are always visited in expanded format
109 * modified. This field is intende 358 ClassReader(final InputStream is) argument 380 readClass(final InputStream is) argument [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
H A D | PictureParameterSet.java | 4 Permission is hereby granted, free of charge, to any person obtaining a copy of this 8 permit persons to whom the Software is furnished to do so, subject to the following 86 public static PictureParameterSet read(InputStream is) throws IOException { argument 87 CAVLCReader reader = new CAVLCReader(is);
|
H A D | SeqParameterSet.java | 4 Permission is hereby granted, free of charge, to any person obtaining a copy of this 8 permit persons to whom the Software is furnished to do so, subject to the following 77 public static SeqParameterSet read(InputStream is) throws IOException { argument 78 CAVLCReader reader = new CAVLCReader(is);
|
/external/opencv/cvaux/src/ |
H A D | cvhmmobs.cpp | 29 // This software is provided by the copyright holders and contributors "as is" and 46 // to be used with an embedded HMM; Each observation is top-left block of DCT 53 // dctSize - size of the block for which DCT is calculated 54 // obsSize - size of top-left block of DCT coeffs matrix, which is treated 65 // The algorithm is following: 71 // So, total number of observation vectors is Nx*Ny, and total size of 178 float is = 0; local 184 is = img[x + m1 * imgStep]; 185 k0 = ((work_t) is) * ta 375 float is = 0; local [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
H A D | replace.h | 10 // distributed under the License is distributed on an "AS IS" BASIS, 45 // identical to that in fst/lib/replace.h. The result is a PDT 94 StateId is = siter.Value(); local 96 if (is == ifst->Start()) { 101 if (ifst->Final(is) != Weight::Zero()) { 103 ofst->SetFinal(os, ifst->Final(is)); 104 fst_final[fst_id].push_back(make_pair(os, ifst->Final(is))); 106 for (ArcIterator< Fst<Arc> > aiter(*ifst, is);
|
/external/openfst/src/include/fst/script/ |
H A D | fst-class.h | 9 // distributed under the License is distributed on an "AS IS" BASIS, 44 // class for all implementations (of which FstClassImpl is currently 64 virtual void SetInputSymbols(SymbolTable *is) = 0; 65 virtual void SetOutputSymbols(SymbolTable *is) = 0; 73 // pointer refers to a special kind of FST (e.g. a MutableFst) is 108 virtual void SetInputSymbols(SymbolTable *is) { argument 109 static_cast<MutableFst<Arc> *>(impl_)->SetInputSymbols(is); 315 virtual void SetInputSymbols(SymbolTable *is) { argument 316 GetImpl()->SetInputSymbols(is);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowDrawable.java | 40 public static Drawable createFromStream(InputStream is, String srcName) { argument 46 shadowOf(drawable).setInputStream(is); 51 public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName) { argument 52 return createFromStream(is, srcName); 56 public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) { argument 57 return createFromStream(is, srcName); 149 // is not currently supported.
|
/external/sfntly/cpp/src/sfntly/data/ |
H A D | writable_font_data.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 158 void WritableFontData::CopyFrom(InputStream* is, int32_t length) { argument 159 array_->CopyFrom(is, length); 162 void WritableFontData::CopyFrom(InputStream* is) { argument 163 array_->CopyFrom(is);
|
/external/sfntly/cpp/src/test/ |
H A D | bitmap_table_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 111 // Strike 4 Index Sub Table 1 is a Format 3 156 MemoryInputStream is; local 157 is.Attach(os.Get(), os.Size()); 159 factory->LoadFonts(&is, &font_array); 164 // Strike 4 Index Sub Table 1 is a Format 4
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
H A D | DexBackedDexFile.java | 99 public static DexBackedDexFile fromInputStream(@Nonnull Opcodes opcodes, @Nonnull InputStream is) argument 101 if (!is.markSupported()) { 104 is.mark(44); 107 ByteStreams.readFully(is, partialHeader); 109 throw new NotADexFile("File is too short"); 111 is.reset(); 116 byte[] buf = ByteStreams.toByteArray(is);
|
/external/stlport/stlport/stl/ |
H A D | _ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mas function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
H A D | ant-trax.jar | ... .sax.XMLReader reader
java.io.InputStream is
java.io.File infile
javax.xml. ... |
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3commontreenodestream.c | 66 static void consume (pANTLR3_INT_STREAM is); 67 static ANTLR3_MARKER tindex (pANTLR3_INT_STREAM is); 68 static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 69 static ANTLR3_MARKER mark (pANTLR3_INT_STREAM is); 70 static void release (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker); 71 static void rewindMark (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker); 72 static void rewindLast (pANTLR3_INT_STREAM is); 73 static void seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER index); 74 static ANTLR3_UINT32 size (pANTLR3_INT_STREAM is); 260 // Signal that this is 615 consume(pANTLR3_INT_STREAM is) argument 631 _LA(pANTLR3_INT_STREAM is, ANTLR3_INT32 i) argument 656 mark(pANTLR3_INT_STREAM is) argument 677 release(pANTLR3_INT_STREAM is, ANTLR3_MARKER marker) argument 688 rewindMark(pANTLR3_INT_STREAM is, ANTLR3_MARKER marker) argument 694 rewindLast(pANTLR3_INT_STREAM is) argument 703 seek(pANTLR3_INT_STREAM is, ANTLR3_MARKER index) argument 715 tindex(pANTLR3_INT_STREAM is) argument 731 size(pANTLR3_INT_STREAM is) argument [all...] |
H A D | antlr3inputstream.c | 42 static void antlr38BitConsume (pANTLR3_INT_STREAM is); 43 static ANTLR3_UCHAR antlr38BitLA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 44 static ANTLR3_UCHAR antlr38BitLA_ucase (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 45 static ANTLR3_MARKER antlr38BitIndex (pANTLR3_INT_STREAM is); 46 static ANTLR3_MARKER antlr38BitMark (pANTLR3_INT_STREAM is); 47 static void antlr38BitRewind (pANTLR3_INT_STREAM is, ANTLR3_MARKER mark); 48 static void antlr38BitRewindLast (pANTLR3_INT_STREAM is); 49 static void antlr38BitRelease (pANTLR3_INT_STREAM is, ANTLR3_MARKER mark); 50 static void antlr38BitSeek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint); 51 static pANTLR3_STRING antlr38BitGetSourceName (pANTLR3_INT_STREAM is); 193 antlr38BitGetSourceName(pANTLR3_INT_STREAM is) argument 315 antlr38BitConsume(pANTLR3_INT_STREAM is) argument 350 antlr38BitLA(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 377 antlr38BitLA_ucase(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 416 antlr38BitIndex(pANTLR3_INT_STREAM is) argument 445 antlr38BitMark(pANTLR3_INT_STREAM is) argument 498 antlr38BitRewindLast(pANTLR3_INT_STREAM is) argument 511 antlr38BitRewind(pANTLR3_INT_STREAM is, ANTLR3_MARKER mark) argument 550 antlr38BitRelease(pANTLR3_INT_STREAM is, ANTLR3_MARKER mark) argument 570 antlr38BitSeek(pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint) argument 778 antlr3UTF16Consume(pANTLR3_INT_STREAM is) argument 857 antlr3UTF16LA(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 996 antlr3UTF16Index(pANTLR3_INT_STREAM is) argument 1013 antlr3UTF16Seek(pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint) argument 1060 antlr3UTF16ConsumeLE(pANTLR3_INT_STREAM is) argument 1137 antlr3UTF16LALE(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 1279 antlr3UTF16ConsumeBE(pANTLR3_INT_STREAM is) argument 1358 antlr3UTF16LABE(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 1570 antlr3UTF32Consume(pANTLR3_INT_STREAM is) argument 1603 antlr3UTF32Index(pANTLR3_INT_STREAM is) argument 1633 antlr3UTF32Seek(pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint) argument 1667 antlr3UTF32LA(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 1691 antlr3UTF32LALE(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 1722 antlr3UTF32LABE(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 1804 antlr3UTF8Consume(pANTLR3_INT_STREAM is) argument 1870 antlr3UTF8LA(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument 2034 antlr3EBCDICLA(pANTLR3_INT_STREAM is, ANTLR3_INT32 la) argument [all...] |
H A D | antlr3tokenstream.c | 66 static void consume (pANTLR3_INT_STREAM is); 67 static void dbgConsume (pANTLR3_INT_STREAM is); 68 static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 69 static ANTLR3_UINT32 dbgLA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 70 static ANTLR3_MARKER mark (pANTLR3_INT_STREAM is); 71 static ANTLR3_MARKER dbgMark (pANTLR3_INT_STREAM is); 72 static void release (pANTLR3_INT_STREAM is, ANTLR3_MARKER mark); 73 static ANTLR3_UINT32 size (pANTLR3_INT_STREAM is); 74 static ANTLR3_MARKER tindex (pANTLR3_INT_STREAM is); 75 static void rewindStream (pANTLR3_INT_STREAM is, ANTLR3_MARKE 416 consumeInitialHiddenTokens(pANTLR3_INT_STREAM is) argument 600 consume(pANTLR3_INT_STREAM is) argument 620 dbgConsume(pANTLR3_INT_STREAM is) argument 800 _LA(pANTLR3_INT_STREAM is, ANTLR3_INT32 i) argument 822 dbgLA(pANTLR3_INT_STREAM is, ANTLR3_INT32 i) argument 837 mark(pANTLR3_INT_STREAM is) argument 846 dbgMark(pANTLR3_INT_STREAM is) argument 859 release(pANTLR3_INT_STREAM is, ANTLR3_MARKER mark) argument 865 size(pANTLR3_INT_STREAM is) argument 882 tindex(pANTLR3_INT_STREAM is) argument 894 dbgRewindLast(pANTLR3_INT_STREAM is) argument 905 rewindLast(pANTLR3_INT_STREAM is) argument 910 rewindStream(pANTLR3_INT_STREAM is, ANTLR3_MARKER marker) argument 915 dbgRewindStream(pANTLR3_INT_STREAM is, ANTLR3_MARKER marker) argument 927 seek(pANTLR3_INT_STREAM is, ANTLR3_MARKER index) argument 938 dbgSeek(pANTLR3_INT_STREAM is, ANTLR3_MARKER index) argument 1083 getSourceName(pANTLR3_INT_STREAM is) argument [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-graphite2.cc | 6 * This is part of HarfBuzz, a text shaping library. 8 * Permission is hereby granted, without written agreement and without 240 const gr_slot *is; local 304 for (is = gr_seg_first_slot (seg), ic = 0; is; is = gr_slot_next_in_segment (is), ic++) 306 unsigned int before = gr_slot_before (is); 307 unsigned int after = gr_slot_after (is); 308 *pg = gr_slot_gid (is); [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | utf8tst.c | 31 * This is not conformant with UTF-8. 109 log_err("ERROR: 0x%02x is a single byte but results in single: %c lead: %c trail: %c\n", 114 log_err("ERROR: 0x%02x is a lead byte but results in single: %c lead: %c trail: %c\n", 119 log_err("ERROR: 0x%02x is a trail byte but results in single: %c lead: %c trail: %c\n", 152 log_verbose("The no: of code units for %lx is %d\n",c, UTF8_CHAR_LENGTH(c)); 442 * U8_FWD_N() stops at the end of the string, that is, at the NUL if necessary. 506 * The behavior of _UNSAFE macros for ill-formed strings is undefined. 648 * The behavior of _UNSAFE macros for ill-formed strings is undefined. 1051 int32_t i, j, k, iu, is, il, length; local 1062 is [all...] |
/external/clang/include/clang/Lex/ |
H A D | Token.h | 5 // This file is distributed under the University of Illinois Open Source 29 /// It is not intended to be space efficient, it is intended to return as much 30 /// information as possible about each returned token. This is expected to be 31 /// compressed into a smaller form if memory footprint is important. 51 /// PtrData - This is a union of four different pointer types, which depends 52 /// on what type of token this is: 54 /// This is an IdentifierInfo*, which contains the uniqued identifier 57 /// This is a pointer to the start of the token in a text buffer, which 60 /// This is 91 bool is(tok::TokenKind K) const { return Kind == K; } function in class:clang::Token [all...] |
/external/guava/guava/src/com/google/common/base/ |
H A D | CharMatcher.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean 56 // Excludes 2000-2000a, which is handled as a range 60 // Excludes 2007, which is handled as a gap in a pair of ranges 65 * Determines whether a character is whitespace according to the latest Unicode standard, as 68 * This is not the same definition used by other Java APIs. (See a 81 * Determines whether a character is a breaking whitespace (that is, a whitespace which can be 94 * Determines whether a character is ASCII, meaning that its code point is les 379 public static CharMatcher is(final char match) { method in class:CharMatcher [all...] |