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

1 2 3 4 5 6 78 91011>>

  /libcore/luni/src/test/java/libcore/java/util/jar/
DalvikExecTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
45 builder.command().add("dalvikvm"); // for host mode, assume dalvikvm is on the path
60 // The default dalvik-cache is only writable by the system user (and root).
142 * We just test whether the manifest is placed correctly within the JAR by
249 InputStream is = ResourceDumper.class.getResourceAsStream(fileName); local
250 if (is != null) {
252 System.out.println(outputFrom(is).toString());
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
84 InputStream is = new ByteArrayInputStream(myMessage); local
85 InputStream dis = new DigestInputStream(is, md);
117 InputStream is = new ByteArrayInputStream(myMessage); local
118 DigestInputStream dis = new DigestInputStream(is, md);
150 InputStream is = new ByteArrayInputStream(myMessage); local
151 DigestInputStream dis = new DigestInputStream(is, md);
175 * Assertion: <code>read()</code> must not update digest if it is off<br>
185 InputStream is = new ByteArrayInputStream(myMessage) local
246 InputStream is = new ByteArrayInputStream(myMessage); local
271 InputStream is = new ByteArrayInputStream(myMessage); local
296 InputStream is = new ByteArrayInputStream(myMessage); local
333 InputStream is = new ByteArrayInputStream(myMessage); local
373 InputStream is = new ByteArrayInputStream(myMessage); local
417 InputStream is = new ByteArrayInputStream(myMessage); local
456 InputStream is = new ByteArrayInputStream(myMessage); local
527 InputStream is = new ByteArrayInputStream(myMessage); local
566 InputStream is = new ByteArrayInputStream(myMessage); local
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/security/auth/
X500PrincipalTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
69 * javax.security.auth.x500.X500Principal#X500Principal(InputStream is)
74 ByteArrayInputStream is = new ByteArrayInputStream(ba); local
78 X500Principal xpr = new X500Principal(is);
94 is = new ByteArrayInputStream(name.getBytes());
96 X500Principal xpr = new X500Principal(is);
259 ByteArrayInputStream is = new ByteArrayInputStream(array); local
261 X509Certificate cert = (X509Certificate)cf.generateCertificate(is);
  /ndk/sources/cxx-stl/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...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppSendFileInfo.java 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
145 FileInputStream is = null; local
155 Log.e(TAG, "Content provider length is wrong (" + Long.toString(length) +
162 // is closed.
163 is = fd.createInputStream();
175 if (is == null) {
177 is = (FileInputStream) contentResolver.openInputStream(uri);
186 length = is.available();
187 if (V) Log.v(TAG, "file length is " + length)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapUtils.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
60 // For vcard 2.0: VERSION,N,TEL is mandatory
61 // For vcard 3.0, VERSION,N,FN,TEL is mandatory
63 // NICKNAME is set
65 // Check that an explicit filter is not set. If not, this means
84 // Check byte 6 is not set
89 // Check if bit#3-6 is set. Return false if so.
185 FileInputStream is = null; local
196 is = fd.createInputStream()
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/imap/
ImapList.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
67 * Return true if the element at {@code index} exists, is string, and equals to {@code s}.
70 public final boolean is(int index, String s) { method in class:ImapList
71 return is(index, s, false);
75 * Same as {@link #is(int, String)}, but does the prefix match if {@code prefixMatch}.
77 public final boolean is(int index, String s, boolean prefixMatch) { method in class:ImapList
79 return getStringOrEmpty(index).is(s);
87 * If {@code index} is out of range, returns {@link ImapElement#NONE}.
95 * If {@code index} is out of range or not a list, returns {@link ImapList#EMPTY}
    [all...]
ImapString.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
31 * Class represents an IMAP "element" that is not a list.
59 // This is used only for parsing IMAP's FETCH ENVELOPE command, in which
60 // en_US-like date format is used like "01-Jan-2009 11:20:39 -0800", so this should be
80 * @return true if and only if the length of the string is larger than 0.
82 * Note: IMAP NIL is considered an empty string. See {@link ImapResponseParser
84 * On the other hand, a quoted/literal string with value NIL (i.e. "NIL" and {3}\r\nNIL) is
153 public final boolean is(String s) { method in class:ImapString
  /packages/apps/Email/src/org/apache/james/mime4j/decoder/
DecoderUtil.java 13 * software distributed under the License is distributed on an *
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
54 QuotedPrintableInputStream is = new QuotedPrintableInputStream( local
58 while ((b = is.read()) != -1) {
83 Base64InputStream is = new Base64InputStream( local
87 while ((b = is.read()) != -1) {
148 * =?charset?enc?Encoded word?= where enc is either 'Q' or 'q' for
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
EasResponse.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
48 * If this is set, it is essentially a 403 whereby the failure was due
107 InputStream is = null; local
110 is = mEntity.getContent();
116 is = new GZIPInputStream(is);
122 mInputStream = is;
123 return is;
    [all...]
  /packages/apps/Gallery2/jni/filters/
hsv.c 11 * distributed under the License is distributed on an "AS IS" BASIS,
86 int H,X,ih,is,iv; local
107 is=(int)cs;
111 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
114 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
  /prebuilts/ndk/5/sources/cxx-stl/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...]
  /prebuilts/ndk/6/sources/cxx-stl/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...]
  /prebuilts/ndk/7/sources/cxx-stl/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...]
  /prebuilts/ndk/8/sources/cxx-stl/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...]
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
Socket.java 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
54 if (DEBUG) Log.d(TAG, "Socket is constructed for " + mChannelName);
60 * @return true if socket is connected, or false if socket is not connected.
87 * @param data Data to send. Data size is defined by the length of the
97 // Same technique is used everywhere in this class where mSocket member
98 // is touched.
133 final InputStream is = socket.getInputStream(); local
136 final int chunk = is.read(data, received, len - received)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
CreateFileChange.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
84 InputStream is = null; local
96 is = supplier.getInput();
97 file.create(is, false, new SubProgressMonitor(pm, 1));
102 Closeables.closeQuietly(is);
  /system/extras/fatblock/
fs.c 11 * distributed under the License is distributed on an "AS IS" BASIS,
130 WARN("allocating extent: filesystem is full!\n");
166 struct fat_info_sector *is; local
208 is = &fs->info;
210 memcpy(is->info_sig1, FAT_INFO_SIG1, sizeof(is->info_sig1));
211 memcpy(is->info_sig2, FAT_INFO_SIG2, sizeof(is->info_sig2));
212 is->free_clusters = htole32(-1)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
115 private static void assertInputStreamContent(byte[] expected, InputStream is)
119 int count = is.read(observed);
121 assertEquals(-1, is.read());
124 is.close();
135 FileInputStream is = new FileInputStream(fd); local
137 assertEquals(1, is.skip(1));
138 assertEquals(41, is.read());
139 assertEquals(42, is.read())
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
GLES20TriangleRenderer.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
118 * surface is created.
138 InputStream is = mContext.getResources() local
142 bitmap = BitmapFactory.decodeStream(is);
145 is.close();
  /development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
GLES20TriangleRenderer.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
116 * surface is created.
136 InputStream is = mContext.getResources() local
140 bitmap = BitmapFactory.decodeStream(is);
143 is.close();
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
InflaterInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
148 InputStream is = new ByteArrayInputStream(new byte[10]); local
149 InflaterInputStream iis = new InflaterInputStream(is);
160 InputStream is = new ByteArrayInputStream(new byte[10]); local
161 InflaterInputStream iis = new InflaterInputStream(is);
163 assertTrue(is.markSupported());
229 // this byte[] is a deflation of these bytes: { 1, 3, 4, 6 }
247 // this byte[] is a deflation of these bytes: { 1, 3, 4, 6 }
256 // this byte[] is a deflation of the empty fil
279 InputStream is = new ByteArrayInputStream(baos.toByteArray()); local
335 InputStream is = new ByteArrayInputStream(new byte[10]); local
349 InputStream is = Support_Resources.getStream("hyts_available.tst"); local
446 InputStream is = Support_Resources.getStream("hyts_available.tst"); local
    [all...]
ZipEntryTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
29 public byte[] getAllBytesFromStream(InputStream is) throws IOException {
34 while (is.available() > 0) {
35 iRead = is.read(buf, 0, buf.length);
104 zipEntry.setComment("This Is A Comment");
106 "This Is A Comment", zipEntry.getComment());
447 * is called before a test is executed.
461 java.io.InputStream is = Support_Resource local
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
140 assertTrue("Cipher provider is not the same as that "
278 InputStream is = Support_Resources.getResourceStream(resPath); local
280 int bytesRead = is.read(input, 0, 256);
286 bytesRead = is.read(input, 0, 256);
295 is.close();
327 InputStream is = Support_Resources.getResourceStream(resPath); local
329 int bytesRead = is.read(input, 0, 256);
335 bytesRead = is.read(input, 0, 256)
353 InputStream is = Support_Resources.getResourceStream(resPath); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DataInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
159 DataInputStream is = new DataInputStream(new ByteArrayInputStream( local
165 is.readFully(byteArray, -1, -1);
172 is.readFully(byteArray, 0, -1);
179 is.readFully(byteArray, 1, -1);
185 is.readFully(byteArray, -1, 0);
186 is.readFully(byteArray, 0, 0);
187 is.readFully(byteArray, 1, 0);
190 is.readFully(byteArray, -1, 1)
210 DataInputStream is = new DataInputStream(new ByteArrayInputStream( local
273 DataInputStream is = new DataInputStream(null); local
334 DataInputStream is = new DataInputStream(null); local
    [all...]

Completed in 1164 milliseconds

1 2 3 4 5 6 78 91011>>