/external/sfntly/cpp/src/test/ |
file_io_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 FileInputStream is; local 47 is.Open(SAMPLE_TTF_FILE); 48 EXPECT_EQ(length, (size_t)is.Available()); 50 is.Read(&b2, 0, length); 51 is.Close(); 56 is.Open(SAMPLE_TTF_FILE); 57 is.Skip(89); 58 is.Read(&b2, 0, 100) 106 FileInputStream is; local 133 FileInputStream is; local [all...] |
test_font_utils.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 30 FileInputStream is; local 31 is.Open(font_path); 32 factory->LoadFontsForBuilding(&is, builders); 46 FileInputStream is; local 47 is.Open(font_path); 48 factory->LoadFonts(&is, fonts); 49 is.Close();
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
reverse.h | 10 // distributed under the License is distributed on an "AS IS" BASIS, 26 // Reverses an FST. The reversed result is written to an output 51 StateId is = siter.Value(); local 52 StateId os = is + 1; 55 if (is == istart) 58 Weight final = ifst.Final(is); 64 for (ArcIterator< Fst<Arc> > aiter(ifst, is);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 88 InputStream is = file.getInputStream(); local 89 is.mark(testString.length); 90 is.read(buffer); 95 is.reset(); 96 is.read(buffer); 128 InputStream is = file.getInputStream(); local 131 is.read(buffer, offset, count); 134 // this is what should happe 173 InputStream is = file.getInputStream(); local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
RootInputStream.java | 13 * software distributed under the License is distributed on an * 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * 29 * reached end of file. This is used by the parser's 36 private InputStream is = null; field in class:RootInputStream 46 public RootInputStream(InputStream is) { 47 this.is = is; 78 int b = is.read(); 95 int n = is.read(b, off, len);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
CANotifyOnBootActivity.java | 58 InputStream is = null; local 62 is = getAssets().open(CERT_ASSET_NAME); 66 while ((length = is.read(buffer)) > 0) { 70 if (is != null) is.close();
|
/cts/tests/tests/os/src/android/os/cts/ |
RecoverySystemTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 48 InputStream is = mAssets.open(name); local 51 while ((read = is.read(b)) != -1) { 54 is.close(); 64 // This is the only package for which verification should succeed.
|
/cts/tests/tests/util/src/android/util/cts/ |
PrintStreamPrinterTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 48 InputStream is = null; local 58 is = new FileInputStream(mFile); 59 BufferedReader reader = new BufferedReader(new InputStreamReader(is)); 64 is.close();
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
CheckVoiceData.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 32 * Checks if the voice data is present. 56 // This check is required because checkLanguages might contain 114 * Checks whether a given language is in the list of supported languages. 127 * Note that in our example, all data is packaged in our APK as 128 * assets (it could be a raw resource as well). This check is unnecessary 136 InputStream is = getAssets().open(lang + ".freq"); local 138 if (is != null) { 139 is.close() [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
Target.java | 17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 41 * be generated vary enough that some X-specific functionality is required. 52 * If org.antlr.codegen.XTarget class exists, it is used else 53 * Target base class is used. I am using a superclass rather than an 69 * but your Target subclass is free to alter the translated chars or 70 * add more definitions. This is nonstatic so each target can have 117 /** Is scope in @scope::name {action} valid for this kind of grammar? 145 // If name is a literal, return the token type instead 198 * is the translation 'a\n"' -> "a\n\"". Expect single quote 212 StringBuffer is = new StringBuffer(literal); local [all...] |
/external/apache-http/src/org/apache/http/util/ |
VersionInfo.java | 18 * software distributed under the License is distributed on an 19 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 49 * All available version information is provided in strings, where 50 * the string format is informal and subject to change without notice. 51 * Version information is provided for debugging output and interpretation 123 * This data is read from the version information for the package. 133 * This data is read from the version information for the package. 143 * This data is read from the version information for the package. 153 * This is just the <code>toString</code> output of the classloader, 178 // If version info is missing, a single "UNAVAILABLE" for the modul 248 InputStream is = clsldr.getResourceAsStream local [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
IoUtil.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 31 public static void pipe(InputStream is, OutputStream out, byte[] buf) throws IOException { 33 int amt = is.read(buf); 119 final InputStream is = inputZip.getInputStream(inputEntry); local 120 IoUtil.pipe(is, baos, buf); 121 is.close();
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
Decoder.java | 3 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * sell copies of the Software, and to permit persons to whom the Software is 13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 29 InputStream is; field in class:Decoder 45 int i = is.read(); 63 * The "main" element is returned in the 118 public Decoder(InputStream is, String _bound) throws IOException { 119 this(is, _bound, null); 122 public Decoder(InputStream is, String _bound, String characterEncoding) throws IOException [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
PropertyBoxParserImpl.java | 11 * distributed under the License is distributed on an AS IS BASIS, 39 InputStream is = new BufferedInputStream(getClass().getResourceAsStream("/isoparser-default.properties")); local 43 mapping.load(is); 63 is.close();
|
/external/okhttp/okio/src/test/java/okio/ |
RealBufferedSourceTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 189 InputStream is = bufferedSource.inputStream(); local 191 is.read(); 197 is.read(new byte[10]);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory4Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 74 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); local 76 fact.generateCertificate(is); 80 is.close(); 94 InputStream is = certUrl.openStream(); local 95 Collection<? extends Certificate> certs = fact.generateCertificates(is); 116 InputStream is = certUrl.openStream(); local 117 CRL crl = fact.generateCRL(is); 137 InputStream is = certUrl.openStream() local [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
LocalDataUtil.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 43 * @return Whether the MIME is a video type. 51 * @return Whether the MIME is a image type. 61 * @return The decoded width/height is stored in Point.x/Point.y 66 InputStream is = null; local 68 is = new FileInputStream(path); 69 size = decodeBitmapDimension(is); 73 if (is != null) { 75 is.close() [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoLoadingTestCase.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 52 // Test is probably going to fail as a result anyway. 67 * The instance generated here is always configured for 256x256 regardless of the 93 InputStream is = resources.openRawResource(resourceId); local 94 byte[] content = readInputStreamFully(is); 101 protected byte[] readInputStreamFully(InputStream is) { 106 while ((count = is.read(buffer)) != -1) { 109 is.close();
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_screen.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 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 168 struct i915_screen *is = i915_screen(screen); local 218 return is->debug.lie ? 1 : 0; 372 struct i915_screen *is = i915_screen(screen); local 374 is->iws->fence_reference(is->iws, ptr, fence); 381 struct i915_screen *is = i915_screen(screen) local 391 struct i915_screen *is = i915_screen(screen); local 419 struct i915_screen *is = i915_screen(screen); local 433 struct i915_screen *is = CALLOC_STRUCT(i915_screen); local [all...] |
/external/clang/test/CodeGen/ |
staticinit.c | 12 static int is[] = { 1, 2, 3, 4 }; local
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
XPaths.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 34 * @return The tag name used to build UiElement DOM. It is preferable to use 42 * @return The tag name used to build UiElement DOM. It is preferable to use 66 * @return XPath predicate (with enclosing []) for boolean attribute that is 69 public static String is(Attribute attribute) { method in class:XPaths 74 * @return XPath predicate (with enclosing []) for boolean attribute that is
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
ImageVideoBitmapDecoder.java | 27 InputStream is = source.getStream(); local 28 if (is != null) {
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_screen.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 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 168 struct i915_screen *is = i915_screen(screen); local 218 return is->debug.lie ? 1 : 0; 372 struct i915_screen *is = i915_screen(screen); local 374 is->iws->fence_reference(is->iws, ptr, fence); 381 struct i915_screen *is = i915_screen(screen) local 391 struct i915_screen *is = i915_screen(screen); local 419 struct i915_screen *is = i915_screen(screen); local 433 struct i915_screen *is = CALLOC_STRUCT(i915_screen); local [all...] |
/external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/ |
OkHttpContributors.java | 31 InputStream is = connection.getInputStream(); local 32 InputStreamReader isr = new InputStreamReader(is);
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/ |
AdapterDataIntegrationTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 29 import static org.hamcrest.Matchers.is; 58 onData(allOf(is(instanceOf(Map.class)), hasEntry(is(LongListActivity.STR), is("item: 99")))) method 63 onData(allOf(is(instanceOf(Map.class)), hasEntry(is(LongListActivity.STR), is("item: 1")))) method 69 onData(allOf(is(instanceOf(Map.class))) 77 onData(allOf(is(instanceOf(Map.class)), hasEntry(is(LongListActivity.STR), is("item: 50")))) method [all...] |