Home
last modified time | relevance | path

Searched refs:lh (Results 1 – 25 of 101) sorted by relevance

12345

/netbsd/src/crypto/external/bsd/openssl/dist/crypto/lhash/
Dlhash.c43 static int expand(OPENSSL_LHASH *lh);
44 static void contract(OPENSSL_LHASH *lh);
45 static OPENSSL_LH_NODE **getrn(OPENSSL_LHASH *lh, const void *data, unsigned long *rhash);
76 void OPENSSL_LH_free(OPENSSL_LHASH *lh) in OPENSSL_LH_free() argument
78 if (lh == NULL) in OPENSSL_LH_free()
81 OPENSSL_LH_flush(lh); in OPENSSL_LH_free()
82 OPENSSL_free(lh->b); in OPENSSL_LH_free()
83 OPENSSL_free(lh); in OPENSSL_LH_free()
86 void OPENSSL_LH_flush(OPENSSL_LHASH *lh) in OPENSSL_LH_flush() argument
91 if (lh == NULL) in OPENSSL_LH_flush()
[all …]
Dlh_stats.c24 void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_stats() argument
32 OPENSSL_LH_stats_bio(lh, bp); in OPENSSL_LH_stats()
36 void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_stats() argument
44 OPENSSL_LH_node_stats_bio(lh, bp); in OPENSSL_LH_node_stats()
48 void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_usage_stats() argument
56 OPENSSL_LH_node_usage_stats_bio(lh, bp); in OPENSSL_LH_node_usage_stats()
62 void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out) in OPENSSL_LH_stats_bio() argument
64 BIO_printf(out, "num_items = %lu\n", lh->num_items); in OPENSSL_LH_stats_bio()
65 BIO_printf(out, "num_nodes = %u\n", lh->num_nodes); in OPENSSL_LH_stats_bio()
66 BIO_printf(out, "num_alloc_nodes = %u\n", lh->num_alloc_nodes); in OPENSSL_LH_stats_bio()
[all …]
/netbsd/src/external/gpl2/lvm2/dist/lib/label/
Dlabel.c115 struct label_header *lh; in _find_labeller() local
130 lh = (struct label_header *) (readbuf + in _find_labeller()
133 if (!strncmp((char *)lh->id, LABEL_ID, sizeof(lh->id))) { in _find_labeller()
139 if (xlate64(lh->sector_xl) != sector + scan_sector) { in _find_labeller()
143 (uint64_t)xlate64(lh->sector_xl), in _find_labeller()
147 if (calc_crc(INITIAL_CRC, &lh->offset_xl, LABEL_SIZE - in _find_labeller()
148 ((uintptr_t) &lh->offset_xl - (uintptr_t) lh)) != in _find_labeller()
149 xlate32(lh->crc_xl)) { in _find_labeller()
159 if (li->l->ops->can_handle(li->l, (char *) lh, in _find_labeller()
171 memcpy(buf, lh, LABEL_SIZE); in _find_labeller()
[all …]
/netbsd/src/usr.bin/sed/
Dcompile.c1030 struct labhash **lhp, *lh; in enterlabel() local
1037 for (lh = *lhp; lh != NULL; lh = lh->lh_next) in enterlabel()
1038 if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0) in enterlabel()
1040 lh = xmalloc(sizeof *lh); in enterlabel()
1041 lh->lh_next = *lhp; in enterlabel()
1042 lh->lh_hash = h; in enterlabel()
1043 lh->lh_cmd = cp; in enterlabel()
1044 lh->lh_ref = 0; in enterlabel()
1045 *lhp = lh; in enterlabel()
1055 struct labhash *lh; in findlabel() local
[all …]
/netbsd/src/external/bsd/ntp/dist/
Dbootstrap100 lh=
117 lh="$lh $i"
136 case "$lh" in
138 *) touch $lh
139 echo "Touching <$lh>"
/netbsd/src/external/gpl2/lvm2/dist/lib/format_text/
Dtext_label.c32 struct label_header *lh = (struct label_header *) buf; in _text_can_handle() local
34 if (!strncmp((char *)lh->type, LVM2_LABEL, sizeof(lh->type))) in _text_can_handle()
42 struct label_header *lh = (struct label_header *) buf; in _text_write() local
55 strncpy((char *)lh->type, label->type, sizeof(label->type)); in _text_write()
57 pvhdr = (struct pv_header *) ((void *) buf + xlate32(lh->offset_xl)); in _text_write()
255 struct label_header *lh = (struct label_header *) buf; in _text_read() local
267 pvhdr = (struct pv_header *) ((void *) buf + xlate32(lh->offset_xl)); in _text_read()
/netbsd/src/sys/arch/powerpc/stand/mkbootimage/
Dmkbootimage.c603 struct LoaderHeader lh; in bebox_write_header() local
608 dataOffset = ULALIGN(ldrOffset + sizeof (lh)); in bebox_write_header()
651 ldrHdr.execSize = sa_htobe32(sizeof (lh)); in bebox_write_header()
652 ldrHdr.initSize = sa_htobe32(sizeof (lh)); in bebox_write_header()
653 ldrHdr.rawSize = sa_htobe32(sizeof (lh)); in bebox_write_header()
661 memset(&lh, 0, sizeof (lh)); in bebox_write_header()
662 lh.entryPointSection = sa_htobe32(1); /* Data */ in bebox_write_header()
663 lh.entryPointOffset = sa_htobe32(0); in bebox_write_header()
664 lh.initPointSection = sa_htobe32(-1); in bebox_write_header()
665 lh.initPointOffset = sa_htobe32(0); in bebox_write_header()
[all …]
/netbsd/src/external/gpl3/binutils/dist/bfd/
Ddwarf2.c2689 struct line_head lh; in decode_line_info() local
2716 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info()
2718 if (lh.total_length == 0xffffffff) in decode_line_info()
2720 lh.total_length = read_8_bytes (abfd, &line_ptr, line_end); in decode_line_info()
2723 else if (lh.total_length == 0 && unit->addr_size == 8) in decode_line_info()
2726 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info()
2730 if (lh.total_length > (size_t) (line_end - line_ptr)) in decode_line_info()
2736 (uint64_t) lh.total_length, (unsigned long) (line_end - line_ptr)); in decode_line_info()
2741 line_end = line_ptr + lh.total_length; in decode_line_info()
2743 lh.version = read_2_bytes (abfd, &line_ptr, line_end); in decode_line_info()
[all …]
/netbsd/src/external/gpl3/gdb/dist/bfd/
Ddwarf2.c2711 struct line_head lh; in decode_line_info() local
2738 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info()
2740 if (lh.total_length == 0xffffffff) in decode_line_info()
2742 lh.total_length = read_8_bytes (abfd, &line_ptr, line_end); in decode_line_info()
2745 else if (lh.total_length == 0 && unit->addr_size == 8) in decode_line_info()
2748 lh.total_length = read_4_bytes (abfd, &line_ptr, line_end); in decode_line_info()
2752 if (lh.total_length > (size_t) (line_end - line_ptr)) in decode_line_info()
2758 (uint64_t) lh.total_length, (unsigned long) (line_end - line_ptr)); in decode_line_info()
2763 line_end = line_ptr + lh.total_length; in decode_line_info()
2765 lh.version = read_2_bytes (abfd, &line_ptr, line_end); in decode_line_info()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/ec/
Dec2_smpl.c512 BIGNUM *lh, *y2; in ossl_ec_GF2m_simple_is_on_curve() local
540 lh = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_is_on_curve()
541 if (lh == NULL) in ossl_ec_GF2m_simple_is_on_curve()
550 if (!BN_GF2m_add(lh, point->X, group->a)) in ossl_ec_GF2m_simple_is_on_curve()
552 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve()
554 if (!BN_GF2m_add(lh, lh, point->Y)) in ossl_ec_GF2m_simple_is_on_curve()
556 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve()
558 if (!BN_GF2m_add(lh, lh, group->b)) in ossl_ec_GF2m_simple_is_on_curve()
562 if (!BN_GF2m_add(lh, lh, y2)) in ossl_ec_GF2m_simple_is_on_curve()
564 ret = BN_is_zero(lh); in ossl_ec_GF2m_simple_is_on_curve()
/netbsd/src/external/bsd/ntp/dist/include/
Dntp_types.h187 int16_t hh; uint16_t hl; uint16_t lh; uint16_t ll; member
190 uint16_t hh; uint16_t hl; uint16_t lh; uint16_t ll; member
200 uint16_t ll; uint16_t lh; uint16_t hl; int16_t hh;
203 uint16_t ll; uint16_t lh; uint16_t hl; uint16_t hh;
/netbsd/src/usr.sbin/rpc.bootparamd/
Dbootparamd.c165 255 & whoami->client_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc()
171 255 & whoami->client_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc()
204 255 & res.router_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc()
211 255 & res.router_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc()
294 255 & res.server_address.bp_address_u.ip_addr.lh, in bootparamproc_getfile_1_svc()
302 255 & res.server_address.bp_address_u.ip_addr.lh, in bootparamproc_getfile_1_svc()
Dtest.c90 bp.client_address.bp_address_u.ip_addr.lh = (addr >> 8) & 0xff; in main()
98 out->router_address.bp_address_u.ip_addr.lh & 0xff, in main()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Drange-op.cc198 const irange &lh, in fold_range() argument
203 if (empty_range_varying (r, type, lh, rh)) in fold_range()
206 unsigned num_lh = lh.num_pairs (); in fold_range()
214 wi_fold_in_parts (r, type, lh.lower_bound (), lh.upper_bound (), in fold_range()
216 op1_op2_relation_effect (r, type, lh, rh, rel); in fold_range()
225 wide_int lh_lb = lh.lower_bound (x); in fold_range()
226 wide_int lh_ub = lh.upper_bound (x); in fold_range()
233 op1_op2_relation_effect (r, type, lh, rh, rel); in fold_range()
237 op1_op2_relation_effect (r, type, lh, rh, rel); in fold_range()
2484 const irange &lh,
[all …]
Drange-op.h54 const irange &lh,
/netbsd/src/external/mit/lua/dist/src/
Dlparser.c1345 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) { in check_conflict() argument
1349 for (; lh; lh = lh->prev) { /* check all previous assignments */ in check_conflict()
1350 if (vkisindexed(lh->v.k)) { /* assignment to table field? */ in check_conflict()
1351 if (lh->v.k == VINDEXUP) { /* is table an upvalue? */ in check_conflict()
1352 if (v->k == VUPVAL && lh->v.u.ind.t == v->u.info) { in check_conflict()
1354 lh->v.k = VINDEXSTR; in check_conflict()
1355 lh->v.u.ind.t = extra; /* assignment will use safe copy */ in check_conflict()
1359 if (v->k == VLOCAL && lh->v.u.ind.t == v->u.var.ridx) { in check_conflict()
1361 lh->v.u.ind.t = extra; /* assignment will use safe copy */ in check_conflict()
1364 if (lh->v.k == VINDEXED && v->k == VLOCAL && in check_conflict()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/txt_db/
Dtxt_db.c132 LHASH_OF(OPENSSL_STRING) *lh; in TXT_DB_get_by_index()
138 lh = db->index[idx]; in TXT_DB_get_by_index()
139 if (lh == NULL) { in TXT_DB_get_by_index()
143 ret = lh_OPENSSL_STRING_retrieve(lh, value); in TXT_DB_get_by_index()
/netbsd/src/external/cddl/osnet/dist/lib/libdtrace/common/
Ddt_aggregate.c743 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local
745 dtrace_aggdesc_t *lagg = lh->dtahe_data.dtada_desc;
760 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local
764 lid = dt_aggregate_aggvarid(lh);
779 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local
781 dtrace_aggdesc_t *lagg = lh->dtahe_data.dtada_desc;
805 ldata = lh->dtahe_data.dtada_data + lrec->dtrd_offset;
890 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local
892 dtrace_aggdesc_t *lagg = lh->dtahe_data.dtada_desc;
894 caddr_t ldata = lh->dtahe_data.dtada_data;
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/engine/
Deng_table.c67 LHASH_OF(ENGINE_PILE) *lh; in int_table_check()
73 if ((lh = lh_ENGINE_PILE_new(engine_pile_hash, engine_pile_cmp)) == NULL) in int_table_check()
75 *t = (ENGINE_TABLE *)lh; in int_table_check()
/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/
Dzap_leaf.c461 uint16_t lh; in zap_leaf_lookup_closest() local
466 for (lh = LEAF_HASH(l, h); lh <= bestlh; lh++) { in zap_leaf_lookup_closest()
467 for (chunk = zap_leaf_phys(l)->l_hash[lh]; in zap_leaf_lookup_closest()
476 ASSERT3U(bestlh, >=, lh); in zap_leaf_lookup_closest()
477 bestlh = lh; in zap_leaf_lookup_closest()
/netbsd/src/external/gpl2/lvm2/dist/daemons/cmirrord/
Dfunctions.c248 struct log_header lh; in read_log() local
251 memset(&lh, 0, sizeof(struct log_header)); in read_log()
256 header_from_disk(&lh, lc->disk_buffer); in read_log()
257 if (lh.magic != MIRROR_MAGIC) in read_log()
260 lc->disk_nr_regions = lh.nr_regions; in read_log()
278 struct log_header lh; in write_log() local
281 lh.magic = MIRROR_MAGIC; in write_log()
282 lh.version = MIRROR_DISK_VERSION; in write_log()
283 lh.nr_regions = lc->region_count; in write_log()
285 header_to_disk(&lh, lc->disk_buffer); in write_log()
/netbsd/src/external/bsd/ntp/dist/libntp/
Dvint64ops.c91 + (uint32_t)res.W_s.lh * base; in strtouv64()
92 res.W_s.lh = (uint16_t)accu; in strtouv64()
/netbsd/src/lib/librpcsvc/
Dbootparam_prot.x67 char lh; member
/netbsd/src/external/mit/expat/dist/doc/
Dok.min.css2lh-body:1.5;--ok-lh-heading:1.25;--ok-t-hl:#ffcf30;--ok-accent-0:#3e67fa;--ok-accent-1:#4788ff;--o…
/netbsd/src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/
Dsparcv9a-mont.S40 add %l1,%i5,%l1 ! [an]p_[lh] point at the vectors' ends !

12345