Home
last modified time | relevance | path

Searched full:printf (Results 1 – 25 of 83) sorted by relevance

1234

/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dprint.c33 case '"': printf("\\\""); break; in PrintString()
34 case '\\': printf("\\\\"); break; in PrintString()
35 case '\a': printf("\\a"); break; in PrintString()
36 case '\b': printf("\\b"); break; in PrintString()
37 case '\f': printf("\\f"); break; in PrintString()
38 case '\n': printf("\\n"); break; in PrintString()
39 case '\r': printf("\\r"); break; in PrintString()
40 case '\t': printf("\\t"); break; in PrintString()
41 case '\v': printf("\\v"); break; in PrintString()
45 printf("\\%03u",(unsigned char)c); in PrintString()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/cpp-exceptions/
Dcpp_exceptions.cpp49 printf("my_class instance created\n"); in my_class()
53 printf("my_class instance destroyed\n"); in ~my_class()
80 printf("Caught: %d\n", myvalue); in test2()
149 printf("*** test1 - duk_pcall()\n"); in main()
152 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
154 printf("\n"); in main()
156 printf("*** test1 - duk_safe_call()\n"); in main()
158 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
160 printf("\n"); in main()
162 printf("*** test1 - ecmascript try-catch\n"); in main()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/cpp-exceptions/
Dcpp_exceptions.cpp49 printf("my_class instance created\n"); in my_class()
53 printf("my_class instance destroyed\n"); in ~my_class()
80 printf("Caught: %d\n", myvalue); in test2()
149 printf("*** test1 - duk_pcall()\n"); in main()
152 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
154 printf("\n"); in main()
156 printf("*** test1 - duk_safe_call()\n"); in main()
158 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
160 printf("\n"); in main()
162 printf("*** test1 - ecmascript try-catch\n"); in main()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dluac.c114 printf("%s\n",LUA_COPYRIGHT); in doargs()
230 printf("%c",'"'); in PrintString()
236 case '"': printf("\\\""); break; in PrintString()
237 case '\\': printf("\\\\"); break; in PrintString()
238 case '\a': printf("\\a"); break; in PrintString()
239 case '\b': printf("\\b"); break; in PrintString()
240 case '\f': printf("\\f"); break; in PrintString()
241 case '\n': printf("\\n"); break; in PrintString()
242 case '\r': printf("\\r"); break; in PrintString()
243 case '\t': printf("\\t"); break; in PrintString()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dluac.c111 printf("%s\n",LUA_COPYRIGHT); in doargs()
227 printf("%c",'"'); in PrintString()
233 case '"': printf("\\\""); break; in PrintString()
234 case '\\': printf("\\\\"); break; in PrintString()
235 case '\a': printf("\\a"); break; in PrintString()
236 case '\b': printf("\\b"); break; in PrintString()
237 case '\f': printf("\\f"); break; in PrintString()
238 case '\n': printf("\\n"); break; in PrintString()
239 case '\r': printf("\\r"); break; in PrintString()
240 case '\t': printf("\\t"); break; in PrintString()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/alloc-hybrid/
Dduk_alloc_hybrid.c69 printf("=== Pool state: st=%p\n", (void *) st); in dump_pool_state()
77 printf("[%d]: size %ld, count %ld, used %ld, free list len %ld\n", in dump_pool_state()
105printf("Pool %d: size %ld, count %ld\n", i, (long) pool_sizes[i].size, (long) pool_sizes[i].count); in duk_alloc_hybrid_init()
113 printf("Total size %ld, max pool size %ld\n", (long) total_size, (long) max_size); in duk_alloc_hybrid_init()
165 printf("alloc fallback: %ld\n", (long) size); in duk_alloc_hybrid()
178 printf("alloc from pool: %ld -> pool size %ld\n", (long) size, (long) hdr->size); in duk_alloc_hybrid()
185 printf("alloc out of pool entries: %ld -> pool size %ld\n", (long) size, (long) hdr->size); in duk_alloc_hybrid()
192 printf("alloc fallback (out of pool): %ld\n", (long) size); in duk_alloc_hybrid()
214 printf("realloc original from pool: still fits, size %ld, pool size %ld\n", in duk_realloc_hybrid()
223 printf("realloc original from pool: needed larger size, failed to alloc\n"); in duk_realloc_hybrid()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/alloc-hybrid/
Dduk_alloc_hybrid.c69 printf("=== Pool state: st=%p\n", (void *) st); in dump_pool_state()
77 printf("[%d]: size %ld, count %ld, used %ld, free list len %ld\n", in dump_pool_state()
105printf("Pool %d: size %ld, count %ld\n", i, (long) pool_sizes[i].size, (long) pool_sizes[i].count); in duk_alloc_hybrid_init()
113 printf("Total size %ld, max pool size %ld\n", (long) total_size, (long) max_size); in duk_alloc_hybrid_init()
165 printf("alloc fallback: %ld\n", (long) size); in duk_alloc_hybrid()
178 printf("alloc from pool: %ld -> pool size %ld\n", (long) size, (long) hdr->size); in duk_alloc_hybrid()
185 printf("alloc out of pool entries: %ld -> pool size %ld\n", (long) size, (long) hdr->size); in duk_alloc_hybrid()
192 printf("alloc fallback (out of pool): %ld\n", (long) size); in duk_alloc_hybrid()
214 printf("realloc original from pool: still fits, size %ld, pool size %ld\n", in duk_realloc_hybrid()
223 printf("realloc original from pool: needed larger size, failed to alloc\n"); in duk_realloc_hybrid()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/cmdline/
Dduk_cmdline_ajduk.c53 printf("\""); in safe_print_chars()
60 printf("\\x%02x", (int) x); in safe_print_chars()
62 printf("%c", (char) x); in safe_print_chars()
65 printf("\""); in safe_print_chars()
347 printf("ajsheap_enc16: %p -> %u\n", p, (unsigned int) ret); in ajsheap_enc16()
399 printf("ajsheap_dec16: %u -> %p\n", (unsigned int) x, ret); in ajsheap_dec16()
454 printf("ajsheap_extstr_check_1: ptr=%p, len=%ld ", in ajsheap_extstr_check_1()
457 printf(" -> existing %p (used=%ld)\n", in ajsheap_extstr_check_1()
471 printf("ajsheap_extstr_check_1: ptr=%p, len=%ld ", (void *) ptr, (long) len); in ajsheap_extstr_check_1()
473 printf(" -> no space (used=%ld)\n", (long) ajsheap_strdata_used); in ajsheap_extstr_check_1()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/cmdline/
Dduk_cmdline_ajduk.c53 printf("\""); in safe_print_chars()
60 printf("\\x%02x", (int) x); in safe_print_chars()
62 printf("%c", (char) x); in safe_print_chars()
65 printf("\""); in safe_print_chars()
347 printf("ajsheap_enc16: %p -> %u\n", p, (unsigned int) ret); in ajsheap_enc16()
399 printf("ajsheap_dec16: %u -> %p\n", (unsigned int) x, ret); in ajsheap_dec16()
454 printf("ajsheap_extstr_check_1: ptr=%p, len=%ld ", in ajsheap_extstr_check_1()
457 printf(" -> existing %p (used=%ld)\n", in ajsheap_extstr_check_1()
471 printf("ajsheap_extstr_check_1: ptr=%p, len=%ld ", (void *) ptr, (long) len); in ajsheap_extstr_check_1()
473 printf(" -> no space (used=%ld)\n", (long) ajsheap_strdata_used); in ajsheap_extstr_check_1()
[all …]
/civetweb-2.7.6/examples/ws_client/
Dws_client.c76 printf("%10.0f - Client received %lu bytes of %s data from server%s", in websocket_client_data_handler()
110 printf("\n"); in websocket_client_data_handler()
137 printf("%10.0f - Goodbye\n", difftime(now, pclient_data->started)); in websocket_client_data_handler()
154 printf("%10.0f - Client: Close handler\n", in websocket_client_close_handler()
182 printf("%10.0f - Connecting to %s:%i\n", 0.0, host, port); in run_websocket_client()
198 printf("mg_connect_websocket_client error: %s\n", err_buf); in run_websocket_client()
203 printf("%10.0f - Connected\n", difftime(time(NULL), pclient_data->started)); in run_websocket_client()
207 printf("%10.0f - Sending greetings\n", in run_websocket_client()
222 printf("%10.0f - Sending PING\n", in run_websocket_client()
238 printf("%10.0f - Sending greetings again\n", in run_websocket_client()
[all …]
/civetweb-2.7.6/examples/_obsolete/websocket_client/
Dwebsocket_client.c49 printf("Server: Websocket connected\n"); in websock_server_connect()
62 printf("Server: Websocket ready\n"); in websocket_server_ready()
89 printf("Server: Got %lu bytes from the client\n", (unsigned long)data_len); in websocket_server_data()
90 printf("Server received data from client: "); in websocket_server_data()
92 printf("\n"); in websocket_server_data()
125 printf("Server: Close connection\n"); in websocket_server_connection_close()
194 printf("Client received data from server: "); in websocket_client_data_handler()
196 printf("\n"); in websocket_client_data_handler()
214 printf("Client: Close handler\n"); in websocket_client_close_handler()
236 printf("Server init\n\n"); in main()
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/etc/
Dmin.c18 if (i>1) printf("\t"); in print()
20 printf("%s",lua_tostring(L,i)); in print()
22 printf("%s","nil"); in print()
24 printf("%s",lua_toboolean(L,i) ? "true" : "false"); in print()
26 printf("%s:%p",luaL_typename(L,i),lua_topointer(L,i)); in print()
28 printf("\n"); in print()
/civetweb-2.7.6/examples/embedded_cpp/
Dembedded_cpp.cpp347 printf("WS connected\n"); in handleConnection()
353 printf("WS ready\n"); in handleReadyState()
364 printf("WS got %lu bytes: ", (long unsigned)data_len); in handleData()
366 printf("\n"); in handleData()
374 printf("WS closed\n"); in handleClose()
416 printf("See a page from the \"all\" handler at http://localhost:%s/\n", PORT); in main()
420 printf("Browse files at http://localhost:%s/\n", PORT); in main()
426 printf("Run websocket example at http://localhost:%s/ws\n", PORT); in main()
429 printf("Run example at http://localhost:%s%s\n", PORT, EXAMPLE_URI); in main()
430 printf("Exit at http://localhost:%s%s\n", PORT, EXIT_URI); in main()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/guide/
Dprocesslines.c15 printf("Failed to create a Duktape heap.\n"); in main()
20 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
29 printf("Line too long\n"); in main()
41 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
43 printf("%s\n", duk_safe_to_string(ctx, -1)); in main()
Dprimecheck.c28 printf("Failed to create a Duktape heap.\n"); in main()
37 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
44 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/guide/
Dprocesslines.c15 printf("Failed to create a Duktape heap.\n"); in main()
20 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
29 printf("Line too long\n"); in main()
41 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
43 printf("%s\n", duk_safe_to_string(ctx, -1)); in main()
Dprimecheck.c28 printf("Failed to create a Duktape heap.\n"); in main()
37 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
44 printf("Error: %s\n", duk_safe_to_string(ctx, -1)); in main()
/civetweb-2.7.6/unittest/
Dtestclient.c133 printf("\n"); in main()
134 printf("conn: %.0lf\n", difftime(t2,t1)); in main()
135 printf("write: %.0lf\n", difftime(t3,t2)); in main()
136 printf("read: %.0lf\n", difftime(t4,t3)); in main()
144 printf("%5i\t%7i\n", i, cnt); in main()
/civetweb-2.7.6/examples/embedded_c/
Dembedded_c.c210 printf("CloseHandler: close connection\n"); in CloseHandler()
212 printf("CloseHandler: wait 10 sec\n"); in CloseHandler()
218 printf("CloseHandler: return from function\n"); in CloseHandler()
940 printf("ECDH ciphers initialized\n"); in init_ssl()
1111 printf("\n%i listening ports:\n\n", port_cnt); in main()
1120 printf("Browse files at %s://%s:%i/\n", proto, host, ports[n].port); in main()
1121 printf("Run example at %s://%s:%i%s\n", in main()
1126 printf( in main()
1128 printf("\n"); in main()
1134 printf("Browse files at %s://%s:%i/\n", proto, host, ports[n].port); in main()
[all …]
/civetweb-2.7.6/test/cgidir/
Dtest-lf.cgi2 printf "Content-Type: text/plain\n"
3 printf "\n"
4 printf "This should be the first line\n"
Dtest-crlf.cgi2 printf "Content-Type: text/plain\r\n"
3 printf "\r\n"
4 printf "This should be the first line\r\n"
/civetweb-2.7.6/src/third_party/lua-5.1.5/test/
Dprintf.lua1 -- an implementation of printf
3 function printf(...) function
7 printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date())
/civetweb-2.7.6/examples/rest/
Drest.c274 printf("Start example: %s%s\n", HOST_INFO, EXAMPLE_URI); in main()
275 printf("Exit example: %s%s\n", HOST_INFO, EXIT_URI); in main()
290 printf("Server stopped.\n"); in main()
291 printf("Bye!\n"); in main()
/civetweb-2.7.6/src/
Dmod_lua.inl1928 printf("call\n");
1930 printf("ret\n");
1933 printf("tail ret\n");
1937 printf("tail call\n");
1940 printf("line\n");
1942 printf("count\n");
1944 printf("unknown (%i)\n", ar->event);
1948 printf("%s:%i\n", ar->source, ar->currentline);
1951 printf("%s (%s)\n", ar->name, ar->namewhat);
1963 printf("nil\n");
[all …]
/civetweb-2.7.6/test/
Dlinux.cgi3 printf "Content-Type: text/plain\r\n"
4 printf "\r\n"

1234