Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 13 of 13) sorted by relevance

/unit/auto/echo/
H A Decho.c21 main(int argc, char *const *argv) in main() argument
26 if (argc > 1) { in main()
32 while (i < argc) { in main()
33 printf("%s%s", argv[i], (i == argc - 1) ? "" : " "); in main()
/unit/src/
H A Dnxt_external.c69 nxt_uint_t i, argc; in nxt_external_start() local
154 argc = 2; in nxt_external_start()
168 argc++; in nxt_external_start()
172 argv = nxt_malloc(argc * sizeof(argv[0]) + size); in nxt_external_start()
182 p = (u_char *) &argv[argc]; in nxt_external_start()
H A Dnxt_main.c15 main(int argc, char **argv) in main() argument
/unit/src/test/
H A Dnxt_cq_test.c339 main(int argc, char **argv) in main() argument
355 for (i = 1; i < argc; i++) { in main()
363 if (strcmp(a, "-n") == 0 && (i + 1) < argc) { in main()
368 if (strcmp(a, "--enq") == 0 && (i + 1) < argc) { in main()
373 if (strcmp(a, "--deq") == 0 && (i + 1) < argc) { in main()
378 if (strcmp(a, "--wenq") == 0 && (i + 1) < argc) { in main()
383 if (strcmp(a, "--wdeq") == 0 && (i + 1) < argc) { in main()
388 if (strcmp(a, "--ed") == 0 && (i + 1) < argc) { in main()
393 if (strcmp(a, "--cas") == 0 && (i + 1) < argc) { in main()
398 if (strcmp(a, "--faa") == 0 && (i + 1) < argc) { in main()
[all …]
H A Dnxt_tests.c26 main(int argc, char **argv) in main() argument
H A Dnxt_unit_app_test.c45 main(int argc, char **argv) in main() argument
51 if (argc == 3 && strcmp(argv[1], "-t") == 0) { in main()
H A Dnxt_utf8_file_name_test.c20 main(int argc, char **argv) in main() argument
/unit/auto/
H A Dclang59 nxt_feature_test="int main(int argc, char *const *argv) {
60 if ((__typeof__(argc == 0))
61 __builtin_expect((argc == 0), 0))
H A Dunix189 int main(int argc, char *argv[]) {
/unit/src/nodejs/unit-http/
H A Dnxt_napi.h207 get_cb_info(napi_callback_info info, size_t &argc, napi_value *argv) in get_cb_info()
212 status = napi_get_cb_info(env_, info, &argc, argv, &res, nullptr); in get_cb_info()
239 size_t argc; in get_cb_info() local
242 argc = 1; in get_cb_info()
243 res = get_cb_info(info, argc, &arg); in get_cb_info()
245 if (argc != 1) { in get_cb_info()
442 int argc, const napi_value *argv) in make_callback()
447 status = napi_make_callback(env_, ctx, val, func, argc, argv, &res); in make_callback()
H A Dunit.cpp250 size_t argc; in create_server() local
255 argc = 1; in create_server()
258 jsthis = napi.get_cb_info(info, argc, &argv); in create_server()
786 size_t argc, name_len, value_len; in response_send_headers() local
798 argc = 4; in response_send_headers()
801 this_arg = napi.get_cb_info(info, argc, argv); in response_send_headers()
802 if (argc != 4) { in response_send_headers()
932 size_t argc, have_buf_len; in response_write() local
942 argc = 3; in response_write()
945 this_arg = napi.get_cb_info(info, argc, argv); in response_write()
[all …]
/unit/src/ruby/
H A Dnxt_ruby_stream_io.c12 static VALUE nxt_ruby_stream_io_initialize(int argc, VALUE *argv, VALUE self);
85 nxt_ruby_stream_io_initialize(int argc, VALUE *argv, VALUE self) in nxt_ruby_stream_io_initialize() argument
H A Dnxt_ruby.c73 int argc, const VALUE *argv, VALUE blockarg);
1174 nxt_ruby_rack_result_body_each(VALUE body, VALUE arg, int argc, in nxt_ruby_rack_result_body_each() argument