/external/droiddriver/src/io/appium/droiddriver/finders/ |
By.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 38 /** Matches a UiElement whose {@code attribute} is {@code true}. */ 39 public static MatchFinder is(Attribute attribute) { method in class:By 44 * Matches a UiElement whose {@code attribute} is {@code false} or is not set. 104 /** Matches a UiElement that is selected. */ 106 return is(Attribute.SELECTED); 113 * XPath is the domain-specific-language for navigating a node tree. It is [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
ImageVideoModelLoader.java | 67 InputStream is = null; local 70 is = streamFetcher.loadData(priority); 88 if (is == null) { 93 return new ImageVideoWrapper(is, fileDescriptor);
|
/external/guava/guava/src/com/google/common/base/ |
CaseFormat.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 29 * Utility class for converting between various ASCII case formats. Behavior is undefined for 40 LOWER_HYPHEN(CharMatcher.is('-'), "-") { 58 LOWER_UNDERSCORE(CharMatcher.is('_'), "_") { 94 UPPER_UNDERSCORE(CharMatcher.is('_'), "_") { 119 * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then 120 * the behavior of this method is undefined but we make a reasonable effort at converting anyway.
|
CharMatcher.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean 61 * Determines whether a character is a breaking whitespace (that is, a whitespace which can be 98 * Determines whether a character is ASCII, meaning that its code point is less than 128. 146 * Determines whether a character is a digit according to 154 * Determines whether a character is a digit according to {@linkplain Character#isDigit(char) 165 * Determines whether a character is a letter according to {@linkplain Character#isLetter(char 414 public static CharMatcher is(final char match) { method [all...] |
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
CharMatcher.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 34 * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean 59 * Determines whether a character is a breaking whitespace (that is, a whitespace which can be 96 * Determines whether a character is ASCII, meaning that its code point is less than 128. 144 * Determines whether a character is a digit according to 152 * Determines whether a character is a digit according to {@linkplain Character#isDigit(char) 163 * Determines whether a character is a letter according to {@linkplain Character#isLetter(char 412 public static CharMatcher is(final char match) { method [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
BenchmarkHelpers.java | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 59 HASH(CharMatcher.is('#'), "#"),
|
/external/hamcrest/library/src/org/hamcrest/ |
Matchers.java | 11 * vs assertThat(cheese, is(equalTo(smelly))) 13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { method in class:Matchers 14 return org.hamcrest.core.Is.is(matcher); 18 * This is a shortcut to the frequently used is(equalTo(x)). 20 * eg. assertThat(cheese, is(equalTo(smelly))) 21 * vs assertThat(cheese, is(smelly)) 23 public static <T> org.hamcrest.Matcher<T> is(T value) { method in class:Matchers 24 return org.hamcrest.core.Is.is(value) 33 public static org.hamcrest.Matcher<java.lang.Object> is(java.lang.Class<?> type) { method in class:Matchers [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUData.java | 32 * This is normally the name of the .dat package, and the prefix (plus '/') 80 * (that is, not from a file), log when the stream contains ICU binary data. 145 private static void checkStreamForBinaryData(InputStream is, String resourceName) { 146 if (logBinaryDataFromInputStream && is != null && resourceName.indexOf(PACKAGE_NAME) >= 0) { 148 is.mark(32); 150 int len = is.read(b); 160 is.reset();
|
/external/libedit/src/ |
unvis.c | 19 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 197 unsigned char st, ia, is, lc; local 437 is = GI(*astate); /* index in the string */ 438 lc = is == 0 ? 0 : nv[ia].name[is - 1]; /* last character */ 444 if (is != 0 && nv[ia].name[is - 1] != lc) 446 if (nv[ia].name[is] == uc) 455 *astate = SS(is + 1, S_STRING) [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/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
DexBackedDexFile.java | 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 99 public static DexBackedDexFile fromInputStream(@Nonnull Opcodes opcodes, @Nonnull InputStream is) 101 if (!is.markSupported()) { 104 is.mark(44); 107 ByteStreams.readFully(is, partialHeader); 109 throw new NotADexFile("File is too short"); 111 is.reset(); 116 byte[] buf = ByteStreams.toByteArray(is);
|
/external/v8/src/arm64/ |
assembler-arm64.h | 2 // Use of this source code is governed by a BSD-style license that can be 43 // The kInvalid value is used to detect uninitialized static instances, 68 bool Is(const CPURegister& other) const; 85 bool is(const CPURegister& other) const { return Is(other); } function in struct:v8::internal::CPURegister 139 // TODO(all): Register x25 is currently free and could be available for 163 // Return true if the register is one that crankshaft can allocate. 173 // cp is the last allocatable register. 260 // - d15 which is used to keep the 0 double value 261 // - d30 which is used in crankshaft as a double scratch registe [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);
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
FrameSequenceTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 34 // This provider is entirely unnecessary, just here to validate the acquire/release process 97 InputStream is = getResources().openRawResource(mResourceId); local 99 FrameSequence fs = FrameSequence.decodeStream(is);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
TelephonyTester.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 37 * Telephony tester receives the following intents where {name} is the phone name 58 // is running on the same thread as Dcc. 135 final FileInputStream is; local 137 is = new FileInputStream(packageFile); 143 TestConferenceEventPackageParser parser = new TestConferenceEventPackageParser(is);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
SequenceInputStreamTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 57 //will not throw NullPointerException if the first InputStream is not null 58 InputStream is = new ByteArrayInputStream(s1.getBytes("UTF-8")); local 59 si = new SequenceInputStream(is, null); 119 //will not throw IOException to close a stream which is closed already 135 //returns -1 if the stream is closed , do not throw IOException 170 //returns -1 if the stream is closed , do not throw IOException 180 * is called before a test is executed [all...] |