Home
last modified time | relevance | path

Searched refs:id_len (Results 1 – 25 of 1711) sorted by relevance

12345678910>>...69

/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/couple/
H A Dhecmw_couple_info_if.c61 int id_len) { in hecmw_couple_is_memb_if() argument
71 int id_len) { in hecmw_couple_is_memb_if_() argument
76 int id_len) { in hecmw_couple_is_memb_if__() argument
81 int id_len) { in HECMW_COUPLE_IS_MEMB_IF() argument
100 int id_len) { in hecmw_couple_is_unit_memb_if_() argument
146 int id_len) { in hecmw_couple_is_root_if() argument
156 int id_len) { in hecmw_couple_is_root_if_() argument
161 int id_len) { in hecmw_couple_is_root_if__() argument
166 int id_len) { in HECMW_COUPLE_IS_ROOT_IF() argument
231 int id_len) { in hecmw_intercomm_get_size_if() argument
[all …]
/dports/security/distcache/distcache-1.5.1/libdistcache/
H A Ddc_client.c250 unsigned int id_len, in DC_CTX_add_session() argument
279 ptr += id_len; in DC_CTX_add_session()
296 unsigned int id_len) in DC_CTX_remove_session() argument
299 assert(id_data && id_len && (id_len <= DC_MAX_TOTAL_DATA)); in DC_CTX_remove_session()
300 ctx->send_data_len = id_len; in DC_CTX_remove_session()
337 unsigned int id_len, in DC_CTX_get_session() argument
343 assert(id_data && id_len && (id_len <= DC_MAX_TOTAL_DATA)); in DC_CTX_get_session()
344 ctx->send_data_len = id_len; in DC_CTX_get_session()
366 unsigned int id_len, in DC_CTX_reget_session() argument
386 unsigned int id_len) in DC_CTX_has_session() argument
[all …]
/dports/devel/silc-toolkit/silc-toolkit-1.1.12/lib/silccore/
H A Dsilcchannel.c38 SilcUInt16 id_len; member
62 &newp->id_len), in silc_channel_payload_parse()
69 (newp->id_len < 1 || newp->id_len > silc_buffer_len(&buffer) - 8) || in silc_channel_payload_parse()
106 &newp->id_len), in silc_channel_payload_parse_list()
113 (newp->id_len < 1 || newp->id_len > silc_buffer_len(&buffer) - 8) || in silc_channel_payload_parse_list()
206 *channel_id_len = payload->id_len; in silc_channel_get_id()
243 SilcUInt16 id_len; member
320 SILC_STR_UI_SHORT(id_len), in silc_channel_key_payload_encode()
349 SilcUInt32 *id_len) in silc_channel_key_get_id() argument
351 if (id_len) in silc_channel_key_get_id()
[all …]
H A Dsilcid.c160 SilcUInt32 id_len, SilcIdType type) in silc_id_payload_encode_data() argument
164 buffer = silc_buffer_alloc_size(4 + id_len); in silc_id_payload_encode_data()
169 SILC_STR_UI_SHORT(id_len), in silc_id_payload_encode_data()
170 SILC_STR_DATA(id, id_len), in silc_id_payload_encode_data()
231 if (id_len > ret_id_size) in silc_id_id2str()
235 *ret_id_len = id_len; in silc_id_id2str()
237 if (id_len > SILC_PACKET_MAX_ID_LEN) in silc_id_id2str()
273 if (id_len > SILC_PACKET_MAX_ID_LEN) in silc_id_str2id()
282 id_len != ID_SERVER_LEN_PART + 16) in silc_id_str2id()
302 id_len != ID_CLIENT_LEN_PART + 16) in silc_id_str2id()
[all …]
/dports/net/haproxy/haproxy-2.4.10/addons/ot/src/
H A Dscope.c215 if ((span->id_len == id_len) && (memcmp(span->id, id, id_len) == 0)) { in flt_ot_scope_span_init()
233 if ((ctx->id_len == ref_id_len) && (memcmp(ctx->id, ref_id, ref_id_len) == 0)) { in flt_ot_scope_span_init()
254 retptr->id_len = id_len; in flt_ot_scope_span_init()
334 if ((retptr->id_len == id_len) && (memcmp(retptr->id, id, id_len) == 0)) { in flt_ot_scope_context_init()
352 retptr->id_len = id_len; in flt_ot_scope_context_init()
454 FLT_OT_FUNC("%p, \"%s\", %zu", rt_ctx, id, id_len); in flt_ot_scope_finish_mark()
456 if (FLT_OT_STR_CMP(FLT_OT_SCOPE_SPAN_FINISH_ALL, id, id_len)) { in flt_ot_scope_finish_mark()
469 else if (FLT_OT_STR_CMP(FLT_OT_SCOPE_SPAN_FINISH_REQ, id, id_len)) { in flt_ot_scope_finish_mark()
484 else if (FLT_OT_STR_CMP(FLT_OT_SCOPE_SPAN_FINISH_RES, id, id_len)) { in flt_ot_scope_finish_mark()
501 if ((span->id_len == id_len) && (memcmp(span->id, id, id_len) == 0)) { in flt_ot_scope_finish_mark()
[all …]
/dports/www/domoticz/domoticz-2020.2/extern/mosquitto/src/
H A Dpersist_write_v5.c59 uint16_t id_len = chunk->F.id_len; in persist__chunk_client_write_v5() local
63 chunk->F.id_len = htons(chunk->F.id_len); in persist__chunk_client_write_v5()
66 header.length = htonl(sizeof(struct PF_client)+id_len); in persist__chunk_client_write_v5()
71 write_e(db_fptr, chunk->client_id, id_len); in persist__chunk_client_write_v5()
84 uint16_t id_len = chunk->F.id_len; in persist__chunk_client_msg_write_v5() local
95 chunk->F.id_len = htons(chunk->F.id_len); in persist__chunk_client_msg_write_v5()
102 write_e(db_fptr, chunk->client_id, id_len); in persist__chunk_client_msg_write_v5()
211 uint16_t id_len = chunk->F.id_len; in persist__chunk_sub_write_v5() local
215 chunk->F.id_len = htons(chunk->F.id_len); in persist__chunk_sub_write_v5()
220 id_len + topic_len); in persist__chunk_sub_write_v5()
[all …]
/dports/databases/tarantool-c/tarantool-c-0ab37e8/test/common/
H A Dtnt_assoc.h7 uint32_t id_len; member
21 if ((*lval)->key.id_len != (*rval)->key.id_len) return 0; in mh_cmp_eq()
22 return !memcmp((*lval)->key.id, (*rval)->key.id, (*rval)->key.id_len); in mh_cmp_eq()
31 if (key->id_len != (*val)->key.id_len) return 0; in mh_cmp_key_eq()
32 return !memcmp(key->id, (*val)->key.id, key->id_len); in mh_cmp_key_eq()
51 #define mh_hash(x, arg) PMurHash32(MUR_SEED, (*x)->key.id, (*x)->key.id_len)
52 #define mh_hash_key(x, arg) PMurHash32(MUR_SEED, (x)->id, (x)->id_len);
/dports/databases/tarantool-c/tarantool-c-0ab37e8/tnt/
H A Dtnt_assoc.h7 uint32_t id_len; member
21 if ((*lval)->key.id_len != (*rval)->key.id_len) return 0; in mh_cmp_eq()
22 return !memcmp((*lval)->key.id, (*rval)->key.id, (*rval)->key.id_len); in mh_cmp_eq()
31 if (key->id_len != (*val)->key.id_len) return 0; in mh_cmp_key_eq()
32 return !memcmp(key->id, (*val)->key.id, key->id_len); in mh_cmp_key_eq()
49 #define mh_hash(x, arg) PMurHash32(MUR_SEED, (*x)->key.id, (*x)->key.id_len)
50 #define mh_hash_key(x, arg) PMurHash32(MUR_SEED, (x)->id, (x)->id_len);
/dports/benchmarks/nosqlbench/nosqlbench-0.0.20151214/third_party/tarantool-c/tnt/
H A Dtnt_assoc.h7 uint32_t id_len; member
21 if ((*lval)->key.id_len != (*rval)->key.id_len) return 0; in mh_cmp_eq()
22 return !memcmp((*lval)->key.id, (*rval)->key.id, (*rval)->key.id_len); in mh_cmp_eq()
31 if (key->id_len != (*val)->key.id_len) return 0; in mh_cmp_key_eq()
32 return !memcmp(key->id, (*val)->key.id, key->id_len); in mh_cmp_key_eq()
49 #define mh_hash(x, arg) PMurHash32(MUR_SEED, (*x)->key.id, (*x)->key.id_len)
50 #define mh_hash_key(x, arg) PMurHash32(MUR_SEED, (x)->id, (x)->id_len);
/dports/benchmarks/nosqlbench/nosqlbench-0.0.20151214/third_party/tarantool-c/test/
H A Dtnt_assoc.h7 uint32_t id_len; member
21 if ((*lval)->key.id_len != (*rval)->key.id_len) return 0; in mh_cmp_eq()
22 return !memcmp((*lval)->key.id, (*rval)->key.id, (*rval)->key.id_len); in mh_cmp_eq()
31 if (key->id_len != (*val)->key.id_len) return 0; in mh_cmp_key_eq()
32 return !memcmp(key->id, (*val)->key.id, key->id_len); in mh_cmp_key_eq()
51 #define mh_hash(x, arg) PMurHash32(MUR_SEED, (*x)->key.id, (*x)->key.id_len)
52 #define mh_hash_key(x, arg) PMurHash32(MUR_SEED, (x)->id, (x)->id_len);
/dports/net/mosquitto/mosquitto-2.0.13/src/
H A Dpersist_write_v5.c61 uint16_t id_len = chunk->F.id_len; in persist__chunk_client_write_v6() local
66 chunk->F.id_len = htons(chunk->F.id_len); in persist__chunk_client_write_v6()
71 header.length = htonl((uint32_t)sizeof(struct PF_client)+id_len+username_len); in persist__chunk_client_write_v6()
76 write_e(db_fptr, chunk->client_id, id_len); in persist__chunk_client_write_v6()
92 uint16_t id_len = chunk->F.id_len; in persist__chunk_client_msg_write_v6() local
102 chunk->F.id_len = htons(chunk->F.id_len); in persist__chunk_client_msg_write_v6()
109 write_e(db_fptr, chunk->client_id, id_len); in persist__chunk_client_msg_write_v6()
223 uint16_t id_len = chunk->F.id_len; in persist__chunk_sub_write_v6() local
227 chunk->F.id_len = htons(chunk->F.id_len); in persist__chunk_sub_write_v6()
232 id_len + topic_len); in persist__chunk_sub_write_v6()
[all …]
/dports/dns/knot3/knot-3.1.5/src/knot/conf/
H A Dconfio.c32 size_t id_len, in io_reset_val() argument
39 io->id_len = id_len; in io_reset_val()
50 size_t id_len, in io_reset_bin() argument
900 .id_len = io->id_len, in set_item()
966 if (node->id_len == 0) { in conf_io_set()
1276 if (io.id_len != 0) { in conf_io_unset()
1303 size_t id_len, in check_section() argument
1313 .id_len = id_len, in check_section()
1335 id_len, &bin); in check_section()
1406 size_t id_len; in check_iter_section() local
[all …]
H A Dtools.c50 size_t id_len) in is_default_id() argument
52 return id_len == CONF_DEFAULT_ID[0] && in is_default_id()
53 memcmp(id, CONF_DEFAULT_ID + 1, id_len) == 0; in is_default_id()
361 size_t id_len = args->data_len - 1 - args->data[0]; in check_modref() local
372 if (id_len == 0) { in check_modref()
383 id, id_len)) { in check_modref()
541 C_PROPAG_DELAY, args->id, args->id_len); in check_policy()
543 C_ZSK_LIFETIME, args->id, args->id_len); in check_policy()
545 C_KSK_LIFETIME, args->id, args->id_len); in check_policy()
547 C_DNSKEY_TTL, args->id, args->id_len); in check_policy()
[all …]
/dports/dns/knot3-lib/knot-3.1.5/src/knot/conf/
H A Dconfio.c32 size_t id_len, in io_reset_val() argument
39 io->id_len = id_len; in io_reset_val()
50 size_t id_len, in io_reset_bin() argument
900 .id_len = io->id_len, in set_item()
966 if (node->id_len == 0) { in conf_io_set()
1276 if (io.id_len != 0) { in conf_io_unset()
1303 size_t id_len, in check_section() argument
1313 .id_len = id_len, in check_section()
1335 id_len, &bin); in check_section()
1406 size_t id_len; in check_iter_section() local
[all …]
H A Dtools.c50 size_t id_len) in is_default_id() argument
52 return id_len == CONF_DEFAULT_ID[0] && in is_default_id()
53 memcmp(id, CONF_DEFAULT_ID + 1, id_len) == 0; in is_default_id()
361 size_t id_len = args->data_len - 1 - args->data[0]; in check_modref() local
372 if (id_len == 0) { in check_modref()
383 id, id_len)) { in check_modref()
541 C_PROPAG_DELAY, args->id, args->id_len); in check_policy()
543 C_ZSK_LIFETIME, args->id, args->id_len); in check_policy()
545 C_KSK_LIFETIME, args->id, args->id_len); in check_policy()
547 C_DNSKEY_TTL, args->id, args->id_len); in check_policy()
[all …]
/dports/security/asignify/asignify-1.0/libasignify/
H A Dsignature.c73 res->id_len = sizeof(osig.keynum); in asignify_sig_try_obsd()
76 memcpy(res->id, osig.keynum, res->id_len); in asignify_sig_try_obsd()
106 pk->id_len, SIG_LEN); in asignify_signature_load()
133 res->id_len = privk->id_len; in asignify_private_data_sign()
138 if (privk->id_len > 0) { in asignify_private_data_sign()
139 memcpy(res->id, privk->id, res->id_len); in asignify_private_data_sign()
162 if (sig->id_len > 0) { in asignify_signature_write()
163 b64id = xmalloc(sig->id_len * 2); in asignify_signature_write()
164 b64_ntop(sig->id, sig->id_len, b64id, sig->id_len * 2); in asignify_signature_write()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c13 ppid->id_len = sizeof(parent_id); in mlx5_esw_get_port_parent_id()
47 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
48 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
51 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
52 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
55 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
56 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
142 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_devlink_sf_port_register()
143 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_devlink_sf_port_register()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c13 ppid->id_len = sizeof(parent_id); in mlx5_esw_get_port_parent_id()
47 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
48 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
51 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
52 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
55 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
56 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
142 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_devlink_sf_port_register()
143 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_devlink_sf_port_register()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c13 ppid->id_len = sizeof(parent_id); in mlx5_esw_get_port_parent_id()
47 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
48 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
51 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
52 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
55 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc()
56 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
142 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_devlink_sf_port_register()
143 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_devlink_sf_port_register()
/dports/security/libp11/libp11-libp11-0.4.11/src/
H A Deng_parse.c89 unsigned char *id, size_t *id_len, char **label) in parse_slot_id_string() argument
100 if ((strlen(slot_id) + 1) / 2 > *id_len) { in parse_slot_id_string()
105 return hex_to_bin(ctx, slot_id, id, id_len); in parse_slot_id_string()
119 *id_len = 0; in parse_slot_id_string()
127 if ((strlen(slot_id) - i + 1) / 2 > *id_len) { in parse_slot_id_string()
132 return hex_to_bin(ctx, slot_id + i, id, id_len); in parse_slot_id_string()
142 if ((strlen(slot_id) - 3 + 1) / 2 > *id_len) { in parse_slot_id_string()
154 *id_len = 0; in parse_slot_id_string()
175 *id_len = 0; in parse_slot_id_string()
205 *id_len = 0; in parse_slot_id_string()
[all …]
/dports/mail/procmail/procmail-3.22/src/
H A Dfields.c23 for(i=p->id_len,chp=(char*)p->fld_text,h= *ah;h;h= *(ah= &h->fld_next))
24 if(i>=h->id_len&&!strncasecmp(chp,h->fld_text,h->id_len))
25 { if(i>h->id_len&&uhead) /* finalise the header? */
35 if((cp=p->fld_text+p->id_len-1,*cp==HEAD_DELIMITER)&& /* has : */ in cleanheader()
39 tmemmove(++q,cp,p->Tot_len-p->id_len+1); /* zappo! */ in cleanheader()
40 p->id_len-=(diff=cp-q); in cleanheader()
55 p->id_len=idlen>0?idlen:pp==&rdheader?0:-idlen; /* copy contents */
79 echp=(chp=(char*)p->fld_text+p->id_len)+(int)(p->Tot_len-p->id_len-1);
107 if(p->id_len+1<p->Tot_len) /* any contents to display? */
/dports/net/freeradius3/freeradius-server-3.0.25/src/modules/rlm_yubikey/
H A Drlm_yubikey.c49 { "id_length", FR_CONF_OFFSET(PW_TYPE_INTEGER, rlm_yubikey_t, id_len), "12" },
204 for (i = inst->id_len; i < len; i++) { in CC_HINT()
254 if (len > (inst->id_len + YUBIKEY_TOKEN_LEN)) { in CC_HINT()
262 password_len = (len - (inst->id_len + YUBIKEY_TOKEN_LEN)); in CC_HINT()
264 ret = otp_string_valid(inst, otp, (inst->id_len + YUBIKEY_TOKEN_LEN)); in CC_HINT()
306 } else if (len < (inst->id_len + YUBIKEY_TOKEN_LEN)) { in CC_HINT()
308 inst->id_len + YUBIKEY_TOKEN_LEN, len); in CC_HINT()
336 if (inst->id_len) { in CC_HINT()
344 fr_pair_value_bstrncpy(vp, passcode, inst->id_len); in CC_HINT()
396 if (len != (inst->id_len + YUBIKEY_TOKEN_LEN)) { in CC_HINT()
[all …]
/dports/databases/galera/galera-release_25.3.35/gcs/src/
H A Dgcs_comp_msg.cpp71 size_t id_len; in gcs_comp_msg_add() local
78 id_len = strlen (id); in gcs_comp_msg_add()
79 if (!id_len) return -EINVAL; in gcs_comp_msg_add()
80 if (id_len > GCS_COMP_MEMB_ID_MAX_LEN) return -ENAMETOOLONG; in gcs_comp_msg_add()
92 memcpy (comp->memb[free_slot].id, id, id_len); in gcs_comp_msg_add()
124 size_t id_len = strlen(id); in gcs_comp_msg_idx() local
127 if (id_len > 0 && id_len <= GCS_COMP_MEMB_ID_MAX_LEN) in gcs_comp_msg_idx()
/dports/databases/galera26/galera-release_26.4.10/gcs/src/
H A Dgcs_comp_msg.cpp71 size_t id_len; in gcs_comp_msg_add() local
78 id_len = strlen (id); in gcs_comp_msg_add()
79 if (!id_len) return -EINVAL; in gcs_comp_msg_add()
80 if (id_len > GCS_COMP_MEMB_ID_MAX_LEN) return -ENAMETOOLONG; in gcs_comp_msg_add()
92 memcpy (comp->memb[free_slot].id, id, id_len); in gcs_comp_msg_add()
124 size_t id_len = strlen(id); in gcs_comp_msg_idx() local
127 if (id_len > 0 && id_len <= GCS_COMP_MEMB_ID_MAX_LEN) in gcs_comp_msg_idx()
/dports/mail/fetchmailconf/fetchmail-6.4.28/
H A Duid_db.c88 v = ofs < rec->id_len ? rec->id[ofs] : 0; in walk_down()
138 max = r0->id_len; in find_first_diff_bit()
139 if (max > r1->id_len) { in find_first_diff_bit()
140 max = r1->id_len; in find_first_diff_bit()
151 if (r0->id_len == r1->id_len) return -1; in find_first_diff_bit()
167 if (ofs >= rec->id_len) return 0; in bit_set()
216 r0->id_len == r1->id_len
297 size_t id_len; in get_uid_db_record() local
301 id_len = strlen(id); in get_uid_db_record()
302 rec->id = (char *)memcpy(xmalloc(id_len + 1), id, id_len + 1); in get_uid_db_record()
[all …]

12345678910>>...69