/external/guava/guava-tests/test/com/google/common/collect/ |
MapsTransformValuesTest.java | 64 Map<String, Integer> underlying = Maps.newHashMap(); local 65 underlying.put("a", 1); 66 underlying.put("b", 2); 67 underlying.put("c", 3); 68 return Maps.transformValues(underlying, Functions.toStringFunction()); 111 Map<String, Integer> underlying = ImmutableMap.of("a", 1); local 113 underlying, Functions.<Integer>identity()); 114 assertMapsEqual(underlying, map); 140 Map<String, Integer> underlying = Maps.newHashMap(); local 141 underlying.put("a", 1) 149 Map<String, String> underlying = Maps.newHashMap(); local 172 Map<String, Integer> underlying = Maps.newHashMap(); local 193 Map<String, Integer> underlying = Maps.newLinkedHashMap(); local 243 Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2); local 267 Map<String, Boolean> underlying = Maps.newHashMap(); local [all...] |
MapsSortedTransformValuesTest.java | 42 SortedMap<String, Integer> underlying = Maps.newTreeMap(); local 43 underlying.put("a", 1); 44 underlying.put("b", 2); 45 underlying.put("c", 3); 46 return Maps.transformValues(underlying, Functions.toStringFunction());
|
MapsTransformValuesUnmodifiableIteratorTest.java | 110 Map<String, Integer> underlying = Maps.newHashMap(); 112 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); 116 Map<String, Integer> underlying = Maps.newHashMap(); 117 underlying.put("a", 1); 118 underlying.put("b", 2); 119 underlying.put("c", 3); 121 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); 164 Map<String, Integer> underlying = ImmutableMap.of("a", 1); 166 underlying, Functions.<Integer>identity()); 167 assertMapsEqual(underlying, map) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldPushbackReaderTest.java | 27 Support_ASimpleReader underlying = new Support_ASimpleReader(); field in class:OldPushbackReaderTest 61 tobj = new PushbackReader(underlying, 10000); 62 tobj = new PushbackReader(underlying, 1); 65 tobj = new PushbackReader(underlying, -1); 72 tobj = new PushbackReader(underlying, 0); 86 tobj = new PushbackReader(underlying); 89 tobj = new PushbackReader(underlying); 90 underlying.throwExceptionOnNextUse = true; 113 tobj = new PushbackReader(underlying); 115 underlying.throwExceptionOnNextUse = true [all...] |
OldPushbackInputStreamTest.java | 28 Support_ASimpleInputStream underlying = new Support_ASimpleInputStream(); field in class:OldPushbackInputStreamTest 75 tobj = new PushbackInputStream(underlying); 78 tobj = new PushbackInputStream(underlying); 79 underlying.throwExceptionOnNextUse = true; 91 tobj = new PushbackInputStream(underlying); 93 underlying.throwExceptionOnNextUse = true; 110 tobj = new PushbackInputStream(underlying); 112 underlying.throwExceptionOnNextUse = true; 128 tobj = new PushbackInputStream(underlying); 132 underlying.throwExceptionOnNextUse = true [all...] |
/external/libevent/ |
bufferevent_filter.c | 78 struct bufferevent *underlying; member in struct:bufferevent_filtered 81 /** True iff we have received an EOF callback from the underlying 122 /** Return 1 iff bevf's underlying bufferevent's output buffer is at or 129 struct bufferevent *u = bevf->underlying; 161 bufferevent_filter_new(struct bufferevent *underlying, 171 if (!underlying) 183 if (bufferevent_init_common(&bufev_f->bev, underlying->ev_base, 192 bufev_f->underlying = underlying; 199 bufferevent_setcb(bufev_f->underlying, [all...] |
bufferevent_openssl.c | 267 to an underlying bufferevent using a BIO_bufferevent, and one that has the 283 If we were set up with an underlying bufferevent, we use the 288 /* An underlying bufferevent that we're directing our output to. 290 struct bufferevent *underlying; member in struct:bufferevent_openssl 372 /* Have the base communications channel (either the underlying bufferevent or 378 if (bev_ssl->underlying) { 379 bufferevent_unsuspend_read(bev_ssl->underlying, 393 /* Have the base communications channel (either the underlying bufferevent or 400 if (bev_ssl->underlying) { 417 if (bev_ssl->underlying) { [all...] |
/prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/ |
parser_test.go | 16 id, typ, want, underlying, methods string 21 {id: "foo", typ: "<type 1 \"Bar\" <type 2 *<type 1>>>", want: "foo.Bar", underlying: "*foo.Bar"}, 22 {id: "foo", typ: "<type 1 \"bar.Foo\" \"bar\" <type -1> func (? <type 1>) M (); >", want: "bar.Foo", underlying: "int8", methods: "func (bar.Foo).M()"}, 23 {id: "foo", typ: "<type 1 \".bar.foo\" \"bar\" <type -1>>", want: "bar.foo", underlying: "int8"}, 53 if test.underlying != "" { 54 underlying := typ.Underlying().String() 55 if underlying != test.underlying { 56 t.Errorf("got underlying type %q, expected %q", underlying, test.underlying [all...] |
/prebuilts/go/linux-x86/src/go/internal/gccgoimporter/ |
parser_test.go | 16 id, typ, want, underlying, methods string 21 {id: "foo", typ: "<type 1 \"Bar\" <type 2 *<type 1>>>", want: "foo.Bar", underlying: "*foo.Bar"}, 22 {id: "foo", typ: "<type 1 \"bar.Foo\" \"bar\" <type -1> func (? <type 1>) M (); >", want: "bar.Foo", underlying: "int8", methods: "func (bar.Foo).M()"}, 23 {id: "foo", typ: "<type 1 \".bar.foo\" \"bar\" <type -1>>", want: "bar.foo", underlying: "int8"}, 53 if test.underlying != "" { 54 underlying := typ.Underlying().String() 55 if underlying != test.underlying { 56 t.Errorf("got underlying type %q, expected %q", underlying, test.underlying [all...] |
/prebuilts/go/darwin-x86/src/go/internal/gcimporter/testdata/ |
issue15920.go | 7 // The underlying type of Error is the underlying type of error.
|
/prebuilts/go/linux-x86/src/go/internal/gcimporter/testdata/ |
issue15920.go | 7 // The underlying type of Error is the underlying type of error.
|
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
UrlTextExample.java | 52 final HtmlStreamEventReceiver underlying; field in class:UrlTextExample.AppendDomainAfterText 55 AppendDomainAfterText(HtmlStreamEventReceiver underlying) { 56 this.underlying = underlying; 60 underlying.openDocument(); 63 underlying.closeDocument(); 66 underlying.openTag(elementName, attribs); 105 underlying.closeTag(elementName); 116 underlying.text(text);
|
/external/libevent/include/event2/ |
bufferevent_ssl.h | 60 must also be the base for the underlying bufferevent. 61 @param underlying A socket to use for this SSL 69 struct bufferevent *underlying, 91 /** Return the underlying openssl SSL * object for an SSL bufferevent. */
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue10284.go | 8 // type whose underlying type is uintptr to unsafe.Pointer.
|
issue5614.go | 9 // their underlying type.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue10284.go | 8 // type whose underlying type is uintptr to unsafe.Pointer.
|
issue5614.go | 9 // their underlying type.
|
/cts/tests/tests/net/src/android/net/cts/ |
SSLCertificateSocketFactoryTest.java | 122 Socket underlying = new Socket(TEST_CREATE_SOCKET_HOST, TEST_CREATE_SOCKET_PORT); local 124 underlying, TEST_CREATE_SOCKET_HOST, TEST_CREATE_SOCKET_PORT, true);
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKClock_Tick.java | 111 Clock underlying = Clock.system(PARIS); local 112 Clock test = Clock.tick(underlying, Duration.ZERO); 113 assertSame(test, underlying); // spec says same 117 Clock underlying = Clock.system(PARIS); local 118 Clock test = Clock.tick(underlying, Duration.ofNanos(1)); 119 assertSame(test, underlying); // spec says same
|
TCKClock_Offset.java | 95 Clock underlying = Clock.system(PARIS); local 96 Clock test = Clock.offset(underlying, Duration.ZERO); 97 assertSame(test, underlying); // spec says same
|
/prebuilts/go/darwin-x86/src/go/types/ |
type.go | 12 // Underlying returns the underlying type of a type. 13 Underlying() Type 316 it := et.Underlying().(*Interface) 380 underlying Type // possibly a *Named during setup; never a *Named once set up completely 384 // NewNamed returns a new named type for the given type name, underlying type, and associated methods. 385 // The underlying type must not be a *Named. 386 func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named { 387 if _, ok := underlying.(*Named); ok { 388 panic("types.NewNamed: underlying type must not be *Named" [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
type.go | 12 // Underlying returns the underlying type of a type. 13 Underlying() Type 316 it := et.Underlying().(*Interface) 380 underlying Type // possibly a *Named during setup; never a *Named once set up completely 384 // NewNamed returns a new named type for the given type name, underlying type, and associated methods. 385 // The underlying type must not be a *Named. 386 func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named { 387 if _, ok := underlying.(*Named); ok { 388 panic("types.NewNamed: underlying type must not be *Named" [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
TagBalancingHtmlStreamEventReceiver.java | 49 private final HtmlStreamEventReceiver underlying; field in class:TagBalancingHtmlStreamEventReceiver 55 HtmlStreamEventReceiver underlying) { 56 this.underlying = underlying; 67 underlying.openDocument(); 72 underlying.closeTag(openElements.get(i).elementName); 75 underlying.closeDocument(); 85 underlying.openTag(elementName, attrs); 93 underlying.openTag(elInfo.elementName, attrs); 109 underlying.openTag [all...] |
/prebuilts/go/darwin-x86/src/hash/ |
hash.go | 17 // It does not change the underlying hash state. 26 // BlockSize returns the hash's underlying block size.
|
/prebuilts/go/linux-x86/src/hash/ |
hash.go | 17 // It does not change the underlying hash state. 26 // BlockSize returns the hash's underlying block size.
|