Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 45) sorted by relevance

12

/plugin/golocal/src/setup/
Dwindows.go27 keypath := fmt.Sprintf("Software\\Classes\\%s", PROTOCOL)
30 return fmt.Errorf("failed to create root key. %s", err.Error())
34 err = keyRoot.SetStringValue("", fmt.Sprintf("URL:%s Protocol", PROTOCOL))
49 err = keyOpener.SetStringValue("", fmt.Sprintf("\"%s\" \"%%1\"", os.Args[0]))
63 _ = registry.DeleteKey(registry.CLASSES_ROOT, fmt.Sprintf("%s\\shell\\open\\command", PROTOCOL))
64 _ = registry.DeleteKey(registry.CLASSES_ROOT, fmt.Sprintf("%s\\shell\\open", PROTOCOL))
65 _ = registry.DeleteKey(registry.CLASSES_ROOT, fmt.Sprintf("%s\\shell", PROTOCOL))
66 err = registry.DeleteKey(registry.CLASSES_ROOT, fmt.Sprintf("%s", PROTOCOL))
72 …_ = registry.DeleteKey(registry.CURRENT_USER, fmt.Sprintf("Software\\Classes\\%s\\shell\\open\\com…
73 …_ = registry.DeleteKey(registry.CURRENT_USER, fmt.Sprintf("Software\\Classes\\%s\\shell\\open", PR…
[all …]
Dlinux.go30 schemeMimeType := fmt.Sprintf("x-scheme-handler/%s", PROTOCOL)
31 desktopEntry := strings.TrimLeft(fmt.Sprintf(DESKTOPFILE, self, schemeMimeType), "\n")
46 return fmt.Errorf("Failed to execute xdg-mime command.\n%s\n%s", err3.Error(), out)
65 return fmt.Errorf("Failed to remove desktop file.\n%s\n%s", desktopFilePath, err2.Error())
83 return fmt.Errorf("Failed to execute xdg-open command.\n%s\n%s", err.Error(), out)
90 return fmt.Sprintf("%s-handler.desktop", PROTOCOL)
99 location := fmt.Sprintf("%s/.local/share/applications/%s", usr.HomeDir, desktopFile())
Ddarwin.go53 return fmt.Errorf("Failed to execute open command.\n%s\n%s", err.Error(), out)
77 return nil, fmt.Errorf("unable to convert plist to map")
111 return fmt.Errorf("unable to get LSHandlers")
140 return fmt.Errorf("unable to get LSHandlers")
150 return fmt.Errorf("unable to convert handler to map")
178 return "", fmt.Errorf("unable to get LSHandlers")
185 return "", fmt.Errorf("unable to convert handler to map")
193 return "", fmt.Errorf("handler for protocol %s not found", protocol)
/plugin/golocal/src/
Dgolocal.go25 fmt.Println()
63 w := application.NewWindow(fmt.Sprintf("%s handler", setup.PROTOCOL))
143 fmt.Printf("Usage: %s %s://path \n", os.Args[0], setup.PROTOCOL)
144 fmt.Println(" Protocol handling. Will try to open the given path locally.")
145 fmt.Println()
147 fmt.Printf("Usage: %s [OPTION]\n", os.Args[0])
148 fmt.Println(" Install or uninstall the protocol handler")
/plugin/amcharts/assets/amcharts/plugins/export/libs/xlsx/
Dxlsx.min.js2fmt,val,ss0){var o="",ss=0,tt=0,y=val.y,out,outl=0;switch(type){case 98:y=val.y+543;case 121:switc… argument
8 …(format,value){var fmt=XLMLFormatMap[format]||unescapexml(format);if(fmt==="General")return SSF._g…
Dxlsx.js266 function write_date(type, fmt, val, ss0) { argument
273 switch(fmt.length) {
278 switch(fmt.length) {
279 case 1: case 2: out = val.m; outl = fmt.length; break;
285 switch(fmt.length) {
286 case 1: case 2: out = val.d; outl = fmt.length; break;
291 switch(fmt.length) {
292 case 1: case 2: out = 1+(val.H+11)%12; outl = fmt.length; break;
293 default: throw 'bad hour format: ' + fmt;
296 switch(fmt.length) {
[all …]
/plugin/farm/
Dinfos.animal.class.php49 public function formatedprint($fmt, $opt) { argument
51 foreach($rawreplace as $k) if(isset($opt[$k])) $fmt = str_replace('{'.$k.'}', $opt[$k], $fmt);
57 $fmt = str_replace('{date}', $date, $fmt);
80 $fmt = str_replace('{delta}', $str, $fmt);
83 …if(isset($opt['size'])) $fmt = str_replace('{size}', $this->animal->manager->nicesize($opt['size']…
84 $fmt = preg_replace('`\{[^}]+\}`', '?', $fmt);
85 return $fmt;
/plugin/clock/
Dscript.js36 format (fmt) { argument
37 return time_.toLocaleString(fmt);
40 formatArgs (fmt, args) { argument
41 return time_.toLocaleString(fmt, args);
/plugin/blogtng/entities/
DComment.php129 * @param string $fmt format of number
132 public function tpl_number($link = true, $fmt = '%d', $title = null) { argument
133 if($title === null) $title = sprintf($fmt, $this->num);
188 * @param string $fmt date format, empty string default to $conf['dformat']
190 public function tpl_created($fmt=''){ argument
191 echo hsc(dformat($this->created,$fmt));
/plugin/virtualkeyboard/vk/extensions/
Ddateextensions.js144 Date.prototype.toFormatString = function (fmt, spacer) { argument
146 if (!fmt) return this.toString();
150 return fmt.replace(/%\w+/g,function(a) {
/plugin/diagramsnet/lib/WEB-INF/lib/
Djstl-1.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt javax ...
/plugin/jplayer/vendor/happyworm/jplayer/src/javascript/popcorn/
Dpopcorn.jplayer.js214 for(var fmt = 0; fmt < supplied.length; fmt++) {
215 mediaType = supplied[fmt].replace(/^\s+|\s+$/g, ""); //trim
235 fmt = supplied.length; // Exit supplied loop
/plugin/jplayer/vendor/happyworm/jplayer/dist/popcorn/
Dpopcorn.jplayer.js214 for(var fmt = 0; fmt < supplied.length; fmt++) {
215 mediaType = supplied[fmt].replace(/^\s+|\s+$/g, ""); //trim
235 fmt = supplied.length; // Exit supplied loop
/plugin/txtconf/
Dtxtconfig.class.php289 function out($var='config', $fmt='txt') { argument
294 if ($fmt=='php') {
300 } else if ($fmt=='txt') {
Dconfig0.class.php363 function out($var, $fmt='php') { argument
370 if ($fmt=='php') {
/plugin/abc/
Dsyntax.php308 $fmt = $this->getConf('fmt');
309 $addFmt = ($fmt && file_exists($fmt)) ? " -F ".fullpath($fmt) : "";
/plugin/datatables/assets/datatables.net-buttons/js/
Dbuttons.html5.min.js8fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{m… method
Dbuttons.html5.js799 fmt: function (d) { method
806 fmt: function (d) { method
818 fmt: function (d) { method
825 fmt: function (d) { method
834 fmt: function (d) { method
1132 if (special.fmt) {
1133 val = special.fmt(val);
/plugin/fedauth/Auth/OpenID/
DServer.php641 $fmt = "Session type %s does not support association type %s";
643 sprintf($fmt, $session_type, $assoc_type));
843 $fmt = "Missing required field 'return_to' from checkid request";
844 return new Auth_OpenID_ServerError($message, $fmt);
1042 $fmt = "Request was for %s, cannot reply with identity %s";
1044 sprintf($fmt, $this->identity, $identity));
DAssociation.php136 $fmt = 'Unsupported association type (%s)';
137 trigger_error(sprintf($fmt, $assoc_type), E_USER_ERROR);
/plugin/openid/Auth/OpenID/
DAssociation.php135 $fmt = 'Unsupported association type (%s)';
136 trigger_error(sprintf($fmt, $assoc_type), E_USER_ERROR);
DServer.php722 $fmt = "Session type %s does not support association type %s";
724 sprintf($fmt, $session_type, $assoc_type));
959 $fmt = "Missing required field 'return_to' from checkid request";
960 return new Auth_OpenID_ServerError($message, $fmt);
1158 $fmt = "Request was for %s, cannot reply with identity %s";
1160 sprintf($fmt, $this->identity, $identity));
/plugin/xlsx2dw/packages/xlsx/
Dxlsx.mjs570 function SSF_write_date(type/*:number*/, fmt/*:string*/, val, ss0/*:?number*/)/*:string*/ { argument
577 switch(fmt.length) {
582 switch(fmt.length) {
583 case 1: case 2: out = val.m; outl = fmt.length; break;
589 switch(fmt.length) {
590 case 1: case 2: out = val.d; outl = fmt.length; break;
595 switch(fmt.length) {
596 case 1: case 2: out = 1+(val.H+11)%12; outl = fmt.length; break;
597 default: throw 'bad hour format: ' + fmt;
600 switch(fmt.length) {
[all …]
/plugin/txt2tags/
Dtxt2tags.class.php342 if($m[1]=='||') $fmt = $snippets['tablehead'];
343 else $fmt = $snippets['tablecell'];
361 $cells .= sprintf($fmt, $attr, $c);
/plugin/diagramsnet/lib/js/grapheditor/
DActions.js1033 var fmt = graph.pageFormat;
1037 var scale = Math.floor(20 * Math.min(cw / fmt.width / ps, ch / fmt.height / ps)) / 20;
1054 var fmt = graph.pageFormat;
1059 var scale = Math.floor(20 * Math.min(cw / (2 * fmt.width) / ps, ch / fmt.height / ps)) / 20;
1076 var fmt = graph.pageFormat;
1080 var scale = Math.floor(20 * cw / fmt.width / ps) / 20;

12