HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 76 - 100 of 1563) sorted by null

1 2 34 5 6 7 8 91011>>

  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
CloseShieldInputStream.java 13 * software distributed under the License is distributed on an *
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
37 private InputStream is; field in class:CloseShieldInputStream
39 public CloseShieldInputStream(InputStream is) {
40 this.is = is;
44 return is;
52 return is.read();
60 return is.available();
68 is = null
    [all...]
  /packages/services/Telephony/src/org/apache/james/mime4j/
CloseShieldInputStream.java 13 * software distributed under the License is distributed on an *
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
37 private InputStream is; field in class:CloseShieldInputStream
39 public CloseShieldInputStream(InputStream is) {
40 this.is = is;
44 return is;
52 return is.read();
60 return is.available();
68 is = null
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldFilterInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
30 public MyFilterInputStream(java.io.InputStream is) {
31 super(is);
37 private FilterInputStream is; field in class:OldFilterInputStreamTest
50 is.close();
60 INPUT_LENGTH, is.available());
62 is.close();
64 is.available();
72 is.close()
    [all...]
OldInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
29 private InputStream is; field in class:OldInputStreamTest
62 assertEquals(is.available(), 0);
67 is.close();
75 is.mark(10);
83 is.markSupported());
95 is.read(b), 10);
102 // Test 2: Test that the correct number of bytes read is returned
105 bytesRead = is.read(b)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStream2Test.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
137 DigestInputStream is = new DigestInputStream(inStream, digest); local
140 is.read(buf, -1, 0);
148 is.read(buf, -1, 0);
155 is.read(buf, 0, -1);
162 is.read(buf, -1, -1);
169 is.read(buf, 0, 1001);
176 is.read(buf, 1001, 0);
183 is.read(buf, 500, 501)
    [all...]
  /ndk/build/core/
definitions-host.mk 10 # distributed under the License is distributed on an "AS IS" BASIS,
26 # Rationale: This function is used to translate Cygwin paths into
137 # Rationale: This function is used to translate Cygwin paths into
163 # Function : host-path-is-absolute
165 # Usage : $(call host-path-is-absolute,<path>)
166 # Rationale: This function returns a non-empty result if the input path is
176 # Treat all of them as absolute. Filtering the first two cases is easy
178 # complicated and the simplest way is still to try all alphabet letters
186 windows-path-is-absolute = $(if $(filter /% $(ndk-windows-drive-patterns),$(subst \,/,$1)),true
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
InstallApk.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
20 // class is in a sub-package.
151 InputStream is = null; local
154 is = getAssets().open(assetName);
157 while ((n=is.read(buffer)) >= 0) {
164 if (is != null) {
165 is.close();
  /external/conscrypt/src/main/java/org/conscrypt/
DefaultSSLContextImpl.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
53 * is no way to put a synchronized around both the call to super and the
75 InputStream is = null; local
77 is = new BufferedInputStream(new FileInputStream(keystore));
78 ks.load(is, pwd);
80 if (is != null) {
81 is.close();
108 InputStream is = null; local
110 is = new BufferedInputStream(new FileInputStream(keystore))
    [all...]
  /external/javassist/src/main/javassist/
URLClassPath.java 10 * Software distributed under the License is distributed on an "AS IS" basis,
37 * <p>This search path is used only if a requested
39 * If <code>packageName</code> is "org.javassist." and a requested class is
40 * "org.javassist.test.Main", then the given URL is used for loading that class.
46 * <p>Here, we assume that <code>host</code> is "www.javassist.org",
47 * <code>port</code> is 80, and <code>directory</code> is "/java/classes/".
49 * <p>If <code>packageName</code> is <code>null</code>, the URL is use
104 InputStream is = con.getInputStream(); local
    [all...]
  /external/jmonkeyengine/engine/src/tools/jme3tools/savegame/
SaveGame.java 90 InputStream is = null; local
97 is = new GZIPInputStream(new BufferedInputStream(new FileInputStream(file)));
102 sav = imp.load(is);
107 if (is != null) {
109 is.close();
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
AbstractClassLoader.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
66 java.io.InputStream is = classPath.getResourceAsStream( local
70 if (is == null) {
77 r = new ClassReader(is);
81 is.close();
  /frameworks/base/core/tests/coretests/src/android/content/pm/
MacAuthenticatedInputStreamTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
73 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local
75 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is)));
77 assertTrue(is.isTagEqual(TEST_STRING_1_MAC));
84 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local
86 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is)));
88 assertFalse(is.isTagEqual(TEST_STRING_1_MAC_BROKEN));
95 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local
97 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is)));
106 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); local
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptC.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
26 * The superclass for all user-defined scripts. This is only
97 InputStream is = resources.openRawResource(resourceID); local
110 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
117 is.close();
  /frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
LargeAssetTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
33 * Skeleton to test large-asset handling. The asset in question is one million
70 InputStream is = am.open("million-ints", AssetManager.ACCESS_STREAMING); local
74 int num = is.read(buf, 0, 4);
79 // the byte array is stored in the asset in little-endian order
88 is.close();
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptC.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
33 * The superclass for all user-defined scripts. This is only
91 InputStream is = resources.openRawResource(resourceID); local
104 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
111 is.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ObjectOutputStream2Test.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
54 ObjectInputStream is = new ObjectInputStream(bis); local
55 Object readObj = is.readObject();
56 is.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericSignatureFormatErrorTest.java 29 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); local
30 assertNotNull(is);
37 // dalvikvm: 'waitpid failed' log msg - only occurs when @SideEffect is removed
38 // and this test is run via running tests.luni.AllTestsLang TestSuite
41 * dex1.bytes is a jar file with a classes.dex in it.
60 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); local
61 assertNotNull(is);
63 copy(is, fos);
89 private void copy(InputStream is, OutputStream os) {
92 while ((b = is.read()) != -1)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/jar/
OldJarInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
34 // we need a buffered stream because ByteArrayInputStream.close() is a no-op
35 InputStream is = new BufferedInputStream(new ByteArrayInputStream(new byte[0])); local
36 is.close();
37 new JarInputStream(is, false);
59 InputStream is = Support_Resources.getStream("Broken_entry.jar"); local
60 Mock_JarInputStream mjis = new Mock_JarInputStream(is);
67 InputStream is = Support_Resources.getStream("Broken_entry_data.jar"); local
68 JarInputStream jis = new JarInputStream(is, true)
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasSearchGal.java 68 InputStream is = response.getInputStream(); local
70 final GalParser gp = new GalParser(is);
77 is.close();
  /cts/tests/tests/telephony2/src/android/telephony2/cts/
PhoneNumberTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
41 InputStream is = new FileInputStream(pfd.getFileDescriptor()); local
44 while ((is.read(buffer)) != -1);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x501/
NameTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
79 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
81 Name principal = (Name) Name.ASN1.decode(is);
  /external/clang/test/Sema/
no-documentation-warn-tagdecl-specifier.c 17 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}}
24 struct s4 { int is; }; member in struct:s4
26 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}}
28 struct s5 { int is; }; member in struct:s5
31 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}}
36 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}}
59 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}}
68 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}}
73 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}}
78 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}
    [all...]
  /external/clang/test/SemaTemplate/
default-arguments-cxx0x.cpp 42 template <typename...> struct is { struct in namespace:PR16975
49 bool = is<Types...>()>
  /external/glide/testutil/src/main/java/com/bumptech/glide/testutil/
TestUtil.java 19 public static byte[] isToBytes(InputStream is) throws IOException {
24 while ((read = is.read(buffer)) != -1) {
28 is.close();
33 public static String isToString(InputStream is) throws IOException {
34 return new String(isToBytes(is));
  /external/hamcrest/src/org/hamcrest/
CoreMatchers.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:CoreMatchers
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:CoreMatchers
24 return org.hamcrest.core.Is.is(value)
33 public static org.hamcrest.Matcher<java.lang.Object> is(java.lang.Class<?> type) { method in class:CoreMatchers
    [all...]

Completed in 727 milliseconds

1 2 34 5 6 7 8 91011>>