/external/clang/include/clang/Lex/ |
Token.h | 5 // This file is distributed under the University of Illinois Open Source 28 /// It is not intended to be space efficient, it is intended to return as much 29 /// information as possible about each returned token. This is expected to be 30 /// compressed into a smaller form if memory footprint is important. 50 /// PtrData - This is a union of four different pointer types, which depends 51 /// on what type of token this is: 53 /// This is an IdentifierInfo*, which contains the uniqued identifier 56 /// This is a pointer to the start of the token in a text buffer, which 59 /// This is a pointer to sema-specific data for the annotation token 89 bool is(tok::TokenKind K) const { return Kind == (unsigned) K; } function in class:clang::Token [all...] |
/external/clang/utils/ |
clang-completion-mode.el | 14 ;; meant for serious use: it is meant to help experiment with code 19 ;; which is typically installed in libexec/. Then, place 41 ;; line, Clang's code-completion is enabled. 43 ;; Clang's code completion is based on parsing the complete source 44 ;; file up to the point where the cursor is located. Therefore, Clang 48 ;; acceptable to clang. This is a hack: patches are welcome to 103 (defun is-completion-line (line) 114 (completion-lines (filter 'is-completion-line all-lines))) 134 ;; and ensures that the buffer is visible. 157 ;; If there is already a code-completion process, kill it first [all...] |
/external/doclava/src/com/google/doclava/ |
DocFile.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 34 FileInputStream is = new FileInputStream(f); local 35 InputStreamReader reader = new InputStreamReader(is, "UTF-8"); 86 // The document is properties up until the line "@jd:body".
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
UnpackUpdateJars.java | 5 * which accompanies this distribution, and is available at 123 InputStream is; field in class:UnpackUpdateJars.StreamHandler 127 StreamHandler(InputStream is, String type) { 128 this.is = is; 134 InputStreamReader isr = new InputStreamReader(is);
|
/external/harfbuzz_ng/src/ |
hb-graphite2.cc | 6 * This is part of HarfBuzz, a text shaping library. 8 * Permission is hereby granted, without written agreement and without 22 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 23 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 242 const gr_slot *is; local 299 for (is = gr_seg_first_slot (seg), ic = 0; is; is = gr_slot_next_in_segment (is), ic++) 301 unsigned int before = gr_slot_before (is); [all...] |
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 10 * Software distributed under the License is distributed on an "AS IS" basis, 96 InputStream is = jars[i].openClassfile(classname); local 97 if (is != null) 98 return is; 273 * found although "System" is not a package name. 322 * @throws NotFoundException if any error is reported by ClassPath. 356 * specified by classname. It is also used to determine whether
|
/external/opencv/cvaux/src/ |
cvhmmobs.cpp | 29 // This software is provided by the copyright holders and contributors "as is" and 46 // to be used with an embedded HMM; Each observation is top-left block of DCT 53 // dctSize - size of the block for which DCT is calculated 54 // obsSize - size of top-left block of DCT coeffs matrix, which is treated 65 // The algorithm is following: 71 // So, total number of observation vectors is Nx*Ny, and total size of 178 float is = 0; local 184 is = img[x + m1 * imgStep]; 185 k0 = ((work_t) is) * tab[-1] 375 float is = 0; local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
AndroidTranslatorTest.java | 40 assertThat(ShadowAccountManagerForTests.wasCalled, is(true)); 51 assertThat(shadowOf(overlay).isPopulated(), is(true)); method 61 assertThat(paint.getColor(), is(1234));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
MatrixCursorTest.java | 4 import static org.hamcrest.CoreMatchers.is; 130 assertThat(singleColumnSingleNullValueMatrixCursor.getString(0), is(nullValue())); 135 assertThat(singleColumnSingleNullValueMatrixCursor.getInt(0), is(equalTo(0))); 140 assertThat(singleColumnSingleNullValueMatrixCursor.getLong(0), is(equalTo(0L))); 145 assertThat(singleColumnSingleNullValueMatrixCursor.getShort(0), is(equalTo((short) 0))); method 150 assertThat(singleColumnSingleNullValueMatrixCursor.getFloat(0), is(equalTo(0.0f))); 155 assertThat(singleColumnSingleNullValueMatrixCursor.getDouble(0), is(equalTo(0.0)));
|
PendingIntentTest.java | 5 import static org.hamcrest.CoreMatchers.is; 40 assertThat(shadow.isActivityIntent(), is(false)); method 41 assertThat(shadow.isBroadcastIntent(), is(true)); method 42 assertThat(shadow.isServiceIntent(), is(false)); method 52 assertThat(shadow.isActivityIntent(), is(true)); method 53 assertThat(shadow.isBroadcastIntent(), is(false)); method 54 assertThat(shadow.isServiceIntent(), is(false)); method 64 assertThat(shadow.isActivityIntent(), is(false)); method 65 assertThat(shadow.isBroadcastIntent(), is(false)); method 66 assertThat(shadow.isServiceIntent(), is(true)) method [all...] |
PopupWindowTest.java | 23 import static org.hamcrest.CoreMatchers.is; 46 assertThat(popupWindow.getContentView(), is(contentView)); method 53 assertThat(popupWindow.getWidth(), is(1)); 60 assertThat(popupWindow.getHeight(), is(2)); 102 @SuppressWarnings("RedundantCast") //For some reason this is needed because of a compile error without it 108 assertThat((BitmapDrawable) popupWindow.getBackground(), is(bitmapDrawable));
|
ProgressDialogTest.java | 19 import static org.hamcrest.core.Is.is; 45 CharSequence message = "This is only a test"; 69 assertThat(shadowProgressDialog.getContext(), is(context)); method 75 assertThat(cancelListener.onCancelDialogInterface, is((DialogInterface) progressDialog));
|
RectTest.java | 9 import static org.hamcrest.CoreMatchers.is; 21 assertThat(r.left, is(1)); 22 assertThat(r.top, is(2)); 23 assertThat(r.right, is(3)); 24 assertThat(r.bottom, is(4)); 31 assertThat(r.left, is(1)); 32 assertThat(r.top, is(2)); 33 assertThat(r.right, is(3)); 34 assertThat(r.bottom, is(4)); 41 assertThat(r.width(), is(10)) 54 assertThat(a.equals(b), is(false)); method 61 assertThat(a.equals(b), is(true)); method 67 assertThat(r.contains(11, 11), is(false)); method 73 assertThat(r.contains(5, 5), is(true)); method 79 assertThat(r.contains(0, 5), is(false)); method 85 assertThat(r.contains(10, 5), is(false)); method 91 assertThat(r.contains(5, 0), is(true)); method 97 assertThat(r.contains(5, 10), is(true)); method 104 assertThat(a.contains(b), is(false)); method 111 assertThat(a.contains(b), is(true)); method 118 assertThat(a.contains(b), is(true)); method 125 assertThat(a.contains(b), is(false)); method 132 assertThat(Rect.intersects(a, b), is(false)); method 139 assertThat(Rect.intersects(a, b), is(true)); method 146 assertThat(Rect.intersects(a, b), is(false)); method 153 assertThat(a.intersect(b), is(true)); method 159 assertThat(r.intersect(5, 0, 15, 10), is(true)); method [all...] |
TabHostTest.java | 17 import static org.hamcrest.CoreMatchers.is; 45 assertThat(tabHost.getChildAt(0), is(fooView)); method 46 assertThat(tabHost.getChildAt(1), is(barView)); method 60 assertThat(shadowOf(tabHost).getSpecByTag("Bar"), is(bar)); method 61 assertThat(shadowOf(tabHost).getSpecByTag("Baz"), is(baz)); method
|
/external/sfntly/cpp/src/test/ |
bitmap_table_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 111 // Strike 4 Index Sub Table 1 is a Format 3 156 MemoryInputStream is; local 157 is.Attach(os.Get(), os.Size()); 159 factory->LoadFonts(&is, &font_array); 164 // Strike 4 Index Sub Table 1 is a Format 4
|
/external/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 133 bool is(Register reg) const { return code_ == reg.code_; } function in struct:v8::internal::Register 245 bool is(XMMRegister reg) const { return code_ == reg.code_; } 287 // any value < 0 is considered no_condition 400 // Offset is added to existing displacement as 32-bit signed values and 404 // Checks whether either base or index register is the given register. 422 // register is encoded later as part of the emit_operand operation [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
BandwidthTestUtil.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 77 * @param deviceId the device id that is downloading 101 InputStream is = ucon.getInputStream(); local 102 BufferedInputStream bis = new BufferedInputStream(is); 121 * @param deviceId {@link String} device id that is uploading
|
/frameworks/base/graphics/java/android/renderscript/ |
FileA3D.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 47 * Specifies what renderscript object type is contained within 291 InputStream is = null; local 293 is = res.openRawResource(id); 299 if (is instanceof AssetManager.AssetInputStream) { 300 int asset = ((AssetManager.AssetInputStream) is).getAssetInt(); 309 FileA3D fa3d = new FileA3D(fileId, rs, is);
|
Font.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 37 * rendered glyph bitmaps is maintained. Each font object represents a combination of a typeface, 42 * font to the RenderScript is required. A note of caution on performance, though the state changes 43 * are transparent to the user, they do happen internally, and it is more efficient to 44 * render large batches of text in sequence. It is also more efficient to render multiple 205 InputStream is = null; local 207 is = res.openRawResource(id); 215 if (is instanceof AssetManager.AssetInputStream) { 216 int asset = ((AssetManager.AssetInputStream) is).getAssetInt() [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifModifier.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 53 InputStream is = null; local 55 is = new ByteBufferInputStream(byteBuffer); 57 ExifParser parser = ExifParser.parse(is, mInterface); 62 ExifInterface.closeSilently(is); 71 InputStream is = null; local 73 is = new ByteBufferInputStream(mByteBuffer); 99 ExifParser parser = ExifParser.parse(is, flag, mInterface); 136 ExifInterface.closeSilently(is); [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
FactoryFinder.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 35 * <p>This class is duplicated for each JAXP subpackage so keep it in 36 * sync. It is package private for secure class loading.</p> 90 * <p>The context ClassLoader is preferred.</p> 98 // class. If there is a Context ClassLoader then use it. 161 * @param fallbackClassName Implementation class name, if nothing else is found. Use null to mean no fallback. 229 InputStream is = null; local 234 is = cl.getResourceAsStream(serviceId); 237 if (is == null) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldRuntimeTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 35 InputStream is; field in class:OldRuntimeTest
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldManifestTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 162 ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray()); local 164 m2.read(is);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldZipInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 38 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); local 39 if (is == null) { 42 zis = new ZipInputStream(is);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
IdentityScope2Test.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 101 "This Identity is already contained in the scope"); 111 "This Identity is not contained in the scope"); 148 IdentityScope is; local 153 is = new IdentityScopeSubclass(str[i], new IdentityScopeSubclass()); 154 assertNotNull(is); 155 assertTrue(is instanceof IdentityScope); 162 is = new IdentityScopeSubclass(nameNull, new IdentityScopeSubclass()); 169 is = new IdentityScopeSubclass("test", iss) [all...] |