/external/llvm/include/llvm/ADT/ |
PointerUnion.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines the PointerUnion class, which is a discriminated union of 32 /// Ret will be EQ type if T1 is same as T2 or NE type otherwise. 50 /// Provide PointerLikeTypeTraits for void* that is used by PointerUnion 72 /// printf("%d %d", P.is<int*>(), P.is<float*>()); // prints "1 0" 106 /// isNull - Return true if the pointer held in the union is null, 107 /// regardless of which type it is. 115 /// is<T>() return true if the Union currently holds the type matching T. 117 int is() const 221 int is() const { function in struct:llvm::PointerUnion3::IsInnerUnion 235 int is() const { function in struct:llvm::PointerUnion3::IsPT3 264 int is() const { function in class:llvm::PointerUnion3 372 int is() const { function in class:llvm::PointerUnion4 [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_static.c | 5 * Permission is hereby granted, free of charge, to any person obtaining a 10 * Software is furnished to do so, subject to the following conditions: 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 130 debug_printf("Depth offset is %d\n",offset); 215 struct i915_screen *is = i915_screen(i915->base.screen); local 219 if (is->is_i945 && tex->tiling != I915_TILE_NONE
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/ |
BitstreamReader.java | 4 Permission is hereby granted, free of charge, to any person obtaining a copy of this 8 permit persons to whom the Software is furnished to do so, subject to the following 14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 34 private InputStream is; field in class:BitstreamReader 42 public BitstreamReader(InputStream is) throws IOException { 43 this.is = is; 44 curByte = is.read(); 45 nextByte = is.read() [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
replace.h | 10 // distributed under the License is distributed on an "AS IS" BASIS, 45 // identical to that in fst/lib/replace.h. The result is a PDT 94 StateId is = siter.Value(); local 96 if (is == ifst->Start()) { 101 if (ifst->Final(is) != Weight::Zero()) { 103 ofst->SetFinal(os, ifst->Final(is)); 104 fst_final[fst_id].push_back(make_pair(os, ifst->Final(is))); 106 for (ArcIterator< Fst<Arc> > aiter(*ifst, is);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AdapterViewBehavior.java | 14 import static org.hamcrest.CoreMatchers.is; 121 assertThat(adapterView.getVisibility(), is(View.GONE)); method 122 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method 131 assertThat(adapterView.getVisibility(), is(View.GONE)); method 132 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method 141 assertThat(adapterView.getVisibility(), is(View.VISIBLE)); method 142 assertThat(emptyView.getVisibility(), is(View.GONE)); method 152 assertThat(adapterView.getVisibility(), is(View.GONE)); method 153 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method 159 assertThat(adapterView.getVisibility(), is(View.VISIBLE)) method 160 assertThat(emptyView.getVisibility(), is(View.GONE)); method 170 assertThat(adapterView.getVisibility(), is(View.GONE)); method 171 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); method 177 assertThat(adapterView.getVisibility(), is(View.VISIBLE)); method 178 assertThat(emptyView.getVisibility(), is(View.GONE)); method [all...] |
AsyncTaskTest.java | 17 import static org.hamcrest.CoreMatchers.is; 116 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.PENDING)); method 118 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.RUNNING)); method 120 assertThat(asyncTask.getStatus(), is(AsyncTask.Status.FINISHED)); method
|
ConnectivityManagerTest.java | 15 import static org.hamcrest.CoreMatchers.is; 52 assertThat(actual.getDetailedState(), is(NetworkInfo.DetailedState.CONNECTING)); method
|
ServiceTest.java | 5 import static org.hamcrest.CoreMatchers.is; 64 assertThat(shadowService.isForegroundStopped(), is(true)); method 65 assertThat(shadowService.getNotificationShouldRemoved(), is(true)); method
|
UriMatcherTest.java | 12 import static org.hamcrest.CoreMatchers.is; 33 assertThat(root.code, is(NO_MATCH)); 34 assertThat(root.map.isEmpty(), is(true)); method 35 assertThat(root.number, is(nullValue())); 36 assertThat(root.text, is(nullValue())); 53 assertThat(node.code, is(1)); 61 assertThat(node.number.code, is(1)); 62 assertThat(node.text.code, is(2)); 67 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1)); 70 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar/1")), is(2)) 82 assertThat(matcher.match(Uri.withAppendedPath(URI, "cat")), is(NO_MATCH)); method 83 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(NO_MATCH)); method 84 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar\/cat")), is(NO_MATCH)); method [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponseTest.java | 11 import static org.hamcrest.core.Is.is; 51 assertThat(resp.containsHeader("X-Zombo-Com"), is(true)); method 52 assertThat(resp.containsHeader("Location"), is(false)); method 64 assertThat(it.hasNext(), is(true)); method 67 assertThat(it.hasNext(), is(false)); method 80 assertThat(it.hasNext(), is(true)); method 82 assertThat(it.hasNext(), is(true)); method 84 assertThat(it.hasNext(), is(false)); method 98 assertThat(headers.length, is(2)) [all...] |
/external/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
LimitedLengthInputStreamTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 28 private final byte[] TEST_STRING1 = "This is a test".getBytes(); 42 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); local 52 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); local 62 InputStream is = new LimitedLengthInputStream(null, 0, 1); local 72 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, local 74 fail("Should fail when offset + length is > Long.MAX_VALUE"); 88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); local 89 assertEquals(length, is.read(temp, 0, temp.length)) 123 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10); local 138 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); local 168 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); local [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
ColladaScene.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 77 InputStream is = null; local 80 is = mRes.getAssets().open(names[0]); 83 is = new BufferedInputStream(new FileInputStream(f)); 93 sceneSource.init(is, rootDir);
|
/libcore/luni/src/main/java/java/util/zip/ |
InflaterInputStream.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 68 * This is the most basic constructor. You only need to pass the {@code 69 * InputStream} from which the compressed data is to be read from. Default 73 * @param is 76 public InflaterInputStream(InputStream is) { 77 this(is, new Inflater(), BUF_SIZE); 84 * @param is 89 public InflaterInputStream(InputStream is, Inflater inflater) { 90 this(is, inflater, BUF_SIZE) 191 ZipFile.RAFStream is = (ZipFile.RAFStream) in; local [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
DalvikExecTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 45 builder.command().add("dalvikvm"); // for host mode, assume dalvikvm is on the path 60 // The default dalvik-cache is only writable by the system user (and root). 142 * We just test whether the manifest is placed correctly within the JAR by 249 InputStream is = ResourceDumper.class.getResourceAsStream(fileName); local 250 if (is != null) { 252 System.out.println(outputFrom(is).toString());
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 84 InputStream is = new ByteArrayInputStream(myMessage); local 85 InputStream dis = new DigestInputStream(is, md); 117 InputStream is = new ByteArrayInputStream(myMessage); local 118 DigestInputStream dis = new DigestInputStream(is, md); 150 InputStream is = new ByteArrayInputStream(myMessage); local 151 DigestInputStream dis = new DigestInputStream(is, md); 175 * Assertion: <code>read()</code> must not update digest if it is off<br> 185 InputStream is = new ByteArrayInputStream(myMessage) local 246 InputStream is = new ByteArrayInputStream(myMessage); local 271 InputStream is = new ByteArrayInputStream(myMessage); local 296 InputStream is = new ByteArrayInputStream(myMessage); local 333 InputStream is = new ByteArrayInputStream(myMessage); local 373 InputStream is = new ByteArrayInputStream(myMessage); local 417 InputStream is = new ByteArrayInputStream(myMessage); local 456 InputStream is = new ByteArrayInputStream(myMessage); local 527 InputStream is = new ByteArrayInputStream(myMessage); local 566 InputStream is = new ByteArrayInputStream(myMessage); local [all...] |
/libcore/luni/src/test/java/tests/api/javax/security/auth/ |
X500PrincipalTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 69 * javax.security.auth.x500.X500Principal#X500Principal(InputStream is) 74 ByteArrayInputStream is = new ByteArrayInputStream(ba); local 78 X500Principal xpr = new X500Principal(is); 94 is = new ByteArrayInputStream(name.getBytes()); 96 X500Principal xpr = new X500Principal(is); 259 ByteArrayInputStream is = new ByteArrayInputStream(array); local 261 X509Certificate cert = (X509Certificate)cf.generateCertificate(is);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_ctype.h | 8 * This material is provided "as is", with absolutely no warranty expressed 9 * or implied. Any use is at your own risk. 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 15 * modified is included with the above copyright notice. 18 // WARNING: This is an internal header file, included by other C++ 78 bool is(mask __m, char __c) const function in class:ctype 81 const char* is(const char* __low, const char* __high, mask* __vec) const { function in class:ctype 183 bool is(mask __m, wchar_t __c) cons function in class:ctype 186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, function in class:ctype [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppSendFileInfo.java | 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 145 FileInputStream is = null; local 155 Log.e(TAG, "Content provider length is wrong (" + Long.toString(length) + 162 // is closed. 163 is = fd.createInputStream(); 175 if (is == null) { 177 is = (FileInputStream) contentResolver.openInputStream(uri); 186 length = is.available(); 187 if (V) Log.v(TAG, "file length is " + length) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapUtils.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 60 // For vcard 2.0: VERSION,N,TEL is mandatory 61 // For vcard 3.0, VERSION,N,FN,TEL is mandatory 63 // NICKNAME is set 65 // Check that an explicit filter is not set. If not, this means 84 // Check byte 6 is not set 89 // Check if bit#3-6 is set. Return false if so. 185 FileInputStream is = null; local 196 is = fd.createInputStream() [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapList.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 67 * Return true if the element at {@code index} exists, is string, and equals to {@code s}. 70 public final boolean is(int index, String s) { method in class:ImapList 71 return is(index, s, false); 75 * Same as {@link #is(int, String)}, but does the prefix match if {@code prefixMatch}. 77 public final boolean is(int index, String s, boolean prefixMatch) { method in class:ImapList 79 return getStringOrEmpty(index).is(s); 87 * If {@code index} is out of range, returns {@link ImapElement#NONE}. 95 * If {@code index} is out of range or not a list, returns {@link ImapList#EMPTY} [all...] |
ImapString.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 30 * Class represents an IMAP "element" that is not a list. 58 // This is used only for parsing IMAP's FETCH ENVELOPE command, in which 59 // en_US-like date format is used like "01-Jan-2009 11:20:39 -0800", so this should be 79 * @return true if and only if the length of the string is larger than 0. 81 * Note: IMAP NIL is considered an empty string. See {@link ImapResponseParser 83 * On the other hand, a quoted/literal string with value NIL (i.e. "NIL" and {3}\r\nNIL) is 152 public final boolean is(String s) { method in class:ImapString
|
/packages/apps/Exchange/src/com/android/exchange/ |
EasResponse.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 43 // Why is this a 4xx instead of 3xx? Because EAS considers this a "Device misconfigured" error. 56 * If this is set, it is essentially a 403 whereby the failure was due 148 InputStream is = null; local 151 is = mEntity.getContent(); 157 is = new GZIPInputStream(is); 163 mInputStream = is; [all...] |
/packages/apps/Gallery2/jni/filters/ |
hsv.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 86 int H,X,ih,is,iv; local 107 is=(int)cs; 111 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; 114 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
XmpPresets.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 62 InputStream is = null; local 65 is = context.getContentResolver().openInputStream(srcUri); 66 xmpMeta = XmpUtilHelper.extractXMPMeta(is); 70 Utils.closeSilently(is); 95 InputStream is = null; local 98 is = context.getContentResolver().openInputStream(uriToEdit); 99 xmpMeta = XmpUtilHelper.extractXMPMeta(is); 102 Utils.closeSilently(is); [all...] |