Home
last modified time | relevance | path

Searched refs:htp (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/dports/lang/snobol4/snobol4-2.2.2/lib/snolib/
H A Dhandle.c76 if (!htp) in lookup_handle()
107 if (!htp) { in new_handle2()
110 if (!htp) in new_handle2()
116 htp->name = tname; in new_handle2()
118 *hhp = htp; in new_handle2()
144 htp->entries++; in new_handle2()
211 free(htp); in handle_cleanup_table()
216 while (htp) { in handle_cleanup_tables()
219 htp = next; in handle_cleanup_tables()
233 while (htp) { in handle_table_name()
[all …]
/dports/net/timed/timed-8.1/timed/
H A Dmaster.c402 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { in synch()
424 htp = remmach(htp); in synch()
476 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { in spreadtime()
497 htp = remmach(htp); in spreadtime()
559 htp = htp->h_fwd; in findhost()
663 htp->l_bak->l_fwd = htp->l_fwd; in remmach()
664 htp->h_fwd->h_bak = htp->h_bak; in remmach()
668 if (htp->head && hnxt != htp) { in remmach()
684 bcopy(hnxt, htp, sizeof(*htp)); in remmach()
711 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { in rmnetmachs()
[all …]
H A Dnetworkdelta.c69 struct hosttbl *htp; in networkdelta() local
85 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { in networkdelta()
86 if (htp->good in networkdelta()
87 && htp->noanswer == 0 in networkdelta()
89 med += htp->delta; in networkdelta()
91 *++xp = htp->delta; in networkdelta()
117 htp = &self; in networkdelta()
119 if (htp->noanswer == 0 in networkdelta()
122 && (htp->good in networkdelta()
125 *xp++ = htp->delta; in networkdelta()
[all …]
H A Dcorrect.c54 struct hosttbl *htp; in correct() local
62 for (htp = self.l_fwd; htp != &self; htp = htp->l_fwd) { in correct()
63 if (htp->delta != HOSTDOWN) { in correct()
64 corr = avdelta - htp->delta; in correct()
70 if (htp->need_set in correct()
73 htp->need_set = 0; in correct()
88 answer = acksend(&to, &htp->addr, htp->name, in correct()
91 htp->delta = HOSTDOWN; in correct()
94 htp->name); in correct()
99 htp->name); in correct()
[all …]
/dports/news/inn-current/inn-2.7-20211226/innd/
H A Dng.c73 NGHASH *htp; in NGparseentry() local
114 if (htp->Used >= htp->Size) { in NGparseentry()
116 htp->Groups = xrealloc(htp->Groups, htp->Size * sizeof(NEWSGROUP *)); in NGparseentry()
118 htp->Groups[htp->Used++] = ngp; in NGparseentry()
139 NGHASH *htp; in NGparsefile() local
172 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in NGparsefile()
175 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in NGparsefile()
203 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in NGparsefile()
205 qsort(htp->Groups, htp->Used, sizeof htp->Groups[0], NGcompare); in NGparsefile()
230 NGHASH *htp; in NGclose() local
[all …]
/dports/news/inn/inn-2.6.4/innd/
H A Dng.c74 NGHASH *htp; in NGparseentry() local
115 if (htp->Used >= htp->Size) { in NGparseentry()
117 htp->Groups = xrealloc(htp->Groups, htp->Size * sizeof(NEWSGROUP *)); in NGparseentry()
119 htp->Groups[htp->Used++] = ngp; in NGparseentry()
139 NGHASH *htp; in NGparsefile() local
171 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in NGparsefile()
174 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in NGparsefile()
176 htp->Groups = xmalloc(htp->Size * sizeof(NEWSGROUP *)); in NGparsefile()
203 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in NGparsefile()
205 qsort(htp->Groups, htp->Used, sizeof htp->Groups[0], NGcompare); in NGparsefile()
[all …]
/dports/sysutils/shlock/inn-2.6.4/innd/
H A Dng.c74 NGHASH *htp; in NGparseentry() local
115 if (htp->Used >= htp->Size) { in NGparseentry()
117 htp->Groups = xrealloc(htp->Groups, htp->Size * sizeof(NEWSGROUP *)); in NGparseentry()
119 htp->Groups[htp->Used++] = ngp; in NGparseentry()
139 NGHASH *htp; in NGparsefile() local
171 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in NGparsefile()
174 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in NGparsefile()
176 htp->Groups = xmalloc(htp->Size * sizeof(NEWSGROUP *)); in NGparsefile()
203 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in NGparsefile()
205 qsort(htp->Groups, htp->Used, sizeof htp->Groups[0], NGcompare); in NGparsefile()
[all …]
/dports/www/libevhtp/libevhtp-1.2.16/
H A Devhtp.c1277 req->htp = c ? c->htp : NULL; in htp__request_new_()
2451 conn->htp = conn->htp->parent; in htp__connection_writecb_()
2748 connection->htp = htp; in htp__connection_new_()
3942 if (htp == NULL || htp->server == NULL) in evhtp_unbind_socket()
4004 htp->server = evconnlistener_new(htp->evbase, htp__accept_cb_, htp, in evhtp_accept_socket()
4552 htp->thread_init_cb(htp, thr, htp->thread_cbarg); in htp__thread_init_()
4563 htp->thread_exit_cb(htp, thr, htp->thread_cbarg); in htp__thread_exit_()
4939 SSL_CTX_set_app_data(htp->ssl_ctx, htp); in evhtp_ssl_init()
5296 if ((htp = htp__calloc_(1, sizeof(*htp))) == NULL) in evhtp__new_()
5320 *out = htp; in evhtp__new_()
[all …]
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libnghttp2-sys-0.1.7+1.45.0/nghttp2/src/
H A Dh2load_http1_session.cc43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() argument
44 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_begincb()
57 auto session = static_cast<Http1Session *>(htp->data); in htp_statuscb()
60 if (htp->status_code / 100 == 1) { in htp_statuscb()
72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() argument
73 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_completecb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
80 client->final = llhttp_should_keep_alive(htp) == 0; in htp_msg_completecb()
110 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_keycb()
121 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_valcb()
[all …]
/dports/net/proby/proby-1.0.2/cargo-crates/libnghttp2-sys-0.1.4+1.41.0/nghttp2/src/
H A Dh2load_http1_session.cc43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() argument
44 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_begincb()
57 auto session = static_cast<Http1Session *>(htp->data); in htp_statuscb()
60 if (htp->status_code / 100 == 1) { in htp_statuscb()
72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() argument
73 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_completecb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
80 client->final = llhttp_should_keep_alive(htp) == 0; in htp_msg_completecb()
110 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_keycb()
121 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_valcb()
[all …]
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libnghttp2-sys-0.1.6+1.43.0/nghttp2/src/
H A Dh2load_http1_session.cc43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() argument
44 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_begincb()
57 auto session = static_cast<Http1Session *>(htp->data); in htp_statuscb()
60 if (htp->status_code / 100 == 1) { in htp_statuscb()
72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() argument
73 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_completecb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
80 client->final = llhttp_should_keep_alive(htp) == 0; in htp_msg_completecb()
110 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_keycb()
121 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_valcb()
[all …]
/dports/www/libnghttp2/nghttp2-1.46.0/src/
H A Dh2load_http1_session.cc43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() argument
44 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_begincb()
57 auto session = static_cast<Http1Session *>(htp->data); in htp_statuscb()
60 if (htp->status_code / 100 == 1) { in htp_statuscb()
72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() argument
73 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_completecb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
80 client->final = llhttp_should_keep_alive(htp) == 0; in htp_msg_completecb()
110 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_keycb()
121 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_valcb()
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/libnghttp2-sys/nghttp2/src/
H A Dh2load_http1_session.cc43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() argument
44 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_begincb()
57 auto session = static_cast<Http1Session *>(htp->data); in htp_statuscb()
60 if (htp->status_code / 100 == 1) { in htp_statuscb()
72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() argument
73 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_completecb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
80 client->final = llhttp_should_keep_alive(htp) == 0; in htp_msg_completecb()
110 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_keycb()
121 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_valcb()
[all …]
/dports/www/nghttp2/nghttp2-1.46.0/src/
H A Dh2load_http1_session.cc43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() argument
44 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_begincb()
57 auto session = static_cast<Http1Session *>(htp->data); in htp_statuscb()
60 if (htp->status_code / 100 == 1) { in htp_statuscb()
72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() argument
73 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_completecb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
80 client->final = llhttp_should_keep_alive(htp) == 0; in htp_msg_completecb()
110 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_keycb()
121 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_valcb()
[all …]
/dports/www/libevhtp/libevhtp-1.2.16/examples/
H A Dtest_basic.c40 evhtp_t * htp = evhtp_new(evbase, NULL); in main() local
42 evhtp_set_cb(htp, "/simple/", testcb, "simple"); in main()
43 evhtp_set_cb(htp, "/1/ping", testcb, "one"); in main()
44 evhtp_set_cb(htp, "/1/ping.json", testcb, "two"); in main()
45 evhtp_set_cb(htp, "/issue161", issue161cb, NULL); in main()
47 evhtp_use_threads_wexit(htp, NULL, NULL, 8, NULL); in main()
49 evhtp_bind_socket(htp, "0.0.0.0", 8081, 2048); in main()
53 evhtp_unbind_socket(htp); in main()
54 evhtp_free(htp); in main()
H A Dtest_perf.c82 evhtp_t * htp; in main() local
88 htp = evhtp_new(evbase, NULL); in main()
89 evhtp_alloc_assert(htp); in main()
91 evhtp_set_parser_flags(htp, EVHTP_PARSE_QUERY_FLAG_LENIENT); in main()
95 evhtp_enable_flag(htp, EVHTP_FLAG_ENABLE_NODELAY); in main()
100 evhtp_enable_flag(htp, EVHTP_FLAG_ENABLE_DEFER_ACCEPT); in main()
105 evhtp_enable_flag(htp, EVHTP_FLAG_ENABLE_REUSEPORT); in main()
110 evhtp_assert(evhtp_set_cb(htp, "/data", response_cb, payload)); in main()
115 evhtp_assert(evhtp_use_threads_wexit(htp, NULL, NULL, num_threads, NULL) != -1); in main()
119 evhtp_errno_assert(evhtp_bind_socket(htp, baddr, bport, backlog) >= 0); in main()
H A Dtest.c176 evhtp_set_cb(r->htp, nuri, dynamic_cb, nuri); in create_callback()
523 evhtp_t * htp = NULL; in main() local
549 htp = evhtp_new(evbase, NULL); in main()
551 evhtp_enable_flag(htp, EVHTP_FLAG_ENABLE_REUSEPORT); in main()
554 evhtp_set_max_keepalive_requests(htp, max_keepalives); in main()
560 cb_2 = evhtp_set_cb(htp, "/foo", test_foo_cb, "bar"); in main()
566 cb_4 = evhtp_set_cb(htp, "/bar", test_bar_cb, "baz"); in main()
609 evhtp_set_gencb(htp, test_default_cb, "foobarbaz"); in main()
640 evhtp_ssl_init(htp, &scfg); in main()
672 evhtp_unbind_socket(htp); in main()
[all …]
/dports/news/inn/inn-2.6.4/storage/
H A Dexpire.c197 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in BuildGroups()
199 htp->Groups = xmalloc(htp->Size * sizeof(NEWSGROUP *)); in BuildGroups()
225 if (htp->Used >= htp->Size) { in BuildGroups()
227 htp->Groups = xrealloc(htp->Groups, htp->Size * sizeof(NEWSGROUP *)); in BuildGroups()
229 htp->Groups[htp->Used++] = ngp; in BuildGroups()
233 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in BuildGroups()
235 qsort(htp->Groups, htp->Used, sizeof htp->Groups[0], NGcompare); in BuildGroups()
238 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in BuildGroups()
242 for (ngpa = htp->Groups, k = htp->Used; --k >= 0; ngpa++) { in BuildGroups()
812 NGHASH *htp; in OVEXPcleanup() local
[all …]
/dports/news/inn-current/inn-2.7-20211226/storage/
H A Dexpire.c122 NGHASH *htp; in NGfind() local
183 NGHASH *htp; in BuildGroups() local
203 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in BuildGroups()
205 htp->Groups = xmalloc(htp->Size * sizeof(NEWSGROUP *)); in BuildGroups()
232 if (htp->Used >= htp->Size) { in BuildGroups()
237 htp->Groups[htp->Used++] = ngp; in BuildGroups()
241 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in BuildGroups()
243 qsort(htp->Groups, htp->Used, sizeof htp->Groups[0], NGcompare); in BuildGroups()
246 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in BuildGroups()
816 NGHASH *htp; in OVEXPcleanup() local
[all …]
/dports/sysutils/shlock/inn-2.6.4/storage/
H A Dexpire.c197 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in BuildGroups()
199 htp->Groups = xmalloc(htp->Size * sizeof(NEWSGROUP *)); in BuildGroups()
225 if (htp->Used >= htp->Size) { in BuildGroups()
227 htp->Groups = xrealloc(htp->Groups, htp->Size * sizeof(NEWSGROUP *)); in BuildGroups()
229 htp->Groups[htp->Used++] = ngp; in BuildGroups()
233 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) in BuildGroups()
235 qsort(htp->Groups, htp->Used, sizeof htp->Groups[0], NGcompare); in BuildGroups()
238 for (i = NGH_SIZE, htp = NGHtable; --i >= 0; htp++) { in BuildGroups()
242 for (ngpa = htp->Groups, k = htp->Used; --k >= 0; ngpa++) { in BuildGroups()
812 NGHASH *htp; in OVEXPcleanup() local
[all …]
/dports/games/pvpgn/pvpgn-1.8.5/src/tinycdb/
H A Dcdb_find.c14 const unsigned char *htp; /* hash table pointer */ in cdb_find() local
30 htp = cdbp->cdb_mem + ((hval << 3) & 2047); /* index in toc (256x8) */ in cdb_find()
31 n = cdb_unpack(htp + 4); /* table size */ in cdb_find()
35 pos = cdb_unpack(htp); /* htab position */ in cdb_find()
45 htp = htab + (((hval >> 8) % n) << 3); in cdb_find()
48 pos = cdb_unpack(htp + 4); /* record position */ in cdb_find()
51 if (cdb_unpack(htp) == hval) { in cdb_find()
73 if ((htp += 8) >= htend) in cdb_find()
74 htp = htab; in cdb_find()
/dports/databases/tinycdb/tinycdb-0.78/
H A Dcdb_find.c12 const unsigned char *htp; /* hash table pointer */ in cdb_find() local
28 htp = cdbp->cdb_mem + ((hval << 3) & 2047); /* index in toc (256x8) */ in cdb_find()
29 n = cdb_unpack(htp + 4); /* table size */ in cdb_find()
33 pos = cdb_unpack(htp); /* htab position */ in cdb_find()
43 htp = htab + (((hval >> 8) % n) << 3); in cdb_find()
46 pos = cdb_unpack(htp + 4); /* record position */ in cdb_find()
49 if (cdb_unpack(htp) == hval) { in cdb_find()
71 if ((htp += 8) >= htend) in cdb_find()
72 htp = htab; in cdb_find()
/dports/www/xapian-omega/xapian-omega-1.4.18/
H A Dcdb_find.cc19 const unsigned char *htp; /* hash table pointer */ in cdb_find() local
35 htp = cdbp->cdb_mem + ((hval << 3) & 2047); /* index in toc (256x8) */ in cdb_find()
36 n = cdb_unpack(htp + 4); /* table size */ in cdb_find()
40 pos = cdb_unpack(htp); /* htab position */ in cdb_find()
50 htp = htab + (((hval >> 8) % n) << 3); in cdb_find()
53 pos = cdb_unpack(htp + 4); /* record position */ in cdb_find()
56 if (cdb_unpack(htp) == hval) { in cdb_find()
78 if ((htp += 8) >= htend) in cdb_find()
79 htp = htab; in cdb_find()
/dports/www/xapian-omega12/xapian-omega-1.2.25/
H A Dcdb_find.cc19 const unsigned char *htp; /* hash table pointer */ in cdb_find() local
35 htp = cdbp->cdb_mem + ((hval << 3) & 2047); /* index in toc (256x8) */ in cdb_find()
36 n = cdb_unpack(htp + 4); /* table size */ in cdb_find()
40 pos = cdb_unpack(htp); /* htab position */ in cdb_find()
50 htp = htab + (((hval >> 8) % n) << 3); in cdb_find()
53 pos = cdb_unpack(htp + 4); /* record position */ in cdb_find()
56 if (cdb_unpack(htp) == hval) { in cdb_find()
78 if ((htp += 8) >= htend) in cdb_find()
79 htp = htab; in cdb_find()
/dports/mail/avenger/avenger-0.8.5/libasync/
H A Dihash.C44 _ihash_grow (_ihash_table *htp, const size_t eos) in _ihash_grow() argument
51 nbuckets = exp2primes[log2c(htp->buckets)+1]; in _ihash_grow()
58 for (i = 0; i < htp->buckets; i++) in _ihash_grow()
59 for (p = htp->tab[i]; p; p = np) { in _ihash_grow()
71 delete[] htp->tab; in _ihash_grow()
72 htp->tab = ntab; in _ihash_grow()
73 htp->buckets = nbuckets; in _ihash_grow()

12345678910>>...42