Home
last modified time | relevance | path

Searched refs:cmds (Results 1 – 25 of 146) sorted by relevance

123456

/openbsd/gnu/llvm/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py49 self.assertNotEqual(len(cmds), 0)
56 self.assertNotEqual(len(cmds), 0)
61 cmds = cdb.getAllCompileCommands()
62 self.assertEqual(len(cmds), 3)
79 for i in range(len(cmds)):
90 self.assertEqual(len(cmds), 1)
102 self.assertEqual(len(cmds), 2)
112 for i in range(len(cmds)):
131 workingdir = cmds[0].directory
138 cmd0 = cmds[0]
[all …]
/openbsd/gnu/usr.bin/perl/t/win32/
H A Dsystem_tests91 for my $cmds (@commands) {
94 my @cmds = defined($cmds) ? (ref($cmds) ? @$cmds : $cmds) : ();
96 note "####### [@cmds]";
98 $cmds[$#cmds],
101 if (system(@cmds,@args) != 0) {
106 system(@cmds,@args);
111 ? qq["$_"] : $_ } @cmds, @args;
123 note "# pipe [".join(";", @cmds, @args). "]";
124 if (open my $io, "-|", @cmds, @args) {
129 print STDERR "Failed pipe open [",join(";", @cmds, @args),"]: $!\n";
/openbsd/gnu/usr.bin/perl/lib/
H A Dperl5db.t239 my $cmds = $args->{cmds};
671 cmds =>
709 cmds =>
738 cmds =>
760 cmds =>
782 cmds =>
810 cmds =>
853 cmds =>
877 cmds =>
897 cmds =>
[all …]
/openbsd/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A Dsplit_command.t33 my @cmds = $mm->split_command($echo, @test_args);
34 isnt( @cmds, 0 );
36 my @results = _run(@cmds);
42 @cmds = $mm->split_command($even_args, %test_args);
43 isnt( @cmds, 0 );
45 @results = _run(@cmds);
52 my @cmds = @_;
54 s{\$\(ABSPERLRUN\)}{$perl} foreach @cmds;
56 s{-\n}{} foreach @cmds
59 s{\\\n}{} foreach @cmds;
[all …]
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dgen7_renderclear.c383 struct batch_chunk cmds, state; in emit_batch() local
397 gen7_emit_pipeline_flush(&cmds); in emit_batch()
398 gen7_emit_pipeline_invalidate(&cmds); in emit_batch()
401 batch_add(&cmds, 0xffff0000 | in emit_batch()
407 gen7_emit_pipeline_invalidate(&cmds); in emit_batch()
408 gen7_emit_pipeline_flush(&cmds); in emit_batch()
411 gen7_emit_pipeline_invalidate(&cmds); in emit_batch()
413 batch_add(&cmds, MI_NOOP); in emit_batch()
414 gen7_emit_pipeline_invalidate(&cmds); in emit_batch()
416 gen7_emit_pipeline_flush(&cmds); in emit_batch()
[all …]
/openbsd/usr.bin/vi/ex/
H A Dex_usage.c70 for (cp = cmds; cp->name != NULL && in ex_usage()
86 if (cp != &cmds[C_VISUAL_EX] && in ex_usage()
87 cp != &cmds[C_VISUAL_VI]) in ex_usage()
89 if (cp == &cmds[C_VISUAL_EX]) in ex_usage()
90 cp = &cmds[C_VISUAL_VI]; in ex_usage()
92 cp = &cmds[C_VISUAL_EX]; in ex_usage()
98 for (cp = cmds; cp->name != NULL && !INTERRUPTED(sp); ++cp) in ex_usage()
101 cp == &cmds[C_SCROLL] ? "^D" : cp->name, in ex_usage()
H A Dex.c422 ecp->rcmd = cmds[C_DELETE]; in ex_cmd()
458 ecp->cmd = &cmds[C_K]; in ex_cmd()
531 if (ecp->cmd == &cmds[C_HASH]) in ex_cmd()
540 ecp->cmd = &cmds[C_PRINT]; in ex_cmd()
629 if (ecp->cmd == &cmds[C_EDIT] || ecp->cmd == &cmds[C_EX] || in ex_cmd()
630 ecp->cmd == &cmds[C_NEXT] || ecp->cmd == &cmds[C_VISUAL_VI]) { in ex_cmd()
677 ecp->cmd == &cmds[C_GLOBAL] || ecp->cmd == &cmds[C_V]) { in ex_cmd()
700 } else if (ecp->cmd == &cmds[C_READ] || ecp->cmd == &cmds[C_WRITE]) { in ex_cmd()
815 if (ecp->cmd == &cmds[C_SET]) in ex_cmd()
2206 (cp == &cmds[C_ABBR] || cp == &cmds[C_UNABBREVIATE])); in ex_is_abbrev()
[all …]
/openbsd/usr.bin/bgplg/
H A Dbgplg.c47 static struct cmd cmds[] = CMDS; variable
290 for (i = 0; cmds[i].name != NULL; i++) { in main()
291 if (!lg_checkperm(&cmds[i])) in main()
294 if (cmd != NULL && strcmp(cmd, cmds[i].name) == 0) in main()
297 cmds[i].name, cmds[i].name); in main()
300 cmds[i].name, cmds[i].name); in main()
333 for (i = 0; cmds[i].name != NULL; i++) { in main()
334 if (strcmp(cmd, cmds[i].name) == 0) { in main()
335 cmdp = &cmds[i]; in main()
355 ret = cmdp->func(cmds, argv); in main()
H A Dmisc.c60 lg_help(struct cmd *cmds, char **argv) in lg_help() argument
65 for (i = 0; cmds[i].name != NULL; i++) { in lg_help()
66 if (!lg_checkperm(&cmds[i])) in lg_help()
69 printf(" %s", cmds[i].name); in lg_help()
70 if (cmds[i].minargs > 0) in lg_help()
72 else if (cmds[i].maxargs > 0) in lg_help()
H A Dbgplgsh.c46 static struct cmd cmds[] = CMDS; variable
202 while ((name = cmds[lg_complidx].name) != NULL) { in lg_completion()
232 lg_help(cmds, NULL); in main()
247 for (i = 0; cmds[i].name != NULL; i++) { in main()
248 ret = lg_checkcmd(ncmd, argp, &v, &cmds[i]); in main()
250 cmd = &cmds[i]; in main()
260 cmd->func(cmds, argp); in main()
/openbsd/usr.bin/tmux/
H A Dcmd-parse.y657 cmds = xmalloc(sizeof *cmds); in cmd_parse_new_commands()
658 TAILQ_INIT(cmds); in cmd_parse_new_commands()
659 return (cmds); in cmd_parse_new_commands()
671 free(cmds); in cmd_parse_free_commands()
785 if (cmds == NULL) { in cmd_parse_expand_alias()
881 if (TAILQ_EMPTY(cmds)) { in cmd_parse_build_commands()
946 if (cmds == NULL) { in cmd_parse_from_file()
952 cmd_parse_free_commands(cmds); in cmd_parse_from_file()
1045 if (cmds == NULL) { in cmd_parse_from_buffer()
1051 cmd_parse_free_commands(cmds); in cmd_parse_from_buffer()
[all …]
/openbsd/usr.bin/usbhidaction/
H A Dusbhidaction.c195 struct command *cmds = in main() local
197 if (cmds) { in main()
199 commands = cmds; in main()
246 cmds = NULL; in parse_conf()
264 freecommands(cmds); in parse_conf()
276 cmd->next = cmds; in parse_conf()
277 cmds = cmd; in parse_conf()
290 freecommands(cmds); in parse_conf()
362 cmds = cmd->next; in parse_conf()
369 freecommands(cmds); in parse_conf()
[all …]
/openbsd/sys/dev/pci/drm/apple/
H A Dafk.c347 if (service->cmds[idx].done) { in afk_recv_handle_reply()
363 service->cmds[idx].done = true; in afk_recv_handle_reply()
367 rxbuf = service->cmds[idx].rxbuf; in afk_recv_handle_reply()
368 txbuf = service->cmds[idx].txbuf; in afk_recv_handle_reply()
369 rxlen = service->cmds[idx].rxlen; in afk_recv_handle_reply()
370 txlen = service->cmds[idx].txlen; in afk_recv_handle_reply()
378 if (service->cmds[idx].completion) in afk_recv_handle_reply()
882 service->cmds[idx].tag = tag; in afk_send_command()
883 service->cmds[idx].rxbuf = rxbuf; in afk_send_command()
890 service->cmds[idx].done = false; in afk_send_command()
[all …]
/openbsd/usr.sbin/bgplgd/
H A Dbgplgd.c38 } cmds[] = { variable
58 for (i = 0; cmds[i].path != NULL; i++) { in command_from_path()
59 if (strcmp(cmds[i].path, path) == 0) { in command_from_path()
60 ctx->command = &cmds[i]; in command_from_path()
61 ctx->qs_mask = cmds[i].qs_mask; in command_from_path()
/openbsd/gnu/usr.bin/binutils/gdb/mi/
H A DChangeLog-1999-2003723 mi-cmds.c, mi-cmds.h, mi-console.c, mi-console.h, mi-getopt.c,
732 * mi-cmds.c: Ditto.
826 mi-cmds.c, mi-cmds.h, mi-console.c, mi-console.h, mi-getopt.c,
952 * mi-cmds.h: Ditto.
954 * mi-cmds.c: Ditto.
1307 * mi-cmds.h (mi_cmd_gdb_exit), mi-cmds.c (mi_cmds), mi-main.c
1427 * mi-cmds.h, mi-cmds.c: Add mi_cmd_data_read_memory.
2026 * mi-cmds.h. mi-cmds.c (exec step): Command implemented by
2030 * mi-cmds.h. mi-cmds.c (exec run): Command implemented by
2034 * mi-cmds.h. mi-cmds.c (gdb exit): Command implemented by
[all …]
/openbsd/sys/dev/pci/drm/i915/gt/uc/
H A Dintel_guc_ct.c153 ctb->cmds = cmds; in guc_ct_buffer_init()
238 u32 *cmds; in intel_guc_ct_init() local
306 u32 base, desc, cmds, size; in intel_guc_ct_enable() local
330 cmds = base + ptrdiff(ct->ctbs.recv.cmds, blob); in intel_guc_ct_enable()
337 cmds = base + ptrdiff(ct->ctbs.send.cmds, blob); in intel_guc_ct_enable()
415 u32 *cmds = ctb->cmds; in ct_write() local
456 cmds[tail] = header; in ct_write()
459 cmds[tail] = hxg; in ct_write()
463 cmds[tail] = action[i]; in ct_write()
866 u32 *cmds = ctb->cmds; in ct_read() local
[all …]
/openbsd/usr.bin/mg/
H A Dsearch.c48 static struct srchcom cmds[NSRCH]; variable
186 cmds[cip].s_code = SRCH_NOPR; in isearch()
407 cmds[cip].s_code = cmd; in is_cpush()
418 cmds[ctp].s_code = SRCH_NOPR; in is_lpush()
419 cmds[ctp].s_doto = curwp->w_doto; in is_lpush()
420 cmds[ctp].s_dotp = curwp->w_dotp; in is_lpush()
428 curwp->w_doto = cmds[cip].s_doto; in is_pop()
429 curwp->w_dotp = cmds[cip].s_dotp; in is_pop()
432 cmds[cip].s_code = SRCH_NOPR; in is_pop()
441 return (cmds[cip].s_code); in is_peek()
[all …]
/openbsd/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/
H A DMSVC.pm80 my @cmds; # Stores the series of commands needed to build the module.
82 push @cmds, [ grep {defined && length} (
98 push @cmds, [
102 return @cmds;
/openbsd/gnu/llvm/lld/MachO/
H A DInputFiles.h327 std::vector<const CommandType *> cmds; in findCommands() local
335 cmds.push_back(cmd); in findCommands()
336 if (cmds.size() == maxCommands) in findCommands()
337 return cmds; in findCommands()
341 return cmds; in findCommands()
349 std::vector<const CommandType *> cmds = in findCommand() local
351 return cmds.size() ? cmds[0] : nullptr; in findCommand()
/openbsd/lib/libedit/
H A Dparse.c60 } cmds[] = { variable
122 for (i = 0; cmds[i].name != NULL; i++) in el_wparse()
123 if (wcscmp(cmds[i].name, ptr) == 0) { in el_wparse()
124 i = (*cmds[i].func) (el, argc, argv); in el_wparse()
/openbsd/gnu/usr.bin/binutils/gdb/cli/
H A Dcli-script.c1023 copy_command_lines (struct command_line *cmds) in copy_command_lines() argument
1027 if (cmds) in copy_command_lines()
1031 result->next = copy_command_lines (cmds->next); in copy_command_lines()
1032 result->line = xstrdup (cmds->line); in copy_command_lines()
1033 result->control_type = cmds->control_type; in copy_command_lines()
1034 result->body_count = cmds->body_count; in copy_command_lines()
1035 if (cmds->body_count > 0) in copy_command_lines()
1042 for (i = 0; i < cmds->body_count; i++) in copy_command_lines()
1085 struct command_line *cmds; in define_command() local
1156 cmds = read_command_lines (tmpbuf, from_tty); in define_command()
[all …]
/openbsd/sys/dev/wscons/
H A Dwstpad.c470 wstpad_scroll(struct wstpad *tp, int dx, int dy, int mag, u_int *cmds) in wstpad_scroll() argument
501 *cmds |= 1 << VSCROLL; in wstpad_scroll()
517 *cmds |= 1 << HSCROLL; in wstpad_scroll()
523 wstpad_f2scroll(struct wsmouseinput *input, u_int *cmds) in wstpad_f2scroll() argument
563 magnitude(input, dx, dy), cmds); in wstpad_f2scroll()
570 wstpad_edgescroll(struct wsmouseinput *input, u_int *cmds) in wstpad_edgescroll() argument
589 wstpad_scroll(tp, dx, dy, magnitude(input, dx, dy), cmds); in wstpad_edgescroll()
672 wstpad_softbuttons(struct wsmouseinput *input, u_int *cmds, int hdlr) in wstpad_softbuttons() argument
678 *cmds |= 1 << SOFTBUTTON_UP; in wstpad_softbuttons()
686 *cmds | in wstpad_softbuttons()
780 wstpad_tap(struct wsmouseinput * input,u_int * cmds) wstpad_tap() argument
968 wstpad_cmds(struct wsmouseinput * input,u_int cmds) wstpad_cmds() argument
1267 u_int handlers, hdlr, cmds; wstpad_process_input() local
[all...]
/openbsd/gnu/usr.bin/perl/ext/SDBM_File/
H A Ddbu.c36 static cmd cmds[] = { variable
57 #define CTABSIZ (sizeof (cmds)/sizeof (cmd))
199 fprintf(stderr, "%-8s%c", cmds[i].sname, in badk()
212 for (p = cmds; i--; p++) in parse()
/openbsd/usr.sbin/user/
H A Dmain.c51 static cmd_t cmds[] = { variable
80 for (cmdp = cmds ; cmdp->c_wc > 0 ; cmdp++) { in main()
/openbsd/gnu/usr.bin/perl/lib/ExtUtils/t/
H A DEmbed.t178 static const char * cmds [] = { "perl", "-e", "$|=1; print qq[ok 5\\n]; $SIG{__WARN__} = sub { prin…
201 perl_parse(my_perl, NULL, (sizeof(cmds)/sizeof(char *))-1, (char **)cmds, env);

123456