Home
last modified time | relevance | path

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

12345678910>>...12

/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py48 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
49 self.assertNotEqual(len(cmds), 0)
55 cmds = cdb.getCompileCommands(str_to_path('/home/john.doe/MyProject/project.cpp'))
56 self.assertNotEqual(len(cmds), 0)
61 cmds = cdb.getAllCompileCommands()
62 self.assertEqual(len(cmds), 3)
79 for i in range(len(cmds)):
80 self.assertEqual(cmds[i].directory, expected[i]['wd'])
81 self.assertEqual(cmds[i].filename, expected[i]['file'])
82 for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/sl/
H A Dsl.c42 mandoc_template(SL_cmd *cmds, in mandoc_template() argument
75 for(c = cmds; c->name; ++c) { in mandoc_template()
88 for(c = cmds; c->name; ++c) { in mandoc_template()
114 sl_match (SL_cmd *cmds, char *cmd, int exactp) in sl_match() argument
119 for (c = cmds; c->name; ++c) { in sl_match()
137 sl_help (SL_cmd *cmds, int argc, char **argv) in sl_help() argument
142 mandoc_template(cmds, NULL); in sl_help()
148 for (c = cmds; c->name; ++c) { in sl_help()
162 c = sl_match (cmds, argv[1], 0); in sl_help()
208 sl_command(SL_cmd *cmds, int argc, char **argv) in sl_command() argument
[all …]
H A Dsl.h60 int sl_command_loop (SL_cmd *cmds, const char *prompt, void **data);
61 int sl_command (SL_cmd *cmds, int argc, char **argv);
64 SL_cmd *sl_match (SL_cmd *cmds, char *cmd, int exactp);
65 void sl_slc_help (SL_cmd *cmds, int argc, char **argv);
66 void sl_did_you_mean(SL_cmd *cmds, const char *match);
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/conf/
H A Dconf_ssl.c26 SSL_CONF_CMD *cmds; member
51 OPENSSL_free(tname->cmds[j].cmd); in ssl_module_free()
52 OPENSSL_free(tname->cmds[j].arg); in ssl_module_free()
54 OPENSSL_free(tname->cmds); in ssl_module_free()
88 STACK_OF(CONF_VALUE) *cmds = NCONF_get_section(cnf, sect->value); in ssl_module_init()
90 if (sk_CONF_VALUE_num(cmds) <= 0) { in ssl_module_init()
92 cmds == NULL in ssl_module_init()
103 cnt = sk_CONF_VALUE_num(cmds); in ssl_module_init()
104 ssl_name->cmds = OPENSSL_zalloc(cnt * sizeof(struct ssl_conf_cmd_st)); in ssl_module_init()
105 if (ssl_name->cmds == NULL) in ssl_module_init()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/conf/
H A Dconf_ssl.c26 SSL_CONF_CMD *cmds; member
51 OPENSSL_free(tname->cmds[j].cmd); in ssl_module_free()
52 OPENSSL_free(tname->cmds[j].arg); in ssl_module_free()
54 OPENSSL_free(tname->cmds); in ssl_module_free()
87 STACK_OF(CONF_VALUE) *cmds = NCONF_get_section(cnf, sect->value); in ssl_module_init()
89 if (sk_CONF_VALUE_num(cmds) <= 0) { in ssl_module_init()
90 if (cmds == NULL) in ssl_module_init()
102 cnt = sk_CONF_VALUE_num(cmds); in ssl_module_init()
103 ssl_name->cmds = OPENSSL_zalloc(cnt * sizeof(struct ssl_conf_cmd_st)); in ssl_module_init()
104 if (ssl_name->cmds == NULL) in ssl_module_init()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_overlay.c118 } *cmds; in vmw_overlay_send_put() local
130 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
132 cmds = VMW_FIFO_RESERVE(dev_priv, fifo_size); in vmw_overlay_send_put()
134 if (!cmds) in vmw_overlay_send_put()
137 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put()
141 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put()
143 cmds->header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_put()
144 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put()
198 } *cmds; in vmw_overlay_send_stop() local
202 cmds = VMW_FIFO_RESERVE(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop()
[all …]
/netbsd-src/external/gpl2/gmake/dist/
H A Dcommands.c121 if (file->cmds == default_file->cmds) in set_file_variables()
269 chop_commands (struct commands *cmds) in chop_commands() argument
278 if (!cmds || cmds->command_lines != 0) in chop_commands()
288 p = cmds->commands; in chop_commands()
328 cmds->ncommand_lines = nlines; in chop_commands()
329 cmds->command_lines = lines; in chop_commands()
331 cmds->any_recurse = 0; in chop_commands()
332 cmds->lines_flags = (char *) xmalloc (nlines); in chop_commands()
358 cmds->lines_flags[idx] = flags; in chop_commands()
359 cmds->any_recurse |= flags & COMMANDS_RECURSE; in chop_commands()
[all …]
H A Drule.c161 convert_suffix_rule (char *target, char *source, struct commands *cmds) in convert_suffix_rule() argument
208 create_pattern_rule (names, percents, 0, deps, cmds, 0); in convert_suffix_rule()
242 if (f->cmds != 0) in convert_to_pattern()
244 convert_suffix_rule ("", dep_name (d), f->cmds); in convert_to_pattern()
258 if (f == 0 || f->cmds == 0) in convert_to_pattern()
266 f->cmds); in convert_to_pattern()
270 convert_suffix_rule (dep_name (d2), dep_name (d), f->cmds); in convert_to_pattern()
394 r->cmds = (struct commands *) xmalloc (sizeof (struct commands)); in install_pattern_rule()
395 r->cmds->fileinfo.filenm = 0; in install_pattern_rule()
396 r->cmds->fileinfo.lineno = 0; in install_pattern_rule()
[all …]
H A Dremake.c228 message (1, ((file->phony || file->cmds == 0) in update_goal_chain()
451 if (!file->phony && file->cmds == 0 && !file->tried_implicit) in update_file_1()
459 if (file->cmds == 0 && !file->is_target in update_file_1()
460 && default_file != 0 && default_file->cmds != 0) in update_file_1()
463 file->cmds = default_file->cmds; in update_file_1()
594 d->changed = ((file->phony && file->cmds != 0) in update_file_1()
710 else if (!noexist && file->is_target && !deps_changed && file->cmds == 0 in update_file_1()
717 else if (!must_make && file->cmds != 0 && always_make_flag) in update_file_1()
814 if (file->cmds != 0 && file->cmds->any_recurse) in notice_finished_file()
819 for (i = 0; i < file->cmds->ncommand_lines; ++i) in notice_finished_file()
[all …]
H A Ddefault.c556 if (f->cmds == 0) in install_default_suffix_rules()
558 f->cmds = (struct commands *) xmalloc (sizeof (struct commands)); in install_default_suffix_rules()
559 f->cmds->fileinfo.filenm = 0; in install_default_suffix_rules()
560 f->cmds->commands = s[1]; in install_default_suffix_rules()
561 f->cmds->command_lines = 0; in install_default_suffix_rules()
H A Dfile.c259 if (from_file->cmds != 0) in rehash_file()
261 if (to_file->cmds == 0) in rehash_file()
262 to_file->cmds = from_file->cmds; in rehash_file()
263 else if (from_file->cmds != to_file->cmds) in rehash_file()
268 if (to_file->cmds->fileinfo.filenm != 0) in rehash_file()
269 error (&from_file->cmds->fileinfo, in rehash_file()
271 from_file->name, to_file->cmds->fileinfo.filenm, in rehash_file()
272 to_file->cmds->fileinfo.lineno); in rehash_file()
274 error (&from_file->cmds->fileinfo, in rehash_file()
277 error (&from_file->cmds->fileinfo, in rehash_file()
[all …]
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_usage.c80 for (cp = cmds; cp->name != NULL && in ex_usage()
101 if (cp != &cmds[C_VISUAL_EX] && in ex_usage()
102 cp != &cmds[C_VISUAL_VI]) in ex_usage()
104 if (cp == &cmds[C_VISUAL_EX]) in ex_usage()
105 cp = &cmds[C_VISUAL_VI]; in ex_usage()
107 cp = &cmds[C_VISUAL_EX]; in ex_usage()
113 for (cp = cmds; cp->name != NULL && !INTERRUPTED(sp); ++cp) { in ex_usage()
122 if (cp == &cmds[C_SCROLL]) in ex_usage()
H A Dex.c430 n = cmds[C_DELETE].name; *s == *n; ++s, ++n); in ex_cmd()
436 ecp->rcmd = cmds[C_DELETE]; in ex_cmd()
472 ecp->cmd = &cmds[C_K]; in ex_cmd()
484 ecp->rcmd = cmds[C_SUBSTITUTE]; in ex_cmd()
503 skip_srch: if (ecp->cmd == &cmds[C_VISUAL_EX] && F_ISSET(sp, SC_VI)) in ex_cmd()
504 ecp->cmd = &cmds[C_VISUAL_VI]; in ex_cmd()
515 (ecp->cmd == &cmds[C_PRINT] || in ex_cmd()
516 ecp->cmd == &cmds[C_PRESERVE])) in ex_cmd()
534 if ((ecp->cmd == &cmds[C_SHIFTL] && *p == '<') || in ex_cmd()
535 (ecp->cmd == &cmds[C_SHIFTR] && *p == '>')) { in ex_cmd()
[all …]
/netbsd-src/sys/dev/gpib/
H A Dgpib.c371 u_int8_t cmds[4]; in _gpibsend() local
389 cmds[i++] = GPIBCMD_UNL; in _gpibsend()
390 cmds[i++] = GPIBCMD_TAG | sc->sc_myaddr; in _gpibsend()
391 cmds[i++] = GPIBCMD_LAG | slave; in _gpibsend()
394 cmds[i++] = GPIBCMD_SDC; in _gpibsend()
396 cmds[i++] = GPIBCMD_SCG | sec; in _gpibsend()
398 if ((*sc->sc_ic->sendcmds)(sc->sc_ic->cookie, cmds, i) != i) in _gpibsend()
423 u_int8_t cmds[4]; in _gpibrecv() local
447 cmds[i++] = GPIBCMD_UNL; in _gpibrecv()
448 cmds[i++] = GPIBCMD_LAG | sc->sc_myaddr; in _gpibrecv()
[all …]
/netbsd-src/external/gpl3/gdb/dist/gdb/mi/
H A DChangeLog-1999-200351 * mi-cmds.h (struct mi_cli): Define.
53 * mi-cmds.c (mi_cmds): Update table.
71 * mi-cmds.c (mi_cmds): Add "-target-disconnect".
104 * mi-symbol-cmds.c: Rename "mi-cmd-symbol.c", avoid 8.3 problem.
123 * mi-cmds.h (mi_cmd_symbol_list_lines): Add declaration.
124 * mi-cmds.c (mi_cmds): Add entry for new MI command.
134 * mi-cmds.c (mi_cmds): Added -file-list-exec-source-file command.
135 * mi-cmds.h (mi_cmd_file_list_exec_source_file): Declare.
205 * mi-cmds.h (mi_cmd_interpreter_exec): Declare.
208 * mi-cmds.c: Add `interpreter-exec' command.
[all …]
/netbsd-src/external/gpl3/gdb.old/dist/gdb/mi/
H A DChangeLog-1999-200351 * mi-cmds.h (struct mi_cli): Define.
53 * mi-cmds.c (mi_cmds): Update table.
71 * mi-cmds.c (mi_cmds): Add "-target-disconnect".
104 * mi-symbol-cmds.c: Rename "mi-cmd-symbol.c", avoid 8.3 problem.
123 * mi-cmds.h (mi_cmd_symbol_list_lines): Add declaration.
124 * mi-cmds.c (mi_cmds): Add entry for new MI command.
134 * mi-cmds.c (mi_cmds): Added -file-list-exec-source-file command.
135 * mi-cmds.h (mi_cmd_file_list_exec_source_file): Declare.
205 * mi-cmds.h (mi_cmd_interpreter_exec): Declare.
208 * mi-cmds.c: Add `interpreter-exec' command.
[all …]
/netbsd-src/usr.bin/usbhidaction/
H A Dusbhidaction.c205 struct command *cmds = in main() local
207 if (cmds) { in main()
209 commands = cmds; in main()
244 struct command *cmd, *cmds; in parse_conf() local
253 cmds = NULL; in parse_conf()
273 freecommands(cmds); in parse_conf()
283 cmd->next = cmds; in parse_conf()
284 cmds = cmd; in parse_conf()
297 freecommands(cmds); in parse_conf()
379 freecommands(cmds); in parse_conf()
[all …]
/netbsd-src/usr.bin/rdist/
H A Dmain.c257 struct subcmd *cmds; in docmdargs() local
286 cmds = NULL; in docmdargs()
288 cmds = makesubcmd(INSTALL); in docmdargs()
289 cmds->sc_options = options; in docmdargs()
290 cmds->sc_name = dest; in docmdargs()
299 insert(NULL, files, hosts, cmds); in docmdargs()
303 freesubcmd(cmds); in docmdargs()
/netbsd-src/sys/arch/alpha/stand/standtest/
H A Dtest.c50 int dispatch_cmd(const char *buf, const struct cmdtab *cmds);
55 void print_cmds(const struct cmdtab *cmds, const char *match,
174 dispatch_cmd(const char *buf, const struct cmdtab *cmds) in dispatch_cmd() argument
199 for (nmatches = 0, try = cmds; in dispatch_cmd()
226 print_cmds(cmds, buf, rv == DISPATCH_CMD_NOMATCH ? 0 : nonwhitespace); in dispatch_cmd()
231 print_cmds(const struct cmdtab *cmds, const char *match, size_t matchlen) in print_cmds() argument
236 for (try = cmds; try != NULL && try->cmd != NULL; try++) { in print_cmds()
238 printf("%s%s", try != cmds ? ", " : "", try->cmd); in print_cmds()
/netbsd-src/external/cddl/dtracetoolkit/dist/Shell/
H A Dsh_stat.d55 execs = funcs = builtins = subs = cmds = 0;
108 cmds++;
119 cmds / interval);
120 execs = funcs = builtins = subs = cmds = 0;
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Dsh_stat.d55 execs = funcs = builtins = subs = cmds = 0;
108 cmds++;
119 cmds / interval);
120 execs = funcs = builtins = subs = cmds = 0;
H A Dtcl_stat.d55 execs = procs = cmds = objnew = objfree = ops = 0;
97 cmds++;
122 execs / interval, procs / interval, cmds / interval,
124 execs = procs = cmds = objnew = objfree = ops = 0;
/netbsd-src/external/cddl/dtracetoolkit/dist/Tcl/
H A Dtcl_stat.d55 execs = procs = cmds = objnew = objfree = ops = 0;
97 cmds++;
122 execs / interval, procs / interval, cmds / interval,
124 execs = procs = cmds = objnew = objfree = ops = 0;
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/
H A Dintel_guc_ct.c177 ct->ctbs[i].cmds = blob + PAGE_SIZE/4 * i + PAGE_SIZE/2; in intel_guc_ct_init()
309 u32 *cmds = ctb->cmds; in ctb_write() local
345 cmds[tail] = header; in ctb_write()
348 cmds[tail] = fence; in ctb_write()
352 cmds[tail] = action[i]; in ctb_write()
593 u32 *cmds = ctb->cmds; in ctb_read() local
615 data[0] = cmds[head]; in ctb_read()
624 size - head : available - 1), &cmds[head], in ctb_read()
626 available - 1 - size + head : 0), &cmds[0]); in ctb_read()
631 data[i] = cmds[head]; in ctb_read()
/netbsd-src/crypto/external/cpl/tpm-tools/dist/
H A D.gitignore35 src/cmds/.deps/
36 src/cmds/.libs/
37 src/cmds/tpm_sealdata
38 src/cmds/tpm_unsealdata

12345678910>>...12