/external/python/cpython2/Lib/test/ |
D | test_epoll.py | 70 ep = select.epoll(16) 73 self.assertTrue(ep.fileno() > 0, ep.fileno()) 74 self.assertTrue(not ep.closed) 75 ep.close() 76 self.assertTrue(ep.closed) 77 self.assertRaises(ValueError, ep.fileno) 90 ep = select.epoll(2) 92 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT) 93 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT) 95 ep.close() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_epoll.py | 69 ep = select.epoll(16) 72 self.assertTrue(ep.fileno() > 0, ep.fileno()) 73 self.assertTrue(not ep.closed) 74 ep.close() 75 self.assertTrue(ep.closed) 76 self.assertRaises(ValueError, ep.fileno) 90 with select.epoll(16) as ep: 91 self.assertGreater(ep.fileno(), 0) 92 self.assertFalse(ep.closed) 93 self.assertTrue(ep.closed) [all …]
|
/external/python/cpython2/Objects/ |
D | dictobject.c | 327 register PyDictEntry *ep; in lookdict() local 332 ep = &ep0[i]; in lookdict() 333 if (ep->me_key == NULL || ep->me_key == key) in lookdict() 334 return ep; in lookdict() 336 if (ep->me_key == dummy) in lookdict() 337 freeslot = ep; in lookdict() 339 if (ep->me_hash == hash) { in lookdict() 340 startkey = ep->me_key; in lookdict() 346 if (ep0 == mp->ma_table && ep->me_key == startkey) { in lookdict() 348 return ep; in lookdict() [all …]
|
/external/tcpdump/ |
D | print-ahcp.c | 101 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_time_print() argument 107 if (cp + 4 != ep) in ahcp_time_print() 121 ND_TCHECK2(*cp, ep - cp); in ahcp_time_print() 129 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_seconds_print() argument 131 if (cp + 4 != ep) in ahcp_seconds_print() 139 ND_TCHECK2(*cp, ep - cp); in ahcp_seconds_print() 147 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_addresses_print() argument 151 while (cp < ep) { in ahcp_ipv6_addresses_print() 152 if (cp + 16 > ep) in ahcp_ipv6_addresses_print() 163 ND_TCHECK2(*cp, ep - cp); in ahcp_ipv6_addresses_print() [all …]
|
D | print-openflow-1.0.c | 739 const u_char *cp, const u_char *ep, const u_int len) in of10_data_print() argument 752 return ep; in of10_data_print() 757 const u_char *cp, const u_char *ep, const u_int len) in of10_bsn_message_print() argument 899 if (fn_printn(ndo, cp, len - 8, ep)) { in of10_bsn_message_print() 920 if (fn_printn(ndo, cp, len - 4, ep)) { in of10_bsn_message_print() 957 return ep; in of10_bsn_message_print() 962 const u_char *cp, const u_char *ep, const u_int len) in of10_bsn_actions_print() argument 1031 return ep; in of10_bsn_actions_print() 1036 const u_char *cp, const u_char *ep, const u_int len) in of10_vendor_action_print() argument 1052 return decoder(ndo, cp, ep, len - 4); in of10_vendor_action_print() [all …]
|
D | print-dvmrp.c | 72 register const u_char *ep; in dvmrp_print() local 75 ep = (const u_char *)ndo->ndo_snapend; in dvmrp_print() 76 if (bp >= ep) in dvmrp_print() 91 if (print_probe(ndo, bp, ep, len) < 0) in dvmrp_print() 99 if (print_report(ndo, bp, ep, len) < 0) in dvmrp_print() 110 if (print_neighbors(ndo, bp, ep, len) < 0) in dvmrp_print() 129 if (print_neighbors2(ndo, bp, ep, len) < 0) in dvmrp_print() 164 register const u_char *bp, register const u_char *ep, in print_report() argument 190 if (bp + width + 1 > ep) { in print_report() 222 register const u_char *bp, register const u_char *ep, in print_probe() argument [all …]
|
D | print-openflow.c | 79 of_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in of_header_body_print() argument 85 if (ep < cp + OF_HEADER_LEN) in of_header_body_print() 116 return of10_header_body_print(ndo, cp, ep, type, length, xid); in of_header_body_print() 125 ND_TCHECK2(*cp, ep - cp); in of_header_body_print() 126 return ep; in of_header_body_print() 129 return ep; in of_header_body_print() 137 const u_char *ep = cp + len; in openflow_print() local 140 while (cp < ep) in openflow_print() 141 cp = of_header_body_print(ndo, cp, ep); in openflow_print()
|
D | print-zeromq.c | 77 zmtp1_print_frame(netdissect_options *ndo, const u_char *cp, const u_char *ep) in zmtp1_print_frame() argument 101 body_len_captured = ep - cp - header_len; in zmtp1_print_frame() 140 return ep; in zmtp1_print_frame() 146 const u_char *ep = min(ndo->ndo_snapend, cp + len); in zmtp1_print() local 149 while (cp < ep) in zmtp1_print() 150 cp = zmtp1_print_frame(ndo, cp, ep); in zmtp1_print() 215 const u_char *ep = min(ndo->ndo_snapend, cp + len); in zmtp1_print_datagram() local 218 while (cp < ep) in zmtp1_print_datagram() 219 cp = zmtp1_print_frame(ndo, cp, ep); in zmtp1_print_datagram()
|
D | addrtoname.c | 340 lookup_emem(netdissect_options *ndo, const u_char *ep) in lookup_emem() argument 345 k = (ep[0] << 8) | ep[1]; in lookup_emem() 346 j = (ep[2] << 8) | ep[3]; in lookup_emem() 347 i = (ep[4] << 8) | ep[5]; in lookup_emem() 492 etheraddr_string(netdissect_options *ndo, register const u_char *ep) in etheraddr_string() argument 500 tp = lookup_emem(ndo, ep); in etheraddr_string() 507 if (ether_ntohost(buf2, (const struct ether_addr *)ep) == 0) { in etheraddr_string() 517 oui = EXTRACT_24BITS(ep); in etheraddr_string() 518 *cp++ = hex[*ep >> 4 ]; in etheraddr_string() 519 *cp++ = hex[*ep++ & 0xf]; in etheraddr_string() [all …]
|
D | print-aoe.c | 146 const u_char *ep = cp + len; in aoev1_issue_print() local 200 ND_TCHECK2(*cp, ep - cp); in aoev1_issue_print() 210 const u_char *ep = cp + len; in aoev1_query_print() local 249 ND_TCHECK2(*cp, ep - cp); in aoev1_query_print() 259 const u_char *ep = cp + len; in aoev1_mac_print() local 300 ND_TCHECK2(*cp, ep - cp); in aoev1_mac_print() 310 const u_char *ep = cp + len; in aoev1_reserve_print() local 335 ND_TCHECK2(*cp, ep - cp); in aoev1_reserve_print() 346 const u_char *ep = cp + len; in aoev1_print() local 393 ND_TCHECK2(*cp, ep - cp); in aoev1_print() [all …]
|
D | print-isakmp.c | 635 const u_char *ep, uint32_t phase, 743 if (ep < (const u_char *)(p)) { \ 878 const u_char *cp, const u_char *ep) in ike_show_somedata() argument 881 const u_char *end = ep - 20; in ike_show_somedata() 883 int len = ep - cp; in ike_show_somedata() 891 elen = ep - end; in ike_show_somedata() 1013 const u_char *ep, uint32_t phase, uint32_t doi0 _U_, in ikev1_sa_print() argument 1060 cp = ikev1_sub_print(ndo, ISAKMP_NPTYPE_P, ext, ep, phase, doi, proto0, in ikev1_sa_print() 1072 const u_char *ep, uint32_t phase, uint32_t doi0, in ikev1_p_print() argument 1095 cp = ikev1_sub_print(ndo, ISAKMP_NPTYPE_T, ext, ep, phase, doi0, in ikev1_p_print() [all …]
|
/external/wayland/src/ |
D | event-loop.c | 56 struct epoll_event *ep); 75 struct epoll_event *ep) in wl_event_source_fd_dispatch() argument 81 if (ep->events & EPOLLIN) in wl_event_source_fd_dispatch() 83 if (ep->events & EPOLLOUT) in wl_event_source_fd_dispatch() 85 if (ep->events & EPOLLHUP) in wl_event_source_fd_dispatch() 87 if (ep->events & EPOLLERR) in wl_event_source_fd_dispatch() 101 struct epoll_event ep; in add_source() local 112 memset(&ep, 0, sizeof ep); in add_source() 114 ep.events |= EPOLLIN; in add_source() 116 ep.events |= EPOLLOUT; in add_source() [all …]
|
/external/syslinux/memdisk/ |
D | msetup.c | 150 struct e820range *ep; in parse_mem() local 155 for (ep = ranges; ep->type != -1U; ep++) { in parse_mem() 156 if (ep->type == 1) { in parse_mem() 158 if (ep->start == 0) { in parse_mem() 159 if (ep[1].start > PW(20)) in parse_mem() 162 dos_mem = ep[1].start; in parse_mem() 164 if (ep->start <= PW(20) && ep[1].start > PW(20)) { in parse_mem() 165 if (ep[1].start > PW(24)) in parse_mem() 168 low_mem = ep[1].start - PW(20); in parse_mem() 170 if (ep->start <= PW(24) && ep[1].start > PW(24)) { in parse_mem() [all …]
|
/external/autotest/client/site_tests/security_SuidBinaries/ |
D | baseline.fscap | 1 /bin/arping = cap_net_raw+ep 2 /bin/ping = cap_net_raw+ep 3 /bin/ping6 = cap_net_raw+ep 4 /sbin/unix_chkpwd = cap_dac_override+ep 5 /usr/bin/fusermount = cap_sys_admin+ep 8 /opt/google/containers/android/rootfs/root/system/bin/logd = cap_setgid,cap_audit_control+ep 9 /opt/google/containers/android/rootfs/root/system/bin/run-as = cap_setgid,cap_setuid+ep 10 /opt/google/containers/android/rootfs/root/system/bin/surfaceflinger = cap_sys_nice+ep 11 …e/containers/android/rootfs/root/system/bin/webview_zygote32 = cap_setgid,cap_setuid,cap_setpcap+ep
|
/external/autotest/client/tests/npb/ |
D | control | 17 # ep.A ep.B ep.C ep.D ep.E ep.S ep.W 27 job.run_test(url='npb', tests='ep.A ep.B bt.S bt.W')
|
/external/libusb-compat/libusb/ |
D | core.c | 349 static void clear_endpoint_descriptor(struct usb_endpoint_descriptor *ep) in clear_endpoint_descriptor() argument 351 if (ep->extra) in clear_endpoint_descriptor() 352 free(ep->extra); in clear_endpoint_descriptor() 729 API_EXPORTED int usb_resetep(usb_dev_handle *dev, unsigned int ep) in usb_resetep() argument 731 return compat_err(usb_clear_halt(dev, ep)); in usb_resetep() 734 API_EXPORTED int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) in usb_clear_halt() argument 736 usbi_dbg("endpoint %x", ep); in usb_clear_halt() 737 return compat_err(libusb_clear_halt(dev->handle, ep & 0xff)); in usb_clear_halt() 746 static int usb_bulk_io(usb_dev_handle *dev, int ep, char *bytes, in usb_bulk_io() argument 751 usbi_dbg("endpoint %x size %d timeout %d", ep, size, timeout); in usb_bulk_io() [all …]
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 382 caddr_t ep; in pfkey_send_getspi() local 430 ep = ((caddr_t)(void *)newmsg) + len; in pfkey_send_getspi() 432 p = pfkey_setsadbmsg((void *)newmsg, ep, SADB_GETSPI, in pfkey_send_getspi() 439 p = pfkey_setsadbxsa2(p, ep, mode, reqid); in pfkey_send_getspi() 446 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen, in pfkey_send_getspi() 454 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen, in pfkey_send_getspi() 465 if (p + sizeof(spirange) > ep) { in pfkey_send_getspi() 480 if (p != ep) { in pfkey_send_getspi() 570 caddr_t ep; in pfkey_send_delete_all() local 604 ep = ((caddr_t)(void *)newmsg) + len; in pfkey_send_delete_all() [all …]
|
/external/syslinux/com32/menu/ |
D | readconfig.c | 499 char *ep = sp; in refdup_word() local 501 while (*ep && !my_isspace(*ep)) in refdup_word() 502 ep++; in refdup_word() 504 *p = ep; in refdup_word() 505 return refstrndup(sp, ep - sp); in refdup_word() 535 char *ep; in parse_argb() local 542 ep = sp; in parse_argb() 544 while (my_isxdigit(*ep)) in parse_argb() 545 ep++; in parse_argb() 547 *p = ep; in parse_argb() [all …]
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 694 PyDictKeyEntry *ep0, *ep; in lookdict() local 714 ep = &ep0[ix]; in lookdict() 715 assert(ep->me_key != NULL); in lookdict() 716 if (ep->me_key == key) { in lookdict() 717 *value_addr = &ep->me_value; in lookdict() 722 if (ep->me_hash == hash) { in lookdict() 723 startkey = ep->me_key; in lookdict() 731 if (dk == mp->ma_keys && ep->me_key == startkey) { in lookdict() 733 *value_addr = &ep->me_value; in lookdict() 763 ep = &ep0[ix]; in lookdict() [all …]
|
/external/giflib/ |
D | gifalloc.c | 230 ExtensionBlock *ep; in GifAddExtensionBlock() local 246 ep = &(*ExtensionBlocks)[(*ExtensionBlockCount)++]; in GifAddExtensionBlock() 248 ep->Function = Function; in GifAddExtensionBlock() 249 ep->ByteCount=Len; in GifAddExtensionBlock() 250 ep->Bytes = (GifByteType *)malloc(ep->ByteCount); in GifAddExtensionBlock() 251 if (ep->Bytes == NULL) in GifAddExtensionBlock() 255 memcpy(ep->Bytes, ExtData, Len); in GifAddExtensionBlock() 265 ExtensionBlock *ep; in GifFreeExtensions() local 270 for (ep = *ExtensionBlocks; in GifFreeExtensions() 271 ep < (*ExtensionBlocks + *ExtensionBlockCount); in GifFreeExtensions() [all …]
|
/external/freetype/src/base/ |
D | ftpsprop.c | 64 char* ep; in ps_property_set() local 71 dp[i] = (FT_Int)ft_strtol( s, &ep, 10 ); in ps_property_set() 72 if ( *ep != ',' || s == ep ) in ps_property_set() 75 s = ep + 1; in ps_property_set() 78 dp[7] = (FT_Int)ft_strtol( s, &ep, 10 ); in ps_property_set() 79 if ( !( *ep == '\0' || *ep == ' ' ) || s == ep ) in ps_property_set()
|
/external/syslinux/com32/elflink/ldlinux/ |
D | readconfig.c | 536 char *ep = sp; in __refdup_word() local 538 while (*ep && !my_isspace(*ep)) in __refdup_word() 539 ep++; in __refdup_word() 542 *ref = ep; in __refdup_word() 543 return refstrndup(sp, ep - sp); in __refdup_word() 578 char *ep; in parse_argb() local 585 ep = sp; in parse_argb() 587 while (my_isxdigit(*ep)) in parse_argb() 588 ep++; in parse_argb() 590 *p = ep; in parse_argb() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | plurults.cpp | 515 const char* ep = rp; in testGetAllKeywordValues() 516 while (*ep && *ep != ':') ++ep; in testGetAllKeywordValues() 519 UnicodeString keyword(rp, ep - rp, US_INV); in testGetAllKeywordValues() 532 if (*ep) { in testGetAllKeywordValues() 533 ++ep; // skip colon in testGetAllKeywordValues() 534 while (*ep && *ep == ' ') ++ep; // and spaces in testGetAllKeywordValues() 539 if (*ep != 'n') { in testGetAllKeywordValues() 540 errln("expected values for keyword %s but got -1 (%s)", rp, ep); in testGetAllKeywordValues() 543 } else if (*ep == 'n') { in testGetAllKeywordValues() 544 errln("expected count of -1, got %d, for keyword %s (%s)", count, rp, ep); in testGetAllKeywordValues() [all …]
|
/external/libpcap/ |
D | optimize.c | 311 propedom(opt_state_t *opt_state, struct edge *ep) in propedom() argument 313 SET_INSERT(ep->edom, ep->id); in propedom() 314 if (ep->succ) { in propedom() 315 SET_INTERSECT(ep->succ->et.edom, ep->edom, opt_state->edgewords); in propedom() 316 SET_INTERSECT(ep->succ->ef.edom, ep->edom, opt_state->edgewords); in propedom() 1301 fold_edge(struct block *child, struct edge *ep) in fold_edge() argument 1305 int code = ep->code; in fold_edge() 1318 aval1 = ep->pred->val[A_ATOM]; in fold_edge() 1319 oval1 = ep->pred->oval; in fold_edge() 1353 opt_j(opt_state_t *opt_state, struct edge *ep) in opt_j() argument [all …]
|
/external/libcxx/test/support/ |
D | filesystem_dynamic_test_helper.py | 10 ep = os.environ.get('LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT') 11 assert ep is not None 12 ep = os.path.realpath(ep) 13 assert os.path.isdir(ep) 14 return ep
|