HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 151 - 175 of 581) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
InputStreamReaderTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
97 private InputStreamReader is; field in class:InputStreamReaderTest
101 private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese";
120 is = new InputStreamReader(fis);
130 is.close();
143 is.close();
145 is.read();
209 is = new InputStreamReader(fis, "8859_1")
    [all...]
SequenceInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
57 //will not throw NullPointerException if the first InputStream is not null
58 InputStream is = new ByteArrayInputStream(s1.getBytes("UTF-8")); local
59 si = new SequenceInputStream(is , null);
119 //will not throw IOException to close a stream which is closed already
135 //returns -1 if the stream is closed , do not throw IOException
170 //returns -1 if the stream is closed , do not throw IOException
180 * is called before a test is executed
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
FileProvider.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
57 // If projection is null, return all columns.
81 result[i] = null; // Size is unknown, so null, if it was known, it would go here.
117 InputStream is = getContext().getAssets().open(uri.getPath()); local
120 openPipeHelper(uri, null, null, is, this), 0,
131 // Transfer data from the asset to the pipe the client is reading.
  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
FileTransferService.java 61 InputStream is = null; local
63 is = cr.openInputStream(Uri.parse(fileUri));
67 DeviceDetailFragment.copyFile(is, stream);
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarFileTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
219 InputStream is = new URL(jarDirUrl + "/jarlist.txt").openStream(); local
220 while (is.available() > 0) {
224 int nextByte = is.read();
248 is.close();
263 InputStream is = jarFile.getInputStream(entry); local
264 is.skip(100000);
265 is.close();
290 InputStream is = jarFile.getInputStream(jarFile.getEntry(JAR1_ENTRY1)) local
354 InputStream is; local
620 InputStream is = jf.getInputStream(jf.getEntry(JAR1_ENTRY1)); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
RuntimeTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
28 InputStream is; field in class:RuntimeTest
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
91 InputStream is = new ByteArrayInputStream(myMessage); local
92 InputStream dis = new DigestInputStream(is, md);
124 InputStream is = new ByteArrayInputStream(myMessage); local
125 DigestInputStream dis = new DigestInputStream(is, md);
157 InputStream is = new ByteArrayInputStream(myMessage); local
158 DigestInputStream dis = new DigestInputStream(is, md);
182 * Assertion: <code>read()</code> must not update digest if it is off<br>
192 InputStream is = new ByteArrayInputStream(myMessage) local
252 InputStream is = new ByteArrayInputStream(myMessage); local
276 InputStream is = new ByteArrayInputStream(myMessage); local
301 InputStream is = new ByteArrayInputStream(myMessage); local
338 InputStream is = new ByteArrayInputStream(myMessage); local
378 InputStream is = new ByteArrayInputStream(myMessage); local
422 InputStream is = new ByteArrayInputStream(myMessage); local
461 InputStream is = new ByteArrayInputStream(myMessage); local
532 InputStream is = new ByteArrayInputStream(myMessage); local
571 InputStream is = new ByteArrayInputStream(myMessage); local
    [all...]
  /external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/provider/jsse/
JSSETestData.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
47 InputStream is = Support_Resources.getResourceStream( typedefs
51 keyStore.load(is, KS_PASSWORD);
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
ElemDesc.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
28 * This class is not a public API.
29 * It is public because it is used outside of this package.
44 /** Bit position if this element type is empty. */
47 /** Bit position if this element type is a flow. */
50 /** Bit position if this element type is a block. */
53 /** Bit position if this element type is a block form. */
56 /** Bit position if this element type is a block form field set. *
138 private boolean is(int flags) method in class:ElemDesc
    [all...]
  /external/guava/guava/src/com/google/common/base/
CaseFormat.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
32 LOWER_HYPHEN(CharMatcher.is('-'), "-"),
37 LOWER_UNDERSCORE(CharMatcher.is('_'), "_"),
52 UPPER_UNDERSCORE(CharMatcher.is('_'), "_");
64 * "best effort" approach is taken; if {@code s} does not conform to the assumed format, then the
65 * behavior of this method is undefined but we make a reasonable effort at converting anyway.
79 /* optimize cases where no camel conversion is required */
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 less than 128
379 public static CharMatcher is(final char match) { method in class:CharMatcher
    [all...]
  /external/llvm/include/llvm/ADT/
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
31 /// Ret will be EQ type if T1 is same as T2 or NE type otherwise.
49 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion
71 /// printf("%d %d", P.is<int*>(), P.is<float*>()); // prints "1 0"
105 /// isNull - Return true if the pointer held in the union is null,
106 /// regardless of which type it is.
114 /// is<T>() return true if the Union currently holds the type matching T.
116 int is() const
215 int is() const { function in struct:llvm::PointerUnion3::IsInnerUnion
229 int is() const { function in struct:llvm::PointerUnion3::IsPT3
258 int is() const { function in class:llvm::PointerUnion3
366 int is() const { function in class:llvm::PointerUnion4
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/
BitstreamReader.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
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
34 private InputStream is; field in class:BitstreamReader
42 public BitstreamReader(InputStream is) throws IOException {
43 this.is = is;
44 curByte = is.read();
45 nextByte = is.read()
    [all...]
  /external/openfst/src/include/fst/extensions/pdt/
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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AdapterViewBehavior.java 14 import static org.hamcrest.CoreMatchers.is;
121 assertThat(adapterView.getVisibility(), is(View.GONE)); method
122 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method
131 assertThat(adapterView.getVisibility(), is(View.GONE)); method
132 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method
141 assertThat(adapterView.getVisibility(), is(View.VISIBLE)); method
142 assertThat(emptyView.getVisibility(), is(View.GONE)); method
152 assertThat(adapterView.getVisibility(), is(View.GONE)); method
153 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method
159 assertThat(adapterView.getVisibility(), is(View.VISIBLE)) method
160 assertThat(emptyView.getVisibility(), is(View.GONE)); method
170 assertThat(adapterView.getVisibility(), is(View.GONE)); method
171 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method
177 assertThat(adapterView.getVisibility(), is(View.VISIBLE)); method
178 assertThat(emptyView.getVisibility(), is(View.GONE)); method
    [all...]
AsyncTaskTest.java 17 import static org.hamcrest.CoreMatchers.is;
116 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.PENDING)); method
118 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.RUNNING)); method
120 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.FINISHED)); method
ConnectivityManagerTest.java 15 import static org.hamcrest.CoreMatchers.is;
52 assertThat(actual.getDetailedState(), is(NetworkInfo.DetailedState.CONNECTING)); method
ServiceTest.java 5 import static org.hamcrest.CoreMatchers.is;
64 assertThat(shadowService.isForegroundStopped(), is(true)); method
65 assertThat(shadowService.getNotificationShouldRemoved(), is(true)); method
UriMatcherTest.java 12 import static org.hamcrest.CoreMatchers.is;
33 assertThat(root.code, is(NO_MATCH));
34 assertThat(root.map.isEmpty(), is(true)); method
35 assertThat(root.number, is(nullValue()));
36 assertThat(root.text, is(nullValue()));
53 assertThat(node.code, is(1));
61 assertThat(node.number.code, is(1));
62 assertThat(node.text.code, is(2));
67 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1));
70 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar/1")), is(2))
82 assertThat(matcher.match(Uri.withAppendedPath(URI, "cat")), is(NO_MATCH)); method
83 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(NO_MATCH)); method
84 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar\/cat")), is(NO_MATCH)); method
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
TestHttpResponseTest.java 11 import static org.hamcrest.core.Is.is;
51 assertThat(resp.containsHeader("X-Zombo-Com"), is(true)); method
52 assertThat(resp.containsHeader("Location"), is(false)); method
64 assertThat(it.hasNext(), is(true)); method
67 assertThat(it.hasNext(), is(false)); method
80 assertThat(it.hasNext(), is(true)); method
82 assertThat(it.hasNext(), is(true)); method
84 assertThat(it.hasNext(), is(false)); method
98 assertThat(headers.length, is(2))
    [all...]
  /external/stlport/stlport/stl/
