Home
last modified time | relevance | path

Searched refs:start (Results 1 – 15 of 15) sorted by relevance

/libevent-2.1.12/
H A Dcheckpatch.sh185 local start=$1 end=$2
189 { uncrustify_indent_off; git_hunk "$@" | head -n$((start - 1)); }
195 local start=$1 end=$2
199 let start+=2
200 head -n$end | tail -n+$start
225 local ref=$1 r f start end length
233 start=${BASH_REMATCH[1]}
237 end=$((start + length))
238 echo "Range: $start:$end ($length)" >&2
241 <(uncrustify_git_indent_hunk $start $end $ref "$f" | strip $start $end) \
[all …]
H A Devdns.c1640 const char *const start = name; in dnsname_to_labels() local
1653 memcpy(buf + j, start, label_len); in dnsname_to_labels()
1664 memcpy(buf + j, start, label_len); in dnsname_to_labels()
3365 char *cp, *start; in strtok_r() local
3366 start = cp = s ? s : *state; in strtok_r()
3372 if (cp == start) in strtok_r()
3375 return start; in strtok_r()
3379 return start; in strtok_r()
3666 char *start; in evdns_base_resolv_conf_parse_impl() local
3698 start = resolv; in evdns_base_resolv_conf_parse_impl()
[all …]
H A Dbuffer.c1598 struct evbuffer_ptr *start, size_t *eol_len_out, in evbuffer_search_eol() argument
1606 if (start && start->internal_.chain == NULL) { in evbuffer_search_eol()
1615 if (start) { in evbuffer_search_eol()
1616 memcpy(&it, start, sizeof(it)); in evbuffer_search_eol()
2717 return evbuffer_search_range(buffer, what, len, start, NULL); in evbuffer_search()
2730 if (start) { in evbuffer_search_range()
2731 memcpy(&pos, start, sizeof(pos)); in evbuffer_search_range()
3401 evbuffer_freeze(struct evbuffer *buffer, int start) in evbuffer_freeze() argument
3404 if (start) in evbuffer_freeze()
3413 evbuffer_unfreeze(struct evbuffer *buffer, int start) in evbuffer_unfreeze() argument
[all …]
H A DREADME.md85 $ start libevent.sln
153 $ start libevent.sln
H A Dwhatsnew-2.0.txt49 wrong with the old functions, and what functions you want to start using
434 There's an evbuffer_copyout() that looks at the data at the start of an
H A DChangeLog-1.433 …imum event queue and fd array for the epoll backend at startup. Instead, start out accepting 32 e…
H A DCMakeLists.txt19 # start libevent.sln
H A Dwhatsnew-2.1.txt4 0. Before we start
H A DChangeLog-2.01043 …o Do not allocate the maximum event queue for the epoll backend at startup. Instead, start out ac…
/libevent-2.1.12/test/
H A Dbench_httpclient.c181 struct timeval start, end, total; in main() local
201 evutil_gettimeofday(&start, NULL); in main()
206 evutil_timersub(&end, &start, &total); in main()
H A Dregress_main.c102 timeval_msec_diff(const struct timeval *start, const struct timeval *end) in timeval_msec_diff() argument
104 long ms = end->tv_sec - start->tv_sec; in timeval_msec_diff()
106 ms += ((end->tv_usec - start->tv_usec)+500) / 1000; in timeval_msec_diff()
H A Dregress.h128 long timeval_msec_diff(const struct timeval *start, const struct timeval *end);
H A Dregress.c717 struct timeval tv, tv2, tv_exit, start; in test_persistent_active_timeout() local
741 evutil_gettimeofday(&start, NULL); in test_persistent_active_timeout()
750 test_timeval_diff_eq(&start, &res.tvs[0], 100); in test_persistent_active_timeout()
751 test_timeval_diff_eq(&start, &res.tvs[1], 300); in test_persistent_active_timeout()
752 test_timeval_diff_eq(&start, &res.tvs[2], 500); in test_persistent_active_timeout()
783 struct timeval start; in test_common_timeout() local
838 evutil_gettimeofday(&start, NULL); in test_common_timeout()
846 test_timeval_diff_eq(&start, &info[i].called_at, 400); in test_common_timeout()
848 test_timeval_diff_eq(&start, &info[i].called_at, 800); in test_common_timeout()
H A Dregress_buffer.c2535 const int start = !strcmp(testdata->setup_data, "start"); in test_evbuffer_freeze() local
2545 if (!start) in test_evbuffer_freeze()
2556 evbuffer_freeze(buf, start); /* Freeze the start or the end.*/ in test_evbuffer_freeze()
2557 evbuffer_freeze(buf_two, start); in test_evbuffer_freeze()
2561 if (start) { \ in test_evbuffer_freeze()
2594 if (start) in test_evbuffer_freeze()
2603 if (!start) in test_evbuffer_freeze()
2638 if (start) in test_evbuffer_freeze()
/libevent-2.1.12/include/event2/
H A Dbuffer.h749 …er_search(struct evbuffer *buffer, const char *what, size_t len, const struct evbuffer_ptr *start);
766 …vbuffer *buffer, const char *what, size_t len, const struct evbuffer_ptr *start, const struct evbu…
822 struct evbuffer_ptr *start, size_t *eol_len_out,