Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 62) sorted by path

123

/unit/
H A DLICENSE69 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
/unit/auto/
H A Dmalloc22 free(p);
46 free(p);
/unit/pkg/deb/debian.module/
H A Dcopyright.unit-jsc-common45 Permission is hereby granted, free of charge, to any person obtaining a copy
109 Recipient a non-exclusive, worldwide, royalty-free copyright license to
115 Recipient a non-exclusive, worldwide, royalty-free patent license under
354 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
361 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
570 Developer hereby grants You a world-wide, royalty-free,
601 Contributor hereby grants You a world-wide, royalty-free,
/unit/pkg/rpm/rpmbuild/SOURCES/
H A DCOPYRIGHT.unit-jsc-common45 Permission is hereby granted, free of charge, to any person obtaining a copy
109 Recipient a non-exclusive, worldwide, royalty-free copyright license to
115 Recipient a non-exclusive, worldwide, royalty-free patent license under
354 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
361 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
570 Developer hereby grants You a world-wide, royalty-free,
601 Contributor hereby grants You a world-wide, royalty-free,
/unit/src/java/
H A Dnxt_jni_InputStream.c177 b_size = buf->end - buf->free; in nxt_java_InputStream_skip()
180 buf->free += b_size; in nxt_java_InputStream_skip()
184 if (buf->end == buf->free) { in nxt_java_InputStream_skip()
H A Dnxt_jni_OutputStream.c96 *buf->free++ = b; in nxt_java_OutputStream_writeByte()
98 if ((uint32_t) (buf->free - buf->start) >= data->buf_size) { in nxt_java_OutputStream_writeByte()
157 if (buf == NULL || buf->free >= buf->end) { in nxt_java_OutputStream_req_buf()
196 copy = buf->end - buf->free; in nxt_java_OutputStream_write()
199 memcpy(buf->free, ptr + off, copy); in nxt_java_OutputStream_write()
200 buf->free += copy; in nxt_java_OutputStream_write()
205 if ((uint32_t) (buf->free - buf->start) >= data->buf_size) { in nxt_java_OutputStream_write()
226 if (data->buf != NULL && data->buf->free > data->buf->start) { in nxt_java_OutputStream_flush()
H A Dnxt_jni_Response.c335 || extra_data > (uint32_t) (buf->end - buf->free)) in nxt_java_get_response_info()
397 p = req->response_buf->free; in nxt_java_add_int_header()
412 req->response_buf->free = p; in nxt_java_add_int_header()
929 if (data->buf != NULL && data->buf->free > data->buf->start) { in nxt_java_Response_reset()
930 data->buf->free = data->buf->start; in nxt_java_Response_reset()
939 buf->free = buf->start + req->response_max_fields in nxt_java_Response_reset()
954 if (data->buf != NULL && data->buf->free > data->buf->start) { in nxt_java_Response_resetBuffer()
955 data->buf->free = data->buf->start; in nxt_java_Response_resetBuffer()
974 if (data->buf != NULL && data->buf->free > data->buf->start) { in nxt_java_Response_setBufferSize()
/unit/src/nodejs/unit-http/
H A Dunit.cpp831 ptr = req->response_buf->free; in response_send_headers()
915 req->response_buf->free = ptr; in response_send_headers()
960 && req->response_buf->end >= req->response_buf->free + buf_len) in response_write()
971 have_buf_len = napi.get_value_string_utf8(argv[0], buf->free, in response_write()
974 buf->free += have_buf_len; in response_write()
/unit/src/
H A Dnxt_application.c290 p = b->mem.free; in nxt_discovery_modules()
324 b->mem.free = p; in nxt_discovery_modules()
H A Dnxt_buf.c25 b->mem.free = start; in nxt_buf_mem_init()
48 b->mem.free = b->mem.start; in nxt_buf_mem_alloc()
79 b->mem.free = b->mem.start; in nxt_buf_mem_ts_alloc()
114 b->mem.free = b->mem.start; in nxt_buf_file_alloc()
187 length += b->mem.free - b->mem.pos; in nxt_buf_chain_length()
232 parent->mem.pos = parent->mem.free; in nxt_buf_parent_completion()
325 b->mem.free = nxt_cpymem(b->mem.free, i->mem.pos, nxt_buf_used_size(i)); in nxt_buf_make_plain()
H A Dnxt_buf.h61 u_char *free; member
104 #define NXT_BUF_SYNC_SIZE offsetof(nxt_buf_t, mem.free)
202 ((bm)->free - (bm)->pos)
206 ((bm)->end - (bm)->free)
250 nxt_memcpy(b->mem.free, src, length); in nxt_buf_cpy()
251 b->mem.free += length; in nxt_buf_cpy()
H A Dnxt_buf_filter.c140 if (b != NULL && b->mem.pos == b->mem.free) { in nxt_buf_filter()
376 if (b->mem.pos == b->mem.free) { in nxt_buf_filter_file_job_completion()
H A Dnxt_buf_pool.c21 b = bp->free; in nxt_buf_pool_mem_alloc()
25 bp->free = b->next; in nxt_buf_pool_mem_alloc()
61 b = bp->free; in nxt_buf_pool_file_alloc()
65 bp->free = b->next; in nxt_buf_pool_file_alloc()
101 b = bp->free; in nxt_buf_pool_mmap_alloc()
105 bp->free = b->next; in nxt_buf_pool_mmap_alloc()
157 b->mem.free = NULL; in nxt_buf_pool_free()
162 b->mem.free = b->mem.start; in nxt_buf_pool_free()
166 b->next = bp->free; in nxt_buf_pool_free()
167 bp->free = b; in nxt_buf_pool_free()
[all …]
H A Dnxt_buf_pool.h22 nxt_buf_t *free; member
46 ((bp)->free != NULL \
48 && (bp)->current->mem.free < (bp)->current->mem.end))
H A Dnxt_cache.c595 cache->free(cache->data, node); in nxt_cache_node_free()
639 cache->free(cache->data, qw); in nxt_cache_query_wait_free()
H A Dnxt_cache.h35 void (*free)(void *data, void *p); member
H A Dnxt_cert.c1021 b->mem.free = b->mem.start;
1025 b->mem.free = nxt_cpymem(b->mem.free, de->d_name, size);
1080 *b->mem.free++ = '\0'; in nxt_cert_store_get()
1202 *b->mem.free++ = '\0'; in nxt_cert_store_delete()
H A Dnxt_conn_proxy.c394 if (rb->mem.pos != rb->mem.free) { in nxt_conn_proxy_read_process()
406 wb->mem.free = rb->mem.free; in nxt_conn_proxy_read_process()
408 wb->mem.end = rb->mem.free; in nxt_conn_proxy_read_process()
410 rb->mem.pos = rb->mem.free; in nxt_conn_proxy_read_process()
411 rb->mem.start = rb->mem.free; in nxt_conn_proxy_read_process()
483 prev->mem.free = b->mem.end; in nxt_conn_proxy_write_add()
599 rb->mem.free = wb->mem.start; in nxt_conn_proxy_write_process()
608 if (wb->mem.pos != wb->mem.free) { in nxt_conn_proxy_write_process()
654 first->mem.free = b->mem.start; in nxt_conn_proxy_read_add()
689 first->mem.free = second->mem.start; in nxt_conn_proxy_read_add()
H A Dnxt_controller.c800 b->mem.free = nxt_cpymem(b->mem.free, c->read->mem.pos, preread); in nxt_controller_conn_read()
914 if (b->mem.pos != b->mem.free) { in nxt_controller_conn_write()
2071 body->mem.free = nxt_conf_json_print(body->mem.free, value, &pretty); in nxt_controller_response()
2073 body->mem.free = nxt_cpymem(body->mem.free, "\r\n", 2); in nxt_controller_response()
2093 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2094 b->mem.free = nxt_cpymem(b->mem.free, status_line.start, in nxt_controller_response()
2101 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2104 b->mem.free); in nxt_controller_response()
2110 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2112 b->mem.free = nxt_sprintf(b->mem.free, b->mem.end, "%uz", in nxt_controller_response()
[all …]
H A Dnxt_credential.c216 goto free; in nxt_credential_groups_get()
229 goto free; in nxt_credential_groups_get()
271 free: in nxt_credential_groups_get()
H A Dnxt_cyassl.c361 ret = CyaSSL_read(ssltls->session, b->mem.free, in nxt_cyassl_conn_io_read()
362 b->mem.end - b->mem.free); in nxt_cyassl_conn_io_read()
367 c->socket.fd, b->mem.free, b->mem.end - b->mem.free, ret); in nxt_cyassl_conn_io_read()
371 b->mem.free += ret; in nxt_cyassl_conn_io_read()
383 c->socket.fd, b->mem.free, in nxt_cyassl_conn_io_read()
384 b->mem.end - b->mem.free); in nxt_cyassl_conn_io_read()
H A Dnxt_event_conn_job_sendfile.c245 if (nxt_buf_is_mem(b) && b->mem.pos != b->mem.free) { in nxt_event_conn_job_sendfile_completion()
H A Dnxt_event_engine.c18 nxt_mem_cache_block_t *free; member
148 interface->free(engine); in nxt_event_engine_create()
416 engine->event.free(engine); in nxt_event_engine_change()
457 engine->event.free(engine); in nxt_event_engine_free()
604 cache->free = NULL; in nxt_event_engine_mem_alloc()
618 block = cache->free; in nxt_event_engine_mem_alloc()
621 cache->free = block->next; in nxt_event_engine_mem_alloc()
667 block->next = cache->free; in nxt_event_engine_mem_free()
668 cache->free = block; in nxt_event_engine_mem_free()
701 b->mem.free = b->mem.start; in nxt_event_engine_buf_mem_alloc()
H A Dnxt_event_engine.h38 void (*free)(nxt_event_engine_t *engine); member
H A Dnxt_fastcgi_record_parse.c59 while (fp->pos < b->mem.free) { in nxt_fastcgi_record_parse()
261 size = in->mem.free - p; in nxt_fastcgi_buffer()
290 b->mem.free = p; in nxt_fastcgi_buffer()
296 b->mem.free = in->mem.free; in nxt_fastcgi_buffer()
297 b->mem.end = in->mem.free; in nxt_fastcgi_buffer()

123