_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(mask __m, wchar_t __c) cons function in class:ctype
186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
LimitedLengthInputStreamTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
28 private final byte[] TEST_STRING1 = "This is a test".getBytes();
42 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); local
52 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); local
62 InputStream is = new LimitedLengthInputStream(null, 0, 1); local
72 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, local
74 fail("Should fail when offset + length is > Long.MAX_VALUE");
88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); local
89 assertEquals(length, is.read(temp, 0, temp.length))
123 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10); local
138 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); local
168 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); local
    [all...]
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
Forwarder.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
92 InputStream is = in.getInputStream(); local
95 while ((length = is.read(buffer)) > 0) {
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
ColladaScene.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
77 InputStream is = null; local
80 is = mRes.getAssets().open(names[0]);
83 is = new BufferedInputStream(new FileInputStream(f));
93 sceneSource.init(is, rootDir);
  /libcore/luni/src/main/java/java/util/zip/
InflaterInputStream.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
68 * This is the most basic constructor. You only need to pass the {@code
69 * InputStream} from which the compressed data is to be read from. Default
73 * @param is
76 public InflaterInputStream(InputStream is) {
77 this(is, new Inflater(), BUF_SIZE);
84 * @param is
89 public InflaterInputStream(InputStream is, Inflater inflater) {
90 this(is, inflater, BUF_SIZE)
192 ZipFile.RAFStream is = (ZipFile.RAFStream) in; local
    [all...]

Completed in 3126 milliseconds

1 2 3 4 5 67 8 91011>>