/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | netmasks.c | 99 char tmp[NSS_LINELEN_NETMASKS]; local 107 if (inet_nettoa(addr, tmp, NSS_LINELEN_NETMASKS) == NULL) 111 arg.key.name = tmp; 231 char tmp[NSS_LINELEN_NETMASKS]; local 244 (void) memcpy(tmp, start, i); 245 tmp[i] = '\0'; 246 addr.s_addr = inet_addr(tmp); 267 (void) memcpy(tmp, start, i); 268 tmp[i] = '\0'; 269 addr.s_addr = inet_addr(tmp); [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | pmap_clnt.c | 204 short tmp = addr->sin_port; local 224 addr->sin_port = tmp;
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppexpr.c | 115 char tmp[MAXTOKEN + 1]; local 121 pp.token = tmp; 128 c = strcmp(tmp, pp.token); 129 else if ((c = regcomp(&re, pp.token, REG_AUGMENTED|REG_LENIENT|REG_NULL)) || (c = regexec(&re, tmp, NiL, 0, 0)) && c != REG_NOMATCH)
|
/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_cidr_pton.c | 87 int n, ch, tmp, bits; local 92 tmp = 0; 96 tmp *= 10; 97 tmp += n; 98 if (tmp > 255) 103 *dst++ = (u_char) tmp; 155 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 161 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 240 memcpy(dst, tmp, NS_IN6ADDRSZ);
|
H A D | inet_net_pton.c | 65 int n, ch, tmp = 0, dirty, bits; local 83 tmp = n; 85 tmp = (tmp << 4) | n; 89 *dst++ = (u_char) tmp; 96 *dst++ = (u_char) (tmp << 4); 101 tmp = 0; 105 tmp *= 10; 106 tmp += n; 107 if (tmp > 25 266 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getnameinfo.c | 291 char tmp[64]; local 295 sprintf(tmp, "%u", sa6->sin6_scope_id); 297 strncpy(buf, tmp, bufsiz - 1); 300 return(strlen(tmp)); 325 sprintf(tmp, "%u", sa6->sin6_scope_id); 327 strncpy(buf, tmp, bufsiz - 1); 330 return(strlen(tmp));
|
H A D | getnetent.c | 254 u_long tmp; local 273 tmp = inet_network(name); 274 if (tmp == INADDR_NONE) { 298 pvt->netent.n_net = tmp;
|
H A D | getnetgrent_r.c | 93 char *tmp; local 99 DE_CONST(netgroup, tmp); 100 setnetgrent(tmp);
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __flt_decim.c | 137 char *ss, tmp[4]; local 165 __four_digits_quick(d[i], tmp); 166 for (j = 0; tmp[j] == '0' && n <= ((4 - i) << 2) + 3 - j; j++) 169 *ss++ = tmp[j++];
|
H A D | qdivrem.c | 85 union uu tmp; local 99 tmp.ul[H] = tmp.ul[L] = 1 / zero; 102 return (tmp.q); 126 tmp.uq = uq; 128 u[1] = HHALF(tmp.ul[H]); 129 u[2] = LHALF(tmp.ul[H]); 130 u[3] = HHALF(tmp.ul[L]); 131 u[4] = LHALF(tmp.ul[L]); 132 tmp [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getpwnam_r.c | 246 ulong_t tmp; local 321 tmp = strtoul(p, &next, 10); 336 if (tmp >= UINT32_MAX) 339 passwd->pw_uid = (uid_t)tmp; 356 tmp = strtoul(p, &next, 10); 366 if (tmp >= UINT32_MAX) 369 passwd->pw_gid = (gid_t)tmp;
|
H A D | getvfsent.c | 45 #define GETTOK_R(xx, ll, tmp)\ 46 if ((vp->xx = (char *)strtok_r(ll, sepstr, tmp)) == NULL)\ 172 char *tmp, *line; local 183 GETTOK_R(vfs_special, line, &tmp); 184 GETTOK_R(vfs_fsckdev, NULL, &tmp); 185 GETTOK_R(vfs_mountp, NULL, &tmp); 186 GETTOK_R(vfs_fstype, NULL, &tmp); 187 GETTOK_R(vfs_fsckpass, NULL, &tmp); 188 GETTOK_R(vfs_automnt, NULL, &tmp); 189 GETTOK_R(vfs_mntopts, NULL, &tmp); [all...] |
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_str.c | 301 char *tmp; local 305 tmp = _z_strdup(q); 313 return (tmp);
|
H A D | zones_utils.c | 524 void * tmp; local 526 if ((tmp = (void *) malloc(size)) == NULL) { 531 (void) memset(tmp, 0, size); 532 return (tmp); 549 void *tmp; local 551 if ((tmp = (void *) malloc(size)) == NULL) { 555 return (tmp); 575 void *tmp; local 577 if ((tmp = (void *)realloc(ptr, size)) == (void *)NULL) { 581 return (tmp); 599 char *tmp; local [all...] |
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_util.c | 245 uint8_t tmp, lo; local 282 tmp = BITX(*(data+j), 5, 0); 283 *buf++ = (char)(tmp + 32); 286 tmp = BITX(*(data+j), 3, 0); 287 tmp = (tmp << 2) | lo; 288 *buf++ = (char)(tmp + 32); 291 tmp = BITX(*(data+j), 1, 0); 292 tmp = (tmp << [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdn.c | 50 struct berelement tmp; local 63 tmp = *entry->lm_ber; /* struct copy */ 64 if ( ber_scanf( &tmp, "{a", &dn ) == LBER_ERROR ) {
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | jn.c | 178 double q0, q1, h, tmp; int k, m; local 183 tmp = z*q1 - q0; 185 q1 = tmp; 200 tmp = n; 202 tmp = tmp*log(fabs(v*tmp)); 203 if (tmp < 7.09782712893383973096e+02) {
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_net_secure.c | 140 struct seclist *tmp; local 157 tmp = slist; 158 while (tmp != NULL) { 159 if (af == tmp->af && 160 addrequal(af, &tmp->net, &tmp->mask, &addr)) { 163 tmp = tmp->next;
|
/illumos-gate/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 259 BIGNUM msg, tmp, tmp1; local 323 if ((brv = big_init(&tmp, CHARLEN2BIGNUMLEN(prime_bytes) + 352 if ((brv = big_modexp(&tmp, &(dsakey.g), &(dsakey.k), &(dsakey.p), 358 if ((brv = big_div_pos(NULL, &(dsakey.r), &tmp, &(dsakey.q))) != 365 if ((brv = big_ext_gcd_pos(NULL, NULL, &tmp, &(dsakey.q), 371 if (tmp.sign == -1) 372 if ((brv = big_add(&tmp, &tmp, &(dsakey.q))) != BIG_OK) { 374 goto clean4; /* tmp <- k^-1 */ 387 if ((brv = big_mul(&tmp, [all...] |
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec2_aff.c | 288 mp_int accl, accr, tmp, pxt, pyt; local 292 MP_DIGITS(&tmp) = 0; 297 MP_CHECKOK(mp_init(&tmp, FLAG(px))); 324 MP_CHECKOK( group->meth->field_mul(&pxt, &pyt, &tmp, group->meth) ); 325 MP_CHECKOK( group->meth->field_add(&accl, &tmp, &accl, group->meth) ); 327 MP_CHECKOK( group->meth->field_sqr(&pxt, &tmp, group->meth) ); 328 MP_CHECKOK( group->meth->field_mul(&pxt, &tmp, &accr, group->meth) ); 329 MP_CHECKOK( group->meth->field_mul(&group->curvea, &tmp, &tmp, group->meth) ); 330 MP_CHECKOK( group->meth->field_add(&tmp, [all...] |
H A D | ecp_aff.c | 301 mp_int accl, accr, tmp, pxt, pyt; local 305 MP_DIGITS(&tmp) = 0; 310 MP_CHECKOK(mp_init(&tmp, FLAG(px))); 338 MP_CHECKOK( group->meth->field_sqr(&pxt, &tmp, group->meth) ); 339 MP_CHECKOK( group->meth->field_mul(&pxt, &tmp, &accr, group->meth) ); 340 MP_CHECKOK( group->meth->field_mul(&group->curvea, &pxt, &tmp, group->meth) ); 341 MP_CHECKOK( group->meth->field_add(&tmp, &accr, &accr, group->meth) ); 363 mp_clear(&tmp);
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 208 char tmp = *p1; local 210 *p2 = tmp;
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | misc.c | 148 char tmp[20], *q = tmp; local 171 * Before each format q points to tmp buffer 253 for (p = tmp; p < q; ++p)
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_nswparse.c | 143 char *p, *tmp; local 147 tmp = labelskip(*cur); 148 p = tmp; 159 *tmp = '\0';
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | wait.c | 302 method_el_t *tmp = me; local 305 unregister_method(tmp); 327 method_el_t *tmp; local 412 tmp = me; 414 unregister_method(tmp);
|