| /freebsd-10-stable/crypto/openssl/crypto/lhash/ |
| D | lhash.c | 111 static void expand(_LHASH *lh); 112 static void contract(_LHASH *lh); 113 static LHASH_NODE **getrn(_LHASH *lh, const void *data, unsigned long *rhash); 158 void lh_free(_LHASH *lh) in lh_free() argument 163 if (lh == NULL) in lh_free() 166 for (i = 0; i < lh->num_nodes; i++) { in lh_free() 167 n = lh->b[i]; in lh_free() 174 OPENSSL_free(lh->b); in lh_free() 175 OPENSSL_free(lh); in lh_free() 178 void *lh_insert(_LHASH *lh, void *data) in lh_insert() argument [all …]
|
| D | lh_stats.c | 75 void lh_stats(LHASH *lh, FILE *out) in lh_stats() argument 77 fprintf(out, "num_items = %lu\n", lh->num_items); in lh_stats() 78 fprintf(out, "num_nodes = %u\n", lh->num_nodes); in lh_stats() 79 fprintf(out, "num_alloc_nodes = %u\n", lh->num_alloc_nodes); in lh_stats() 80 fprintf(out, "num_expands = %lu\n", lh->num_expands); in lh_stats() 81 fprintf(out, "num_expand_reallocs = %lu\n", lh->num_expand_reallocs); in lh_stats() 82 fprintf(out, "num_contracts = %lu\n", lh->num_contracts); in lh_stats() 83 fprintf(out, "num_contract_reallocs = %lu\n", lh->num_contract_reallocs); in lh_stats() 84 fprintf(out, "num_hash_calls = %lu\n", lh->num_hash_calls); in lh_stats() 85 fprintf(out, "num_comp_calls = %lu\n", lh->num_comp_calls); in lh_stats() [all …]
|
| D | lhash.h | 173 # define lh_error(lh) ((lh)->error) argument 176 void lh_free(_LHASH *lh); 177 void *lh_insert(_LHASH *lh, void *data); 178 void *lh_delete(_LHASH *lh, const void *data); 179 void *lh_retrieve(_LHASH *lh, const void *data); 180 void lh_doall(_LHASH *lh, LHASH_DOALL_FN_TYPE func); 181 void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg); 183 unsigned long lh_num_items(const _LHASH *lh); 186 void lh_stats(const _LHASH *lh, FILE *out); 187 void lh_node_stats(const _LHASH *lh, FILE *out); [all …]
|
| /freebsd-10-stable/crypto/openssl/crypto/stack/ |
| D | safestack.h | 2313 # define lh_ADDED_OBJ_insert(lh,inst) LHM_lh_insert(ADDED_OBJ,lh,inst) argument 2314 # define lh_ADDED_OBJ_retrieve(lh,inst) LHM_lh_retrieve(ADDED_OBJ,lh,inst) argument 2315 # define lh_ADDED_OBJ_delete(lh,inst) LHM_lh_delete(ADDED_OBJ,lh,inst) argument 2316 # define lh_ADDED_OBJ_doall(lh,fn) LHM_lh_doall(ADDED_OBJ,lh,fn) argument 2317 # define lh_ADDED_OBJ_doall_arg(lh,fn,arg_type,arg) \ argument 2318 LHM_lh_doall_arg(ADDED_OBJ,lh,fn,arg_type,arg) 2319 # define lh_ADDED_OBJ_error(lh) LHM_lh_error(ADDED_OBJ,lh) argument 2320 # define lh_ADDED_OBJ_num_items(lh) LHM_lh_num_items(ADDED_OBJ,lh) argument 2321 # define lh_ADDED_OBJ_down_load(lh) LHM_lh_down_load(ADDED_OBJ,lh) argument 2322 # define lh_ADDED_OBJ_node_stats_bio(lh,out) \ argument [all …]
|
| /freebsd-10-stable/usr.bin/sed/ |
| D | compile.c | 890 struct labhash **lhp, *lh; in enterlabel() local 897 for (lh = *lhp; lh != NULL; lh = lh->lh_next) in enterlabel() 898 if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0) in enterlabel() 900 if ((lh = malloc(sizeof *lh)) == NULL) in enterlabel() 902 lh->lh_next = *lhp; in enterlabel() 903 lh->lh_hash = h; in enterlabel() 904 lh->lh_cmd = cp; in enterlabel() 905 lh->lh_ref = 0; in enterlabel() 906 *lhp = lh; in enterlabel() 916 struct labhash *lh; in findlabel() local [all …]
|
| /freebsd-10-stable/contrib/ntp/ |
| D | bootstrap | 100 lh= 117 lh="$lh $i" 136 case "$lh" in 138 *) touch $lh 139 echo "Touching <$lh>"
|
| /freebsd-10-stable/usr.sbin/ppp/ |
| D | pap.c | 86 struct fsmheader lh; in pap_Req() local 98 lh.code = PAP_REQUEST; in pap_Req() 99 lh.id = authp->id; in pap_Req() 100 lh.length = htons(plen + sizeof(struct fsmheader)); in pap_Req() 102 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in pap_Req() 116 struct fsmheader lh; in SendPapCode() local 121 lh.code = code; in SendPapCode() 122 lh.id = authp->id; in SendPapCode() 125 lh.length = htons(plen + sizeof(struct fsmheader)); in SendPapCode() 127 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in SendPapCode()
|
| D | fsm.c | 192 struct fsmheader lh; in fsm_Output() local 211 lh.code = code; in fsm_Output() 212 lh.id = id; in fsm_Output() 213 lh.length = htons(plen); in fsm_Output() 215 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in fsm_Output() 1047 struct fsmheader lh; in fsm_Input() local 1055 bp = mbuf_Read(bp, &lh, sizeof lh); in fsm_Input() 1057 if (ntohs(lh.length) > len) { in fsm_Input() 1059 "- dropped\n", fp->link->name, len, (int)ntohs(lh.length)); in fsm_Input() 1064 if (lh.code < fp->min_code || lh.code > fp->max_code || in fsm_Input() [all …]
|
| /freebsd-10-stable/crypto/openssl/crypto/ec/ |
| D | ec2_smpl.c | 608 BIGNUM *lh, *y2; in ec_GF2m_simple_is_on_curve() local 631 lh = BN_CTX_get(ctx); in ec_GF2m_simple_is_on_curve() 632 if (lh == NULL) in ec_GF2m_simple_is_on_curve() 641 if (!BN_GF2m_add(lh, &point->X, &group->a)) in ec_GF2m_simple_is_on_curve() 643 if (!field_mul(group, lh, lh, &point->X, ctx)) in ec_GF2m_simple_is_on_curve() 645 if (!BN_GF2m_add(lh, lh, &point->Y)) in ec_GF2m_simple_is_on_curve() 647 if (!field_mul(group, lh, lh, &point->X, ctx)) in ec_GF2m_simple_is_on_curve() 649 if (!BN_GF2m_add(lh, lh, &group->b)) in ec_GF2m_simple_is_on_curve() 653 if (!BN_GF2m_add(lh, lh, y2)) in ec_GF2m_simple_is_on_curve() 655 ret = BN_is_zero(lh); in ec_GF2m_simple_is_on_curve()
|
| /freebsd-10-stable/contrib/gdb/gdb/ |
| D | dwarf2read.c | 733 static void free_line_header (struct line_header *lh); 5113 free_line_header (struct line_header *lh) in free_line_header() argument 5115 if (lh->standard_opcode_lengths) in free_line_header() 5116 xfree (lh->standard_opcode_lengths); in free_line_header() 5120 if (lh->file_names) in free_line_header() 5121 xfree (lh->file_names); in free_line_header() 5124 if (lh->include_dirs) in free_line_header() 5125 xfree (lh->include_dirs); in free_line_header() 5127 xfree (lh); in free_line_header() 5133 add_include_dir (struct line_header *lh, char *include_dir) in add_include_dir() argument [all …]
|
| /freebsd-10-stable/contrib/binutils/bfd/ |
| D | dwarf2.c | 975 struct line_head lh; in decode_line_info() local 1029 lh.total_length = read_4_bytes (abfd, line_ptr); in decode_line_info() 1032 if (lh.total_length == 0xffffffff) in decode_line_info() 1034 lh.total_length = read_8_bytes (abfd, line_ptr); in decode_line_info() 1038 else if (lh.total_length == 0 && unit->addr_size == 8) in decode_line_info() 1041 lh.total_length = read_4_bytes (abfd, line_ptr); in decode_line_info() 1045 line_end = line_ptr + lh.total_length; in decode_line_info() 1046 lh.version = read_2_bytes (abfd, line_ptr); in decode_line_info() 1049 lh.prologue_length = read_4_bytes (abfd, line_ptr); in decode_line_info() 1051 lh.prologue_length = read_8_bytes (abfd, line_ptr); in decode_line_info() [all …]
|
| /freebsd-10-stable/contrib/ntp/include/ |
| D | ntp_types.h | 185 int16_t hh; uint16_t hl; uint16_t lh; uint16_t ll; member 188 uint16_t hh; uint16_t hl; uint16_t lh; uint16_t ll; member 198 uint16_t ll; uint16_t lh; uint16_t hl; int16_t hh; 201 uint16_t ll; uint16_t lh; uint16_t hl; uint16_t hh;
|
| /freebsd-10-stable/usr.sbin/bootparamd/bootparamd/ |
| D | bootparamd.c | 57 255 & whoami->client_address.bp_address_u.ip_addr.lh, 63 255 & whoami->client_address.bp_address_u.ip_addr.lh, 92 255 & res.router_address.bp_address_u.ip_addr.lh, 100 255 & res.router_address.bp_address_u.ip_addr.lh, 162 255 & res.server_address.bp_address_u.ip_addr.lh, 169 255 & res.server_address.bp_address_u.ip_addr.lh,
|
| /freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/ |
| D | cm.c | 379 struct list_head lh; in mlx4_ib_cm_paravirt_clean() local 384 INIT_LIST_HEAD(&lh); in mlx4_ib_cm_paravirt_clean() 409 list_splice_init(&dev->sriov.cm_list, &lh); in mlx4_ib_cm_paravirt_clean() 418 list_move_tail(&ent->list, &lh); in mlx4_ib_cm_paravirt_clean() 421 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean() 429 list_move_tail(&map->list, &lh); in mlx4_ib_cm_paravirt_clean() 436 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean()
|
| /freebsd-10-stable/sys/dev/pms/freebsd/driver/common/ |
| D | lxencrypt.c | 329 struct list_head *lh; in show_target_dek_map() local 341 lh = MAP_TABLE_ENTRY(pCard, chan, device, lun); in show_target_dek_map() 342 if(lh) { in show_target_dek_map() 343 list_for_each_entry(p, lh, list) { in show_target_dek_map() 481 struct list_head *lh; in agtiapi_MapDek() local 528 lh = MAP_TABLE_ENTRY(pCard, chan, device, lun); in agtiapi_MapDek() 533 list_for_each_entry_safe(p, n, lh, list) { in agtiapi_MapDek() 568 list_for_each_entry(n, lh, list) { in agtiapi_MapDek() 582 list_add(&p->list, lh); in agtiapi_MapDek() 697 struct list_head *lh; in agtiapi_CleanupEncryption() local [all …]
|
| /freebsd-10-stable/release/picobsd/tinyware/msh/ |
| D | sh5.c | 494 register struct here *h, *lh; local 508 for (lh = inhere; lh!=NULL; lh = lh->h_next) 509 if (lh->h_next == 0) { 510 lh->h_next = h;
|
| /freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_aggregate.c | 743 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 …]
|
| /freebsd-10-stable/crypto/openssl/crypto/txt_db/ |
| D | txt_db.c | 205 LHASH_OF(OPENSSL_STRING) *lh; in TXT_DB_get_by_index() 211 lh = db->index[idx]; in TXT_DB_get_by_index() 212 if (lh == NULL) { in TXT_DB_get_by_index() 216 ret = lh_OPENSSL_STRING_retrieve(lh, value); in TXT_DB_get_by_index()
|
| /freebsd-10-stable/crypto/openssl/crypto/engine/ |
| D | eng_table.c | 116 LHASH_OF(ENGINE_PILE) *lh; in IMPLEMENT_LHASH_HASH_FN() 122 if ((lh = lh_ENGINE_PILE_new()) == NULL) in IMPLEMENT_LHASH_HASH_FN() 124 *t = (ENGINE_TABLE *)lh; in IMPLEMENT_LHASH_HASH_FN()
|
| /freebsd-10-stable/contrib/tcsh/ |
| D | ed.refresh.c | 166 int w, i, lv, lh; in Draw() local 242 lh = vcursor_h; in Draw() 244 lh--; in Draw() 245 if (lh < 0) { in Draw() 249 lh = Strlen(Vdisplay[lv]) - 1; in Draw() 251 if (Vdisplay[lv][lh] != CHAR_DBWIDTH) in Draw() 261 Vdisplay[lv][lh] = MakeLiteral(cp, 1, Vdisplay[lv][lh]); in Draw()
|
| /freebsd-10-stable/contrib/groff/font/devps/generate/ |
| D | dingbats.rmap | 4 a12 lh
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | zap_leaf.c | 461 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()
|
| /freebsd-10-stable/contrib/ntp/libntp/ |
| D | vint64ops.c | 107 + (uint32_t)res.W_s.lh * base; in strtouv64() 108 res.W_s.lh = (uint16_t)accu; in strtouv64()
|
| /freebsd-10-stable/include/rpcsvc/ |
| D | bootparam_prot.x | 69 char lh; member
|
| /freebsd-10-stable/sys/dev/hwpmc/ |
| D | hwpmc_logging.c | 423 uint32_t *lh; in pmclog_reserve() local 495 lh = (uint32_t *) oldptr; in pmclog_reserve() 496 lh++; /* skip header */ in pmclog_reserve() 498 *lh++ = ts.tv_sec & 0xFFFFFFFF; in pmclog_reserve() 499 *lh++ = ts.tv_nsec & 0xFFFFFFF; in pmclog_reserve()
|