/external/robolectric/v1/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, 161 void WritableFontData::CopyFrom(InputStream* is, int32_t length) { argument 162 array_->CopyFrom(is, length); 165 void WritableFontData::CopyFrom(InputStream* is) { argument 166 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 | 108 public static DexBackedDexFile fromInputStream(@Nonnull Opcodes opcodes, @Nonnull InputStream is) argument 110 DexUtil.verifyDexHeader(is); 112 byte[] buf = ByteStreams.toByteArray(is);
|
/external/swiftshader/third_party/llvm-subzero/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 39 /// Ret will be EQ type if T1 is same as T2 or NE type otherwise. 57 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion 74 /// This implementation is extremely efficient in space due to leveraging the 80 /// printf("%d %d", P.is<int*>(), P.is<float*>()); // prints "1 0" 113 /// Test if the pointer held in the union is null, regardless of 114 /// which type it is. 123 template <typename T> int is() cons 240 template <typename T> int is() const { function in struct:llvm::PointerUnion3::IsInnerUnion 252 template <typename T> int is() const { return Val.template is<T>(); } function in struct:llvm::PointerUnion3::IsPT3 269 template <typename T> int is() const { function in class:llvm::PointerUnion3 374 template <typename T> int is() const { function in class:llvm::PointerUnion4 [all...] |
/external/volley/src/main/java/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 42 * directory. The default disk usage size is 5MB, but is configurable. 344 /** The size of the data identified by this CacheHeader. (This is not 389 * @param is The InputStream to read from. 392 public static CacheHeader readHeader(InputStream is) throws IOException { argument 394 int magic = readInt(is); 399 entry.key = readString(is); 400 entry.etag = readString(is); 404 entry.serverDate = readLong(is); 489 read(InputStream is) argument 504 readInt(InputStream is) argument 524 readLong(InputStream is) argument 543 readString(InputStream is) argument 561 readStringStringMap(InputStream is) argument [all...] |
/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...] |
H A D | antlr3baserecognizer.c | 57 static ANTLR3_BOOLEAN mismatchIsUnwantedToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype); 58 static ANTLR3_BOOLEAN mismatchIsMissingToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_BITSET_LIST follow); 130 // free it when the base recognizer is freed. 260 /* Now update it to indicate this is a Mismatched token exception 277 pANTLR3_INT_STREAM is; local 284 is = NULL; 295 is = ins->istream; 303 is = parser->tstream->istream; 311 is = tns->istream; 333 switch (is 420 pANTLR3_INT_STREAM is; local 493 pANTLR3_INT_STREAM is; local 529 mismatchIsUnwantedToken(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype) argument 552 mismatchIsMissingToken(pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_BITSET_LIST follow) argument 646 pANTLR3_INT_STREAM is; local 1012 pANTLR3_INT_STREAM is; local 1327 pANTLR3_INT_STREAM is; local 1436 pANTLR3_INT_STREAM is; local 1559 pANTLR3_INT_STREAM is; local 1625 pANTLR3_INT_STREAM is; local 1721 pANTLR3_INT_STREAM is; local 1771 pANTLR3_INT_STREAM is; local 1924 pANTLR3_INT_STREAM is; local 1999 pANTLR3_INT_STREAM is; local 2060 pANTLR3_INT_STREAM is; local [all...] |
/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 44 * This class is optimized for running animations with the frames, there 312 * @param is containing GIF file. 315 public int read(InputStream is, int contentLength) { argument 316 if (is != null) { 322 while ((nRead = is.read(data, 0, data.length)) != -1) { 336 if (is != null) { 337 is.close();
|
/external/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 248 const gr_slot *is; local 322 for (is = gr_seg_first_slot (seg), ic = 0; is; is = gr_slot_next_in_segment (is), ic++) 324 unsigned int before = gr_slot_before (is); 325 unsigned int after = gr_slot_after (is); 326 *pg = gr_slot_gid (is); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | ICUBinary.java | 31 * @hide Only a subset of ICU is exposed in Android 67 // For each item, there is one ToC entry (8 bytes) and a name string 112 index = ~index; // Normal: Otherwise the folder itself is the name of a data item. 145 return ~start; // Not found or table is empty. 152 // is followed by count (nameOffset, dataOffset) integer pairs (8 bytes per pair). 165 // is followed by count (nameOffset, dataOffset) integer pairs (8 bytes per pair). 263 * position() is after the header. 298 // (There is no simple by-character split() 299 // and the StringTokenizer "is discouraged in new code".) 369 return 1; // key > table key because key is longe 705 getByteBufferFromInputStreamAndCloseStream(InputStream is) argument [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | RuleBasedBreakIterator.java | 37 * This is a port of the C++ class RuleBasedBreakIterator from ICU4C. 39 * @hide Only a subset of ICU is exposed in Android 58 * Creating a break iterator from the binary rules is much faster than 65 * @param is an input stream supplying the compiled binary rules. 66 * @throws IOException if there is an error while reading the rules from the InputStream. 69 public static RuleBasedBreakIterator getInstanceFromCompiledRules(InputStream is) throws IOException { argument 71 This.fRData = RBBIDataWrapper.get(ICUBinary.getByteBufferFromInputStreamAndCloseStream(is)); 78 * Creating a break iterator from the binary rules is much faster than 86 * @throws IOException if there is an error while reading the rules from the buffer. 88 * @deprecated This API is IC [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 867 static byte[] copyStreamBytes(InputStream is) throws IOException { argument 872 while((len = is.read(buffer, 0, buffer.length)) >= 0) { 925 // Known Issue: "10268", "Serializable interface is not implemented in PluralRules$FixedDecimal"
|
/external/icu/icu4c/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUBinary.java | 63 // For each item, there is one ToC entry (8 bytes) and a name string 108 index = ~index; // Normal: Otherwise the folder itself is the name of a data item. 141 return ~start; // Not found or table is empty. 148 // is followed by count (nameOffset, dataOffset) integer pairs (8 bytes per pair). 161 // is followed by count (nameOffset, dataOffset) integer pairs (8 bytes per pair). 259 * position() is after the header. 294 // (There is no simple by-character split() 295 // and the StringTokenizer "is discouraged in new code".) 365 return 1; // key > table key because key is longer. 368 return -1; // key < table key because key is shorte 701 getByteBufferFromInputStreamAndCloseStream(InputStream is) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RuleBasedBreakIterator.java | 36 * This is a port of the C++ class RuleBasedBreakIterator from ICU4C. 57 * Creating a break iterator from the binary rules is much faster than 64 * @param is an input stream supplying the compiled binary rules. 65 * @throws IOException if there is an error while reading the rules from the InputStream. 69 public static RuleBasedBreakIterator getInstanceFromCompiledRules(InputStream is) throws IOException { argument 71 This.fRData = RBBIDataWrapper.get(ICUBinary.getByteBufferFromInputStreamAndCloseStream(is)); 78 * Creating a break iterator from the binary rules is much faster than 86 * @throws IOException if there is an error while reading the rules from the buffer. 89 * @deprecated This API is ICU internal only. 111 // An IO exception can only arrive here if there is [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 866 static byte[] copyStreamBytes(InputStream is) throws IOException { argument 871 while((len = is.read(buffer, 0, buffer.length)) >= 0) { 924 // Known Issue: "10268", "Serializable interface is not implemented in PluralRules$FixedDecimal"
|
/external/mesa3d/src/gallium/drivers/ilo/ |
H A D | ilo_resource.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 11 * Software is furnished to do so, subject to the following conditions: 41 * maximum is 2 GB for all products and all surface types." 204 * images when the image size is greater than one-fourth of the mappable 271 * is one (non-3D) or templ->array_size is one (non-array), but it does 292 struct ilo_screen *is = ilo_screen(tex->base.screen); local 297 bo = intel_winsys_alloc_bo(is->dev.winsys, name, 315 ilo_vma_set_bo(&tex->vma, &is->dev, bo, 0); 327 * Unless PIPE_BIND_DEPTH_STENCIL is se 352 struct ilo_screen *is = ilo_screen(tex->base.screen); local 384 struct ilo_screen *is = ilo_screen(tex->base.screen); local 439 struct ilo_screen *is = ilo_screen(tex->base.screen); local 473 struct ilo_screen *is = ilo_screen(tex->base.screen); local 578 struct ilo_screen *is = ilo_screen(tex->base.screen); local 597 struct ilo_screen *is = ilo_screen(buf->base.screen); local 622 const struct ilo_screen *is = ilo_screen(screen); local 676 struct ilo_screen *is = ilo_screen(screen); local 754 ilo_init_resource_functions(struct ilo_screen *is) argument [all...] |
/external/python/cpython2/Lib/test/ |
H A D | test_socketserver.py | 149 # Time between requests is short enough that we won't wake 333 # verify_request is False 355 # If the import lock is held, the threads will hang 356 raise unittest.SkipTest("can't run when import lock is held") namespace
|
/external/skia/src/opts/ |
H A D | SkNx_neon.h | 4 * Use of this source code is governed by a BSD-style license that can be 410 union { int32x4_t v; int32_t is[4]; } pun = {fVec}; member in union:__anon18343::SkNx::__anon18350 411 return pun.is[k&3];
|
/external/swiftshader/src/OpenGL/compiler/ |
H A D | ParseHelper.h | 10 // distributed under the License is distributed on an "AS IS" BASIS, 37 TParseContext(TSymbolTable& symt, TExtensionBehavior& ext, TIntermediate& interm, GLenum type, int options, bool checksPrecErrors, const char* sourcePath, TInfoSink& is) : argument 57 mDiagnostics(is), 111 // This method is guaranteed to succeed, even if no variable with 'name' exists. 247 // The funcReturnType parameter is expected to be non-null when the operation is a built-in function. 248 // It is expected to be null for other unary operators. 265 bool mChecksPrecisionErrors; // true if an error will be generated when a variable is declared without precision, explicit or implicit.
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/ |
H A D | MCAsmLexer.h | 5 // This file is distributed under the University of Illinois Open Source 58 /// A reference to the entire token contents; this is always a pointer into 70 bool is(TokenKind K) const { return Kind == K; } function in class:llvm::AsmToken 95 /// is safe to store across calls to Lex(). 98 // FIXME: Don't compute this in advance, it makes every token larger, and is 99 // also not generally what we want (it is nicer for recovery etc. to lex 123br 172 /// is - Check if the current token has kind \arg K. 173 bool is(AsmToken::TokenKind K) const { return CurTok.is(K); } function in class:llvm::MCAsmLexer
|
/external/autotest/server/ |
H A D | site_utils.py | 2 # Use of this source code is governed by a BSD-style license that can be 55 # Mapping between board name and build target. This is for special case handling 80 """Enforce that only one client class is instantiated per process.""" 91 """Object to represent an AFE host object when there is no AFE.""" 112 @return board: board the manifest is for, e.g. x86-alex. 127 raise ParseBuildNameException('%s is a malformed build name.' % name) 134 and returns the "<value>" part of the label. None is returned 135 if there is not a label matching the pattern 154 and returns the "<value>" part of the label. None is returned 155 if there is no 794 logging.warn('Unable to import chromite. Monarch is disabled.') namespace [all...] |