/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/chromium_org/third_party/icu/source/test/cintltst/ |
utf8tst.c | 31 * This is not conformant with UTF-8. 109 log_err("ERROR: 0x%02x is a single byte but results in single: %c lead: %c trail: %c\n", 114 log_err("ERROR: 0x%02x is a lead byte but results in single: %c lead: %c trail: %c\n", 119 log_err("ERROR: 0x%02x is a trail byte but results in single: %c lead: %c trail: %c\n", 152 log_verbose("The no: of code units for %lx is %d\n",c, UTF8_CHAR_LENGTH(c)); 442 * U8_FWD_N() stops at the end of the string, that is, at the NUL if necessary. 506 * The behavior of _UNSAFE macros for ill-formed strings is undefined. 648 * The behavior of _UNSAFE macros for ill-formed strings is undefined. 1051 int32_t i, j, k, iu, is, il, length; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_resource_texture.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 11 * permit persons to whom the Software is furnished to do so, subject to 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 162 /* for the first image and level make sure offset is zero */ 176 i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex) 178 if (!is->debug.tiling) 187 if (is->debug.use_blitter) 280 * XXX: need a better name than shared for this if it is to be part 688 struct i915_screen *is = i915_screen(screen) local 945 struct i915_screen *is = i915_screen(screen); local 1003 struct i915_screen *is = i915_screen(screen); local [all...] |
/external/clang/lib/ASTMatchers/Dynamic/ |
Marshallers.h | 5 // This file is distributed under the University of Illinois Open Source 76 /// \brief Helper template class to just from argument type to the right is/get 84 static bool is(const VariantValue &Value) { return Value.isString(); } function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits 98 static bool is(const VariantValue &Value) { function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits 110 static bool is(const VariantValue &Value) { return Value.isUnsigned(); } function in struct:clang::ast_matchers::dynamic::internal::ArgTypeTraits 130 /// Returns whether the matcher is variadic. Variadic matchers can take any 137 /// Given that the matcher is being converted to type \p ThisKind, append the 144 /// Returns whether this matcher is convertible to the given type. If it is 184 /// The marshaller is in charge of taking the VariantValue arguments, checkin [all...] |
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustedCertificateStore.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 68 * CAs is performed by placing an exact copy of that CA in the deleted 71 * but is otherwise reissued in a system update. Reinstalling a 75 * <p>Note that the default mutable directory is created by init via 79 * gid and that it is world readable but only writable by the system 177 InputStream is = null; local 179 is = new BufferedInputStream(new FileInputStream(file)); 180 return (X509Certificate) CERT_FACTORY.generateCertificate(is); 188 IoUtils.closeQuietly(is); [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
ImageHeaderParser.java | 63 public ImageHeaderParser(InputStream is) { 64 streamReader = new StreamReader(is); 98 * Parse the orientation from the image header. If it doesn't handle this image type (or this is not an image) 203 if (formatCode < 1 || formatCode > 12) { //12 is max format code 292 private final InputStream is; field in class:ImageHeaderParser.StreamReader 295 public StreamReader(InputStream is) { 296 this.is = is; 300 return (is.read() << 8 & 0xFF00) | (is.read() & 0xFF) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utf8tst.c | 31 * This is not conformant with UTF-8. 109 log_err("ERROR: 0x%02x is a single byte but results in single: %c lead: %c trail: %c\n", 114 log_err("ERROR: 0x%02x is a lead byte but results in single: %c lead: %c trail: %c\n", 119 log_err("ERROR: 0x%02x is a trail byte but results in single: %c lead: %c trail: %c\n", 152 log_verbose("The no: of code units for %lx is %d\n",c, UTF8_CHAR_LENGTH(c)); 442 * U8_FWD_N() stops at the end of the string, that is, at the NUL if necessary. 506 * The behavior of _UNSAFE macros for ill-formed strings is undefined. 648 * The behavior of _UNSAFE macros for ill-formed strings is undefined. 1051 int32_t i, j, k, iu, is, il, length; local [all...] |
/external/iproute2/doc/ |
ip-cref.tex | 25 from the \verb|iproute2| package. It is not a tutorial or user's guide. 26 It is a {\em dictionary\/}, not explaining terms, 28 However, the document is self-contained and the reader, provided they have a 33 This document is split into sections explaining \verb|ip| commands 43 The generic form of an \verb|ip| command is: 47 where \verb|OPTIONS| is a set of optional modifiers affecting the 62 As a rule, the information is statistics or some time values. 68 --- enforce the protocol family to use. If the option is not present, 69 the protocol family is guessed from other arguments. If the rest of the command 71 one, usually \verb|inet| or \verb|any|. \verb|link| is a special famil [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
MCAsmLexer.h | 5 // This file is distributed under the University of Illinois Open Source 58 /// A reference to the entire token contents; this is always a pointer into 72 bool is(TokenKind K) const { return Kind == K; } function in class:llvm::AsmToken 98 /// is safe to store across calls to Lex(). 101 // FIXME: Don't compute this in advance, it makes every token larger, and is 102 // also not generally what we want (it is nicer for recovery etc. to lex 123br 179 /// is - Check if the current token has kind \p K. 180 bool is(AsmToken::TokenKind K) const { return CurTok.is(K); } function in class:llvm::MCAsmLexer
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource_texture.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 11 * permit persons to whom the Software is furnished to do so, subject to 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 162 /* for the first image and level make sure offset is zero */ 176 i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex) 178 if (!is->debug.tiling) 187 if (is->debug.use_blitter) 280 * XXX: need a better name than shared for this if it is to be part 688 struct i915_screen *is = i915_screen(screen) local 945 struct i915_screen *is = i915_screen(screen); local 1003 struct i915_screen *is = i915_screen(screen); local [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteStatementTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 private static final String STRING1 = "this is a test"; 114 // if the SQL statement is something that causes rows of data to 151 // if the sql statement is something that causes rows of data to 329 private static void assertInputStreamContent(byte[] expected, InputStream is) 333 int count = is.read(observed); 335 assertEquals(-1, is.read()); 338 is.close();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 81 InputStream is = socket.getInputStream(); local 82 InputStreamReader isr = new InputStreamReader(is, "UTF8"); 342 // this escape is slow but easy to understand
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
TestVersionTracker.java | 5 * which accompanies this distribution, and is available at 206 InputStream is = null; 209 is = new BufferedInputStream(new FileInputStream(pluginXml)); 210 InputSource inputSource = new InputSource(is); 234 is.close(); 271 InputStream is = null; 274 is = new BufferedInputStream(new FileInputStream(testXml)); 275 InputSource inputSource = new InputSource(is); 299 is.close();
|
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
GifDecoder.java | 7 * Permission is hereby granted, free of charge, to any person obtaining 12 * permit persons to whom the Software is furnished to do so, subject to 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 42 * This class is optimized for running animations with the frames, there 255 * @param is containing GIF file. 258 public int read(InputStream is, int contentLength) { 259 if (is != null) { 265 while ((nRead = is.read(data, 0, data.length)) != -1) { 279 if (is != null) [all...] |
/external/javasqlite/src/main/java/SQLite/ |
Shell.java | 8 * SQLite command line shell. This is a partial reimplementaion 461 String read_line(BufferedReader is, String prompt) { 467 String line = is.readLine(); 474 void do_input(BufferedReader is) { 477 while ((line = read_line(is, prompt)) != null) { 588 BufferedReader is = local 590 s.do_input(is);
|
/external/libvorbis/lib/ |
smallft.c | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * 25 * Note that the packing is a little strange; rather than the FFT r/i 44 int ld, ii, ip, is, nq, nr; local 78 is=0; 93 i=is; 102 is+=ido; 275 int idij,ipph,i,j,k,l,ic,ik,is; local 305 is=-ido 843 int idij,ipph,i,j,k,l,ik,is,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10, local [all...] |
/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 227 // Avoid a deadlock between two threads where one is trying to call 228 // close() and the other one is calling accept() by sending a GET 236 InputStream is = connection.getInputStream(); local 237 is.close(); 239 // Block until the server thread is done shutting down. 280 * {@link X509TrustManager} that trusts everybody. This is used so that 361 * Return an absolute URL that refers to the given asset and is protected by 529 * Set the validity of any future responses in milliseconds. If this is set to a non-zer [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 130 // This test is going to make sure that the platform deals correctly 131 // with a content provider process going away while a client is waiting 133 // First, we need to make sure our provider process is gone. Goodbye! 143 // Now make sure the thing is actually gone. 151 fail("Content provider process is not gone!"); 191 "Killing remote client -- if test process goes away, that is why!"); 195 // Make sure the remote client is actually gone. 203 fail("Content provider process is not gone!") 462 InputStream is = mContentResolver.openInputStream(uri); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactoryTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 130 InputStream is = obtainInputStream(); local 133 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1); 161 InputStream is = obtainInputStream(); local 163 Bitmap b = BitmapFactory.decodeStream(is, r, mOpt1); 169 assertNull(BitmapFactory.decodeStream(is, r, mOpt2)); 173 InputStream is = obtainInputStream(); local 174 Bitmap b = BitmapFactory.decodeStream(is); 183 InputStream is = obtainInputStream(RES_IDS[i]) local 621 InputStream is = obtainInputStream(resId); local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
ImageReaderDecoderTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 64 * used here is AVC although the compression format doesn't matter for this 257 InputStream is = null; local 268 // resource is compressed, uncompress locally 271 is = mResources.openRawResource(video); 275 while ((len = is.read(buf, 0, buf.length)) > 0) { 279 is.close(); 329 } catch (IllegalArgumentException e) { // mime is not supported 538 // this happens before the first frame is returned [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
H264TrackImpl.java | 370 ByteArrayInputStream is = cleanBuffer(data); local 371 is.read(); 372 seqParameterSet = SeqParameterSet.read(is); 381 ByteArrayInputStream is = new ByteArrayInputStream(data); local 382 is.read(); 383 pictureParameterSet = PictureParameterSet.read(is); 442 public SliceHeader(InputStream is, SeqParameterSet sps, PictureParameterSet pps, boolean IdrPicFlag) throws IOException { 443 is.read(); 444 CAVLCReader reader = new CAVLCReader(is); 555 LOG.fine("Resetting to " + markPos + " (pos is " + pos + ") which makes the buffersize " + diff) [all...] |
/external/nist-pkits/src/libcore/java/security/cert/ |
X509CertificateNistPkitsTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 72 final InputStream is = getStream(fileName); local 73 assertNotNull("File does not exist: " + fileName, is); 75 return (X509Certificate) f.generateCertificate(is); 78 is.close(); 97 final InputStream is = getStream(fileName); local 98 assertNotNull("File does not exist: " + fileName, is); 100 return (X509CRL) f.generateCRL(is); 103 is.close() [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtilsTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 630 private static void assertInputStreamContent(byte[] expected, InputStream is) 634 int count = is.read(observed); 636 assertEquals(-1, is.read()); 639 is.close();
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AndroidKeyStoreTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 2186 ByteArrayInputStream is = new ByteArrayInputStream(buf); local [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SampleMediaRouteProvider.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 179 IntentSender is = PendingIntent.getActivity(getContext(), 99, settingsIntent, local 192 .setSettingsActivity(is) 205 .setSettingsActivity(is) 353 Log.d(TAG, mRouteId + ": New volume is " + mVolume);
|