Home
last modified time | relevance | path

Searched refs:utmp (Results 1 – 25 of 28) sorted by relevance

12

/third_party/node/deps/openssl/openssl/crypto/asn1/
Dx_int64.c52 uint64_t utmp; in uint64_i2c() local
58 memcpy(&utmp, cp, sizeof(utmp)); in uint64_i2c()
61 && utmp == 0) in uint64_i2c()
64 && (int64_t)utmp < 0) { in uint64_i2c()
66 utmp = 0 - utmp; in uint64_i2c()
70 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
76 uint64_t utmp = 0; in uint64_c2i() local
94 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint64_c2i()
101 && !neg && utmp > INT64_MAX) { in uint64_c2i()
107 utmp = 0 - utmp; in uint64_c2i()
[all …]
Dx_long.c89 unsigned long utmp, sign; in long_i2c() local
102 utmp = 0 - (unsigned long)ltmp - 1; in long_i2c()
105 utmp = ltmp; in long_i2c()
107 clen = num_bits_ulong(utmp); in long_i2c()
121 cont[i] = (unsigned char)(utmp ^ sign); in long_i2c()
122 utmp >>= 8; in long_i2c()
133 unsigned long utmp = 0, sign = 0x100; in long_c2i() local
169 utmp = 0; in long_c2i()
171 utmp <<= 8; in long_c2i()
172 utmp |= cont[i] ^ sign; in long_c2i()
[all …]
/third_party/openssl/crypto/asn1/
Dx_int64.c52 uint64_t utmp; in uint64_i2c() local
58 memcpy(&utmp, cp, sizeof(utmp)); in uint64_i2c()
61 && utmp == 0) in uint64_i2c()
64 && (int64_t)utmp < 0) { in uint64_i2c()
66 utmp = 0 - utmp; in uint64_i2c()
70 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
76 uint64_t utmp = 0; in uint64_c2i() local
94 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint64_c2i()
101 && !neg && utmp > INT64_MAX) { in uint64_c2i()
107 utmp = 0 - utmp; in uint64_c2i()
[all …]
Dx_long.c89 unsigned long utmp, sign; in long_i2c() local
102 utmp = 0 - (unsigned long)ltmp - 1; in long_i2c()
105 utmp = ltmp; in long_i2c()
107 clen = num_bits_ulong(utmp); in long_i2c()
121 cont[i] = (unsigned char)(utmp ^ sign); in long_i2c()
122 utmp >>= 8; in long_i2c()
133 unsigned long utmp = 0, sign = 0x100; in long_c2i() local
169 utmp = 0; in long_c2i()
171 utmp <<= 8; in long_c2i()
172 utmp |= cont[i] ^ sign; in long_c2i()
[all …]
/third_party/musl/porting/uniproton/kernel/include/
Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
/third_party/musl/porting/liteos_m/kernel/include/
Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
/third_party/musl/include/
Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
/third_party/musl/docs/
Dstatus.md193 这些接口通常用于登录日志管理和用户会话跟踪等系统级任务。它们提供了对 utmp 文件的访问和操作。在musl中这些函数功能并未实现,在OpenHarmony中也并未向开发者提供
194 - setutent: 将文件指针重置到 utmp 文件的开头,以便重新开始读取 utmp 文件的记录
195 - pututline: 将一个 struct utmp 结构体的内容写入 utmp 文件,用于记录用户登录和注销等系统事件
196 - getutent: 从 utmp 文件中读取下一个记录,并返回一个指向 struct utmp 结构体的指针,以便获取记录中的信息
197 - utmpname: 设置要在其中查找 utmp 文件的路径名。通过调用 utmpname 函数,可以更改默认的 utmp 文件路径
/third_party/musl/ndk_musl_include/
Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *pututline(const struct utmp *);
/third_party/libsnd/src/GSM610/
Dgsm610_priv.h133 { uint32_t utmp ; in GSM_L_ADD() local
136 { utmp = (uint32_t) - ((a) + 1) + (uint32_t) - ((b) + 1) ; in GSM_L_ADD()
137 return (utmp >= (uint32_t) MAX_LONGWORD) ? MIN_LONGWORD : - (int32_t) utmp - 2 ; in GSM_L_ADD()
141 { utmp = (uint32_t) a + (uint32_t) b ; in GSM_L_ADD()
142 return (utmp >= (uint32_t) MAX_LONGWORD) ? MAX_LONGWORD : utmp ; in GSM_L_ADD()
/third_party/toybox/toys/pending/
Dlast.c59 struct utmp *ut = (struct utmp *)l->arg; in find_and_dlink()
89 struct utmp ut; in last_main()
145 struct utmp *u = (struct utmp *)l->arg; in last_main()
Dgetty.c265 struct utmp entry; in utmp_entry()
266 struct utmp *utp_ptr; in utmp_entry()
/third_party/musl/libc-test/src/functionalext/supplement/legacy/legacy_gtest/
Dlegacy_endutent_test.cpp21 struct utmp* user;
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dgstdiscoverer.c913 guint utmp; in collect_information() local
976 if (gst_tag_list_get_uint (tags_st, GST_TAG_BITRATE, &utmp) || in collect_information()
977 gst_tag_list_get_uint (tags_st, GST_TAG_NOMINAL_BITRATE, &utmp)) in collect_information()
978 info->bitrate = utmp; in collect_information()
980 if (gst_tag_list_get_uint (tags_st, GST_TAG_MAXIMUM_BITRATE, &utmp)) in collect_information()
981 info->max_bitrate = utmp; in collect_information()
1050 if (gst_tag_list_get_uint (tags_st, GST_TAG_BITRATE, &utmp) || in collect_information()
1051 gst_tag_list_get_uint (tags_st, GST_TAG_NOMINAL_BITRATE, &utmp)) in collect_information()
1052 info->bitrate = utmp; in collect_information()
1054 if (gst_tag_list_get_uint (tags_st, GST_TAG_MAXIMUM_BITRATE, &utmp)) in collect_information()
[all …]
/third_party/openssl/apps/
Dpkcs12.c788 unsigned char *utmp; in pkcs12_main() local
798 utmp = OPENSSL_asc2uni(mpass, -1, NULL, &utmplen); in pkcs12_main()
799 if (utmp == NULL) in pkcs12_main()
801 badpass = OPENSSL_uni2utf8(utmp, utmplen); in pkcs12_main()
802 OPENSSL_free(utmp); in pkcs12_main()
/third_party/node/deps/openssl/openssl/apps/
Dpkcs12.c788 unsigned char *utmp; in pkcs12_main() local
798 utmp = OPENSSL_asc2uni(mpass, -1, NULL, &utmplen); in pkcs12_main()
799 if (utmp == NULL) in pkcs12_main()
801 badpass = OPENSSL_uni2utf8(utmp, utmplen); in pkcs12_main()
802 OPENSSL_free(utmp); in pkcs12_main()
/third_party/rust/crates/libc/src/unix/solarish/
Dmod.rs411 pub struct utmp {
3065 pub fn getutent() -> *mut utmp; in getutent()
3066 pub fn getutid(u: *const utmp) -> *mut utmp; in getutid() argument
3067 pub fn getutline(u: *const utmp) -> *mut utmp; in getutline() argument
3068 pub fn pututline(u: *const utmp) -> *mut utmp; in pututline() argument
3072 pub fn getutmp(ux: *const utmpx, u: *mut utmp); in getutmp() argument
3073 pub fn getutmpx(u: *const utmp, ux: *mut utmpx); in getutmpx() argument
3074 pub fn updwtmp(file: *const ::c_char, u: *mut utmp); in updwtmp() argument
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs591 pub struct utmp {
746 impl PartialEq for utmp {
747 fn eq(&self, other: &utmp) -> bool {
767 impl Eq for utmp {}
769 impl ::fmt::Debug for utmp {
780 impl ::hash::Hash for utmp {
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs532 pub struct utmp {
762 impl PartialEq for utmp {
763 fn eq(&self, other: &utmp) -> bool {
790 impl Eq for utmp {}
792 impl ::fmt::Debug for utmp {
810 impl ::hash::Hash for utmp {
3153 pub fn getutent() -> *mut utmp; in getutent()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs393 pub struct utmp {
2902 pub fn getutmp(ux: *const utmpx, u: *mut utmp); in getutmp() argument
2903 pub fn getutmpx(u: *const utmp, ux: *mut utmpx); in getutmpx() argument
2908 pub fn getutent() -> *mut utmp; in getutent()
2984 pub fn login(ut: *const utmp); in login() argument
/third_party/rust/crates/libc/libc-test/semver/
Dopenbsd.txt1230 utmp
Dnetbsd.txt1527 utmp
/third_party/node/deps/uv/src/unix/
Daix.c1018 struct utmp *utmp_buf; in uv_uptime()
/third_party/libuv/src/unix/
Daix.c1018 struct utmp *utmp_buf; in uv_uptime()

12