Home
last modified time | relevance | path

Searched refs:string (Results 1 – 16 of 16) sorted by relevance

/unit/docs/
H A Dchanges.xsls152 !{string-length($br) + 2}
155 !{string-length($br) + 1}
165 prefix = "string-length($prefix)",
187 X:when "$break" { !{string-length($break)} }
191 X:when "string-length($text) + $prefix <= $length" {
228 X:template string_in_list(list, string) {
233 X:when "$str=$string" {
234 !{$string}
238 string="$string")
243 X:if "$list=$string" { !{$string} }
[all …]
/unit/src/
H A Dnxt_thread_time.c73 nxt_free(tsc[i].string.start); in nxt_thread_time_free()
320 p = tsc->string.start; in nxt_thread_time_string()
332 tsc->string.start = p; in nxt_thread_time_string()
337 tsc->string.length = p - tsc->string.start; in nxt_thread_time_string()
339 if (nxt_slow_path(tsc->string.length == 0)) { in nxt_thread_time_string()
346 return nxt_cpymem(buf, tsc->string.start, tsc->string.length); in nxt_thread_time_string()
408 nxt_prefetch(tsc->string.start); in nxt_thread_time_string_cache()
425 tsc[i].string.start = NULL; in nxt_thread_time_string_cache()
H A Dnxt_upstream.c24 nxt_str_t name, *string; in nxt_upstreams_create() local
56 string = nxt_str_dup(mp, &upstreams->upstream[i].name, &name); in nxt_upstreams_create()
57 if (nxt_slow_path(string == NULL)) { in nxt_upstreams_create()
H A Dnxt_conf.c59 } nxt_packed string; member
172 str->start = value->u.string.start; in nxt_conf_get_string()
183 value->u.string.start = str->start; in nxt_conf_set_string()
209 value->u.string.start = tmp.start; in nxt_conf_set_string_dup()
983 dst->u.string.start = nxt_mp_nget(mp, src->u.string.length); in nxt_conf_copy_value()
988 nxt_memcpy(dst->u.string.start, src->u.string.start, in nxt_conf_copy_value()
989 src->u.string.length); in nxt_conf_copy_value()
991 dst->u.string.length = src->u.string.length; in nxt_conf_copy_value()
1960 value->u.string.length = size; in nxt_conf_json_parse_string()
1962 s = value->u.string.start; in nxt_conf_json_parse_string()
[all …]
H A Dnxt_thread_time.h36 nxt_str_t string; member
H A Dnxt_conf_validation.c602 .u.string = "method",
611 .u.string = "host",
624 .u.string = "uri"
629 .u.string = "query"
638 .u.string = "headers"
643 .u.string = "cookies"
698 .u.string = "chroot",
778 .u.string = "module",
828 .u.string = "root",
833 .u.string = "script",
[all …]
H A Dnxt_http_route.c240 nxt_str_t name, *string; in nxt_http_routes_create() local
272 string = nxt_str_dup(mp, &route->name, &name); in nxt_http_routes_create()
273 if (nxt_slow_path(string == NULL)) { in nxt_http_routes_create()
/unit/src/test/
H A Dnxt_term_parse_test.c12 nxt_str_t string; member
47 s = &terms[i].string; in nxt_term_parse_test()
/unit/src/python/
H A Dnxt_python_wsgi.c889 string = PyTuple_GET_ITEM(args, 0); in nxt_py_start_resp()
890 if (!PyBytes_Check(string) && !PyUnicode_Check(string)) { in nxt_py_start_resp()
917 string = PyTuple_GET_ITEM(tuple, 0); in nxt_py_start_resp()
918 if (PyBytes_Check(string)) { in nxt_py_start_resp()
919 fields_size += PyBytes_GET_SIZE(string); in nxt_py_start_resp()
921 } else if (PyUnicode_Check(string)) { in nxt_py_start_resp()
929 string = PyTuple_GET_ITEM(tuple, 1); in nxt_py_start_resp()
930 if (PyBytes_Check(string)) { in nxt_py_start_resp()
931 fields_size += PyBytes_GET_SIZE(string); in nxt_py_start_resp()
933 } else if (PyUnicode_Check(string)) { in nxt_py_start_resp()
[all …]
H A Dnxt_python.h57 nxt_str_t string; member
H A Dnxt_python.c633 while (pstr->string.start != NULL) { in nxt_python_init_strings()
634 obj = PyString_FromStringAndSize((char *) pstr->string.start, in nxt_python_init_strings()
635 pstr->string.length); in nxt_python_init_strings()
656 while (pstr->string.start != NULL) { in nxt_python_done_strings()
/unit/src/nodejs/unit-http/
H A Dutils.js19 function oldBufferFromString(string, encoding) {
20 return new Buffer(string, encoding);
/unit/auto/
H A Dfiles63 #include <string.h>
/unit/src/ruby/
H A Dnxt_ruby.c105 nxt_str_t string; member
161 while (pstr->string.start != NULL) { in nxt_ruby_init_strings()
162 v = rb_str_new_static((char *) pstr->string.start, pstr->string.length); in nxt_ruby_init_strings()
166 (int) pstr->string.length, in nxt_ruby_init_strings()
167 (char *) pstr->string.start); in nxt_ruby_init_strings()
190 while (pstr->string.start != NULL) { in nxt_ruby_done_strings()
/unit/src/java/nginx/unit/websocket/
H A DLocalStrings.properties80 wsHandshakeRequest.invalidUri=The string [{0}] cannot be used to construct a valid URI
/unit/
H A DCHANGES29 *) Bugfix: force SCRIPT_NAME in Ruby to always be an empty string.
112 *) Feature: request routing by the query string.