Searched refs:ai (Results 51 - 75 of 134) sorted by relevance

123456

/openbsd-current/usr.bin/ssh/
H A Dssh-keyscan.c336 struct addrinfo hints, *ai, *aitop; local
348 for (ai = aitop; ai; ai = ai->ai_next) {
349 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
356 if (connect(s, ai->ai_addr, ai
[all...]
H A Dchannels.c3753 struct addrinfo hints, *ai, *aitop; local
3803 for (ai = aitop; ai; ai = ai->ai_next) {
3804 switch (ai->ai_family) {
3806 lport_p = &((struct sockaddr_in *)ai->ai_addr)->
3810 lport_p = &((struct sockaddr_in6 *)ai->ai_addr)->
3825 if (getnameinfo(ai->ai_addr, ai
4615 struct addrinfo *ai; local
4952 struct addrinfo hints, *ai, *aitop; local
5059 struct addrinfo hints, *ai, *aitop; local
[all...]
H A Ddns.c166 struct addrinfo hints, *ai; local
181 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) {
182 freeaddrinfo(ai);
H A Dsshd.c740 struct addrinfo *ai; local
743 for (ai = la->addrs; ai; ai = ai->ai_next) {
744 if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6)
749 if ((ret = getnameinfo(ai->ai_addr, ai->ai_addrlen,
757 listen_sock = socket(ai
[all...]
/openbsd-current/sys/arch/sparc64/dev/
H A Dvdsp.c602 struct vd_attr_info *ai = (struct vd_attr_info *)tag; local
604 switch (ai->tag.stype) {
608 if (ai->xfer_mode != VIO_DESC_MODE &&
609 ai->xfer_mode != VIO_DRING_MODE) {
611 sc->sc_dv.dv_xname, ai->xfer_mode);
612 ai->tag.stype = VIO_SUBTYPE_NACK;
613 vdsp_sendmsg(sc, ai, sizeof(*ai), 0);
616 sc->sc_xfer_mode = ai->xfer_mode;
627 DPRINTF(("CTRL/0x%02x/ATTR_INFO\n", ai
908 struct vd_attr_info ai; local
[all...]
H A Dvdsk.c552 struct vd_attr_info *ai = (struct vd_attr_info *)tag; local
554 switch (ai->tag.stype) {
566 sc->sc_vdisk_block_size = ai->vdisk_block_size;
567 sc->sc_vdisk_size = ai->vdisk_size;
569 sc->sc_vd_mtype = ai->vd_mtype;
577 DPRINTF(("CTRL/0x%02x/ATTR_INFO\n", ai->tag.stype));
772 struct vd_attr_info ai; local
774 bzero(&ai, sizeof(ai));
775 ai
[all...]
H A Dvnet.c565 struct vnet_attr_info *ai = (struct vnet_attr_info *)tag; local
567 switch (ai->tag.stype) {
570 sc->sc_xfer_mode = ai->xfer_mode;
572 ai->tag.stype = VIO_SUBTYPE_ACK;
573 ai->tag.sid = sc->sc_local_sid;
574 vnet_sendmsg(sc, ai, sizeof(*ai));
588 DPRINTF(("CTRL/0x%02x/ATTR_INFO\n", ai->tag.stype));
997 struct vnet_attr_info ai; local
1000 bzero(&ai, sizeo
[all...]
/openbsd-current/lib/libcrypto/asn1/
H A Da_int.c333 BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai) argument
338 if (ai == NULL)
341 ret = ai;
374 if (ret != ai)
381 ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) argument
385 if (!ASN1_INTEGER_valid(ai))
388 if ((ret = BN_bin2bn(ai->data, ai->length, bn)) == NULL)
390 else if (ai->type == V_ASN1_NEG_INTEGER)
/openbsd-current/usr.sbin/smtpd/
H A Ddns.c194 struct addrinfo *ai; local
198 for (ai = ar->ar_addrinfo; ai; ai = ai->ai_next) {
203 m_add_sockaddr(s->p, ai->ai_addr);
/openbsd-current/regress/lib/libc/cephes/
H A Dieee.c95 * eaddm( ai, bi ) add significands, bi = bi + ai
98 * ecmpm( ai, bi ) compare significands, return 1, 0, or -1
99 * edivm( ai, bi ) divide significands, bi = bi / ai
100 * emdnorm(ai,l,s,exp) normalize and round off
101 * emovi( a, ai ) convert external a to internal ai
102 * emovo( ai, a ) convert internal ai t
1410 unsigned short ai[NI], bi[NI], ci[NI]; local
1526 unsigned short ai[NI], bi[NI]; local
1628 unsigned short ai[NI], bi[NI]; local
2496 unsigned short ai[NI], bi[NI]; local
[all...]
/openbsd-current/lib/libc/asr/
H A Dasr.c331 if (as->as.ai.aifirst)
332 freeaddrinfo(as->as.ai.aifirst);
333 if (as->as.ai.hostname)
334 free(as->as.ai.hostname);
335 if (as->as.ai.servname)
336 free(as->as.ai.servname);
337 if (as->as.ai.fqdn)
338 free(as->as.ai.fqdn);
/openbsd-current/lib/libc/stdlib/
H A Dmerge.c326 u_char *ai, *s, *t, *u, tmp; local
329 for (ai = a+size; --n >= 1; ai += size)
330 for (t = ai; t > a; t -= size) {
/openbsd-current/lib/libcrypto/x509/
H A Dx509_cmp.c78 X509_CINF *ai, *bi; local
80 ai = a->cert_info;
82 i = ASN1_INTEGER_cmp(ai->serialNumber, bi->serialNumber);
85 return (X509_NAME_cmp(ai->issuer, bi->issuer));
/openbsd-current/sbin/isakmpd/
H A Dutil.c195 struct addrinfo *ai, hints; local
215 if (getaddrinfo(address, port, &hints, &ai)) {
335 memcpy(&tmp_sas, ai->ai_addr, SA_LEN(ai->ai_addr));
336 freeaddrinfo(ai);
/openbsd-current/usr.bin/ldap/
H A Dldapclient.c490 struct addrinfo ai, *res, *res0; local
512 memset(&ai, 0, sizeof(ai));
513 ai.ai_family = AF_UNSPEC;
514 ai.ai_socktype = SOCK_STREAM;
515 ai.ai_protocol = IPPROTO_TCP;
518 &ai, &res0)) != 0) {
/openbsd-current/gnu/llvm/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips.cpp560 llvm::ArrayRef<addr_t>::iterator ai = args.begin(), ae = args.end(); local
564 if (ai == ae)
575 ++ai;
579 if (ai != ae) {
596 for (; ai != ae; ++ai) {
597 reg_value.SetUInt32(*ai);
/openbsd-current/usr.bin/openssl/
H A Dapps.c1129 ASN1_INTEGER *ai = NULL; local
1131 ai = ASN1_INTEGER_new();
1132 if (ai == NULL)
1145 if (ret == NULL || !rand_serial(ret, ai))
1149 if (!a2i_ASN1_INTEGER(in, ai, buf, sizeof buf)) {
1154 ret = ASN1_INTEGER_to_BN(ai, NULL);
1163 *retai = ai;
1164 ai = NULL;
1169 ASN1_INTEGER_free(ai);
1180 ASN1_INTEGER *ai local
1263 rand_serial(BIGNUM *b, ASN1_INTEGER *ai) argument
[all...]
/openbsd-current/gnu/gcc/gcc/config/score/
H A Dscore-mdaux.c569 struct score_address_info ai; local
572 gcc_assert (mda_classify_address (&ai, SImode, XEXP (ops[iaddr], 0), true));
575 && ai.type == ADD_REG
576 && GET_CODE (ai.offset) == CONST_INT
578 && G16_REG_P (REGNO (ai.reg)))
580 if (INTVAL (ai.offset) == 0)
582 ops[iaddr] = ai.reg;
586 if (REGNO (ai.reg) == HARD_FRAME_POINTER_REGNUM)
588 HOST_WIDE_INT offset = INTVAL (ai.offset);
592 ops[iaddr] = ai
[all...]
/openbsd-current/usr.bin/rcs/
H A Ddiff.c734 struct line *ai, *aim, w; local
744 for (ai = &a[j]; ai > a; ai -= m) {
745 aim = &ai[m];
746 if (aim < ai)
748 if (aim->value > ai[0].value ||
749 (aim->value == ai[0].value &&
750 aim->serial > ai[0].serial))
752 w.value = ai[
[all...]
/openbsd-current/usr.sbin/nsd/
H A Dnsd.c324 struct addrinfo ai[2] = { *hints, *hints }; local
330 ai[0].ai_socktype = SOCK_DGRAM;
331 ai[1].ai_socktype = SOCK_STREAM;
336 ai[0].ai_family = AF_INET6;
337 ai[1].ai_family = AF_INET6;
365 if((r = getaddrinfo(node, udp_port, &ai[0], &addrs[0])) == 0 &&
366 (r = getaddrinfo(node, tcp_port, &ai[1], &addrs[1])) == 0)
387 ai[0].ai_family = AF_INET;
388 ai[1].ai_family = AF_INET;
394 setup_socket(&(*udp)[i], node, udp_port, &ai[
459 struct addrinfo ai = *hints; local
[all...]
/openbsd-current/regress/lib/libc/asr/bin/
H A Dcommon.c304 print_addrinfo(struct addrinfo *ai) argument
309 kv_lookup_name(kv_family, ai->ai_family, bf, sizeof bf),
310 kv_lookup_name(kv_socktype, ai->ai_socktype, bt, sizeof bt),
311 kv_lookup_name(kv_protocol, ai->ai_protocol, bp, sizeof bp),
312 print_addr(ai->ai_addr, buf, sizeof buf),
313 ai->ai_canonname);
/openbsd-current/sys/dev/usb/
H A Dugen.c973 struct usb_alt_interface *ai; local
1039 ai = (struct usb_alt_interface *)addr;
1041 ai->uai_interface_index, &iface);
1047 ai->uai_alt_no = idesc->bAlternateSetting;
1052 ai = (struct usb_alt_interface *)addr;
1054 ai->uai_interface_index, &iface);
1057 err = ugen_set_interface(sc, ai->uai_interface_index,
1058 ai->uai_alt_no);
1063 ai = (struct usb_alt_interface *)addr;
1064 cdesc = usbd_get_cdesc(sc->sc_udev, ai
[all...]
/openbsd-current/usr.sbin/ldapd/
H A Dnamespace.c457 struct attr_index *ai; local
461 TAILQ_FOREACH(ai, &ns->indices, next) {
462 if (strcasecmp(attr, ai->attr) == 0 && ai->type == type)
/openbsd-current/gnu/llvm/clang/utils/TableGen/
H A DClangAttrEmitter.cpp2518 for (auto const &ai : Args) {
2519 if (ai->isFake() && !emitFake)
2522 ai->writeCtorParameters(OS);
2541 for (auto const &ai : Args) {
2542 if (ai->isFake() && !emitFake)
2545 ai->writeImplicitCtorArgs(OS);
2580 for (auto const &ai : Args) {
2581 if (ai->isFake() && !emitFake)
2584 ai->writeCtorParameters(OS);
2621 for (auto const &ai
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/ABI/ARM/
H A DABIMacOSX_arm.cpp1236 llvm::ArrayRef<addr_t>::iterator ai = args.begin(), ae = args.end(); local
1239 if (ai == ae)
1242 reg_value.SetUInt32(*ai);
1247 ++ai;
1250 if (ai != ae) {
1252 size_t num_stack_regs = ae - ai;
1264 for (; ai != ae; ++ai) {
1265 reg_value.SetUInt32(*ai);

Completed in 269 milliseconds

123456