HomeSort by: relevance | last modified time | path
    Searched defs:utmp (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/lib/libc/gen/
utmp.c 1 /* $NetBSD: utmp.c,v 1.10 2011/10/15 23:00:02 christos Exp $ */
34 __RCSID("$NetBSD: utmp.c,v 1.10 2011/10/15 23:00:02 christos Exp $");
43 #include <utmp.h>
46 static struct utmp utmp; variable in typeref:struct:utmp
58 struct utmp *
69 * If we have a an old version utmp file bail.
71 numentries = st.st_size / sizeof(utmp);
72 if ((off_t)(numentries * sizeof(utmp)) != st.st_size)
75 if (fread(&utmp, sizeof(utmp), 1, ut) == 1
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/asn1/
x_long.c 88 unsigned long utmp, sign; local
101 utmp = 0 - (unsigned long)ltmp - 1;
104 utmp = ltmp;
106 clen = num_bits_ulong(utmp);
120 cont[i] = (unsigned char)(utmp ^ sign);
121 utmp >>= 8;
132 unsigned long utmp = 0, sign = 0x100; local
168 utmp = 0;
170 utmp <<= 8;
171 utmp |= cont[i] ^ sign
    [all...]
x_int64.c 50 uint64_t utmp; local
56 memcpy(&utmp, cp, sizeof(utmp));
59 && utmp == 0)
62 && (int64_t)utmp < 0) {
64 utmp = 0 - utmp;
68 return ossl_i2c_uint64_int(cont, utmp, neg);
74 uint64_t utmp = 0; local
92 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)
143 uint32_t utmp; local
174 uint64_t utmp = 0; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/asn1/
x_long.c 89 unsigned long utmp, sign; local
102 utmp = 0 - (unsigned long)ltmp - 1;
105 utmp = ltmp;
107 clen = num_bits_ulong(utmp);
121 cont[i] = (unsigned char)(utmp ^ sign);
122 utmp >>= 8;
133 unsigned long utmp = 0, sign = 0x100; local
169 utmp = 0;
171 utmp <<= 8;
172 utmp |= cont[i] ^ sign
    [all...]
x_int64.c 52 uint64_t utmp; local
58 memcpy(&utmp, cp, sizeof(utmp));
61 && utmp == 0)
64 && (int64_t)utmp < 0) {
66 utmp = 0 - utmp;
70 return ossl_i2c_uint64_int(cont, utmp, neg);
76 uint64_t utmp = 0; local
94 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)
147 uint32_t utmp; local
178 uint64_t utmp = 0; local
    [all...]
  /src/external/gpl3/gcc/dist/libgcc/
unwind-dw2-execute_cfa.h 48 _uleb128_t reg, utmp; variable
56 insn_ptr = read_uleb128 (insn_ptr, &utmp);
57 offset = (_Unwind_Sword) utmp * DATA_ALIGN;
99 insn_ptr = read_uleb128 (insn_ptr, &utmp);
100 offset = (_Unwind_Sword) utmp * DATA_ALIGN;
175 insn_ptr = read_uleb128 (insn_ptr, &utmp);
176 fs->regs.cfa_reg = (_Unwind_Word)utmp;
177 insn_ptr = read_uleb128 (insn_ptr, &utmp);
178 fs->regs.cfa_offset = (_Unwind_Word)utmp;
183 insn_ptr = read_uleb128 (insn_ptr, &utmp);
    [all...]
unwind-dw2-fde.c 352 _uleb128_t utmp;
368 p = read_uleb128 (p, &utmp); /* Skip code alignment. */
373 p = read_uleb128 (p, &utmp);
376 p = read_uleb128 (p, &utmp); /* Skip augmentation length. */
351 _uleb128_t utmp; local
  /src/include/
