/libcore/luni/src/main/java/libcore/icu/ |
AlphabeticIndex.java | 32 private long peer; field in class:AlphabeticIndex.ImmutableIndex 34 private ImmutableIndex(long peer) { 35 this.peer = peer; 40 destroy(peer); 41 peer = 0; 51 return getBucketCount(peer); 60 return getBucketIndex(peer, s); 67 return getBucketLabel(peer, index); 70 private static native int getBucketCount(long peer); 75 private long peer; field in class:AlphabeticIndex [all...] |
Transliterator.java | 23 private long peer; field in class:Transliterator 29 peer = create(id); 34 destroy(peer); 35 peer = 0; 50 return transliterate(peer, s); 54 private static native void destroy(long peer); 55 private static native String transliterate(long peer, String s);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnectionTest.java | 59 private final MockSpdyPeer peer = new MockSpdyPeer(); field in class:SpdyConnectionTest 62 peer.close(); 67 peer.acceptFrame(); // SYN_STREAM 68 peer.sendFrame() 70 peer.sendFrame().data(true, 1, new OkBuffer().writeUtf8("robot")); 71 peer.acceptFrame(); // DATA 72 peer.play(); 75 SpdyConnection connection = connection(peer, SPDY3); 84 // verify the peer received what was expected 85 MockSpdyPeer.InFrame synStream = peer.takeFrame() [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
tdls.c | 84 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer); 86 struct wpa_tdls_peer *peer); 103 u8 rsnie_p[TDLS_MAX_IE_LEN]; /* Peer RSN IE */ 172 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) 174 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr, 185 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) 193 switch (peer->cipher) { 208 if (wpa_sm_set_key(sm, alg, peer->addr, -1, 1, 209 rsc, sizeof(rsc), peer->tpk.tk, key_len) < 0) { 232 struct wpa_tdls_peer *peer; local 312 struct wpa_tdls_peer *peer = timeout_ctx; local 611 struct wpa_tdls_peer *peer = timeout_ctx; local 719 struct wpa_tdls_peer *peer; local 805 struct wpa_tdls_peer *peer; local 841 struct wpa_tdls_peer *peer; local 872 struct wpa_tdls_peer *peer; local 895 struct wpa_tdls_peer *peer = NULL; local 988 struct wpa_tdls_peer *peer; local 1399 struct wpa_tdls_peer *peer; local 1654 struct wpa_tdls_peer *peer; local 2026 struct wpa_tdls_peer *peer; local 2301 struct wpa_tdls_peer *peer; local 2482 struct wpa_tdls_peer *peer; local 2534 struct wpa_tdls_peer *peer; local 2669 struct wpa_tdls_peer *peer, *tmp; local 2692 struct wpa_tdls_peer *peer, *tmp; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ibss_rsn.c | 30 struct ibss_rsn_peer *peer; local 32 for (peer = ibss_rsn->peers; peer; peer = peer->next) 33 if (os_memcmp(addr, peer->addr, ETH_ALEN) == 0) 35 return peer; 39 static void ibss_rsn_free(struct ibss_rsn_peer *peer) 41 eloop_cancel_timeout(ibss_rsn_auth_timeout, peer, NULL); 42 wpa_auth_sta_deinit(peer->auth) 50 struct ibss_rsn_peer *peer = ctx; local 57 struct ibss_rsn_peer *peer = ctx; local 65 struct ibss_rsn_peer *peer = ctx; local 110 struct ibss_rsn_peer *peer = ctx; local 144 struct ibss_rsn_peer *peer = ctx; local 175 struct ibss_rsn_peer *peer = ctx; local 310 struct ibss_rsn_peer *peer; local 346 struct ibss_rsn_peer *peer; local 389 struct ibss_rsn_peer *peer = ibss_rsn_get_peer(ibss_rsn, addr); local 515 struct ibss_rsn_peer *peer; local 554 struct ibss_rsn_peer *peer = eloop_ctx; local 571 struct ibss_rsn_peer *peer; local 627 struct ibss_rsn_peer *peer, *prev; local 685 struct ibss_rsn_peer *peer, *prev; local 788 struct ibss_rsn_peer *peer; local 880 struct ibss_rsn_peer *peer; local [all...] |
/frameworks/base/core/java/android/content/res/ |
ResourcesKey.java | 64 ResourcesKey peer = (ResourcesKey) obj; local 65 if (mResDir != peer.mResDir) { 66 if (mResDir == null || peer.mResDir == null) { 68 } else if (!mResDir.equals(peer.mResDir)) { 72 if (mDisplayId != peer.mDisplayId) { 75 if (mOverrideConfiguration != peer.mOverrideConfiguration) { 76 if (mOverrideConfiguration == null || peer.mOverrideConfiguration == null) { 79 if (!mOverrideConfiguration.equals(peer.mOverrideConfiguration)) { 83 if (mScale != peer.mScale) {
|
/libcore/luni/src/main/native/ |
libcore_icu_AlphabeticIndex.cpp | 28 static AlphabeticIndex* fromPeer(jlong peer) { 29 return reinterpret_cast<AlphabeticIndex*>(static_cast<uintptr_t>(peer)); 45 static void AlphabeticIndex_destroy(JNIEnv*, jclass, jlong peer) { 46 delete fromPeer(peer); 49 static jint AlphabeticIndex_getMaxLabelCount(JNIEnv*, jclass, jlong peer) { 50 AlphabeticIndex* ai = fromPeer(peer); 54 static void AlphabeticIndex_setMaxLabelCount(JNIEnv* env, jclass, jlong peer, jint count) { 55 AlphabeticIndex* ai = fromPeer(peer); 61 static void AlphabeticIndex_addLabels(JNIEnv* env, jclass, jlong peer, jstring javaLocaleName) { 62 AlphabeticIndex* ai = fromPeer(peer); [all...] |
libcore_icu_Transliterator.cpp | 26 static Transliterator* fromPeer(jlong peer) { 27 return reinterpret_cast<Transliterator*>(static_cast<uintptr_t>(peer)); 43 static void Transliterator_destroy(JNIEnv*, jclass, jlong peer) { 44 delete fromPeer(peer); 53 static jstring Transliterator_transliterate(JNIEnv* env, jclass, jlong peer, jstring javaString) { 54 Transliterator* t = fromPeer(peer);
|
/bootable/recovery/minadbd/ |
sockets.c | 54 ** these have no peer anymore, but still packets to 122 if(s->transport == t || (s->peer && s->peer->transport == t)) { 223 if(s->peer) { 224 D("LS(%d): closing peer. peer->id=%d peer->fd=%d\n", 225 s->id, s->peer->id, s->peer->fd); 226 s->peer->peer = 0 471 asocket* peer = s->peer; local [all...] |
/external/chromium_org/v8/tools/testrunner/server/ |
status_handler.py | 36 def _StatusQuery(peer, query): 38 code = sock.connect_ex((peer.address, constants.STATUS_PORT)) 55 def RequestTrustedPubkeys(peer, server): 56 pubkey_list = _StatusQuery(peer, [constants.LIST_TRUSTED_PUBKEYS]) 59 result = _StatusQuery(peer, [constants.GET_SIGNED_PUBKEY, pubkey]) 63 def NotifyNewTrusted(peer, data): 64 _StatusQuery(peer, [constants.NOTIFY_NEW_TRUSTED] + data) 67 def ITrustYouNow(peer): 68 _StatusQuery(peer, [constants.TRUST_YOU_NOW]) 71 def TryTransitiveTrust(peer, pubkey, server) [all...] |
/system/core/adb/ |
sockets.c | 58 ** these have no peer anymore, but still packets to 67 // If |peer_id| is not 0, also check that it is connected to a peer 78 if (peer_id == 0 || (s->peer && s->peer->id == peer_id)) { 136 if(s->transport == t || (s->peer && s->peer->transport == t)) { 244 if(s->peer) { 245 D("LS(%d): closing peer. peer->id=%d peer->fd=%d\n" 547 asocket* peer = s->peer; local [all...] |
jdwp_service.c | 559 asocket* peer = s->peer; local 563 if (peer) { 564 peer->peer = NULL; 565 peer->close(peer); 575 s->peer->close(s->peer); 584 asocket* peer = jdwp->socket.peer local 646 asocket* peer = t->socket.peer; local 657 asocket* peer = s->peer; local [all...] |
/external/chromium_org/content/child/ |
resource_dispatcher_unittest.cc | 359 TestRequestPeer peer(bridge.get()); 361 EXPECT_TRUE(bridge->Start(&peer)); 367 EXPECT_TRUE(peer.received_response()); 379 EXPECT_EQ(kTestPageContents, peer.data()); 380 EXPECT_TRUE(peer.complete()); 430 TestRequestPeer peer(bridge.get()); 432 EXPECT_TRUE(bridge->Start(&peer)); 447 EXPECT_EQ("", peer.data()); 448 EXPECT_FALSE(peer.received_response()); 449 EXPECT_FALSE(peer.complete()) [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
s_cb.c | 773 } peer; local 786 /* Read peer information */ 787 (void)BIO_dgram_get_peer(SSL_get_rbio(ssl), &peer); local 789 /* Create buffer with peer's address and port */ 791 switch (peer.sa.sa_family) 795 length += sizeof(peer.s4.sin_port); 800 length += sizeof(peer.s6.sin6_port); 815 switch (peer.sa.sa_family) 819 &peer.s4.sin_port, 820 sizeof(peer.s4.sin_port)) 861 } peer; local 868 (void)BIO_dgram_get_peer(SSL_get_rbio(ssl), &peer); local [all...] |
/external/openssl/apps/ |
s_cb.c | 777 } peer; local 790 /* Read peer information */ 791 (void)BIO_dgram_get_peer(SSL_get_rbio(ssl), &peer); local 793 /* Create buffer with peer's address and port */ 795 switch (peer.sa.sa_family) 799 length += sizeof(peer.s4.sin_port); 804 length += sizeof(peer.s6.sin6_port); 819 switch (peer.sa.sa_family) 823 &peer.s4.sin_port, 824 sizeof(peer.s4.sin_port)) 865 } peer; local 872 (void)BIO_dgram_get_peer(SSL_get_rbio(ssl), &peer); local [all...] |
/external/qemu/android/ |
charpipe.c | 75 struct CharPipeHalf* peer; /* NULL if closed */ member in struct:CharPipeHalf 91 ph->peer = NULL; 99 CharPipeHalf* peer = ph->peer; local 106 if (bip == NULL && peer != NULL && peer->cs->chr_read != NULL) { 107 /* no buffered data, try to write directly to the peer */ 111 if (peer->cs->chr_can_read) { 112 size = qemu_chr_can_read( peer->cs ); 121 qemu_chr_read( peer->cs, (uint8_t*)buf, size ) 158 CharPipeHalf* peer = ph->peer; local 297 CharDriverState* peer = cbuf->endpoint; local 348 CharDriverState* peer = cbuf->endpoint; local [all...] |
/external/chromium_org/components/cronet/android/ |
org_chromium_net_UrlRequestContext.cc | 101 URLRequestContextPeer* peer = new URLRequestContextPeer( local 106 peer->AddRef(); // Hold onto this ref-counted object. 107 peer->Initialize(context_config.Pass()); 108 return reinterpret_cast<jlong>(peer); 115 URLRequestContextPeer* peer = local 121 peer->Release(); 142 URLRequestContextPeer* peer = local 145 peer->StartNetLogToFile(file_name); 152 URLRequestContextPeer* peer = local 154 peer->StopNetLog() [all...] |
/external/chromium_org/chrome/renderer/ |
security_filter_peer.h | 16 // SecurityFilterPeer based on the original Peer. 25 content::RequestPeer* peer, 29 content::RequestPeer* peer, 52 explicit SecurityFilterPeer(content::RequestPeer* peer); 64 BufferedPeer(content::RequestPeer* peer, const std::string& mime_type); 83 // to the original peer, giving an opportunity to subclasses to process the 85 // original peer, if it returns false, an error is sent instead. 105 ReplaceContentPeer(content::RequestPeer* peer,
|
/external/chromium_org/v8/tools/testrunner/objects/ |
workpacket.py | 33 def __init__(self, peer=None, context=None, tests=None, binaries=None, 35 self.peer = peer 50 for shell in self.peer.shells: 64 for t in self.peer.tests:
|
/external/chromium_org/net/quic/crypto/ |
quic_crypto_server_config_test.cc | 193 QuicCryptoServerConfigPeer peer(config_); 194 base::Lock* m = peer.GetStrikeRegisterClientLock(); 255 QuicCryptoServerConfigPeer peer(&server); 272 EXPECT_TRUE(peer.ConfigHasDefaultSourceAddressTokenBoxer(kPrimary)); 273 EXPECT_FALSE(peer.ConfigHasDefaultSourceAddressTokenBoxer(kOverride)); 280 const string token4 = peer.NewSourceAddressToken(kPrimary, ip4, rand, now); 281 const string token4d = peer.NewSourceAddressToken(kPrimary, ip4d, rand, now); 282 const string token6 = peer.NewSourceAddressToken(kPrimary, ip6, rand, now); 283 EXPECT_EQ(HANDSHAKE_OK, peer.ValidateSourceAddressToken( 285 DCHECK_EQ(HANDSHAKE_OK, peer.ValidateSourceAddressToken [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
IParcelFileDescriptorPeer.aidl | 23 void setPeer(in IParcelFileDescriptorPeer peer); 34 /* Ask this peer to get their remote FD from another */ 36 /* Ask this peer to set their remote FD to another */
|
/developers/samples/android/wearable/wear/FindMyPhone/Wearable/src/main/java/com/example/android/findphone/ |
DisconnectListenerService.java | 34 public void onPeerDisconnected(com.google.android.gms.wearable.Node peer) { 49 public void onPeerConnected(com.google.android.gms.wearable.Node peer) {
|
/development/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/ |
DisconnectListenerService.java | 34 public void onPeerDisconnected(com.google.android.gms.wearable.Node peer) { 49 public void onPeerConnected(com.google.android.gms.wearable.Node peer) {
|
/external/chromium_org/webkit/child/ |
resource_loader_bridge.h | 49 // the peer's methods will be called asynchronously to report various events. 50 virtual bool Start(content::RequestPeer* peer) = 0; 55 // the peer is still valid.
|
/external/iproute2/ip/ |
ifcfg | 36 echo "Usage: ifcfg DEV [[add|del [ADDR[/LEN]] [PEER] | stop]" 1>&2 81 peer=$1 82 if [ "$peer" != "" ]; then 84 echo "Peer address with non-trivial netmask." 1>&2 87 pfx="$ipaddr peer $peer" 141 elif [ "$peer" != "" ]; then 142 if ping -q -c 2 -w 4 $peer ; then 143 ip ro append default via $peer dev $dev metric 30001
|