Home
last modified time | relevance | path

Searched refs:bodybuf (Results 1 – 18 of 18) sorted by relevance

/dports/astro/sextractor/sextractor-2.5.0/src/fits/
H A Dfitsbody.c81 if ((tab->bodybuf = malloc(size))) in alloc_body()
84 read_body(tab, (PIXTYPE *)tab->bodybuf, npix); in alloc_body()
87 (*func)((PIXTYPE *)tab->bodybuf, npix); in alloc_body()
90 return (PIXTYPE *)tab->bodybuf; in alloc_body()
93 tab->bodybuf = NULL; in alloc_body()
131 if (tab->bodybuf == (void *)-1) in alloc_body()
133 return (PIXTYPE *)tab->bodybuf; in alloc_body()
156 if (tab->bodybuf) in free_body()
161 if (munmap(tab->bodybuf, size)) in free_body()
164 tab->bodybuf = NULL; in free_body()
[all …]
H A Dfitstab.c199 if (tabin->bodybuf) in copy_tab()
200 QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); in copy_tab()
278 if (tabin->bodybuf) in copy_tab_fromptr()
279 QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); in copy_tab_fromptr()
H A Dfitscheck.c204 if (tab->bodybuf) in compute_bodysum()
207 buf = (char *)tab->bodybuf; in compute_bodysum()
214 memcpy(buf, (char *)tab->bodybuf+tab->tabsize-size, size); in compute_bodysum()
H A Dfitscat.c218 if (tabin->bodybuf) in inherit_cat()
219 QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); in inherit_cat()
H A Dfitswrite.c167 if (tab->bodybuf) in save_tab()
171 swapbytes(tab->bodybuf, tab->bytepix, tabsize/tab->bytepix); in save_tab()
172 QFWRITE(tab->bodybuf, (size_t)tabsize, cat->file, cat->filename); in save_tab()
174 swapbytes(tab->bodybuf, tab->bytepix, tabsize/tab->bytepix); in save_tab()
H A Dfitscat.h162 char *bodybuf; /* buffer containing the body */ member
/dports/net-mgmt/metronome/metronome-0.9.0/yahttp/yahttp/
H A Dreqresp.hpp297 std::ostringstream bodybuf; //<! buffer for body member in YaHTTP::AsyncLoader
306 bodybuf.str(""); minbody = 0; maxbody = 0; in initialize()
317 (bodybuf.str().size() <= maxbody && in ready()
318 bodybuf.str().size() >= minbody) in ready()
323 bodybuf.flush(); in finalize()
327 target->postvars = Utility::parseUrlParameters(bodybuf.str()); in finalize()
329 target->body = bodybuf.str(); in finalize()
331 bodybuf.str(""); in finalize()
H A Dreqresp.cpp149 bodybuf << tmp; in feed()
154 if (bodybuf.str().length() + buffer.length() > maxbody) in feed()
155 bodybuf << buffer.substr(0, maxbody - bodybuf.str().length()); in feed()
157 bodybuf << buffer; in feed()
/dports/dns/powerdns/pdns-4.5.2/ext/yahttp/yahttp/
H A Dreqresp.hpp304 std::ostringstream bodybuf; //<! buffer for body member in YaHTTP::AsyncLoader
313 bodybuf.str(""); minbody = 0; maxbody = 0; in initialize()
324 (bodybuf.str().size() <= maxbody && in ready()
325 bodybuf.str().size() >= minbody) in ready()
330 bodybuf.flush(); in finalize()
334 target->postvars = Utility::parseUrlParameters(bodybuf.str()); in finalize()
336 target->body = bodybuf.str(); in finalize()
338 bodybuf.str(""); in finalize()
H A Dreqresp.cpp189 bodybuf << tmp; in feed()
194 if (bodybuf.str().length() + buffer.length() > maxbody) in feed()
195 bodybuf << buffer.substr(0, maxbody - bodybuf.str().length()); in feed()
197 bodybuf << buffer; in feed()
/dports/dns/dnsdist/dnsdist-1.6.1/ext/yahttp/yahttp/
H A Dreqresp.hpp304 std::ostringstream bodybuf; //<! buffer for body member in YaHTTP::AsyncLoader
313 bodybuf.str(""); minbody = 0; maxbody = 0; in initialize()
324 (bodybuf.str().size() <= maxbody && in ready()
325 bodybuf.str().size() >= minbody) in ready()
330 bodybuf.flush(); in finalize()
334 target->postvars = Utility::parseUrlParameters(bodybuf.str()); in finalize()
336 target->body = bodybuf.str(); in finalize()
338 bodybuf.str(""); in finalize()
H A Dreqresp.cpp189 bodybuf << tmp; in feed()
194 if (bodybuf.str().length() + buffer.length() > maxbody) in feed()
195 bodybuf << buffer.substr(0, maxbody - bodybuf.str().length()); in feed()
197 bodybuf << buffer; in feed()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-oauth2/
H A Dtest-oauth2-jwt.c203 string_t *bodybuf = t_str_new(64); in create_jwt_token_fields_kid() local
204 str_append_c(bodybuf, '{'); in create_jwt_token_fields_kid()
206 append_key_value(bodybuf, "exp", dec2str(exp), FALSE); in create_jwt_token_fields_kid()
210 str_append_c(bodybuf, ','); in create_jwt_token_fields_kid()
211 append_key_value(bodybuf, "iat", dec2str(iat), FALSE); in create_jwt_token_fields_kid()
215 str_append_c(bodybuf, ','); in create_jwt_token_fields_kid()
216 append_key_value(bodybuf, "nbf", dec2str(nbf), FALSE); in create_jwt_token_fields_kid()
219 if (str_data(bodybuf)[bodybuf->used-1] != '{') in create_jwt_token_fields_kid() local
220 str_append_c(bodybuf, ','); in create_jwt_token_fields_kid()
223 str_append_c(bodybuf, '}'); in create_jwt_token_fields_kid()
[all …]
/dports/sysutils/cluster-glue/Reusable-Cluster-Components-glue--0a7add1d9996/lib/clplumbing/
H A Dcl_log.c1148 char* bodybuf; in ChildLogIPCMessage() local
1168 bodybuf = malloc(msglen + ch->msgpad); in ChildLogIPCMessage()
1169 if (bodybuf == NULL) { in ChildLogIPCMessage()
1174 memset(bodybuf, 0, msglen + ch->msgpad); in ChildLogIPCMessage()
1189 memcpy(bodybuf + ch->msgpad, &logbuf, sizeof(logbuf)); in ChildLogIPCMessage()
1190 memcpy(bodybuf + ch->msgpad + sizeof(logbuf), in ChildLogIPCMessage()
1195 ret->msg_buf = bodybuf; in ChildLogIPCMessage()
1196 ret->msg_body = bodybuf + ch->msgpad; in ChildLogIPCMessage()
/dports/www/htdigest/httpd-2.4.6/modules/http/
H A Dhttp_filters.c1012 apr_size_t bodybuf; in ap_send_http_trace() local
1053 bodybuf = (apr_size_t)r->remaining + 32; in ap_send_http_trace()
1057 bodybuf = 73730; in ap_send_http_trace()
1060 bodyoff = bodyread = apr_palloc(r->pool, bodybuf); in ap_send_http_trace()
1063 while ((!bodylen || bodybuf >= 32) && in ap_send_http_trace()
1064 (res = ap_get_client_block(r, bodyoff, bodybuf)) > 0) { in ap_send_http_trace()
1066 bodybuf -= res; in ap_send_http_trace()
1069 if (res > 0 && bodybuf < 32) { in ap_send_http_trace()
/dports/www/apache24/httpd-2.4.53/modules/http/
H A Dhttp_filters.c1181 apr_size_t bodybuf; in ap_send_http_trace() local
1222 bodybuf = (apr_size_t)r->remaining + 32; in ap_send_http_trace()
1226 bodybuf = 73730; in ap_send_http_trace()
1229 bodyoff = bodyread = apr_palloc(r->pool, bodybuf); in ap_send_http_trace()
1232 while ((!bodylen || bodybuf >= 32) && in ap_send_http_trace()
1233 (res = ap_get_client_block(r, bodyoff, bodybuf)) > 0) { in ap_send_http_trace()
1235 bodybuf -= res; in ap_send_http_trace()
1238 if (res > 0 && bodybuf < 32) { in ap_send_http_trace()
/dports/www/gatling/gatling-0.15/
H A Dhttp.c401 h->bodybuf=array_start(&c); in http_dirlisting()
1506 h->bodybuf=malloc(strlen(buf)+300);
1508 if (h->bodybuf && h->hdrbuf) {
1511 i+=fmt_str(h->bodybuf+i,buf);
1525 free(h->bodybuf); free(h->hdrbuf);
1526 h->bodybuf=h->hdrbuf=0;
1817 free(h->bodybuf);
1818 h->bodybuf=(char*)compressed;
2334 if (h->hdrbuf || h->bodybuf) {
2337 h->hdrbuf=h->bodybuf=0;
[all …]
H A Dgatling.h246 char* hdrbuf,* bodybuf; member