/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
H A D | Transport.java | 5 * Permission is hereby granted, free of charge, to any person obtaining a copy 9 * sell copies of the Software, and to permit persons to whom the Software is 86 * accessing the web service or <code>null</code> if a direct connection is available 111 protected void parseResponse(SoapEnvelope envelope, InputStream is) argument 115 xp.setInput(is, null); 212 * Return the name of the host that is specified as the web service target 219 * Return the port number of the host that is specified as the web service target
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
H A D | ResourceExtractor.java | 2 // Use of this source code is governed by a BSD-style license that can be 44 private void extractResourceHelper(InputStream is, File outFile, byte[] buffer) argument 52 while ((count = is.read(buffer, 0, BUFFER_SIZE)) != -1) { 61 if (is != null) { 62 is.close(); 150 /** Returns a number that is different each time the apk changes. */ 155 // but also use versionCode since it is possible for Chrome to be updated without 184 // that allows a bit of growth, but is still in the right ballpark.. 201 * This method is bad and you should feel bad for using it. 288 * is treate [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | PointerSumType.h | 5 // This file is distributed under the University of Illinois Open Source 40 /// This is a normal tagged union across pointer-like types that uses the low 43 /// Each member of the sum type is specified by passing a \c 56 /// would be. This means that the zero value for the tag type is significant 57 /// and may be desireable to set to a state that is particularly desirable to 60 /// There is no support for constructing or accessing with a dynamic tag as 77 "Pointer is insufficiently aligned to store the discriminant!"); 84 template <TagT N> bool is() const { return N == getTag(); } function in class:llvm::PointerSumType 87 void *P = is<N>() ? getImpl() : nullptr; 93 assert(is< [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_screen.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 186 struct i915_screen *is = i915_screen(screen); local 317 return is->debug.lie ? 1 : 0; 361 return is->iws->pci_id; 369 const int gpu_mappable_megabytes = is->iws->aperture_size(is->iws) * 3 / 4; 503 struct i915_screen *is = i915_screen(screen); local 505 is->iws->fence_reference(is 514 struct i915_screen *is = i915_screen(screen); local 547 struct i915_screen *is = i915_screen(screen); local 561 struct i915_screen *is = CALLOC_STRUCT(i915_screen); local [all...] |
H A D | 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: 130 debug_printf("Depth offset is %d\n",offset); 214 struct i915_screen *is = i915_screen(i915->base.screen); local 218 if (is->is_i945 && tex->tiling != I915_TILE_NONE
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/ |
H A D | CAVLCReader.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 34 public CAVLCReader(InputStream is) throws IOException { argument 35 super(is);
|
/external/python/cpython3/Lib/idlelib/ |
H A D | query.py | 5 Query is the generic base class for a popup dialog. 7 Entries are validated when <Return> is entered or [Ok] is clicked. 9 The 'return value' is .result set to either a valid answer or None. 25 from sys import executable, platform # Platform is set for one test. namespace 42 unless _utest=True is passed to suppress wait_window(). 129 '''If entry is valid, bind it to 'result' and destroy tk widget. 134 if entry is not None: 164 self.showerror('name is longer than 30 characters.') 167 self.showerror('name is alread [all...] |
/external/python/cpython3/Lib/test/ |
H A D | test_threaded_import.py | 1 # This is a variant of the very old (early 90's) file 4 # There are no pleasant failure modes -- most likely is that Python 30 # This will fail if random is not completely initialized 41 # NOTE: `time` is already loaded and therefore doesn't threaten to deadlock. 97 if self.old_random is not None: 103 raise unittest.SkipTest("can't run when import lock is held") namespace 147 # Here the Finder instance is only used to check concurrent calls 170 # In case this test is run again, make sure the helper module 180 # The goal of this test is to exercise implementations of the import 182 # In these implementations, there is [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowBitmapFactory.java | 40 public static Bitmap decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, BitmapFactory.Options opts) { argument 44 ClassParameter.from(InputStream.class, is), 92 public static Bitmap decodeStream(InputStream is) { argument 93 return decodeStream(is, null, null); 97 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { argument 100 if (is instanceof AssetInputStream) { 101 ShadowAssetInputStream sais = Shadows.shadowOf((AssetInputStream) is); 102 is = sais.getDelegate(); 109 String name = is instanceof NamedStream ? is [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
H A D | byte_array.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 145 bool ByteArray::CopyFrom(InputStream* is, int32_t length) { argument 150 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) { 165 bool ByteArray::CopyFrom(InputStream* is) { argument 170 while ((bytes_read = is->Read(&b, 0, buffer_length)) > 0) {
|
H A D | font_input_stream.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 23 FontInputStream::FontInputStream(InputStream* is) argument 24 : stream_(is), position_(0), length_(0), bounded_(false) { 27 FontInputStream::FontInputStream(InputStream* is, size_t length) argument 28 : stream_(is), position_(0), length_(length), bounded_(true) {
|
/external/sfntly/cpp/src/sfntly/ |
H A D | font_factory.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 41 void FontFactory::LoadFonts(InputStream* is, FontArray* output) { argument 43 PushbackInputStream* pbis = down_cast<PushbackInputStream*>(is); 69 void FontFactory::LoadFontsForBuilding(InputStream* is, argument 71 PushbackInputStream* pbis = down_cast<PushbackInputStream*>(is); 111 CALLER_ATTACH Font* FontFactory::LoadSingleOTF(InputStream* is) { argument 113 builder.Attach(LoadSingleOTFForBuilding(is)); 123 void FontFactory::LoadCollection(InputStream* is, FontArray* output) { argument 125 LoadCollectionForBuilding(is, &ba); 149 Font::Builder* FontFactory::LoadSingleOTFForBuilding(InputStream* is) { argument 166 LoadCollectionForBuilding(InputStream* is, FontBuilderArray* builders) argument [all...] |
/external/skia/samplecode/ |
H A D | SampleAnimator.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 55 std::unique_ptr<SkStream> is = SkStream::MakeFromFile(path); local 56 return is && this->decodeStream(is.get()); 60 SkMemoryStream is(buffer, size); 61 return this->decodeStream(&is);
|
/external/skqp/samplecode/ |
H A D | SampleAnimator.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 55 std::unique_ptr<SkStream> is = SkStream::MakeFromFile(path); local 56 return is && this->decodeStream(is.get()); 60 SkMemoryStream is(buffer, size); 61 return this->decodeStream(&is);
|
/external/testng/src/main/java/org/testng/internal/ |
H A D | Yaml.java | 28 public static XmlSuite parse(String filePath, InputStream is) argument 49 if (is == null) is = new FileInputStream(new File(filePath)); 50 XmlSuite result = (XmlSuite) y.load(is); 79 * The main entry point to convert an XmlSuite into YAML. This method is allowed to be used
|
/external/annotation-tools/asmx/src/org/objectweb/asm/ |
H A D | ClassReader.java | 77 * Flag to skip method code. If this class is set <code>CODE</code> 84 * Flag to skip the debug information in the class. If this flag is set the 85 * debug information of the class is not visited, i.e. the 93 * Flag to skip the stack map frames in the class. If this flag is set the 94 * stack map frames of the class is not visited, i.e. the 96 * This flag is useful when the {@link ClassWriter#COMPUTE_FRAMES} option is 105 * version is less than V1_6, and "compressed" for the other classes). If 106 * this flag is set, stack map frames are always visited in expanded format 114 * modified. This field is intende 375 ClassReader(final InputStream is) argument 397 readClass(final InputStream is) argument [all...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/ |
H A D | AnnotationTest.class | ... java.lang.Exception java.io.InputStream is
org.objectweb.asm.ClassReader cr
org. ... |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
H A D | SerializationTest.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 53 * <b>testing mode </b>. The actual mode is selected via 54 * <b>"test.mode" </b> system property. The <b>testing mode </b> is 58 * is performed but golden files are produced, which contain reference 61 * The location of golden files (in both modes) is controlled via 118 * This is the main working method of this framework. Subclasses must 205 public static Serializable getObjectFromStream(InputStream is) throws IOException, argument 207 ObjectInputStream ois = new ObjectInputStream(is); 242 * Comparator for verifying that deserialized object is the same as initial. 385 * The <code>comparator</code> is searche [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_HttpServer.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 184 String readln(InputStream is) throws IOException { argument 187 int c = is.read(); 201 c = is.read();
|
/external/capstone/bindings/vb6/ |
H A D | mMisc.bas | 170 'a version which supports more formats is here:
|
/external/clang/test/SemaTemplate/ |
H A D | alias-templates.cpp | 76 void f1(U<T> i, U<Ts> ...is) { // expected-note 2{{couldn't infer template argument 'T'}} argument 77 return i + f1<Ts...>(is...); 80 // FIXME: This note is technically correct, but could be better. We 83 void f2(U<Ts> ...is) { } // expected-note {{requires 0 arguments, but 1 was provided}} argument 87 void f3(type_tuple<Ts...>, U<Ts> ...is) {} // expected-note {{requires 4 arguments, but 3 were provided}} argument 129 // value dependent. This is true even if the expression's type is a pack
|
/external/clang/utils/ |
H A D | 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 alread [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | OpenSSLX509CRL.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 57 // parse them here because this is the only time we're allowed to throw ParsingException 70 static OpenSSLX509CRL fromX509DerInputStream(InputStream is) throws ParsingException { argument 71 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); 86 static List<OpenSSLX509CRL> fromPkcs7DerInputStream(InputStream is) argument 88 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); 109 static OpenSSLX509CRL fromX509PemInputStream(InputStream is) throws ParsingException { argument 110 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); 125 static List<OpenSSLX509CRL> fromPkcs7PemInputStream(InputStream is) argument 127 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, tru [all...] |
H A D | OpenSSLX509Certificate.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 72 // parse them here because this is the only time we're allowed to throw ParsingException 91 public static OpenSSLX509Certificate fromX509DerInputStream(InputStream is) argument 94 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); 118 public static List<OpenSSLX509Certificate> fromPkcs7DerInputStream(InputStream is) argument 121 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); 147 public static OpenSSLX509Certificate fromX509PemInputStream(InputStream is) argument 150 final OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, true); 165 public static List<OpenSSLX509Certificate> fromPkcs7PemInputStream(InputStream is) argument 168 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(is, tru [all...] |
/external/droiddriver/src/io/appium/droiddriver/finders/ |
H A D | By.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 45 * Matches a UiElement whose {@code attribute} is {@code true}. 47 public static MatchFinder is(Attribute attribute) { method in class:By 52 * Matches a UiElement whose {@code attribute} is {@code false} or is not set. 131 * Matches a UiElement that is selected. 134 return is(Attribute.SELECTED); 139 * element. <p> XPath is the domain-specific-language for navigating a node tree. It is ideal if 142 * MatchFinder}s in {@link #allOf}. For complex cases like below, XPath is superio [all...] |