Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 36) sorted by relevance

12

/unit/docs/
H A Dchanges.xsls3 X:output method="text";
76 X:text {
}
101 X:text {
}
104 X:text {
}
108 X:text {
}
117 X:text {
}
118 X:text {
}
139 X:text {
}
142 !wrap(text = "normalize-space($text)",
148 X:if "$text" {
[all …]
/unit/src/
H A Dnxt_js.c16 nxt_str_t text; member
35 nxt_str_t text; in nxt_js_module_loader() local
58 text.length = module->text.length; in nxt_js_module_loader()
60 text.start = njs_mp_alloc(vm->mem_pool, text.length); in nxt_js_module_loader()
61 if (nxt_slow_path(text.start == NULL)) { in nxt_js_module_loader()
65 nxt_memcpy(text.start, module->text.start, text.length); in nxt_js_module_loader()
67 return njs_vm_compile_module(vm, name, &text.start, in nxt_js_module_loader()
68 &text.start[text.length]); in nxt_js_module_loader()
222 module->text.length = text->length; in nxt_js_add_module()
223 module->text.start = nxt_mp_nget(jcf->pool, text->length); in nxt_js_add_module()
[all …]
H A Dnxt_job.h76 #define nxt_job_set_name(job, text) \ argument
77 (job)->name = text
81 #define nxt_job_set_name(job, text) argument
H A Dnxt_script.c14 nxt_str_t text; member
92 script->text.length = size; in nxt_script_new()
93 script->text.start = (u_char *) script + sizeof(nxt_script_t); in nxt_script_new()
95 nxt_memcpy(script->text.start, data, size); in nxt_script_new()
113 nxt_str_t text; in nxt_script_get() local
117 ret = nxt_script_file_read(fd, &text); in nxt_script_get()
122 script = nxt_script_new(task, name, text.start, text.length, error); in nxt_script_get()
124 nxt_free(text.start); in nxt_script_get()
315 nxt_conf_set_string_dup(value, mp, &script->text); in nxt_script_details()
H A Dnxt_router_access_log.c21 nxt_str_t text; member
181 nxt_tstr_str(format, &ctx->text); in nxt_router_access_log_writer()
194 nxt_tstr_query(task, r->tstr_query, format, &ctx->text); in nxt_router_access_log_writer()
211 nxt_fd_write(ctx->access_log->fd, ctx->text.start, ctx->text.length); in nxt_router_access_log_write_ready()
H A Dnxt_string.h105 #define nxt_str_set(str, text) \ argument
107 (str)->length = nxt_length(text); \
108 (str)->start = (u_char *) text; \
/unit/src/java/nginx/unit/websocket/
H A DWsRemoteEndpointAsync.java46 public void sendText(String text, SendHandler completion) { in sendText() argument
47 base.sendStringByCompletion(text, completion); in sendText()
52 public Future<Void> sendText(String text) { in sendText() argument
53 return base.sendStringByFuture(text); in sendText()
H A DWsRemoteEndpointBasic.java36 public void sendText(String text) throws IOException { in sendText() argument
37 base.sendString(text); in sendText()
H A DWsRemoteEndpointImplBase.java76 private boolean text = false; field in WsRemoteEndpointImplBase
191 if (text == null) { in sendString()
195 sendMessageBlock(CharBuffer.wrap(text), true); in sendString()
199 public Future<Void> sendStringByFuture(String text) { in sendStringByFuture() argument
201 sendStringByCompletion(text, f2sh); in sendStringByFuture()
207 if (text == null) { in sendStringByCompletion()
361 text = nextText; in endMessage()
399 nextText = text; in writeMessagePart()
412 nextText = text; in writeMessagePart()
422 if (text != isText) { in writeMessagePart()
[all …]
/unit/test/java/jsp/
H A Dindex.jsp1 <%@ page contentType="text/plain"%>This is plain text response for "<%= request.getMethod() %> <%= …
/unit/src/java/javax/websocket/
H A DRemoteEndpoint.java56 void sendText(String text, SendHandler completion); in sendText() argument
64 Future<Void> sendText(String text); in sendText() argument
117 void sendText(String text) throws IOException; in sendText() argument
/unit/pkg/deb/debian.module/
H A Dunit.example-jsc-app1 <%@ page contentType="text/plain"%><%@ page import="java.util.*" %>This is plain text response for …
H A Dunit.example-ruby-app3 'Content-Type' => 'text/plain',
H A Dunit.example-go-app10 w.Header().Add("Content-Type", "text/plain");
H A Dunit.example-python-app15 start_response('200 OK', [('Content-type', 'text/plain')])
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-jsc-app1 <%@ page contentType="text/plain"%><%@ page import="java.util.*" %>This is plain text response for …
H A Dunit.example-ruby-app3 'Content-Type' => 'text/plain',
H A Dunit.example-go-app10 w.Header().Add("Content-Type", "text/plain");
H A Dunit.example-python-app15 start_response('200 OK', [('Content-type', 'text/plain')])
/unit/test/node/loader/es_modules_http/
H A Dapp.mjs4 res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
/unit/test/node/loader/es_modules_http_indirect/
H A Dmodule.mjs4 res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
/unit/test/java/welcome_files/dir2/
H A Ddefault.jsp1 <%@ page contentType="text/html"%>
/unit/pkg/deb/debian/
H A Dunit.example-go-app10 w.Header().Add("Content-Type", "text/plain");
H A Dunit.example-python-app15 start_response('200 OK', [('Content-type', 'text/plain')])
/unit/src/python/
H A Dnxt_python_asgi_websocket.c421 PyObject *bytes, *text; in nxt_py_asgi_websocket_send_frame() local
453 text = PyDict_GetItem(dict, nxt_py_text_str); in nxt_py_asgi_websocket_send_frame()
454 if (text == Py_None) { in nxt_py_asgi_websocket_send_frame()
455 text = NULL; in nxt_py_asgi_websocket_send_frame()
458 if (nxt_slow_path(text != NULL && !PyUnicode_Check(text))) { in nxt_py_asgi_websocket_send_frame()
463 if (nxt_slow_path(((bytes != NULL) ^ (text != NULL)) == 0)) { in nxt_py_asgi_websocket_send_frame()
474 buf = PyUnicode_AsUTF8AndSize(text, &buf_size); in nxt_py_asgi_websocket_send_frame()

12