/forgerock/web-agents-v4/source/ |
H A D | config_xml.c | 31 int data_sz; member in struct:__anon78 45 ctx->data_sz = 0; 389 int len = ctx->data_sz; 439 ctx->data_sz = 0; 448 ctx->data_sz = 0; 479 ctx->data_sz = 0; 488 tmp = realloc(ctx->data, ctx->data_sz + len + 1); 492 ctx->data_sz = 0; 497 memcpy(ctx->data + ctx->data_sz, val, len); 498 ctx->data_sz 513 size_t data_sz; local [all...] |
H A D | property_map.c | 252 * parse the content of a configuraiton file (data, data_sz) changing mapped properties only if verride is set 254 void property_map_parse(struct property_map *map, char *source, am_bool_t override, void (*logf)(const char *format, ...), char *data, size_t data_sz) { argument 257 for (i = 0; i < (int) data_sz; i++) { 267 if (s < (int) data_sz) { 271 property_map_parse_line(map, source, override, logf, data + s, data_sz - s); 279 char *property_map_write_to_buffer(struct property_map *map, size_t *data_sz) { argument 284 *data_sz = 0; 295 *data_sz = 0; 307 *data_sz = 0; 316 *data_sz [all...] |
H A D | session_saml.c | 31 int data_sz; member in struct:__anon94 42 ctx->data_sz = 0; 56 int len = ctx->data_sz; 80 ctx->data_sz = 0; 88 tmp = realloc(ctx->data, ctx->data_sz + len + 1); 92 ctx->data_sz = 0; 97 memcpy(ctx->data + ctx->data_sz, val, len); 98 ctx->data_sz += len; 99 ctx->data[ctx->data_sz] = 0; 114 .list = NULL, .parser = NULL, .data_sz [all...] |
H A D | session_xml.c | 42 int data_sz; member in struct:__anon95 54 ctx->data_sz = 0; 117 int len = ctx->data_sz; 127 ctx->data_sz = 0; 135 tmp = realloc(ctx->data, ctx->data_sz + len + 1); 139 ctx->data_sz = 0; 144 memcpy(ctx->data + ctx->data_sz, val, len); 145 ctx->data_sz += len; 146 ctx->data[ctx->data_sz] = 0; 159 size_t data_sz; local [all...] |
H A D | net_client.c | 595 int am_net_write(am_net_t *n, const char *data, size_t data_sz) { argument 599 if (n != NULL && data != NULL && data_sz > 0) { 601 size_t len = data_sz; 609 n->ssl.request_data = malloc(data_sz); 613 memcpy(n->ssl.request_data, data, data_sz); 614 n->ssl.request_data_sz = data_sz;
|
H A D | policy_xml.c | 43 int data_sz; member in struct:__anon90 128 ctx->data_sz = 0; 208 int len = ctx->data_sz; 247 ctx->data_sz = 0; 284 tmp = realloc(ctx->data, ctx->data_sz + len + 1); 288 ctx->data_sz = 0; 293 memcpy(ctx->data + ctx->data_sz, val, len); 294 ctx->data_sz += len; 295 ctx->data[ctx->data_sz] = 0; 308 size_t data_sz; local [all...] |
H A D | net_ops.c | 33 static void on_agent_request_data_cb(void *udata, const char *data, size_t data_sz, int status) { argument 36 ld->data = malloc(data_sz + 1); 41 memcpy(ld->data, data, data_sz); 42 ld->data[data_sz] = 0; 43 ld->data_size = data_sz; 45 char *rd_tmp = realloc(ld->data, ld->data_size + data_sz + 1); 53 memcpy(ld->data + ld->data_size, data, data_sz); 54 ld->data_size += data_sz;
|
H A D | cache.c | 323 int am_get_pdp_cache_entry(am_request_t *request, const char *key, char **data, size_t *data_sz, char **content_type) { argument 404 *data_sz = element->size[URL_LENGTH]; /* report url size only */
|
H A D | log.c | 169 size_t data_sz; local 221 data_sz = log->bucket[index].size; 301 wrote = write(file_handle, data, (unsigned int) data_sz);
|
H A D | admin.c | 1294 size_t data_sz = 0; local 1306 data = load_file(input, &data_sz); 1319 property_map_parse(property_map, "existing config", AM_TRUE, install_log, data, data_sz);
|
H A D | utility.c | 1107 char *load_file(const char *filepath, size_t *data_sz) { argument 1130 if (data_sz) { 1131 *data_sz = st.st_size; 1138 ssize_t write_file(const char *filepath, const void *data, size_t data_sz) { argument 1150 if (data_sz != (size_t) (wr = write(fd, data, 1154 data_sz))) {
|
/forgerock/web-agents-v4/source/apache/ |
H A D | agent.c | 528 size_t data_sz = rq->post_data_sz; local 529 char *encoded = base64_encode(rq->post_data, &data_sz);
|
/forgerock/web-agents-v4/source/varnish/ |
H A D | agent.c | 517 size_t data_sz = ar->post_data_sz; local 518 char *encoded = base64_encode(ar->post_data, &data_sz);
|
/forgerock/web-agents-v4/source/varnish3/ |
H A D | agent.c | 567 size_t data_sz = ar->post_data_sz; local 568 char *encoded = base64_encode(ar->post_data, &data_sz);
|
/forgerock/web-agents-v4/tests/ |
H A D | test_utility.c | 662 size_t data_sz; local 665 data_sz = 0; 666 data = load_file(wpa3boot, &data_sz); 667 property_map_parse(map, "agent 3 bootstrap", AM_TRUE, test_logf, data, data_sz); 670 data_sz = 0; 671 data = load_file(wpa3config, &data_sz); 672 property_map_parse(map, "agent 3 config", AM_TRUE, test_logf, data, data_sz); 675 data_sz = 0; 676 data = load_file(wpa4boot, &data_sz); 677 property_map_parse(map, "agent 4 bootstrap", AM_FALSE, test_logf, data, data_sz); 691 size_t data_sz; local 742 size_t data_sz; local [all...] |
/forgerock/web-agents-v4/source/iis/ |
H A D | agent.c | 1096 size_t data_sz = rq->post_data_sz; local 1097 char *temp = base64_encode(rq->post_data, &data_sz);
|