/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/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
ManifestTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 50 private static final String MANIFEST_CONTENTS_2 = "Manifest-Version: 1.0\nName: value\n \n"; // Note penultimate line is single space 132 InputStream is = new ByteArrayInputStream(baos.toByteArray()); local 133 Manifest mCopy = new Manifest(is); 248 // maximum allowed length is 72 for a header, colon and a following 271 new Manifest(new ByteArrayInputStream(bytes)); // the last NUL is ok 274 new Manifest(new ByteArrayInputStream(bytes)); // the last EOF is ok 436 InputStream is = new InputStreamImpl(); local 438 new Manifest().read(is); [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 47 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); local 48 if (is == null) { 51 zis = new ZipInputStream(is);
|
/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, 88 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. 99 log_err("ERROR: 0x%02x is a single byte but results in single: %c lead: %c trail: %c\n", 104 log_err("ERROR: 0x%02x is a lead byte but results in single: %c lead: %c trail: %c\n", 109 log_err("ERROR: 0x%02x is a trail byte but results in single: %c lead: %c trail: %c\n", 142 log_verbose("The no: of code units for %lx is %d\n",c, UTF8_CHAR_LENGTH(c) ); 875 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/chromium_org/v8/src/x64/ |
assembler-x64.h | 19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 20 // IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 47 // Test whether a 64-bit value is in a specific range. 84 // to a few constants). If this is a problem, we could change the code 136 bool is(Register reg) const { return code_ == reg.code_; } function in struct:v8::internal::Register 264 bool is(XMMRegister reg) const { return code_ == reg.code_; } 306 // any value < 0 is considered no_condition 419 // Offset is added to existing displacement as 32-bit signed values and 423 // Checks whether either base or index register is the given register. 441 // register is encoded later as part of the emit_operand operation [all...] |
/external/icu4c/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 56 /// A reference to the entire token contents; this is always a pointer into 68 bool is(TokenKind K) const { return Kind == K; } function in class:llvm::AsmToken 94 /// is safe to store across calls to Lex(). 97 // FIXME: Don't compute this in advance, it makes every token larger, and is 98 // also not generally what we want (it is nicer for recovery etc. to lex 123br 165 /// is - Check if the current token has kind \p K. 166 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...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AbstractCursorTest.java | 4 import static org.hamcrest.CoreMatchers.is; 217 assertThat(shadow.getNotificationUri_Compatibility(), is(nullValue())); 219 assertThat(shadow.getNotificationUri_Compatibility(), is(uri)); method
|
ContextTest.java | 36 assertThat(files.length, is(0)); 40 assertThat(cachedFiles.length, is(0)); 65 assertThat(dataDir.mkdir(), is(true)); method 69 assertThat(dataDir.exists(), is(true)); method 76 assertThat(dataDir.exists(), is(false)); method 80 assertThat(dataDir.exists(), is(true)); method 228 assertThat(successfully, is(true)); 230 assertThat(successfully, is(true)); 238 assertThat(successfully, is(false));
|
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 37 * Utility that rotates files over time, similar to {@code logrotate}. There is 38 * a single "active" file, which is periodically rotated into historical files, 161 final FileInputStream is = new FileInputStream(file); local 163 Streams.copy(is, zos); 165 IoUtils.closeQuietly(is); 178 * writing modified data. Maintains a backup during write, which is restored 215 * data. Each file is processed atomically. 229 * writing modified data. Maintains a backup during write, which is restore [all...] |
/frameworks/base/services/java/com/android/server/display/ |
PersistentDataStore.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 188 final InputStream is; local 190 is = mAtomicFile.openRead(); 198 parser.setInput(new BufferedInputStream(is), null); 207 IoUtils.closeQuietly(is);
|
/frameworks/base/services/java/com/android/server/input/ |
PersistentDataStore.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 181 final InputStream is; local 183 is = mAtomicFile.openRead(); 191 parser.setInput(new BufferedInputStream(is), null); 200 IoUtils.closeQuietly(is); 398 // Maintain invariant that there is always a current keyboard layout unless
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 123 InputStream is = null; local 125 is = res.openRawResource(rawResId); 131 assertTrue(FileUtils.copyToFile(is, outFile));
|
/libcore/crypto/src/main/java/org/conscrypt/ |
TrustedCertificateStore.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 67 * CAs is performed by placing an exact copy of that CA in the deleted 70 * but is otherwise reissued in a system update. Reinstalling a 74 * <p>Note that the default mutable directory is created by init via 78 * gid and that it is world readable but only writable by the system 172 InputStream is = null; local 174 is = new BufferedInputStream(new FileInputStream(file)); 175 return (X509Certificate) CERT_FACTORY.generateCertificate(is); 183 IoUtils.closeQuietly(is); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Identity2Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 151 IdentitySubclass is; local 154 is = new IdentitySubclass(str[i]); 155 assertNotNull(is); 156 assertTrue(is instanceof Identity); 172 IdentitySubclass is; local 176 is = new IdentitySubclass(str[i], new IdentityScopeSubclass()); 177 assertNotNull(is); 178 assertTrue(is instanceof Identity) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory1Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 78 NotSupportMsg = defaultType.concat(" is not supported"); } 105 * Assertion: returns CertificateFactory if type is X.509 122 * throws NullPointerException when type is null 123 * throws CertificateException when type is not available 128 fail("NullPointerException or CertificateException must be thrown when type is null"); 144 * Assertion: throws IllegalArgumentException when provider is null or empty 156 fail("IllegalArgumentException must be thrown when provider is null"); 161 fail("IllegalArgumentException must be thrown when provider is empty") 350 InputStream is = new ByteArrayInputStream(bb); local 441 ByteArrayInputStream is; local 547 ByteArrayInputStream is = new ByteArrayInputStream(arr); local [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
ImageLoader.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 250 InputStream is = null; local 252 is = context.getContentResolver().openInputStream(uri); 253 return BitmapFactory.decodeStream(is, null, o); 257 Utils.closeSilently(is); 263 * Loads a bitmap at a given URI that is downsampled so that both sides are 305 // Make sure sample size is reasonable 314 * Loads a bitmap at a given URI that is downsampled so that both sides are 316 * in the rect originalBounds. The output is also transformed to the give [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
UriImage.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 100 InputStream is = mApplication.getContentResolver() local 102 mRotation = Exif.getOrientation(is); 103 Utils.closeSilently(is); 123 InputStream is = new FileInputStream(mCacheEntry.cacheFile); local 124 mRotation = Exif.getOrientation(is); 125 Utils.closeSilently(is); 166 // This is only reached for STATE_INIT->STATE_DOWNLOADING
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sundry.py | 31 import distutils.command.bdist_msi # if msi module is not build namespace
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sundry.py | 31 import distutils.command.bdist_msi # if msi module is not build namespace
|