Home
last modified time | relevance | path

Searched refs:pcommand (Results 1 – 25 of 42) sorted by relevance

12

/dports/games/freeciv/freeciv-2.6.6/server/
H A Dcommands.c704 return pcommand->name; in command_name()
720 return SYN_TRANS_(pcommand->synopsis); in command_synopsis()
728 return _(pcommand->short_help); in command_short_help()
737 if (pcommand->extra_help_func) { in command_extra_help()
738 fc_assert(pcommand->extra_help == NULL); in command_extra_help()
739 return pcommand->extra_help_func(pcommand->name); in command_extra_help()
740 } else if (pcommand->extra_help) { in command_extra_help()
752 return pcommand->level; in command_level()
760 return pcommand->echo; in command_echo()
768 return pcommand ? pcommand->vote_flags : 0; in command_vote_flags()
[all …]
H A Dcommands.h111 const char *command_name(const struct command *pcommand);
112 const char *command_synopsis(const struct command *pcommand);
113 const char *command_short_help(const struct command *pcommand);
114 char *command_extra_help(const struct command *pcommand);
116 enum cmdlevel command_level(const struct command *pcommand);
117 enum cmd_echo command_echo(const struct command *pcommand);
118 int command_vote_flags(const struct command *pcommand);
119 int command_vote_percent(const struct command *pcommand);
/dports/games/freeciv-nox11/freeciv-2.6.6/server/
H A Dcommands.c704 return pcommand->name; in command_name()
720 return SYN_TRANS_(pcommand->synopsis); in command_synopsis()
728 return _(pcommand->short_help); in command_short_help()
737 if (pcommand->extra_help_func) { in command_extra_help()
738 fc_assert(pcommand->extra_help == NULL); in command_extra_help()
739 return pcommand->extra_help_func(pcommand->name); in command_extra_help()
740 } else if (pcommand->extra_help) { in command_extra_help()
752 return pcommand->level; in command_level()
760 return pcommand->echo; in command_echo()
768 return pcommand ? pcommand->vote_flags : 0; in command_vote_flags()
[all …]
H A Dcommands.h111 const char *command_name(const struct command *pcommand);
112 const char *command_synopsis(const struct command *pcommand);
113 const char *command_short_help(const struct command *pcommand);
114 char *command_extra_help(const struct command *pcommand);
116 enum cmdlevel command_level(const struct command *pcommand);
117 enum cmd_echo command_echo(const struct command *pcommand);
118 int command_vote_flags(const struct command *pcommand);
119 int command_vote_percent(const struct command *pcommand);
/dports/mail/mailutils/mailutils-3.13/libmailutils/mailcap/
H A Dent_cmd.c23 mu_mailcap_entry_sget_command (mu_mailcap_entry_t ent, char const **pcommand) in mu_mailcap_entry_sget_command() argument
27 if (!pcommand) in mu_mailcap_entry_sget_command()
29 *pcommand = ent->command; in mu_mailcap_entry_sget_command()
34 mu_mailcap_entry_aget_command (mu_mailcap_entry_t ent, char **pcommand) in mu_mailcap_entry_aget_command() argument
38 if (!pcommand) in mu_mailcap_entry_aget_command()
40 if (!(*pcommand = strdup (ent->command))) in mu_mailcap_entry_aget_command()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/man/src/
H A Dgit-drover.demo.4.sh10 pcommand git drover --branch 9999 \
30 pcommand pushd /tmp/drover_9999
32 pcommand git add path/to/file_with_conflicts
33 pcommand popd
34 pcommand git drover --continue /tmp/drover_9999
H A Ddepot_tools_tutorial.demo.walkthrough.sh10 pcommand "$@"
53 pcommand cd src
86 pcommand git cl set_commit
93 pcommand git nav-downstream
107 pcommand git cl set_commit
118 pcommand git rebase-update
133 pcommand git rebase-update
H A Dcommon_demo_functions.sh37 pcommand() { function
45 pcommand "$@"
H A Dgit-drover.demo.2.sh16 pcommand git revert $(git show-ref -s pick_commit)
22 pcommand git cl upload -r some.committer@chromium.org --send-mail
H A Dgit-squash-branch.demo.1.sh8 pcommand git squash-branch -m "cool squash demo"
H A Dgit-drover.demo.1.sh10 pcommand git drover --branch 9999 \
H A Dgit-nav-downstream.demo.1.sh7 pcommand git nav-downstream
H A Dgit-drover.demo.3.sh24 pcommand git cl upload
/dports/misc/pdmenu/pdmenu-1.3.6/src/
H A Dactions.c56 FILE *pcommand; in RunSetenv() local
60 pcommand=popen(command,"r"); in RunSetenv()
61 str=pdgetline(pcommand,0); in RunSetenv()
62 pclose(pcommand); in RunSetenv()
91 FILE *pcommand; in RunShow() local
117 pcommand=popen(command,"r"); in RunShow()
197 pclose(pcommand); in RunShow()
221 FILE *pcommand; in ChangeHelpText() local
225 pcommand=popen(i->command,"r"); in ChangeHelpText()
226 str=pdgetline(pcommand,0); in ChangeHelpText()
[all …]
/dports/misc/iio-oscilloscope/iio-oscilloscope-0.14-master/
H A Dmath_expression_generator.h163 char *pcommand, *object_path; in shared_object_compile() local
167 pcommand = g_strdup_printf("gcc -c -Wall -Werror -fpic %s/%s.c -o %s/%s.o", in shared_object_compile()
169 pstream = popen(pcommand, "w"); in shared_object_compile()
170 g_free(pcommand); in shared_object_compile()
184 pcommand = g_strdup_printf("gcc -shared -o %s/%s.so %s/%s.o", in shared_object_compile()
186 pstream = popen(pcommand, "w"); in shared_object_compile()
187 g_free(pcommand); in shared_object_compile()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/oamapps/columnstoreSupport/
H A DcolumnstoreSupport.cpp493 char* pcommand = 0; in main() local
503 pcommand = readline(" Do you want to proceed: (y or n) [n]: "); in main()
505 if (pcommand && *pcommand) in main()
507 p = strtok(pcommand, " "); in main()
509 free(pcommand); in main()
510 pcommand = 0; in main()
513 if (pcommand) in main()
515 free(pcommand); in main()
516 pcommand = 0; in main()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/oamapps/columnstoreSupport/
H A DcolumnstoreSupport.cpp493 char* pcommand = 0; in main() local
503 pcommand = readline(" Do you want to proceed: (y or n) [n]: "); in main()
505 if (pcommand && *pcommand) in main()
507 p = strtok(pcommand, " "); in main()
509 free(pcommand); in main()
510 pcommand = 0; in main()
513 if (pcommand) in main()
515 free(pcommand); in main()
516 pcommand = 0; in main()
/dports/www/ilias/ILIAS-5.4.25/Modules/HTMLLearningModule/classes/
H A Dclass.ilObjFileBasedLMGUI.php137 $pcommand = $fs_gui->getLastPerformedCommand();
138 if (is_array($pcommand)) {
140 if ($pcommand["cmd"] == "create_file") {
141 $file = strtolower(basename($pcommand["name"]));
143 $this->object->setStartFile($pcommand["name"]);
144 $do_update = $pcommand["name"];
146 } elseif ($pcommand["cmd"] == "unzip_file") {
147 $zip_file = strtolower(basename($pcommand["name"]));
152 foreach ($pcommand["added"] as $file) {
/dports/www/ilias6/ILIAS-6.14/Modules/HTMLLearningModule/classes/
H A Dclass.ilObjFileBasedLMGUI.php137 $pcommand = $fs_gui->getLastPerformedCommand();
138 if (is_array($pcommand)) {
140 if ($pcommand["cmd"] == "create_file") {
141 $file = strtolower(basename($pcommand["name"]));
143 $this->object->setStartFile($pcommand["name"]);
144 $do_update = $pcommand["name"];
146 } elseif ($pcommand["cmd"] == "unzip_file") {
147 $zip_file = strtolower(basename($pcommand["name"]));
152 foreach ($pcommand["added"] as $file) {
/dports/x11-fm/rodent/rodent-5.3.16.3/apps/rodent-ps/src/
H A Dps-module.i86 gchar *pcommand = g_strdup_printf("ps ax -o ppid,pid"); in ps_signal() local
87 FILE *p = popen(pcommand, "r"); in ps_signal()
89 g_warning("pipe creation failed for %s\n", pcommand); in ps_signal()
90 g_free(pcommand); in ps_signal()
93 g_free(pcommand); in ps_signal()
125 pcommand = g_strdup_printf("ps -p %d -o uid", (int)pid); in ps_signal()
128 p = popen(pcommand, "r"); in ps_signal()
131 g_warning("pipe creation failed for %s\n", pcommand); in ps_signal()
147 g_free(pcommand); in ps_signal()
/dports/mail/mailutils/mailutils-3.13/include/mailutils/
H A Dmailcap.h94 int mu_mailcap_entry_sget_command (mu_mailcap_entry_t ent, char const **pcommand);
95 int mu_mailcap_entry_aget_command (mu_mailcap_entry_t ent, char **pcommand);
/dports/biology/mummer/mummer-4.0.0beta2-2-g277dac5/scripts/
H A DFoundation.pm172 my $pcommand = join (' ', @ARGV);
174 if((defined ($pcommand)) && ($pcommand =~ /^(.*)$/)) {
175 $pcommand = $1;
176 $self->{invocation} = $pcommand ;
/dports/net-p2p/uhub/uhub-a8ee6e7/src/core/
H A Dplugincallback.c39 …struct plugin_command* pcommand = (struct plugin_command*) cmd; // FIXME: Use a proper conversion … in plugin_command_dispatch() local
46 return cmdh->handler(plugin, puser, pcommand); in plugin_command_dispatch()
/dports/x11/xterm/xterm-370/
H A Dprint.c94 char pcommand[256]; in closePrinter() local
95 (void) sprintf(pcommand, "%s %s;", in closePrinter()
106 (void) system(pcommand); in closePrinter()
/dports/devel/raknet/raknet-3.9.2_10,1/Samples/AutopatcherClientGFx3.0/
H A DGFxPlayerTinyD3D9.cpp133 virtual void Callback(GFxMovieView* pmovie, const char* pcommand, const char* parg) in Callback() argument
137 GUNUSED3(pmovie, pcommand, parg); in Callback()

12