/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 18 def wrap(self, param): member in class:BasicWrapTestCase 28 result = f(self.wrap(1), self.wrap(u"x"), self.wrap(3), self.wrap(4), self.wrap(5.0), self.wrap(6.0)) 44 result = f(self.wrap(pointer(v))) 49 result = f(self.wrap(pointer(v))) 53 result = f(self.wrap(p) 215 wrap = AsParamWrapper variable in class:AsParamWrapperTestCase 228 wrap = AsParamPropertyWrapper variable in class:AsParamPropertyWrapperTestCase [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 18 def wrap(self, param): member in class:BasicWrapTestCase 28 result = f(self.wrap(1), self.wrap(u"x"), self.wrap(3), self.wrap(4), self.wrap(5.0), self.wrap(6.0)) 44 result = f(self.wrap(pointer(v))) 49 result = f(self.wrap(pointer(v))) 53 result = f(self.wrap(p) 215 wrap = AsParamWrapper variable in class:AsParamWrapperTestCase 228 wrap = AsParamPropertyWrapper variable in class:AsParamPropertyWrapperTestCase [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 18 def wrap(self, param): member in class:BasicWrapTestCase 28 result = f(self.wrap(1), self.wrap(u"x"), self.wrap(3), self.wrap(4), self.wrap(5.0), self.wrap(6.0)) 44 result = f(self.wrap(pointer(v))) 49 result = f(self.wrap(pointer(v))) 53 result = f(self.wrap(p) 215 wrap = AsParamWrapper variable in class:AsParamWrapperTestCase 228 wrap = AsParamPropertyWrapper variable in class:AsParamPropertyWrapperTestCase [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 18 def wrap(self, param): member in class:BasicWrapTestCase 28 result = f(self.wrap(1), self.wrap(u"x"), self.wrap(3), self.wrap(4), self.wrap(5.0), self.wrap(6.0)) 44 result = f(self.wrap(pointer(v))) 49 result = f(self.wrap(pointer(v))) 53 result = f(self.wrap(p) 215 wrap = AsParamWrapper variable in class:AsParamWrapperTestCase 228 wrap = AsParamPropertyWrapper variable in class:AsParamPropertyWrapperTestCase [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
InstrumentationConfigurationTest.java | 27 assertThat(config.shouldInstrument(wrap("com.google.android.apps.Foo"))).isFalse(); 32 assertThat(config.shouldInstrument(wrap("dalvik.system.DexFile"))).isTrue(); 37 assertThat(config.shouldInstrument(wrap("java.lang.Object"))).isFalse(); 38 assertThat(config.shouldInstrument(wrap("java.lang.String"))).isFalse(); 43 assertThat(config.shouldInstrument(wrap("android.content.Intent"))).isTrue(); 44 assertThat(config.shouldInstrument(wrap("android.and.now.for.something.completely.different"))).isTrue(); 49 assertThat(config.shouldInstrument(wrap("org.apache.http.util.CharArrayBuffer"))).isTrue(); 54 assertThat(config.shouldInstrument(wrap("org.kxml2.io.KXmlParser"))).isTrue(); 103 assertThat(customConfig.shouldInstrument(wrap(instrumentName))).isTrue(); 104 assertThat(customConfig.shouldInstrument(wrap(notInstrumentName))).isFalse() 138 private ClassInfo wrap(final String className) { method in class:InstrumentationConfigurationTest [all...] |
/external/conscrypt/android/src/main/java/org/conscrypt/ |
BaseOpenSSLSocketAdapterFactory.java | 45 return wrap((OpenSSLSocketImpl) delegate.createSocket()); 51 return wrap((OpenSSLSocketImpl) delegate.createSocket(hostname, port)); 57 return wrap( 62 return wrap((OpenSSLSocketImpl) delegate.createSocket(address, port)); 71 return wrap( 78 return wrap((OpenSSLSocketImpl) delegate.createSocket(s, hostname, port, autoClose)); 85 protected abstract Socket wrap(OpenSSLSocketImpl sock) throws IOException; method in class:BaseOpenSSLSocketAdapterFactory
|
KitKatPlatformOpenSSLSocketAdapterFactory.java | 33 protected Socket wrap(OpenSSLSocketImpl socket) throws IOException { method in class:KitKatPlatformOpenSSLSocketAdapterFactory
|
PreKitKatPlatformOpenSSLSocketAdapterFactory.java | 32 protected Socket wrap(OpenSSLSocketImpl socket) throws IOException { method in class:PreKitKatPlatformOpenSSLSocketAdapterFactory
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ |
ExpandedEAPMethodTest.java | 47 ByteBuffer.wrap(new byte[0]), ExpandedEAPMethod.EXPECTED_LENGTH_VALUE, false); 58 ExpandedEAPMethod.parse(ByteBuffer.wrap(TEST_DATA_BYTES), 69 ExpandedEAPMethod.parse(ByteBuffer.wrap(TEST_DATA_BYTES, 0, TEST_DATA_BYTES.length - 1), 84 ByteBuffer.wrap(TEST_DATA_BYTES), ExpandedEAPMethod.EXPECTED_LENGTH_VALUE, false); 99 ByteBuffer.wrap(TEST_DATA_BYTES), ExpandedEAPMethod.EXPECTED_LENGTH_VALUE, true);
|
VendorSpecificAuthTest.java | 42 VendorSpecificAuth.parse(ByteBuffer.wrap(new byte[0]), 1); 53 ByteBuffer.wrap(TEST_DATA, 0, TEST_DATA.length - 1), TEST_DATA.length); 65 assertEquals(expected, VendorSpecificAuth.parse(ByteBuffer.wrap(TEST_DATA), 0)); 78 VendorSpecificAuth.parse(ByteBuffer.wrap(TEST_DATA), TEST_DATA.length);
|
/external/libvpx/libvpx/tools/ |
wrap-commit-msg.py | 36 def wrap(text): function 53 output += wrap(text) 56 output += wrap(text)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
WrappedCharBufferTest2.java | 28 buf = CharBuffer.wrap(TEST_STRING); 41 CharBuffer.wrap(str, -1, 0); 47 CharBuffer.wrap(str, 21, 21); 53 CharBuffer.wrap(str, 2, 1); 59 CharBuffer.wrap(str, 0, 21); 65 CharBuffer.wrap((String)null, -1, 21);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
ItemBridgeAdapterShadowOverlayWrapper.java | 20 * A wrapper class working with {@link ItemBridgeAdapter} to wrap item view in a 39 public void wrap(View wrapper, View wrapped) { method in class:ItemBridgeAdapterShadowOverlayWrapper 40 ((ShadowOverlayContainer) wrapper).wrap(wrapped); method
|
/external/llvm/lib/IR/ |
Core.cpp | 80 return wrap(new LLVMContext()); 83 LLVMContextRef LLVMGetGlobalContext() { return wrap(&*GlobalContext); } 136 return wrap(Attribute::get(*unwrap(C), (Attribute::AttrKind)KindID, Val)); 153 return wrap(Attribute::get(*unwrap(C), StringRef(K, KLength), 215 return wrap(new Module(ModuleID, *GlobalContext)); 220 return wrap(new Module(ModuleID, *unwrap(C))); 303 return wrap(&unwrap(M)->getContext()); 357 return wrap(&unwrap(Ty)->getContext()); 399 return wrap(IntegerType::get(*unwrap(C), NumBits)); 483 return wrap(FunctionType::get(unwrap(ReturnType), Tys, IsVarArg != 0)) [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
EquivalenceTest.java | 68 LENGTH_EQUIVALENCE.wrap("hello"), 69 LENGTH_EQUIVALENCE.wrap("hello"), 70 LENGTH_EQUIVALENCE.wrap("world")) 72 LENGTH_EQUIVALENCE.wrap("hi"), 73 LENGTH_EQUIVALENCE.wrap("yo")) 75 LENGTH_EQUIVALENCE.wrap(null), 76 LENGTH_EQUIVALENCE.wrap(null)) 77 .addEqualityGroup(Equivalence.equals().wrap("hello")) 78 .addEqualityGroup(Equivalence.equals().wrap(null)) 84 Wrapper<String> wrapper = LENGTH_EQUIVALENCE.wrap(test) [all...] |
/art/test/712-varhandle-invocations/src/ |
VarHandleUnitTestHelpers.java | 57 return getBytesAs_boolean(ByteBuffer.wrap(array), index, order); 61 return getBytesAs_byte(ByteBuffer.wrap(array), index, order); 65 return getBytesAs_char(ByteBuffer.wrap(array), index, order); 69 return getBytesAs_short(ByteBuffer.wrap(array), index, order); 73 return getBytesAs_int(ByteBuffer.wrap(array), index, order); 77 return getBytesAs_long(ByteBuffer.wrap(array), index, order); 81 return getBytesAs_float(ByteBuffer.wrap(array), index, order); 85 return getBytesAs_double(ByteBuffer.wrap(array), index, order); 121 setBytesAs_boolean(ByteBuffer.wrap(array), index, value, order); 125 setBytesAs_byte(ByteBuffer.wrap(array), index, value, order) [all...] |
/external/llvm/bindings/go/llvm/ |
DIBuilderBindings.cpp | 26 return wrap(new DIBuilder(*m)); 43 return wrap(D->createCompileUnit(Lang, File, Dir, Producer, Optimized, Flags, 50 return wrap(D->createFile(File, Dir)); 61 return wrap(LB); 69 return wrap(D->createLexicalBlockFile(unwrap<DILocalScope>(Scope), 79 return wrap(D->createFunction(unwrap<DIScope>(Scope), Name, LinkageName, 92 return wrap(D->createAutoVariable(unwrap<DIScope>(Scope), Name, 102 return wrap(D->createParameterVariable( 113 return wrap(D->createBasicType(Name, SizeInBits, AlignInBits, Encoding)); 122 return wrap(D->createPointerType(unwrap<DIType>(PointeeType), SizeInBits [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
inspect_fodder2.py | 2 def wrap(foo=None):
function 14 @wrap()
15 @wrap(wrap)
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
BufferAllocator.java | 29 return AllocatedBuffer.wrap(ByteBuffer.allocateDirect(capacity));
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/ |
BreakIteratorProviderICU.java | 24 return BreakIteratorICU.wrap(icuBrkItr); 31 return BreakIteratorICU.wrap(icuBrkItr); 38 return BreakIteratorICU.wrap(icuBrkItr); 45 return BreakIteratorICU.wrap(icuBrkItr);
|
/external/python/cpython2/Lib/test/ |
inspect_fodder2.py | 2 def wrap(foo=None): function 14 @wrap() 15 @wrap(wrap)
|
/external/skia/include/gpu/ |
GrSamplerState.h | 47 void setWrapModeX(const WrapMode wrap) { fWrapModes[0] = wrap; } 48 void setWrapModeY(const WrapMode wrap) { fWrapModes[1] = wrap; }
|
/external/skqp/include/gpu/ |
GrSamplerState.h | 47 void setWrapModeX(const WrapMode wrap) { fWrapModes[0] = wrap; } 48 void setWrapModeY(const WrapMode wrap) { fWrapModes[1] = wrap; }
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
NAIRealmDataTest.java | 41 NAIRealmData.parse(ByteBuffer.wrap(new byte[0])); 52 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); 65 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); 77 ByteBuffer buffer = ByteBuffer.wrap(
|
/frameworks/support/compat/src/main/java/androidx/core/os/ |
ConfigurationCompat.java | 38 return LocaleListCompat.wrap(configuration.getLocales());
|