utmp.h 1 /* $NetBSD: utmp.h,v 1.13 2016/01/22 23:59:44 dholland Exp $ */
36 * @(#)utmp.h 8.2 (Berkeley) 1/21/94
45 #define _PATH_UTMP "/var/run/utmp"
59 struct utmp { struct
70 struct utmp *getutent(void) __RENAME(__getutent50);
  /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/
x_int64.c 52 uint64_t utmp; local
58 memcpy(&utmp, cp, sizeof(utmp));
61 && utmp == 0)
64 && (int64_t)utmp < 0) {
66 utmp = 0 - utmp;
70 return i2c_uint64_int(cont, utmp, neg);
76 uint64_t utmp = 0; local
94 if (!c2i_uint64_int(&utmp, &neg, &cont, len)
147 uint32_t utmp; local
178 uint64_t utmp = 0; local
    [all...]
  /src/lib/libpam/modules/pam_lastlog/
pam_lastlog.c 78 #include <utmp.h>
240 logit(LOG_NOTICE, "%s(): no utmp record for %s",
338 struct utmp utmp; local
340 (void)memset((void *)&utmp, 0, sizeof(utmp));
341 utmp.ut_time = now->tv_sec;
342 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
344 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host))
    [all...]
  /xsrc/external/mit/xorg-server/dist/mi/
mizerclip.c 420 CARD32 utmp = 0;
468 utmp = xmin - x1_orig;
469 if (utmp <= 32767) { /* clip based on near endpt */
478 utmp = x2_orig - xmin;
490 utmp = ymin - y1_orig;
491 if (utmp <= 32767) { /* clip based on near endpt */
500 utmp = y2_orig - ymin;
512 utmp = x1_orig - xmax;
513 if (utmp <= 32767) { /* clip based on near endpt */
524 * utmp == 32768, this overflow code isn'
415 CARD32 utmp = 0; local
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/mi/
mizerclip.c 422 CARD32 utmp = 0;
476 utmp = xmin - x1_orig;
477 if (utmp <= 32767) /* clip based on near endpt */
487 utmp = x2_orig - xmin;
500 utmp = ymin - y1_orig;
501 if (utmp <= 32767) /* clip based on near endpt */
511 utmp = y2_orig - ymin;
524 utmp = x1_orig - xmax;
525 if (utmp <= 32767) /* clip based on near endpt */
537 * utmp == 32768, this overflow code isn'
417 CARD32 utmp = 0; local
    [all...]
  /src/libexec/comsat/
comsat.c 66 #include <utmp.h>
86 static struct utmpentry *utmp = NULL; variable in typeref:struct:utmpentry
182 nutmp = getutentries(NULL, &utmp);
214 for (ep = utmp; ep != NULL; ep = ep->next)
  /src/usr.bin/login/
common.c 61 #include <utmp.h>
302 struct utmp utmp; local
304 (void)memset((void *)&utmp, 0, sizeof(utmp));
305 utmp.ut_time = now.tv_sec;
306 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
308 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host))
    [all...]
  /src/external/gpl3/binutils/dist/binutils/
winduni.c 222 unichar *utmp, *up; local
231 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1));
234 memcpy (utmp, *unicode, idx * sizeof (unichar));
236 *unicode = utmp;
237 utmp[idx++] = 0;
242 utmp = NULL;
247 utmp = ((unichar *) res_alloc (elen + sizeof (unichar) * 2));
248 wind_MultiByteToWideChar (wind_current_codepage, p, utmp, elen);
255 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1));
258 memcpy (utmp, *unicode, idx * sizeof (unichar))
    [all...]
  /src/external/gpl3/binutils.old/dist/binutils/
winduni.c 222 unichar *utmp, *up; local
231 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1));
234 memcpy (utmp, *unicode, idx * sizeof (unichar));
236 *unicode = utmp;
237 utmp[idx++] = 0;
242 utmp = NULL;
247 utmp = ((unichar *) res_alloc (elen + sizeof (unichar) * 2));
248 wind_MultiByteToWideChar (wind_current_codepage, p, utmp, elen);
255 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1));
258 memcpy (utmp, *unicode, idx * sizeof (unichar))
    [all...]
  /src/external/gpl3/gcc/dist/libgcc/config/xtensa/
