/external/clang/test/CodeGen/ |
debug-info-block.c | 2 // Verify that the desired debugging type is generated for a structure 3 // member that is a pointer to a block. 9 } is; variable in typeref:struct:inStruct
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ReadAsset.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 20 // class is in a sub-package. 46 // text view. Note that the text we are loading is ASCII, so we 49 InputStream is = getAssets().open("read_asset.txt"); local 54 int size = is.available(); 58 is.read(buffer); 59 is.close();
|
InstallApk.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 20 // class is in a sub-package. 151 InputStream is = null; local 154 is = getAssets().open(assetName); 157 while ((n=is.read(buffer)) >= 0) { 164 if (is != null) { 165 is.close();
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
memory_io_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 41 MemoryInputStream is; local 42 is.Attach(&(test_buffer[0]), kTestBufferLen); 43 EXPECT_EQ(is.Available(), (int32_t)kTestBufferLen); 46 EXPECT_EQ(is.Read(), '0'); // position 1 47 EXPECT_EQ(is.Read(), '1'); // position 2 48 EXPECT_EQ(is.Read(), '2'); // position 3 53 EXPECT_EQ(is.Read(&b), 7); // position 10 57 EXPECT_EQ(is.Read(&b, 7, 10), 10); // position 2 [all...] |
file_io_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 FileInputStream is; local 47 is.Open(SAMPLE_TTF_FILE); 48 EXPECT_EQ(length, (size_t)is.Available()); 50 is.Read(&b2, 0, length); 51 is.Close(); 56 is.Open(SAMPLE_TTF_FILE); 57 is.Skip(89); 58 is.Read(&b2, 0, 100) 106 FileInputStream is; local 133 FileInputStream is; local [all...] |
test_font_utils.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 30 FileInputStream is; local 31 is.Open(font_path); 32 factory->LoadFontsForBuilding(&is, builders); 46 FileInputStream is; local 47 is.Open(font_path); 48 factory->LoadFonts(&is, fonts); 49 is.Close();
|
/external/chromium_org/third_party/tlslite/tlslite/ |
__init__.py | 4 """TLS Lite is a free python library that implements SSL and TLS. TLS Lite 5 supports RSA and SRP ciphersuites. TLS Lite is pure python, however it can use 9 API documentation is available in the 'docs' directory. 17 If you want to import the most useful objects, the cleanest way is: 28 from tlslite.api import __version__ # Unsure why this is needed, but it is namespace
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
simple_lpc_analysis.c | 4 * Use of this source code is governed by a BSD-style license 37 int16_t is; local 45 is=LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl; 46 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lpc_buffer+is,data,iLBCenc_inst->blockl); 48 /* No lookahead, last window is asymmetric */ 52 is = LPC_LOOKBACK; 56 /* Hanning table WebRtcIlbcfix_kLpcWin[] is in Q15-domain so the output is right-shifted 15 */ 60 /* Hanning table WebRtcIlbcfix_kLpcAsymWin[] is in Q15-domain so the output is right-shifted 15 * [all...] |
/external/hamcrest/src/org/hamcrest/core/ |
Is.java | 15 * vs assertThat(cheese, is(equalTo(smelly))) 17 public class Is<T> extends BaseMatcher<T> { 21 public Is(Matcher<T> matcher) { 30 description.appendText("is ").appendDescriptionOf(matcher); 38 * vs assertThat(cheese, is(equalTo(smelly))) 41 public static <T> Matcher<T> is(Matcher<T> matcher) { method in class:Is 42 return new Is<T>(matcher); 46 * This is a shortcut to the frequently used is(equalTo(x)). 48 * eg. assertThat(cheese, is(equalTo(smelly)) 52 public static <T> Matcher<T> is(T value) { method in class:Is 63 public static Matcher<Object> is(Class<?> type) { method in class:Is [all...] |
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/ |
main.cpp | 36 intstr_map is; local 38 is[85] = "goofy";// Set break point at this line. 39 is[1] = "is"; 40 is[2] = "smart"; 41 is[3] = "!!!"; 43 is.clear();// Set break point at this line. 50 ss["a Mac.."] = "..is always a Mac!";
|
/cts/tests/tests/content/src/android/content/res/cts/ |
RawResourceTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 38 final InputStream is = mResources.openRawResource(R.raw.text); local 39 verifyTextAsset(is); 42 static void verifyTextAsset(final InputStream is) throws IOException { 48 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 58 readCount = is.read(buffer, 0, buffer.length); 62 readCount = is.read(buffer, buffer.length, 0); 66 is.close();
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
LowRamDeviceTest.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 51 InputStream is = new FileInputStream("/proc/meminfo"); local 53 Scanner scanner = new Scanner(is); 71 is.close();
|
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
JsonUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 39 InputStream is = context.getAssets().open(fileName); local 40 int size = is.available(); 42 is.read(buffer); 43 is.close();
|
/developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
AssetUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 InputStream is = context.getAssets().open(asset); local 37 int size = is.available(); 39 is.read(buffer); 40 is.close(); 59 InputStream is = null; local 62 is = context.getAssets().open(asset); 63 if (is != null) { 64 bitmap = BitmapFactory.decodeStream(is); [all...] |
/developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
JsonUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 39 InputStream is = context.getAssets().open(fileName); local 40 int size = is.available(); 42 is.read(buffer); 43 is.close();
|
/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
AssetUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 InputStream is = context.getAssets().open(asset); local 37 int size = is.available(); 39 is.read(buffer); 40 is.close(); 59 InputStream is = null; local 62 is = context.getAssets().open(asset); 63 if (is != null) { 64 bitmap = BitmapFactory.decodeStream(is); [all...] |
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
JsonUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 39 InputStream is = context.getAssets().open(fileName); local 40 int size = is.available(); 42 is.read(buffer); 43 is.close();
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
AssetUtils.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 36 InputStream is = context.getAssets().open(asset); local 37 int size = is.available(); 39 is.read(buffer); 40 is.close(); 59 InputStream is = null; local 62 is = context.getAssets().open(asset); 63 if (is != null) { 64 bitmap = BitmapFactory.decodeStream(is); [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
DefaultSSLContextImpl.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 53 * since there is no way to put a synchronized around both the 76 InputStream is = null; local 78 is = new BufferedInputStream(new FileInputStream(keystore)); 79 ks.load(is, pwd); 81 if (is != null) { 82 is.close(); 109 InputStream is = null; local 111 is = new BufferedInputStream(new FileInputStream(keystore)) [all...] |
/external/javassist/src/main/javassist/ |
URLClassPath.java | 10 * Software distributed under the License is distributed on an "AS IS" basis, 37 * <p>This search path is used only if a requested 39 * If <code>packageName</code> is "org.javassist." and a requested class is 40 * "org.javassist.test.Main", then the given URL is used for loading that class. 46 * <p>Here, we assume that <code>host</code> is "www.javassist.org", 47 * <code>port</code> is 80, and <code>directory</code> is "/java/classes/". 49 * <p>If <code>packageName</code> is <code>null</code>, the URL is use 104 InputStream is = con.getInputStream(); local [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
AbstractClassLoader.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 66 java.io.InputStream is = classPath.getResourceAsStream( local 70 if (is == null) { 77 r = new ClassReader(is); 81 is.close();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x501/ |
NameTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 79 ByteArrayInputStream is = new ByteArrayInputStream(mess); local 81 Name principal = (Name) Name.ASN1.decode(is);
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ |
TestHttpServerClient.java | 2 // Use of this source code is governed by a BSD-style license that can be 17 * A test utility class to get URLs that point to the test HTTP server, and to verify that it is up 47 * Establishes a connection with the test server at default URL and verifies that it is running. 54 * Establishes a connection with the test server at a given URL and verifies that it is running 55 * by making sure that the expected response is received. 58 InputStream is = null; local 61 is = testUrl.openStream(); 63 int length = is.read(buffer); 75 StreamUtil.closeQuietly(is);
|
/external/clang/test/Sema/ |
no-documentation-warn-tagdecl-specifier.c | 17 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}} 24 struct s4 { int is; }; member in struct:s4 26 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}} 28 struct s5 { int is; }; member in struct:s5 31 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}} 36 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}} 59 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}} 68 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}} 73 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration}} 78 // expected-warning@+1 {{'@return' command used in a comment that is not attached to a function or method declaration} [all...] |
/external/clang/test/SemaTemplate/ |
default-arguments-cxx0x.cpp | 42 template <typename...> struct is { struct in namespace:PR16975 49 bool = is<Types...>()>
|