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

<<11121314151617181920>>

  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
TestCharsetDetector.java 120 errln(cs + " is not included in the all charset list." );
167 String s = "This is a string with some non-ascii characters that will " +
223 "This is a small sample of some English text. Just enough to be sure that it detects correctly.";
226 "This is another small sample of some English text. Just enough to be sure that it detects correctly. It also includes some \u201CC1\u201D bytes.";
252 // The shortest input that should produce positive detection result is two bytes,
333 InputStream is = TestCharsetDetector.class.getResourceAsStream("CharsetDetectionTests.xml"); local
334 if (is == null) {
349 doc = builder.parse(is, null);
351 is.close();
370 // This is useful when not all platforms encode the test text the same wa
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
NoiseGenerator.java 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
48 * This generator is responsible for creating various noises used to create
50 * It derives from AbstractBlenderHelper but is not stored in blender context.
51 * It is only used by TextureHelper.
109 InputStream is = NoiseGenerator.class.getResourceAsStream("noiseconstants.dat"); local
111 ObjectInputStream ois = new ObjectInputStream(is);
122 if (is != null) {
124 is.close();
    [all...]
  /frameworks/base/core/java/android/provider/
DocumentsContract.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
85 * is used in the {@code <intent-filter>} of a {@code <provider>}.
129 * Buffer is large enough to rewind past any EXIF headers.
150 * Unique ID of a document. This ID is both provided by and interpreted
152 * value by client applications. This column is required.
169 * directory containing additional documents, which is represented with
170 * the {@link #MIME_TYPE_DIR} MIME type. This column is required.
180 * user. This column is required.
187 * Summary of a document, which may be shown to a user. This column is
860 BufferedInputStream is = null; local
    [all...]
  /frameworks/base/drm/java/android/drm/
DrmManagerClient.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
53 * Indicates that an error occurred and the reason is not known.
276 * It is considered good practice to call this method when the {@link DrmManagerClient} object
277 * is no longer needed in your application. After release() is called,
278 * {@link DrmManagerClient} is no longer usable since it has lost all of its required resource.
302 * Registers an {@link DrmManagerClient.OnInfoListener} callback, which is invoked when the
315 * Registers an {@link DrmManagerClient.OnEventListener} callback, which is invoked when the
328 * Registers an {@link DrmManagerClient.OnErrorListener} callback, which is invoked when
602 FileInputStream is = null; local
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLDepthTestActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
108 * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
128 Log.v(TAG, "mDepthTestEnabled is " + mDepthTestEnabled);
220 * Create our texture. This has to be done each time the surface is
241 InputStream is = mContext.getResources() local
245 bitmap = BitmapFactory.decodeStream(is);
248 is.close();
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
SceneManager.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
142 InputStream is = null; local
146 is = res.getAssets().open(name);
149 is = new BufferedInputStream(new FileInputStream(f));
156 Bitmap b = BitmapFactory.decodeStream(is);
158 is.close();
291 // Assigned by default if nothing is present
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
URLTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
469 // u should raise a MalFormedURLException because u, the context is
481 // check that relative path with null context is not canonicalized
582 // u should raise a MalFormedURLException because u, the context is
737 InputStream is; local
765 InputStream is; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/cert/
X509CRLTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
79 final InputStream is = Support_Resources.getStream(name); local
80 assertNotNull("File does not exist: " + name, is);
82 X509Certificate c = (X509Certificate) f.generateCertificate(is);
87 is.close();
94 final InputStream is = Support_Resources.getStream(name); local
95 assertNotNull("File does not exist: " + name, is);
97 X509CRL crl = (X509CRL) f.generateCRL(is);
102 is.close()
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
178 assertTrue("Cipher provider is not the same as that "
344 InputStream is = Support_Resources.getStream(resPath); local
346 int bytesRead = is.read(input, 0, 256);
352 bytesRead = is.read(input, 0, 256);
361 is.close();
402 InputStream is = Support_Resources.getStream(resPath); local
404 int bytesRead = is.read(input, 0, 256);
410 bytesRead = is.read(input, 0, 256)
465 InputStream is = Support_Resources.getStream(resPath); local
749 InputStream is = new URL(certName).openConnection().getInputStream(); local
779 InputStream is = new URL(certName).openConnection().getInputStream(); local
921 InputStream is = new URL(certName).openConnection().getInputStream(); local
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
BluetoothMapContentTest.java 202 FileInputStream is = null; local
207 is = new FileInputStream(fd.getFileDescriptor());
210 while((count = is.read(buffer)) != -1) {
222 if(is != null)
223 is.close();
240 FileInputStream is = null; local
254 is = new FileInputStream(fd.getFileDescriptor());
259 while((count = is.read(buffer)) != -1) {
270 if(is != null)
271 is.close()
734 InputStream is = null; local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportVCardActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
70 * an Account and posssibly a file if there's no Uri is given from its caller Activity.
72 * Note that this Activity assumes that the instance is a "one-shot Activity", which will be
74 * any Dialog in the instance. So this code is careless about the management around managed
75 * dialogs stuffs (like how onCreateDialog() is used).
164 * We need to cache given files into local storage. One of reasons is that some data (as Uri)
192 Log.w(LOG_TAG, "WakeLock is being held.");
202 + "after a service connection is established");
208 Log.i(LOG_TAG, "vCard cache operation is canceled.")
404 InputStream is; local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/sms/
DatabaseMessages.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
162 // Before ICS, there is no "date_sent" so use copy of "date" value
604 // For importing we don't load media since performance is critical
655 InputStream is = null; local
658 is = resolver.openInputStream(uri);
660 int len = is.read(buffer);
663 len = is.read(buffer);
669 if (is != null) {
671 is.close()
694 InputStream is = null; local
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsDatabaseHelper.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
112 // here, but the string "(m_type=132 OR m_type=130 OR m_type=128)" is used throughout this
113 // file and so it is used here to be consistent.
155 // When a part is inserted, if it is not text/plain or application/smil
156 // (which both can exist with text-only MMSes), then there is an attachment.
168 // When the 'mid' column in the part table is updated, we need to run the trigger to update
169 // the threads table's has_attachment column, if the part is an attachment.
181 // When a part is deleted (with the same non-text/SMIL constraint as whe
1466 InputStream is = new FileInputStream(path); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PreviewIconFactory.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
177 // Note - it's possible that the the theme is some other theme
187 } // apiLevel <= 10 is fine
296 // even if one was found in the themes; pick one that is guaranteed
405 // Ensure that the foreground color is suitably distinct from the background color
496 // to ensure that the filename is pretty portable
587 // initColors again and again, but background is never null after
606 InputStream is = null; local
608 is = new BufferedInputStream(new FileInputStream(file))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
LibraryClasspathContainerInitializer.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
189 // now add a classpath entry for each Java project (this is a set so dups are already
237 InputStream is = null; local
239 p.load(is = new FileInputStream(jarProperties));
270 if (is != null) {
272 is.close();
313 if (plugin == null) { // This is totally weird, but I've seen it happen!
399 if (AdtPlugin.getDefault() == null) { // This is totally weird, but I've seen it happen!
516 * @param includeJarFiles whether to include jar files or just projects. This is useful whe
    [all...]
  /cts/libs/deviceutil/src/android/cts/util/
FileUtils.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
149 public static byte[] readInputStreamFully(InputStream is) {
154 while ((count = is.read(buffer)) != -1) {
157 is.close();
  /cts/tests/tests/media/src/android/media/cts/
MediaPlayerTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
140 // This is "R.raw.testmp3_2", base64-encoded.
143 InputStream is = mContext.getResources().openRawResource(resid); local
144 BufferedReader reader = new BufferedReader(new InputStreamReader(is));
325 // 8 bit unsigned PCM, zero level is at 128, which is -128 when
455 fail("Test is stuck, see ANR stack trace for more info. You may need to" +
504 // At this point the 1st player is done, and the 2nd one is playing
    [all...]
  /cts/tests/tests/os/src/android/os/storage/cts/
StorageManagerTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
238 InputStream is = null; local
240 is = res.openRawResource(rawResId);
246 assertTrue(FileUtils.copyToFile(is, outFile));
  /development/samples/Vault/tests/src/com/example/android/vault/
EncryptedDocumentTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
137 final FileInputStream is = new FileInputStream(afterPipe[0].getFileDescriptor()); local
141 int n = is.read(afterContent, i, afterContent.length - i);
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3baserecognizer.c 29 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
57 static ANTLR3_BOOLEAN mismatchIsUnwantedToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, ANTLR3_UINT32 ttype);
58 static ANTLR3_BOOLEAN mismatchIsMissingToken (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_BITSET_LIST follow);
130 // free it when the base recognizer is freed.
260 /* Now update it to indicate this is a Mismatched token exception
277 pANTLR3_INT_STREAM is; local
284 is = NULL;
295 is = ins->istream;
303 is = parser->tstream->istream
420 pANTLR3_INT_STREAM is; local
493 pANTLR3_INT_STREAM is; local
646 pANTLR3_INT_STREAM is; local
1012 pANTLR3_INT_STREAM is; local
1327 pANTLR3_INT_STREAM is; local
1436 pANTLR3_INT_STREAM is; local
1559 pANTLR3_INT_STREAM is; local
1625 pANTLR3_INT_STREAM is; local
1721 pANTLR3_INT_STREAM is; local
1771 pANTLR3_INT_STREAM is; local
1924 pANTLR3_INT_STREAM is; local
1999 pANTLR3_INT_STREAM is; local
2060 pANTLR3_INT_STREAM is; local
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
TokenRewriteStream.java 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
37 * String. This is very efficient because you are not moving data around
38 * all the time. As the buffer of tokens is converted to strings, the
39 * toString() method(s) check to see if there is an operation at the
40 * current index. If so, the operation is done and then normal String
41 * rendering continues on the buffer. This is like having multiple Turing
45 * screw up the token index values. That is, an insert operation at token
51 * roll back any changes if there is an error just by removing instructions.
80 * If you don't use named rewrite streams, a "default" stream is used a
196 List is = (List)programs.get(programName); local
321 List is = (List)programs.get(name); local
329 List is = new ArrayList(PROGRAM_INIT_SIZE); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
ExcludedProxyTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
35 * This test is designed for collecting all the testcases which needs a proxy
37 * Jetty is ready in the future.
75 String posted2 = "this is a test";
102 InputStream is = conn4.getInputStream(); local
106 while ((count = is.read(b4)) > 0)
181 InputStream is = conn.getInputStream(); local
185 while ((count = is.read(b)) > 0) {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactory1Test.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
87 NotSupportMsg = defaultType.concat(" is not supported");
115 * Assertion: returns CertificateFactory if type is X.509
132 * throws NullPointerException when type is null
133 * throws CertificateException when type is not available
138 fail("NullPointerException or CertificateException must be thrown when type is null");
154 * Assertion: throws IllegalArgumentException when provider is null or empty
166 fail("IllegalArgumentException must be thrown when provider is null");
171 fail("IllegalArgumentException must be thrown when provider is empty")
363 InputStream is = new ByteArrayInputStream(bb); local
455 ByteArrayInputStream is; local
562 ByteArrayInputStream is = new ByteArrayInputStream(arr); local
    [all...]
  /external/clang/include/clang/Lex/
Token.h 5 // This file is distributed under the University of Illinois Open Source
29 /// It is not intended to be space efficient, it is intended to return as much
30 /// information as possible about each returned token. This is expected to be
31 /// compressed into a smaller form if memory footprint is important.
38 /// The location of the token. This is actually a SourceLocation.
51 /// PtrData - This is a union of four different pointer types, which depends
52 /// on what type of token this is:
54 /// This is an IdentifierInfo*, which contains the uniqued identifier
57 /// This is a pointer to the start of the token in a text buffer, whic
95 bool is(tok::TokenKind K) const { return Kind == K; } function in class:clang::Token
    [all...]
  /external/clang/lib/ASTMatchers/Dynamic/
Marshallers.h 5 // This file is distributed under the University of Illinois Open Source
36 /// \brief Helper template class to just from argument type to the right is/get
44 static bool is(const VariantValue &Value) { return Value.isString(); } function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits
58 static bool is(const VariantValue &Value) { function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits
70 static bool is(const VariantValue &Value) { return Value.isUnsigned(); } function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits
88 static bool is(const VariantValue &Value) { function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits
111 /// Returns whether the matcher is variadic. Variadic matchers can take any
118 /// Given that the matcher is being converted to type \p ThisKind, append the
125 /// Returns whether this matcher is convertible to the given type. If it is
    [all...]

Completed in 1473 milliseconds

<<11121314151617181920>>