Searched refs:args (Results 1 - 25 of 101) sorted by relevance

12345

/tldk/test/gtest/
H A Dtest_scapy_gen.py67 args = parser.parse_args()
71 inet_pton(socket.AF_INET, args.l_ip)
76 pkts = read_pkts(args.file)
79 for i in range(0, args.nb_pkts):
81 IP(src=args.l_ip, dst=args.r_ip, frag=0, chksum=args.bad_chksum_l3) /\
82 UDP(sport=args.l_port, dport=args.r_port, chksum=args
[all...]
/tldk/lib/libtle_l4p/
H A Dosdep.h39 #define UDP_LOG(lvl, fmt, args...) RTE_LOG(lvl, USER1, fmt, ##args)
41 #define TCP_LOG(lvl, fmt, args...) RTE_LOG(lvl, USER1, fmt, ##args)
/tldk/app/nginx/src/os/win32/
H A Dngx_event_log.c21 va_list args; local
32 va_start(args, fmt);
33 p = ngx_vslprintf(p, last, fmt, args);
34 va_end(args);
H A Dngx_process.h48 char *args; member in struct:__anon397
/tldk/app/nginx/src/tldk/
H A Dparse.c168 if (cf->args->nelts % 2 != 0)
171 v = cf->args->elts;
172 for (i = 0; i != cf->args->nelts; i += 2) {
227 if (cf->args->nelts % 2 != 0)
230 v = cf->args->elts;
231 for (i = 0; i != cf->args->nelts; i += 2) {
291 if (cf->args->nelts % 2 != 1 || cf->args->nelts == 1)
294 v = cf->args->elts;
295 for (i = 1; i != cf->args
[all...]
/tldk/app/nginx/src/core/
H A Dngx_log.c103 const char *fmt, va_list args)
108 va_list args; local
134 va_start(args, fmt);
135 p = ngx_vslprintf(p, last, fmt, args);
136 va_end(args);
140 p = ngx_vslprintf(p, last, fmt, args);
219 va_list args; local
222 va_start(args, fmt);
223 ngx_log_error_core(level, log, err, fmt, args);
224 va_end(args);
232 va_list args; local
246 va_list args; local
262 va_list args; local
[all...]
H A Dngx_string.c108 va_list args; local
110 va_start(args, fmt);
111 p = ngx_vslprintf(buf, (void *) -1, fmt, args);
112 va_end(args);
122 va_list args; local
124 va_start(args, fmt);
125 p = ngx_vslprintf(buf, buf + max, fmt, args);
126 va_end(args);
136 va_list args; local
138 va_start(args, fm
147 ngx_vslprintf(u_char *buf, u_char *last, const char *fmt, va_list args) argument
1453 static uint32_t args[] = { local
[all...]
H A Dngx_conf_file.c363 name = cf->args->elts;
418 if (cf->args->nelts != 2) {
424 if (cf->args->nelts < 2) {
430 if (cf->args->nelts < 3) {
434 } else if (cf->args->nelts > NGX_CONF_MAX_ARGS) {
438 } else if (!(cmd->type & argument_number[cf->args->nelts - 1]))
522 cf->args->nelts = 0;
536 if (cf->args->nelts > 0 || !last_space) {
669 if (cf->args->nelts == 0) {
682 if (cf->args
989 va_list args; local
[all...]
H A Dngx_log.h101 #define ngx_log_error(level, log, args...) \
102 if ((log)->log_level >= level) ngx_log_error_core(level, log, args)
107 #define ngx_log_debug(level, log, args...) \
109 ngx_log_error_core(NGX_LOG_DEBUG, log, args)
120 const char *fmt, va_list args);
H A Dnginx.c1205 value = cf->args->elts;
1219 group = (char *) ((cf->args->nelts == 2) ? value[1].data : value[2].data);
1250 value = cf->args->elts;
1279 value = cf->args->elts;
1322 mask = ngx_palloc(cf->pool, (cf->args->nelts - 1) * sizeof(ngx_cpuset_t));
1327 ccf->cpu_affinity_n = cf->args->nelts - 1;
1330 value = cf->args->elts;
1334 if (cf->args->nelts > 3) {
1354 for ( /* void */ ; n < cf->args->nelts; n++) {
1471 value = cf->args
[all...]
/tldk/app/nginx/src/mail/
H A Dngx_mail_parse.c119 if (s->args.nelts <= 2) {
148 arg = ngx_array_push(&s->args);
193 arg = ngx_array_push(&s->args);
419 if (s->args.nelts <= 2) {
427 if (s->args.nelts <= 2) {
433 if (s->args.nelts <= 2) {
457 arg = ngx_array_push(&s->args);
543 arg = ngx_array_push(&s->args);
557 if (s->args.nelts <= 2) {
593 arg = ngx_array_push(&s->args);
[all...]
H A Dngx_mail_pop3_handler.c98 if (ngx_array_init(&s->args, c->pool, 2, sizeof(ngx_str_t))
270 s->args.nelts = 0;
293 if (s->args.nelts != 1) {
297 arg = s->args.elts;
320 if (s->args.nelts != 1) {
324 arg = s->args.elts;
406 if (s->args.nelts != 2) {
416 arg = s->args.elts;
457 if (s->args.nelts == 0) {
H A Dngx_mail_imap_handler.c78 if (ngx_array_init(&s->args, c->pool, 2, sizeof(ngx_str_t))
148 arg = s->args.elts;
150 for (i = 0; i < s->args.nelts; i++) {
281 s->args.nelts = 0;
311 arg = s->args.elts;
313 if (s->args.nelts != 2 || arg[0].len == 0) {
H A Dngx_mail_smtp_handler.c370 if (ngx_array_init(&s->args, c->pool, 2, sizeof(ngx_str_t)) == NGX_ERROR) {
517 s->args.nelts = 0;
539 if (s->args.nelts != 1) {
545 arg = s->args.elts;
606 if (s->args.nelts == 0) {
697 if (s->args.nelts == 0) {
702 arg = s->args.elts;
703 arg += s->args.nelts - 1;
736 if (s->args.nelts == 0) {
741 arg = s->args
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_postpone_filter_module.c61 "http postpone filter \"%V?%V\" %p", &r->uri, &r->args, in);
99 &pr->request->uri, &pr->request->args);
115 &r->uri, &r->args);
H A Dngx_http_script.h26 u_char *args; member in struct:__anon303
62 unsigned args:1; member in struct:__anon304
127 unsigned args:1; member in struct:__anon311
129 /* add the r->args to the new arguments */
143 unsigned args:1; member in struct:__anon312
145 /* add the r->args to the new arguments */
H A Dngx_http_script.c231 value = cf->args->elts;
294 value = cf->args->elts;
296 for (i = 1; i < cf->args->nelts; i++) {
435 sc->args = 1;
457 sc->args = 1;
898 "http script args");
901 e->args = e->pos;
1046 if (code->add_args && r->args.len) {
1047 e->buf.len += r->args.len + 1;
1095 if (code->add_args && r->args
[all...]
H A Dngx_http_copy_filter_module.c98 "http copy filter: \"%V?%V\"", &r->uri, &r->args);
162 "http copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args);
200 "http aio: \"%V?%V\"", &r->uri, &r->args);
321 "http thread: \"%V?%V\"", &r->uri, &r->args);
H A Dngx_http_core_module.c997 if (r->args.len == 0) {
1001 len = clcf->name.len + 1 + r->args.len;
1014 ngx_memcpy(p, r->args.data, r->args.len);
1166 ngx_str_t path, args; local
1290 ngx_http_split_args(r, &path, &args);
1292 (void) ngx_http_internal_redirect(r, &path, &args);
1984 "http output filter \"%V?%V\"", &r->uri, &r->args);
2438 ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **psr,
2510 if (args) {
2437 ngx_http_subrequest(ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **psr, ngx_http_post_subrequest_t *ps, ngx_uint_t flags) argument
2591 ngx_http_internal_redirect(ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args) argument
4763 ngx_str_t *value, uri, args; local
[all...]
/tldk/app/nginx/src/http/modules/
H A Dngx_http_static_module.c160 if (!clcf->alias && clcf->root_lengths == NULL && r->args.len == 0) {
166 if (r->args.len) {
167 len += r->args.len + 1;
179 if (r->args.len) {
181 ngx_memcpy(++last, r->args.data, r->args.len);
H A Dngx_http_browser_module.c551 value = cf->args->elts;
553 if (cf->args->nelts == 2) {
640 value = cf->args->elts;
642 for (i = 1; i < cf->args->nelts; i++) {
681 value = cf->args->elts;
706 value = cf->args->elts;
H A Dngx_http_index_module.c136 return ngx_http_internal_redirect(r, &index[i].name, &r->args);
192 return ngx_http_internal_redirect(r, &uri, &r->args);
277 return ngx_http_internal_redirect(r, &uri, &r->args);
480 value = cf->args->elts;
482 for (i = 1; i < cf->args->nelts; i++) {
484 if (value[i].data[0] == '/' && i != cf->args->nelts - 1) {
H A Dngx_http_rewrite_module.c327 value = cf->args->elts;
366 if (cf->args->nelts == 4) {
409 regex->args = sc.args;
424 regex_end->args = regex->args;
460 value = cf->args->elts;
472 if (cf->args->nelts == 2
494 if (cf->args->nelts == 2) {
662 value = cf->args
[all...]
H A Dngx_http_geoip_module.c687 value = cf->args->elts;
698 if (cf->args->nelts == 3) {
742 value = cf->args->elts;
753 if (cf->args->nelts == 3) {
803 value = cf->args->elts;
814 if (cf->args->nelts == 3) {
857 value = cf->args->elts;
/tldk/app/nginx/src/http/modules/perl/
H A Dngx_http_perl_module.c46 HV *nginx, SV *sub, SV **args, ngx_str_t *handler, ngx_str_t *rv);
185 ngx_str_t uri, args, *handler; local
242 args = ctx->redirect_args;
257 ngx_http_internal_redirect(r, &uri, &args);
363 ngx_str_t *handler, **args; local
415 args = &params[NGX_HTTP_PERL_SSI_ARG];
417 if (args[0]) {
419 for (i = 0; args[i]; i++) { /* void */ }
430 for (i = 0; args[i]; i++) {
431 asv[i + 1] = newSVpvn((char *) args[
675 ngx_http_perl_call_handler(pTHX_ ngx_http_request_t *r, HV *nginx, SV *sub, SV **args, ngx_str_t *handler, ngx_str_t *rv) argument
[all...]

Completed in 19 milliseconds

12345