HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 101 - 125 of 703) sorted by null

1 2 3 45 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_exitfunc.py 40 if self.sys_import is None: namespace
52 if self.sys_import is None: namespace
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_threaded_import.py 1 # This is a variant of the very old (early 90's) file
4 # There are no pleasant failure modes -- most likely is that Python
41 # In case this test is run again, make sure the helper module
60 raise unittest.SkipTest("can't run when import lock is held") namespace
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_exitfunc.py 40 if self.sys_import is None: namespace
52 if self.sys_import is None: namespace
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_threaded_import.py 1 # This is a variant of the very old (early 90's) file
4 # There are no pleasant failure modes -- most likely is that Python
41 # In case this test is run again, make sure the helper module
60 raise unittest.SkipTest("can't run when import lock is held") namespace
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NfcImportVCardActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
92 ByteArrayInputStream is = new ByteArrayInputStream(mRecord.getPayload()); local
93 is.mark(0);
100 parser.parse(is);
102 is.reset();
110 parser.parse(is);
116 if (is != null) is.close();
124 Log.w(TAG, "Nested Exception is found (it may be false-positive).")
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
37 private java.io.InputStream is; field in class:FileInputStreamTest
48 is = new FileInputStream(f);
49 is.close();
66 is = new FileInputStream(fileName);
67 is.close();
75 is = new FileInputStream("");
80 if (is != null) {
81 is.close()
    [all...]
BufferedInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
36 private BufferedInputStream is; field in class:BufferedInputStreamTest
72 is = new BufferedInputStream(isFile, this.fileString.length());
74 is.read();
80 is.skip(this.fileString.length() - 2);
81 is.read();
83 // is.read should now throw an exception because it will have to
85 is.read();
102 MockBufferedInputStream(InputStream is) throws IOException
    [all...]
  /external/smack/src/org/xbill/DNS/
Tokenizer.java 6 // purpose with or without fee is hereby granted, provided that the above
9 // THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
26 * Tokenizer is used to parse DNS records and zones from text format,
43 /** Whitespace; only returned when wantWhitespace is set */
52 /** A comment; only returned when wantComment is set */
55 private PushbackInputStream is; field in class:Tokenizer
143 * @param is The InputStream to tokenize.
146 Tokenizer(InputStream is) {
147 if (!(is instanceof BufferedInputStream)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldInputStreamReaderTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
33 private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese";
39 private InputStreamReader is; field in class:OldInputStreamReaderTest
58 is = new InputStreamReader(fis);
64 is.close();
170 is = new InputStreamReader(fis, "8859_1");
176 is = new InputStreamReader(fis, "Bogus");
186 is.close()
261 ByteArrayInputStream is = new ByteArrayInputStream(bytes); local
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
PrintWriterPrinterTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
69 InputStream is = new FileInputStream(mFile); local
71 new InputStreamReader(is));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
AlphaBitmap.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
64 InputStream is = context.getResources().openRawResource(R.drawable.app_sample_code); local
65 mBitmap = BitmapFactory.decodeStream(is);
Pictures.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
75 InputStream is = new ByteArrayInputStream(os.toByteArray()); local
77 canvas.drawPicture(Picture.createFromStream(is));
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
ZipFileTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
34 public byte[] getAllBytesFromStream(InputStream is) throws IOException {
39 while (is.available() > 0) {
40 iRead = is.read(buf, 0, buf.length);
211 "This is also text", new String(buf, 0, r, "UTF-8"));
233 java.io.InputStream is = null; local
236 is = zfile.getInputStream(zentry);
239 is.read(rbuf, 0, r = (int) zentry.getSize());
240 assertEquals("getInputStream read incorrect data", "This is text", new String(rbuf
275 InputStream is = zfile.getInputStream(zentry); local
321 InputStream is = zfile.getInputStream(zentry); local
381 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); local
    [all...]
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/serialization/
AuthorizeCallbackTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
57 boolean is = ref.isAuthorized();
73 assertEquals(test.isAuthorized(), is); local
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
IdentityScopeTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
36 IdentityScope is; field in class:IdentityScopeTest
64 is = new IdentityScopeStub("Aleksei Semenov");
65 assertNotNull(is);
66 assertEquals("Aleksei Semenov", is.getName());
74 is = new IdentityScopeStub("Aleksei Semenov", scope);
75 assertNotNull(is);
76 assertEquals("Aleksei Semenov", is.getName());
77 assertEquals(scope.getName(), is.getScope().getName())
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
X509CRL2Test.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
36 InputStream is = Support_Resources local
40 pemCert = (X509Certificate) certFact.generateCertificate(is);
56 // check that it is an encoded as a OCTET STRING
X509CRLEntry2Test.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
36 InputStream is = Support_Resources local
40 pemCert = (X509Certificate) certFact.generateCertificate(is);
56 // check that it is an encoded as a OCTET STRING
X509Certificate2Test.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
39 InputStream is = Support_Resources local
44 .generateCertificate(is);
54 // check that it is an encoded as a OCTET STRING
72 // extension value is empty sequence
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncSystemProperty.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
65 // property argument is to be looked for.
171 InputStream is = ss.getResourceAsStream(ObjectFactory.findClassLoader(), local
175 BufferedInputStream bis = new BufferedInputStream(is);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
__init__.py 17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31 import builders # Why is this in port? namespace
  /external/droiddriver/src/com/google/android/droiddriver/finders/
By.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
89 public static ByAttribute<Boolean> is(Attribute attribute) { method in class:By
163 * @param clazz The class whose name is matched against
171 * @return a finder to find an element that is selected
174 return is(Attribute.SELECTED);
181 * XPath is the domain-specific-language for navigating a node tree. It is
185 * {@link #allOf}. For complex cases like below, XPath is superior:
233 * @return a finder that is the logical conjunction of given finder
    [all...]
  /external/eigen/bench/btl/data/
mean.cxx 7 // This program is free software; you can redistribute it and/or
12 // This program is distributed in the hope that it will be useful,
120 multiset<Lib_Mean>::iterator is = s_lib_mean.begin(); local
121 Lib_Mean best(*is);
124 for (is=s_lib_mean.begin(); is!=s_lib_mean.end() ; is++){
127 cout << " <TD> " << is->_lib_name << " </TD>" << endl ;
128 cout << " <TD> " << is->_mean_in_cache << " </TD>" << endl ;
129 cout << " <TD> " << 100*(is->_mean_in_cache/best._mean_in_cache) << " </TD>" << endl
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ContentProviderOperationTest.java 4 import static org.hamcrest.CoreMatchers.is;
29 assertThat(shadowOperation.isInsert(), is(true)); method
30 assertThat(shadowOperation.isUpdate(), is(false)); method
31 assertThat(shadowOperation.isDelete(), is(false)); method
32 assertThat(shadowOperation.getValues().size(), is(2));
34 assertThat(Integer.parseInt(shadowOperation.getValues().get("intValue").toString()), is(5));
45 assertThat(shadowBuilder.getWithValueBackReference("my_id"), is(0));
46 assertThat(shadowOperation.getWithValueBackReference("my_id"), is(0));
57 assertThat(shadowOperation.isInsert(), is(false)); method
58 assertThat(shadowOperation.isUpdate(), is(true)) method
59 assertThat(shadowOperation.isDelete(), is(false)); method
71 assertThat(shadowOperation.isInsert(), is(false)); method
72 assertThat(shadowOperation.isUpdate(), is(false)); method
73 assertThat(shadowOperation.isDelete(), is(true)); method
    [all...]
CookieManagerTest.java 8 import static org.hamcrest.CoreMatchers.is;
17 assertThat( CookieManager.getInstance(), is(CookieManager.getInstance()));
26 assertThat(cookieManager.getCookie(url), is(value)); method
40 assertThat(cookieManager.getCookie("http://www.google.com"), is(value1)); method
41 assertThat(cookieManager.getCookie(url2), is(value2)); method
ImageViewTest.java 21 import static org.hamcrest.CoreMatchers.is;
99 assertThat(shadowOf(imageView.getDrawable()).getLoadedFromResourceId(), is(R.drawable.rainbow)); method

Completed in 3266 milliseconds

1 2 3 45 6 7 8 91011>>