Home
last modified time | relevance | path

Searched refs:cmd_fmt (Results 1 – 25 of 60) sorted by relevance

123

/dports/print/fig2dev/fig2dev-3.2.8a/fig2dev/dev/
H A Dreadtif.c48 static char *cmd_fmt = NULL; in read_tif() local
61 if (cmd_fmt == NULL) { in read_tif()
64 cmd_fmt = "tifftopnm -quiet '%s' | ppmtopcx -quiet"; in read_tif()
66 cmd_fmt = "convert tiff:'%s' pcx:-"; in read_tif()
68 cmd_fmt = "gm convert tiff:'%s' pcx:-"; in read_tif()
70 cmd_fmt = ""; in read_tif()
77 if (*cmd_fmt == '\0') in read_tif()
81 if ((len = sizeof cmd_fmt + strlen(pic_stream->content) - 2) > in read_tif()
87 sprintf(cmd, cmd_fmt, pic_stream->content); in read_tif()
H A Dreadxpm.c50 static char *cmd_fmt = NULL; in read_xpm() local
57 if (cmd_fmt == NULL) { in read_xpm()
60 cmd_fmt = "xpmtoppm | ppmtopcx -quiet >'%s'"; in read_xpm()
62 cmd_fmt = "convert - pcx:'%s'"; in read_xpm()
64 cmd_fmt = "gm convert - pcx:'%s'"; in read_xpm()
66 cmd_fmt = ""; in read_xpm()
73 if (*cmd_fmt == '\0') in read_xpm()
93 if ((size = strlen(cmd_fmt) + strlen(pcxname) > sizeof buf) && in read_xpm()
98 sprintf(cmd, cmd_fmt, pcxname); in read_xpm()
H A Dreadgif.c95 static char *cmd_fmt = NULL; in read_gif() local
113 if (cmd_fmt == NULL) { in read_gif()
116 cmd_fmt = "giftopnm -quiet | ppmtopcx -quiet >'%s'"; in read_gif()
118 cmd_fmt = "convert - pcx:'%s'"; in read_gif()
120 cmd_fmt = "gm convert - pcx:'%s'"; in read_gif()
122 cmd_fmt = ""; in read_gif()
129 if (*cmd_fmt == '\0') in read_gif()
241 if ((size = strlen(cmd_fmt) + strlen(pcxname) > sizeof buf) && in read_gif()
246 sprintf(cmd, cmd_fmt, pcxname); in read_gif()
H A Dreadeps.c416 char *cmd_fmt; in pdftops() local
441 cmd_fmt = "pdftops -q -f 1 -l 1 -eps '%s' -"; in pdftops()
443 cmd_fmt = "pdftocairo -q -f 1 -l 1 -eps '%s' -"; in pdftops()
446 cmd_fmt = GSEXE in pdftops()
463 size = sizeof cmd_fmt + strlen(pic_stream->content) - 2; in pdftops()
468 sprintf(cmd, cmd_fmt, pic_stream->content); in pdftops()
H A Dreadppm.c270 char *const cmd_fmt = "ppmtopcx -quiet >%s 2>/dev/null"; in read_ppm() local
288 size = sizeof cmd_fmt + strlen(pcxname) - 2; in read_ppm()
296 if (sprintf(cmd, cmd_fmt, pcxname) < 0) { in read_ppm()
/dports/audio/vitunes/vitunes-2.3/players/
H A Dmplayer.c179 static const char *cmd_fmt = "\nloadfile \"%s\" 0\nget_property time_pos\n"; in mplayer_play() local
182 asprintf(&cmd, cmd_fmt, file); in mplayer_play()
221 static const char *cmd_fmt = "\nseek %i 0\nget_property time_pos\n"; in mplayer_seek() local
227 asprintf(&cmd, cmd_fmt, seconds); in mplayer_seek()
241 static const char *cmd_fmt = "\npausing_keep volume %f\n"; in mplayer_volume_step() local
256 asprintf(&cmd, cmd_fmt, percent); in mplayer_volume_step()
269 static const char *cmd_fmt = "\npausing_keep set_property volume %f\n"; in mplayer_volume_set() local
278 asprintf(&cmd, cmd_fmt, percent); in mplayer_volume_set()
/dports/x11-fm/librfm/librfm5-5.3.16.4/modules/
H A Dmime-module.c273 const char *cmd_fmt = p; in mime_is_valid_command() local
274 NOOP ("MIME: mime_is_valid_command(%s)\n", cmd_fmt); in mime_is_valid_command()
279 if(!cmd_fmt) in mime_is_valid_command()
283 DBG ("%s: %s\n", msg, cmd_fmt); in mime_is_valid_command()
403 gchar *cmd_fmt = NULL; in mime_command() local
416 g_free (cmd_fmt); in mime_command()
417 cmd_fmt = g_strcompress (apps[i]); in mime_command()
418 if(mime_is_valid_command (cmd_fmt)) { in mime_command()
420 NOOP ("APPS: --> %s\n", cmd_fmt); in mime_command()
421 return (void *)cmd_fmt; in mime_command()
[all …]
/dports/graphics/xfig/xfig-3.2.8a/src/
H A Df_readgif.c94 char *cmd_fmt; in read_gif() local
111 cmd_fmt = "giftopnm -quiet | ppmtopcx -quiet >'%s'"; in read_gif()
113 cmd_fmt = "convert - pcx:'%s'"; in read_gif()
115 cmd_fmt = "gm convert - pcx:'%s'"; in read_gif()
234 size += strlen(cmd_fmt) - 2; /* from above, size == sizeof pcxname */ in read_gif()
242 if (sprintf(cmd, cmd_fmt, pcxname) < 0) { in read_gif()
/dports/japanese/today/ja-today-2.12_2/
H A Dfind.c117 char *makeCommandLine(const char *cmd_fmt, int index) in makeCommandLine() argument
129 while (buflen > 0 && *cmd_fmt != '\0') { in makeCommandLine()
130 if (*cmd_fmt != '%') { in makeCommandLine()
131 *bufp++ = *cmd_fmt++; in makeCommandLine()
135 cmd_fmt++; in makeCommandLine()
136 switch (*cmd_fmt) { in makeCommandLine()
160 *bufp++ = *cmd_fmt; in makeCommandLine()
164 cmd_fmt++; in makeCommandLine()
H A Dedit.c568 char *makeCommandLine(HWND hWnd, const char *cmd_fmt, BOOL *bCancel, struct DATE_T date) in makeCommandLine() argument
584 while (buflen > 0 && *cmd_fmt != '\0') { in makeCommandLine()
588 if (*cmd_fmt != '%') { in makeCommandLine()
589 *bufp++ = *cmd_fmt++; in makeCommandLine()
593 cmd_fmt++; in makeCommandLine()
594 switch (*cmd_fmt) { in makeCommandLine()
647 *bufp++ = *cmd_fmt; in makeCommandLine()
651 cmd_fmt++; in makeCommandLine()
/dports/net/wireguard-tools/wireguard-tools-1.0.20210914/src/wg-quick/
H A Dandroid.c148 if (!c->stream && !cmd_fmt) in vcmd_ret()
150 if (c->stream && cmd_fmt) in vcmd_ret()
153 if (cmd_fmt) { in vcmd_ret()
154 if (vasprintf(&cmd, cmd_fmt, args) < 0) { in vcmd_ret()
176 _printf_(1, 2) static void cmd(const char *cmd_fmt, ...) in cmd() argument
182 va_start(args, cmd_fmt); in cmd()
183 if (vasprintf(&cmd, cmd_fmt, args) < 0) { in cmd()
206 va_start(args, cmd_fmt); in cmd_ret()
207 ret = vcmd_ret(c, cmd_fmt, args); in cmd_ret()
220 va_start(args, cmd_fmt); in cndc()
[all …]
/dports/sysutils/webmin/webmin-1.981/net/
H A Dcygwin-lib.pl326 my $cmd_fmt = "netsh interface ip %s dns name = \"" .
329 my $cmd = sprintf($cmd_fmt, "set", " source = static", $addr);
333 $cmd = sprintf($cmd_fmt, "add", "", $_);
H A Dwindows-lib.pl326 my $cmd_fmt = "netsh interface ip %s dns name = \"" .
329 my $cmd = sprintf($cmd_fmt, "set", " source = static", $addr);
333 $cmd = sprintf($cmd_fmt, "add", "", $_);
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_c_locale_coercion.py84 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
87 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
88 cmd = cmd_fmt.format(locale_name)
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_c_locale_coercion.py84 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
87 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
88 cmd = cmd_fmt.format(locale_name)
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_c_locale_coercion.py87 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
90 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
91 cmd = cmd_fmt.format(locale_name)
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_c_locale_coercion.py88 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
91 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
92 cmd = cmd_fmt.format(locale_name)
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_c_locale_coercion.py84 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
87 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
88 cmd = cmd_fmt.format(locale_name)
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_c_locale_coercion.py84 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
87 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
88 cmd = cmd_fmt.format(locale_name)
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_c_locale_coercion.py88 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
91 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
92 cmd = cmd_fmt.format(locale_name)
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_c_locale_coercion.py88 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
91 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
92 cmd = cmd_fmt.format(locale_name)
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_c_locale_coercion.py84 cmd_fmt = "import locale; print(locale.setlocale(locale.LC_CTYPE, '{}'))"
87 cmd_fmt += "; import sys; sys.exit(not locale.nl_langinfo(locale.CODESET))"
88 cmd = cmd_fmt.format(locale_name)
/dports/mail/dovecot/dovecot-2.3.17/src/lib-imap-client/
H A Dimapc-client.h206 void imapc_command_sendf(struct imapc_command *cmd, const char *cmd_fmt, ...)
209 const char *cmd_fmt, va_list args) ATTR_FORMAT(2, 0);
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/codecs/
H A Drt5670-dsp.h44 u16 cmd_fmt; member
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/codecs/
H A Drt5670-dsp.h44 u16 cmd_fmt; member

123