unwind-dw2-xtensa.c 227 _uleb128_t utmp;
241 p = read_uleb128 (p, &utmp);
247 p = read_uleb128 (p, &utmp);
248 fs->retaddr_column = (_Unwind_Word)utmp;
257 p = read_uleb128 (p, &utmp);
258 ret = p + utmp;
223 _uleb128_t utmp; local
  /src/external/gpl3/gcc.old/dist/libgcc/config/xtensa/
unwind-dw2-xtensa.c 227 _uleb128_t utmp;
241 p = read_uleb128 (p, &utmp);
247 p = read_uleb128 (p, &utmp);
248 fs->retaddr_column = (_Unwind_Word)utmp;
257 p = read_uleb128 (p, &utmp);
258 ret = p + utmp;
223 _uleb128_t utmp; local
  /xsrc/external/mit/sessreg/dist/
sessreg.c 53 * Lastlog support and dynamic utmp entry allocation
60 * simple wtmp/utmp frobber
62 * usage: sessreg [ -w <wtmp-file> ] [ -u <utmp-file> ]
83 static void set_utmp (struct utmp *u, char *line, char *user, char *host,
134 "%s: usage %s {-a -d} [-w wtmp-file] [-u utmp-file]"
199 * utmp/wtmp files, since strlcpy() does not write past the \0 terminator.
214 int utmp; local
221 struct utmp utmp_entry;
391 utmp = open (utmp_file, O_RDWR);
392 if (utmp != -1)
684 int utmp; local
    [all...]
  /xsrc/external/mit/xkbcomp/dist/
xkbcomp.c 581 unsigned long utmp; local
593 utmp = strtoul(argv[i+1], &tmp2, 10);
596 warningLevel = utmp > 10 ? 10 : utmp;
603 utmp = strtoul(&argv[i][2], &tmp2, 10);
605 warningLevel = utmp > 10 ? 10 : utmp;
  /src/usr.bin/last/
last.c 63 #include <utmp.h>
248 errx(EXIT_FAILURE, "No utmp or utmpx support compiled in.");
261 errx(EXIT_FAILURE, "No utmp or utmpx support compiled in.");
392 #define utmp utmpx macro
  /src/external/gpl3/gcc.old/dist/libgcc/
unwind-dw2-fde.c 299 _uleb128_t utmp;
315 p = read_uleb128 (p, &utmp); /* Skip code alignment. */
320 p = read_uleb128 (p, &utmp);
323 p = read_uleb128 (p, &utmp); /* Skip augmentation length. */
298 _uleb128_t utmp; local
  /src/external/gpl3/gdb/dist/readline/readline/examples/rlfe/
os.h 252 * utmp handling
265 # define utmp utmpx macro
274 # include <utmp.h>
278 * We don't have GETUTENT, so we dig into utmp ourselves.
280 * open utmp just when we need to.
281 * This code supports an unsorted utmp. jw.
293 # define UTMPFILE "/etc/utmp"
  /src/external/gpl3/gdb.old/dist/readline/readline/examples/rlfe/
os.h 252 * utmp handling
265 # define utmp utmpx macro
274 # include <utmp.h>
278 * We don't have GETUTENT, so we dig into utmp ourselves.
280 * open utmp just when we need to.
281 * This code supports an unsorted utmp. jw.
293 # define UTMPFILE "/etc/utmp"
  /src/crypto/external/bsd/openssl.old/dist/apps/
pkcs12.c 558 unsigned char *utmp; local
560 utmp = OPENSSL_asc2uni(mpass, -1, NULL, &utmplen);
561 if (utmp == NULL)
563 badpass = OPENSSL_uni2utf8(utmp, utmplen);
564 OPENSSL_free(utmp);

Completed in 35 milliseconds

1 2