/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | ImageHeaderParser.java | 76 public ImageHeaderParser(InputStream is) { argument 77 streamReader = new StreamReader(is); 114 * Parse the orientation from the image header. If it doesn't handle this image type (or this is not an image) 230 // 12 is max format code. 320 private final InputStream is; field in class:ImageHeaderParser.StreamReader 323 public StreamReader(InputStream is) { argument 324 this.is = is; 328 return (is.read() << 8 & 0xFF00) | (is [all...] |
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
H A D | CoreMatchers.java | 98 * <pre>assertThat(cheese, is(equalTo(smelly)))</pre> 102 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { method in class:CoreMatchers 103 return org.hamcrest.core.Is.is(matcher); 107 * A shortcut to the frequently used <code>is(equalTo(x))</code>. 109 * <pre>assertThat(cheese, is(smelly))</pre> 111 * <pre>assertThat(cheese, is(equalTo(smelly)))</pre> 113 public static <T> org.hamcrest.Matcher<T> is(T value) { method in class:CoreMatchers 114 return org.hamcrest.core.Is.is(value); 123 * {@link #is(Object)} method instead. Although not every existing usage would compile 124 * successfully it is possibl 130 public static void is(java.lang.Class<?> type) { method in class:CoreMatchers [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/libevent/ |
H A D | epoll.c | 63 /* Since Linux 2.6.17, epoll is able to report about peer half-closed connection 135 * largest number of msec we can support here is 2147482. Let's 152 size field is ignored since 2.6.8.) */ 423 struct itimerspec is; local 424 is.it_interval.tv_sec = 0; 425 is.it_interval.tv_nsec = 0; 428 is.it_value.tv_sec = 0; 429 is.it_value.tv_nsec = 0; 436 is.it_value.tv_sec = tv->tv_sec; 437 is [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 36 /// Ret will be EQ type if T1 is same as T2 or NE type otherwise. 54 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion 70 /// This implementation is extremely efficient in space due to leveraging the 76 /// printf("%d %d", P.is<int*>(), P.is<float*>()); // prints "1 0" 109 /// Test if the pointer held in the union is null, regardless of 110 /// which type it is. 119 template <typename T> int is() cons 235 template <typename T> int is() const { function in struct:llvm::PointerUnion3::IsInnerUnion 247 template <typename T> int is() const { return Val.template is<T>(); } function in struct:llvm::PointerUnion3::IsPT3 264 template <typename T> int is() const { function in class:llvm::PointerUnion3 368 template <typename T> int is() const { function in class:llvm::PointerUnion4 [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.h | 5 // This file is distributed under the University of Illinois Open Source 81 // If Reg is 0, disregard Pos. 100 // Value that a single bit can take. This is outside of the context of 101 // any register, it is more of an abstraction of the two-element set of 102 // possible bit values. One extension here is the "Ref" type, which 111 // Conceptually, there is no explicit "bottom" value: the lattice's 113 // of registers, could be read as "this value of this bit is defined by 115 // The ordering is: 117 // Self <= x, where "Self" is "ref to itself". 124 // In practice there is 158 bool is(unsigned T) const { function in struct:llvm::BitTracker::BitValue [all...] |
/external/ltp/pan/ |
H A D | tag_report.c | 4 * This program is free software; you can redistribute it and/or modify it 8 * This program is distributed in the hope that it would be useful, but 12 * Further, this software is distributed without any warranty that it is 52 * This is the central results reporting function. All standard report 103 * (c) if the testcase number is != 0, count it 215 * The solution I chose is to extract all tags into a list (char array), 235 char *tag, *contact, *is, *mystime, *duration, *tt, *ti, *sl, *el; local 245 if ((is = (char *)sym_get(keys, key_get)) == NULL) { 250 if (strcmp(is, "o [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/mesa3d/src/gallium/drivers/ilo/ |
H A D | ilo_screen.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: 56 /* line width minus one, which is reserved for AA region */ 109 /* this is limited by how many attributes SF can remap */ 186 struct ilo_screen *is = ilo_screen(screen); local 288 val.max_compute_units = is->dev.eu_count; 300 /* best case is actually SIMD32 */ 323 struct ilo_screen *is = ilo_screen(screen); local 349 return (ilo_dev_gen(&is->dev) >= ILO_GEN(7)) ? 15 : 14; 353 return (ilo_dev_gen(&is 574 struct ilo_screen *is = ilo_screen(screen); local 621 struct ilo_screen *is = ilo_screen(screen); local 653 struct ilo_screen *is = ilo_screen(screen); local 756 struct ilo_screen *is = ilo_screen(screen); local 766 struct ilo_screen *is; local [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/python/cpython2/Lib/test/ |
H A D | mapping_tests.py | 13 type2test = None # which class is being tested (overwrite in subclasses) class in class:BasicTestMappingProtocol 48 if d is p: 142 self.assertTrue(bool(self._empty_mapping()) is False) 143 self.assertTrue(bool(self.reference) is True) 280 self.assertTrue(d.get(self.other.keys()[0]) is None) 283 self.assertTrue(d.get(self.other.keys()[0]) is None) 314 self.assertTrue(self._empty_mapping() is not self._empty_mapping()) 321 self.assertTrue(bool(self._empty_mapping()) is False) 322 self.assertTrue(bool(self._full_mapping({"x": "y"})) is True) 442 self.assertTrue(not(d.fromkeys('abc') is [all...] |
/external/python/cpython2/Tools/msi/ |
H A D | uisample.py | 361 (u'VerifyReadyDlg', u'Description', u'Text', 25, 23, 280, 15, 196611, None, u'The [Wizard] is ready to begin the [InstallMode] installation', None, None), 379 (u'VerifyRepairDlg', u'Description', u'Text', 25, 23, 280, 15, 196611, None, u'The [Wizard] is ready to begin the repair of [ProductName].', None, None), 815 (u'AdminExecuteSequence', u'Condition', u'Y', None, None, None, None, u'Condition', None, u'Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.'), 818 (u'AdminUISequence', u'Condition', u'Y', None, None, None, None, u'Condition', None, u'Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.'), 819 (u'Condition', u'Condition', u'Y', None, None, None, None, u'Condition', None, u'Expression evaluated to determine if Level in the Feature table is to change.'), 824 (u'AdvtExecuteSequence', u'Condition', u'Y', None, None, None, None, u'Condition', None, u'Optional expression which skips the action if evaluates to expFalse.If the expression syntax is invalid, the engine will terminate, returning iesBadActionData.'), 834 (u'Billboard', u'Action', u'Y', None, None, None, None, u'Identifier', None, u'The name of an action. The billboard is displayed during the progress messages received from this action.'), 836 (u'Billboard', u'Feature_', u'N', None, None, u'Feature', 1, u'Identifier', None, u'An external key to the Feature Table. The billboard is shown only if this feature is being installed.'), 837 (u'Billboard', u'Ordering', u'Y', 0, 32767, None, None, None, None, u'A positive integer. If there is mor 899 (u'BindImage', u'Path', u'Y', None, None, None, None, u'Paths', None, u'A list of ; delimited paths that represent the paths to be searched for the import DLLS. The list is usually a list of properties each enclosed within square brackets [] .'), namespace [all...] |
/external/python/cpython3/Lib/test/ |
H A D | mapping_tests.py | 12 type2test = None # which class is being tested (overwrite in subclasses) class in class:BasicTestMappingProtocol 47 if d is p: 138 self.assertTrue(bool(self._empty_mapping()) is False) 139 self.assertTrue(bool(self.reference) is True) 271 self.assertTrue(d.get(list(self.other.keys())[0]) is None) 274 self.assertTrue(d.get(list(self.other.keys())[0]) is None) 307 self.assertTrue(self._empty_mapping() is not self._empty_mapping()) 314 self.assertTrue(bool(self._empty_mapping()) is False) 315 self.assertTrue(bool(self._full_mapping({"x": "y"})) is True) 425 self.assertTrue(not(d.fromkeys('abc') is [all...] |
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowDrawable.java | 44 public static Drawable createFromStream(InputStream is, String srcName) { argument 49 shadowOf(drawable).createdFromInputStream = is; 57 InputStream is, String srcName, BitmapFactory.Options opts) { 58 if (is == null) { 65 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts); 56 createFromResourceStream(Resources res, TypedValue value, InputStream is, String srcName, BitmapFactory.Options opts) argument
|
/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/skia/tests/ |
H A D | SkNxTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 63 // Test some comparisons. This is not exhaustive. 140 // Exhausting the 16x16 bit space is kind of slow, so only do that in release builds. 236 auto is = Sk4i(0, -1, 2, -2147483647).abs(); local 237 REPORTER_ASSERT(r, is[0] == 0); 238 REPORTER_ASSERT(r, is[1] == 1); 239 REPORTER_ASSERT(r, is[2] == 2); 240 REPORTER_ASSERT(r, is[3] == 2147483647); 331 // The SSE2 implementation of SkNx_cast<uint16_t>(Sk4i) is non-trivial, so worth a test.
|
/external/skqp/tests/ |
H A D | SkNxTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 63 // Test some comparisons. This is not exhaustive. 140 // Exhausting the 16x16 bit space is kind of slow, so only do that in release builds. 236 auto is = Sk4i(0, -1, 2, -2147483647).abs(); local 237 REPORTER_ASSERT(r, is[0] == 0); 238 REPORTER_ASSERT(r, is[1] == 1); 239 REPORTER_ASSERT(r, is[2] == 2); 240 REPORTER_ASSERT(r, is[3] == 2147483647); 331 // The SSE2 implementation of SkNx_cast<uint16_t>(Sk4i) is non-trivial, so worth a test.
|
/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/tensorflow/tensorflow/contrib/android/java/org/tensorflow/contrib/android/ |
H A D | TensorFlowInferenceInterface.java | 10 distributed under the License is distributed on an "AS IS" BASIS, 54 * Load a TensorFlow model from the AssetManager or from disk if it is not an asset file. 68 InputStream is = null; 71 is = assetManager.open(aname); 76 // Perhaps the model file is not an asset but is on disk. 78 is = new FileInputStream(model); 91 byte[] graphDef = new byte[is.available()]; 92 final int numBytesRead = is.read(graphDef); 106 is 124 TensorFlowInferenceInterface(InputStream is) argument [all...] |