/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
|
CertificateFactory4Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 71 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); local 73 fact.generateCertificate(is); 78 is.close(); 93 InputStream is = certUrl.openStream(); local 94 Collection certs = fact.generateCertificates(is); 115 InputStream is = certUrl.openStream(); local 116 CRL crl = fact.generateCRL(is); 136 InputStream is = certUrl.openStream() local [all...] |
/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/chromium_org/third_party/cython/src/Cython/Compiler/ |
UtilityCode.py | 36 raise AssertionError("Only the cython cimport is supported.") namespace 40 if self.scope is None: 61 For methods the cname decorator is optional, but without the decorator the 76 if context is not None: 145 be included for used entries. If module_name is given, declare the
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
name_editing_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 73 MemoryInputStream is; local 74 is.Attach(os.Get(), os.Size()); 76 factory->LoadFonts(&is, &font_array); 122 MemoryInputStream is; local 123 is.Attach(os.Get(), os.Size()); 125 factory->LoadFonts(&is, &font_array); 168 MemoryInputStream is; local 169 is.Attach(os.Get(), os.Size()) [all...] |
serialization_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 47 MemoryInputStream is; local 48 is.Attach(os.Get(), os.Size()); 49 factory3->LoadFonts(&is, &new_font_array); 113 MemoryInputStream is; local 114 is.Attach(os.Get(), os.Size()); 115 factory3->LoadFonts(&is, &new_font_array);
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleAnimator.cpp | 5 * Use of this source code is governed by a BSD-style license that can be 54 SkFILEStream* is = new SkFILEStream(path); local 55 SkAutoUnref aur(is); 56 return is->isValid() && this->decodeStream(is); 60 SkMemoryStream* is = new SkMemoryStream(buffer, size); local 61 SkAutoUnref aur(is); 62 return this->decodeStream(is);
|
/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/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
GifBitmapWrapperResourceDecoder.java | 29 InputStream is = source.getStream(); local 31 RecyclableBufferedInputStream bis = new RecyclableBufferedInputStream(is, tempBytes); 33 if (is != null) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLArrowSensorTestRenderer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 137 InputStream is = mContext.getResources().openRawResource(R.raw.sns_texture); local 140 bitmap = BitmapFactory.decodeStream(is); 143 is.close(); 197 * arrays must be length 3 or more, and out is overwritten.
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 113 InputStream is = getActivity().getResources().openRawResource(MOVIE); local 114 byte[] bytes = inputStreamToBytes(is); 116 is.close(); 124 InputStream is = getActivity().getResources() local 126 mMovie = Movie.decodeStream(is); 127 is.close();
|
TypefaceTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 172 InputStream is = getContext().getAssets().open("samplefont.ttf"); local 176 while ((readLength = is.read(dataBuffer)) != -1) { 179 is.close();
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
PermissionTestService.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 131 // testNetworkAccess is performed asynchronously and calls testNetworkAccessDone. 224 Log.e(TAG, "Test is bad, could not create the URL in " 228 InputStream is = null; local 230 is = url.openStream(); 233 int value = is.read(); 246 if (is != null) { 248 is.close();
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
VideoProvider.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 63 InputStream is = null; local 70 is = new BufferedInputStream(urlConnection.getInputStream()); 84 if (null != is) { 86 is.close();
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ExternalStorage.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 20 //class is in a sub-package. 195 // no error checking, and assumes the picture is small (does not 196 // try to copy it in chunks). Note that if external storage is 198 InputStream is = getResources().openRawResource(R.drawable.balloons); local 200 byte[] data = new byte[is.available()]; 201 is.read(data); 203 is.close(); 206 // Tell the media scanner about the new file so that it is 262 InputStream is = getResources().openRawResource(R.drawable.balloons); local 324 InputStream is = getResources().openRawResource(R.drawable.balloons); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
StaticTriangleRenderer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 * provide a programming model that is closer to the C OpenGL ES APIs, which 96 * surface is created. 133 * Usually, the first thing one might want to do is to clear 134 * the screen. The most efficient way of doing this is to use 173 * be set when the viewport is resized. 189 InputStream is = mContext.getResources().openRawResource( local 193 bitmap = BitmapFactory.decodeStream(is); 196 is.close() [all...] |
TriangleRenderer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 68 * surface is created. 91 InputStream is = mContext.getResources() local 95 bitmap = BitmapFactory.decodeStream(is); 98 is.close(); 120 * Usually, the first thing one might want to do is to clear 121 * the screen. The most efficient way of doing this is to use 160 * be set when the viewport is resized.
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
CharInfo.java | 13 * distributed under the License is distributed on an "AS IS" BASIS, 87 /** This flag is an optimization for HTML entities. It false if entities 97 /** Array of values is faster access than a set of bits 99 * the value is true if the character in an attribute value 104 /** Array of values is faster access than a set of bits 106 * the value is true if the character in a text node 111 /** An array of bits to record if the character is in the set. 112 * Although information in this array is complete, the 113 * isSpecialAttrASCII array is used first because access to its value 209 InputStream is = null; local [all...] |
Encodings.java | 13 * distributed under the License is distributed on an "AS IS" BASIS, 40 * This class is not a public API. It is only public because it 41 * is used outside of this package. 57 * This is not a public API. 61 * @throws UnsupportedEncodingException There is no convertor 107 * This is not a public API. 110 * @return The object that is used to determine if 151 * A fast and cheap way to uppercase a String that is 317 final InputStream is; local [all...] |
OutputPropertiesFactory.java | 13 * distributed under the License is distributed on an "AS IS" BASIS, 38 * This class is a factory to generate a set of default properties 42 * may be modified to non-default values before the SerializerFactory is used to 51 * that is used to create or configure a serializer. Here are the non-standard keys: 56 * properties value is a the number of whitespaces to indent by per 60 * This non-standard property key is used to set the name of the fully qualified 66 * This non-standard property key is used to specify the name of the property file 68 * file is has the name of the entity and the numeric (base 10) value 72 * This non-standard property key is used to set a value of "yes" if the href values for HTML serialization shoul 357 InputStream is = null; local [all...] |
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/ |
LibraryLoaderHelper.java | 2 // Use of this source code is governed by a BSD-style license that can be 46 // libraries should only be unpacked once, this is guaranteed by 66 * Native library directory in an updated package is a symbolic link 77 * libchrome.1750.136.so, 1750.136 is Chrome version number; 84 * If named library is not in /data/data/com.android.chrome/app_lib directory, 121 * Unpack native libraries from the APK file. The method is supposed to 163 InputStream is = null; local 166 is = file.getInputStream(entry); 170 while ((count = is.read(buffer)) > 0) { 175 if (is != null) is.close() [all...] |
/external/junit/src/junit/runner/ |
BaseTestRunner.java | 91 * Returns the Test corresponding to the given suite. This is 238 InputStream is= null; local 240 is= new FileInputStream(getPreferencesFile()); 242 getPreferences().load(is); 245 if (is != null) 246 is.close();
|