Home
last modified time | relevance | path

Searched refs:ncommands (Results 1 – 25 of 99) sorted by relevance

1234

/dports/textproc/groff/groff-1.22.4/src/roff/groff/
H A Dpipeline.c223 for (i = 0; i < ncommands; i++) { in run_pipeline()
229 if (ncommands > 1 && !no_pipe) { in run_pipeline()
231 if (i < ncommands - 1) { in run_pipeline()
263 else if (i < ncommands - 1) { in run_pipeline()
316 if (ncommands > 1 && !no_pipe) { in run_pipeline()
329 for (i = 0; i < ncommands; i++) { in run_pipeline()
385 for (i = 0; i < ncommands; i++) { in run_pipeline()
454 int proc_count = ncommands; in run_pipeline()
456 for (i = 0; i < ncommands; i++) { in run_pipeline()
511 for (i = 0; i < ncommands; i++) in run_pipeline()
[all …]
/dports/japanese/groff/groff-1.18.1.1/src/roff/groff/
H A Dpipeline.c193 int ncommands; in run_pipeline()
208 for (i = 0; i < ncommands; i++)
224 if ((i < ncommands - 1) && !no_pipe)
280 int ncommands; in run_pipeline()
288 int proc_count = ncommands;
290 for (i = 0; i < ncommands; i++) {
293 if ((i != ncommands - 1) && !no_pipe) {
310 if ((i != ncommands - 1) && !no_pipe) {
343 for (i = 0; i < ncommands; i++)
351 if (i == ncommands - 1) {
[all …]
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/src/
H A Drun.cpp97 int ncommands = 0; in command() local
139 ncommands = last-first + 1; in command()
140 if (ncommands == 1 && strcmp(arg[first],"NULL") == 0) ncommands = 0; in command()
178 if (nevery && ncommands > 0) { in command()
179 commands = new char*[ncommands]; in command()
180 ncommands = 0; in command()
183 commands[ncommands] = new char[n]; in command()
184 strcpy(commands[ncommands],arg[i]); in command()
185 ncommands++; in command()
278 if (ncommands) { in command()
[all …]
H A Dinput.cpp748 int ncommands = last-first + 1; in ifthenelse() local
752 ncommands = 0; in ifthenelse()
756 commands[ncommands] = new char[n]; in ifthenelse()
757 strcpy(commands[ncommands],arg[i]); in ifthenelse()
758 ncommands++; in ifthenelse()
762 for (int i = 0; i < ncommands; i++) in ifthenelse()
807 int ncommands = last-first + 1; in ifthenelse() local
811 ncommands = 0; in ifthenelse()
815 commands[ncommands] = new char[n]; in ifthenelse()
816 strcpy(commands[ncommands],arg[i]); in ifthenelse()
[all …]
/dports/science/sparta/sparta-20Oct2021/src/
H A Drun.cpp57 int ncommands = 0; in command() local
99 ncommands = last-first + 1; in command()
100 if (ncommands == 1 && strcmp(arg[first],"NULL") == 0) ncommands = 0; in command()
138 if (nevery && ncommands > 0) { in command()
139 commands = new char*[ncommands]; in command()
140 ncommands = 0; in command()
143 commands[ncommands] = new char[n]; in command()
144 strcpy(commands[ncommands],arg[i]); in command()
145 ncommands++; in command()
227 if (ncommands) { in command()
[all …]
H A Dinput.cpp815 int ncommands = last-first + 1; in ifthenelse() local
818 char **commands = new char*[ncommands]; in ifthenelse()
819 ncommands = 0; in ifthenelse()
823 commands[ncommands] = new char[n]; in ifthenelse()
824 strcpy(commands[ncommands],arg[i]); in ifthenelse()
825 ncommands++; in ifthenelse()
869 int ncommands = last-first + 1; in ifthenelse() local
873 ncommands = 0; in ifthenelse()
877 commands[ncommands] = new char[n]; in ifthenelse()
878 strcpy(commands[ncommands],arg[i]); in ifthenelse()
[all …]
/dports/science/lammps/lammps-stable_29Sep2021/src/
H A Drun.cpp59 int ncommands = 0; in command() local
101 ncommands = last-first + 1; in command()
102 if (ncommands == 1 && strcmp(arg[first],"NULL") == 0) ncommands = 0; in command()
143 if (nevery && ncommands > 0) { in command()
144 commands = new char*[ncommands]; in command()
145 ncommands = 0; in command()
147 commands[ncommands] = utils::strdup(arg[i]); in command()
148 ncommands++; in command()
233 if (ncommands) { in command()
235 for (int i = 0; i < ncommands; i++) input->one(commands[i]); in command()
[all …]
H A Dinput.cpp884 int ncommands = last-first + 1; in ifthenelse() local
888 ncommands = 0; in ifthenelse()
892 commands[ncommands] = new char[n]; in ifthenelse()
893 strcpy(commands[ncommands],arg[i]); in ifthenelse()
894 ncommands++; in ifthenelse()
897 for (int i = 0; i < ncommands; i++) { in ifthenelse()
937 int ncommands = last-first + 1; in ifthenelse() local
941 ncommands = 0; in ifthenelse()
945 commands[ncommands] = new char[n]; in ifthenelse()
946 strcpy(commands[ncommands],arg[i]); in ifthenelse()
[all …]
/dports/math/gnuplot/gnuplot-5.4.1/src/beos/
H A DGPBitmap.cpp24 ncommands = 0; in GPBitmap()
50 if(ncommands) in ~GPBitmap()
66 int32 ncmds = atomic_add(&ncommands,-ncommands); in clearCommands()
81 if (numCmds+ncommands >= max_commands) { in addCommands()
101 commands[ncommands++] = strdup(cmd[i]); in addCommands()
112 if (numCmds+ncommands >= max_commands) { in addCommands()
124 commands[ncommands++] = strdup(cmd); in addCommands()
136 if (ncommands >= max_commands) { in addCommand()
146 commands[ncommands++] = strdup(cmd); in addCommand()
213 if (ncommands == 0 || m_needRedraw == false) in display()
[all …]
H A DGPApp.cpp228 for (i = 0; i < plot->ncommands; ++i) in prepare_plot()
230 plot->ncommands = 0; in prepare_plot()
268 if (plot->ncommands >= plot->max_commands) { in store_command()
279 plot->commands[plot->ncommands++] = strcpy(p, buffer); in store_command()
H A DGPApp.h45 int ncommands, max_commands; member
/dports/math/gnuplot-lite/gnuplot-5.4.1/src/beos/
H A DGPBitmap.cpp24 ncommands = 0; in GPBitmap()
50 if(ncommands) in ~GPBitmap()
66 int32 ncmds = atomic_add(&ncommands,-ncommands); in clearCommands()
81 if (numCmds+ncommands >= max_commands) { in addCommands()
101 commands[ncommands++] = strdup(cmd[i]); in addCommands()
112 if (numCmds+ncommands >= max_commands) { in addCommands()
124 commands[ncommands++] = strdup(cmd); in addCommands()
136 if (ncommands >= max_commands) { in addCommand()
146 commands[ncommands++] = strdup(cmd); in addCommand()
213 if (ncommands == 0 || m_needRedraw == false) in display()
[all …]
H A DGPApp.cpp228 for (i = 0; i < plot->ncommands; ++i) in prepare_plot()
230 plot->ncommands = 0; in prepare_plot()
268 if (plot->ncommands >= plot->max_commands) { in store_command()
279 plot->commands[plot->ncommands++] = strcpy(p, buffer); in store_command()
H A DGPApp.h45 int ncommands, max_commands; member
/dports/math/gnuplot-tex-extras/gnuplot-5.2.8/src/beos/
H A DGPBitmap.cpp24 ncommands = 0; in GPBitmap()
50 if(ncommands) in ~GPBitmap()
66 int32 ncmds = atomic_add(&ncommands,-ncommands); in clearCommands()
81 if (numCmds+ncommands >= max_commands) { in addCommands()
101 commands[ncommands++] = strdup(cmd[i]); in addCommands()
112 if (numCmds+ncommands >= max_commands) { in addCommands()
124 commands[ncommands++] = strdup(cmd); in addCommands()
136 if (ncommands >= max_commands) { in addCommand()
146 commands[ncommands++] = strdup(cmd); in addCommand()
213 if (ncommands == 0 || m_needRedraw == false) in display()
[all …]
H A DGPApp.cpp228 for (i = 0; i < plot->ncommands; ++i) in prepare_plot()
230 plot->ncommands = 0; in prepare_plot()
268 if (plot->ncommands >= plot->max_commands) { in store_command()
279 plot->commands[plot->ncommands++] = strcpy(p, buffer); in store_command()
H A DGPApp.h45 int ncommands, max_commands; member
/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Dreplay.cpp415 assert(base_->get_pos() == ncommands()); in redo()
500 int cmd_index = ncommands() - 1; in undo_cut()
528 for(int i = ncommands() - 1; i >= cmd_index; --i) in undo_cut()
574 int replay::ncommands() const in ncommands() function in replay
618 LOG_REPLAY << "up to replay action " << base_->get_pos() + 1 << '/' << ncommands() << '\n'; in get_next_action()
628 assert(base_->get_pos() <= ncommands()); in at_end()
629 return base_->get_pos() == ncommands(); in at_end()
639 return ncommands() == 0; in empty()
895 replay_network_sender::replay_network_sender(replay& obj) : obj_(obj), upto_(obj_.ncommands()) in replay_network_sender()
925 const config& data = cfg.add_child("turn",obj_.get_data_range(upto_,obj_.ncommands())); in commit_and_sync()
[all …]
/dports/net/vde2/vde2-2.3.2/src/lib/
H A Dlibvdemgmt.c371 int i=0, j, ncommands; in vdemgmt_commandlist() local
391 ncommands=i; in vdemgmt_commandlist()
397 ncommands--; in vdemgmt_commandlist()
402 memmove(out, out+(i-ncommands), ncommands*sizeof(char *)); in vdemgmt_commandlist()
403 out=realloc(out, (ncommands+1)*sizeof(char *)); in vdemgmt_commandlist()
404 out[ncommands]=NULL; in vdemgmt_commandlist()
/dports/net-mgmt/monitoring-plugins/monitoring-plugins-2.3.1/plugins/
H A Dcheck_smtp.c89 int ncommands=0; variable
297 while (n < ncommands) { in main()
536 if (ncommands >= command_size) { in process_arguments()
541 _("Could not realloc() units [%d]\n"), ncommands); in process_arguments()
543 commands[ncommands] = (char *) malloc (sizeof(char) * 255); in process_arguments()
544 strncpy (commands[ncommands], optarg, 255); in process_arguments()
545 ncommands++; in process_arguments()
/dports/net-mgmt/nagios-plugins/nagios-plugins-2.3.3/plugins/
H A Dcheck_smtp.c95 int ncommands=0; variable
317 while (n < ncommands) { in main()
563 if (ncommands >= command_size) { in process_arguments()
568 _("Could not realloc() units [%d]\n"), ncommands); in process_arguments()
570 commands[ncommands] = (char *) malloc (sizeof(char) * 255); in process_arguments()
571 strncpy (commands[ncommands], optarg, 255); in process_arguments()
572 ncommands++; in process_arguments()
/dports/devel/libspice-server/spice-0.15.0/server/tests/
H A Dreplay.c51 static guint ncommands = 0; variable
120 ++ncommands; in fill_queue_idle()
122 if (slow && (ncommands > skip)) { in fill_queue_idle()
476 g_print("Counted %d commands\n", ncommands); in main()
/dports/print/latex2rtf/latex2rtf-2.3.17/
H A Dpreparse.c188 int ncommands = 43; in preParse() local
280 for (i = 0; i < ncommands; i++) in preParse()
392 for (i = 2; i < ncommands; i++) { in preParse()
407 for (i = 2; i < ncommands; i++) { /* discover any exact matches */ in preParse()
/dports/science/cdo/cdo-2.0.0/src/
H A DCommand.cc73 static const int ncommands = commands.size(); variable
94 for (int i = 0; i < ncommands; i++) in com_help()
106 for (int i = 0; i < ncommands; i++) in com_help()
391 for (int i = 0; i < ncommands; i++) in find_command()
/dports/sysutils/radmind/radmind-1.15.4/
H A Dcommand.c103 int ncommands = 0; variable
1030 ncommands = sizeof( noauth ) / sizeof( noauth[ 0 ] ); in f_starttls()
1034 ncommands = sizeof( auth ) / sizeof( auth[ 0 ] ); in f_starttls()
1515 ncommands = sizeof( noauth ) / sizeof( noauth[ 0 ] ); in cmdloop()
1518 ncommands = sizeof( notls ) / sizeof( notls[ 0 ] ); in cmdloop()
1574 ncommands = sizeof( auth ) / sizeof( auth[ 0 ] ); in cmdloop()
1621 for ( i = 0; i < ncommands; i++ ) { in cmdloop()
1627 if ( i >= ncommands ) { in cmdloop()

1234