Home
last modified time | relevance | path

Searched refs:p_len (Results 1 – 8 of 8) sorted by relevance

/openbsd/usr.bin/patch/
H A Dpch.c129 if (p_len == NULL) in set_hunkmax()
157 free(p_len); in grow_hunkmax()
164 p_len = new_p_len; in grow_hunkmax()
773 p_len[p_end] = 0; in another_hunk()
804 p_len[filldst] = p_len[filldst + 1]; in another_hunk()
836 p_len[filldst] = p_len[fillsrc]; in another_hunk()
1209 tp_len = p_len; in pch_swap()
1212 p_len = NULL; in pch_swap()
1219 free(p_len); in pch_swap()
1220 p_len = tp_len; in pch_swap()
[all …]
/openbsd/usr.bin/vi/vi/
H A Dv_paragraph.c318 size_t p_len, s_len; in v_buildps() local
325 p_len = p_p == NULL ? 0 : strlen(p_p); in v_buildps()
328 if (p_len == 0 && s_len == 0) in v_buildps()
331 MALLOC_RET(sp, p, p_len + s_len + 1); in v_buildps()
337 memmove(p, p_p, p_len + 1); in v_buildps()
339 memmove(p + p_len, s_p, s_len + 1); in v_buildps()
/openbsd/gnu/usr.bin/perl/cpan/MIME-Base64/
H A DBase64.xs325 STRLEN p_len; variable
364 p_len = p - p_beg;
365 if (p_len) {
368 while (p_len > MAX_LINE - 1 - linelen) {
372 p_len -= len;
378 if (p_len) {
379 sv_catpvn(RETVAL, p_beg, p_len);
380 linelen += p_len;
/openbsd/sys/net/
H A Dpfvar_priv.h288 u_int32_t p_len; /* length of protocol payload */ member
H A Dpf_norm.c1536 || pd->p_len > 0 || (th->th_flags & TH_SYN)) && in pf_normalize_tcp_stateful()
1566 if (pd->p_len > 0 && (src->scrub->pfss_flags & PFSS_DATA_TS)) { in pf_normalize_tcp_stateful()
1592 if (pd->p_len > 0 && src->scrub && (src->scrub->pfss_flags & in pf_normalize_tcp_stateful()
H A Dpf.c4465 ntohl(ctx.th->th_seq) + pd->p_len; in pf_test_rule()
4649 st->src.seqhi = st->src.seqlo + pd->p_len + 1; in pf_create_state()
4926 end = seq + pd->p_len; in pf_tcp_track_full()
4975 end = seq + pd->p_len; in pf_tcp_track_full()
5130 pd->p_len, ackskew, (*stp)->packets[0], in pf_tcp_track_full()
5183 seq, orig_seq, ack, pd->p_len, ackskew, in pf_tcp_track_full()
7388 pd->p_len = pd->tot_len - pd->off - (th->th_off << 2); in pf_setup_pdesc()
7737 if ((pd.hdr.tcp.th_flags & TH_ACK) && pd.p_len == 0) in pf_test()
/openbsd/sys/kern/
H A Dsubr_hibernate.c324 hiballoc_init(struct hiballoc_arena *arena, void *p_ptr, size_t p_len) in hiballoc_init() argument
337 len = p_len - ((size_t)ptr - (size_t)p_ptr); in hiballoc_init()
/openbsd/usr.sbin/unbound/
H A Dltmain.sh6306 size_t p_len;
6310 p_len = (size_t) (q - p);
6312 if (p_len == 0)
6328 XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
6329 memcpy (concat_name, p, p_len);
6330 concat_name[p_len] = '/';
6331 strcpy (concat_name + p_len + 1, wrapper);