Searched +refs:format +refs:spec (Results 1 - 25 of 78) sorted by relevance

1234

/macosx-10.10/ruby-106/ruby/lib/rubygems/
H A Dinstaller_test_case.rb29 attr_writer :format
59 attr_writer :spec
75 # @spec::
76 # a spec named 'a', intended for regular installs
78 # a spec named 'b', intended for user installs
81 # the path to a built gem from @spec
86 # a Gem::Installer for the @spec that installs into @gemhome
93 @spec = quick_gem 'a' do |spec|
94 util_make_exec spec
[all...]
/macosx-10.10/emacs-93/emacs/lisp/gnus/
H A Dformat-spec.el0 ;;; format-spec.el --- functions for formatting arbitrary formatting strings
32 (defun format-spec (format specification)
34 FORMAT is a string containing `format'-like specs like \"bash %u %k\",
35 while SPECIFICATION is an alist mapping from format spec characters
36 to values. Any text properties on a %-spec itself are propagated to
39 (insert format)
[all...]
H A Dgnus-spec.el1 ;;; gnus-spec.el --- format spec functions for Gnus
38 :group 'gnus-format
41 (defcustom gnus-make-format-preserve-properties (featurep 'xemacs)
42 "*If non-nil, use a replacement `format' function which preserves
45 :group 'gnus-format
55 ;; that are to be evaled as the result of the default format strings.
58 ;; flexibility of the user-defined format specs.
90 (defun gnus-summary-line-format
[all...]
/macosx-10.10/ruby-106/ruby/lib/rubygems/commands/
H A Dunpack_command.rb22 add_option('--spec', 'unpack the gem specification') do |value, options|
23 options[:spec] = true
56 if @options[:spec] then
57 spec, metadata = get_metadata path
60 alert_error "--spec is unsupported on '#{name}' (old format gem)"
64 spec_file = File.basename spec.spec_file
143 format = Gem::Package.new path
144 spec = format
[all...]
H A Dspecification_command.rb16 :format => :yaml
27 add_option('--ruby', 'Output ruby format') do |value, options|
28 options[:format] = :ruby
31 add_option('--yaml', 'Output YAML format') do |value, options|
32 options[:format] = :yaml
35 add_option('--marshal', 'Output Marshal format') do |value, options|
36 options[:format] = :marshal
89 field and options[:format] == :ruby
93 specs << Gem::Package.new(gem).spec rescue nil
105 specs.push(*found.map { |spec,| spe
[all...]
H A Duninstall_command.rb59 add_option('--[no-]format-executable',
92 Gem::Specification.find_all_by_name(name).each do |spec|
93 deplist.add spec
103 spec = e.spec
104 alert("In order to remove #{spec.name}, please execute:\n" +
105 "\tgem uninstall #{spec.name} --install-dir=#{spec.installation_path}")
/macosx-10.10/emacs-93/emacs/lisp/net/
H A Deudc-export.el60 spec
66 (setq bbdb-name (eudc-parse-spec (cdr (assq 'name conversion-alist)) record nil)
67 bbdb-company (eudc-parse-spec (cdr (assq 'company conversion-alist)) record nil)
68 bbdb-net (eudc-parse-spec (cdr (assq 'net conversion-alist)) record nil)
69 bbdb-notes (eudc-parse-spec (cdr (assq 'notes conversion-alist)) record nil))
70 (setq spec (cdr (assq 'address conversion-alist)))
71 (setq bbdb-address (delq nil (eudc-parse-spec (if (listp (car spec))
72 spec
73 (list spec))
[all...]
/macosx-10.10/ruby-106/ruby/lib/webrick/
H A Daccesslog.rb38 # The Common Log Format's time format
69 # This format specification is a subset of mod_log_config of Apache:
82 # %{format}p:: The canonical port of the server serving the request or the
122 def format(format_string, params) method in class:WEBrick.AccessLog
124 param, spec = $1, $2
125 case spec[0]
128 "parameter is required for \"#{spec}\"" unless param
129 (param = params[spec][param]) ? escape(param) : "-"
131 params[spec].strftime(param || CLF_TIME_FORMAT)
142 escape(params[spec]
[all...]
/macosx-10.10/emacs-93/emacs/lisp/
H A Dgs.el71 ;; Scanf format: "%d %d %d %d %d %d %f %f %d %d %d %d"
114 (defun gs-set-ghostview-window-prop (frame spec img-width img-height)
119 (let* ((box (plist-get (cdr spec) :bounding-box))
124 (rotation (or (plist-get (cdr spec) :rotate) 0))
132 (format "0 %d %d %d %d %d %g %g"
143 (format "%s %s" mode pixel-colors)
149 (defun gs-load-image (frame spec img-width img-height window-and-pixmap-id
156 (let ((file (plist-get (cdr spec) :file))
196 (gs-set-ghostview-window-prop frame spec img-width img-height)
208 ; (spec `(imag
[all...]
/macosx-10.10/ICU-531.30/icuSources/io/
H A Duprntf_p.c66 /* C K is old format */
68 /* S U is old format */
77 * format specification, for example 'd' or 's'.
80 * information on the format specification.
98 * Struct encapsulating a single uprintf format specification.
101 u_printf_spec_info fInfo; /* Information on this spec */
119 /* Sets the sign of a format based on u_printf_spec_info */
122 u_printf_set_sign(UNumberFormat *format, argument
129 *prefixBufLen = unum_getTextAttribute(format,
136 /* unum_setSymbol(format, UNUM_PLUS_SIGN_SYMBO
161 u_printf_reset_sign(UNumberFormat *format, const u_printf_spec_info *info, UChar *prefixBuffer, int32_t *prefixBufLen, UErrorCode *status) argument
278 UNumberFormat *format; local
354 UNumberFormat *format; local
489 UNumberFormat *format; local
558 UNumberFormat *format; local
678 UNumberFormat *format; local
803 UNumberFormat *format; local
876 UNumberFormat *format; local
1219 u_printf_spec spec; local
[all...]
H A Duscanf_p.c79 * Struct encapsulating a single uscanf format specification.
98 * Struct encapsulating a single u_scanf format specification.
101 u_scanf_spec_info fInfo; /* Information on this spec */
106 * Parse a single u_scanf format specifier in Unicode.
107 * @param fmt A pointer to a '%' character in a u_scanf format specification.
108 * @param spec A pointer to a <TT>u_scanf_spec</TT> to receive the parsed
109 * format specifier.
114 u_scanf_spec *spec)
118 u_scanf_spec_info *info = &(spec->fInfo);
120 /* initialize spec t
113 u_scanf_parse_spec(const UChar *fmt, u_scanf_spec *spec) argument
338 u_scanf_skip_leading_positive_sign(UFILE *input, UNumberFormat *format, UErrorCode *status) argument
423 UNumberFormat *format; local
488 UNumberFormat *format; local
675 UNumberFormat *format; local
748 UNumberFormat *format; local
972 UNumberFormat *format; local
1309 u_scanf_spec spec; local
[all...]
/macosx-10.10/gnudiff-19/diffutils/src/
H A Difdef.c1 /* #ifdef-format output routines for GNU DIFF.
93 format_ifdef (char const *format, lin beg0, lin end0, lin beg1, lin end1) argument
103 format_group (outfile, format, 0, groups);
107 The format ends at the first free instance of ENDCHAR.
110 If OUT is zero, do not actually print anything; just scan the format. */
113 format_group (register FILE *out, char const *format, char endchar, argument
117 register char const *f = format;
129 /* Print if-then-else format e.g. `%(n=1?thenpart:elsepart)'. */
204 Return -1 if LETTER is not a group format letter. */
231 print_ifdef_lines (register FILE *out, char const *format, argument
299 do_printf_spec(FILE *out, char const *spec, struct file_data const *file, lin n, struct group const *groups) argument
359 char format[spec_prefix_len + 3]; local
361 char *format = xmalloc (spec_prefix_len + 3); local
[all...]
/macosx-10.10/ruby-106/ruby/test/rubygems/
H A Dtest_gem_commands_build_command.rb47 assert_match(/invalid date format in specification/, err)
88 spec = Gem::Package.new(gem_file).spec
90 assert_equal "some_gem", spec.name
91 assert_equal "this is a summary", spec.summary
H A Dtest_gem_commands_specification_command.rb144 @cmd.options[:format] = :marshal
195 spec = Gem::Specification.from_yaml @ui.output
197 assert_equal Gem::Version.new("1"), spec.version
222 spec = YAML.load @ui.output
224 assert_equal Gem::Version.new("2.0.0"), spec.version
250 spec = YAML.load @ui.output
252 assert_equal Gem::Version.new("2.0.1.pre"), spec.version
261 @cmd.options[:format] = :ruby
/macosx-10.10/ruby-106/ruby/lib/
H A Dscanf.rb20 # Scanf scans an input string or stream according to a <b>format</b>, as
22 # the format and the input. The format is defined in a string, and is
26 # The format may contain <b>conversion specifiers</b>, which tell scanf
32 # The format string may also contain characters other than those in the
34 # format string matches any amount of white space, including none, in
38 # match the specifications in the format string, or when input is
39 # exhausted, or when everything in the format string has been
48 # # String#scanf and IO#scanf take a single argument, the format string
58 # to the beginning of the format strin
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Ddadrfmt.cpp34 driver = TestDataModule::getTestDataModule("format", *this, status);
67 dataerrln("format/DataDriven*Test data (format.res) not initialized!");
76 * Headers { "locale", "zone", "spec", "date", "str"}
79 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
80 // date: either an unsigned long (millis), or a calendar spec ERA=0,YEAR=1, etc.. applied to the calendar type specified by the locale
141 UnicodeString spec = currentCase->getString("spec", status); local
143 errln("case %d: No 'spec' line.", n);
157 DateFormat *format local
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/utilLib/
H A DbsafeUtils.c424 B_BLK_CIPHER_W_FEEDBACK_PARAMS spec;
463 spec.encryptionMethodName = (POINTER)"des";
467 spec.encryptionMethodName = (POINTER)"desx";
471 spec.encryptionMethodName = (POINTER)"des_ede";
475 spec.encryptionMethodName = (POINTER)"rc5";
476 spec.encryptionParams = (POINTER)&rc5Params;
483 spec.encryptionMethodName = (POINTER)"rc2";
484 spec.encryptionParams = (POINTER)&rc2Params;
497 spec.feedbackMethodName = (POINTER)"cbc";
498 spec
[all...]
/macosx-10.10/cups-408/cups/scheduler/
H A Dcolorman.c118 const char *colorspace, char **format,
124 char **format, const char *iccfile,
133 static void colord_get_qualifier_format(ppd_file_t *ppd, char *format[3]);
384 if (attr->spec[0] && attr->value && attr->value[0])
480 if (attr->spec[0] && attr->value && attr->value[0])
499 attr->spec)) != NULL &&
503 profile_id = _ppdHashName(attr->spec);
519 apple_init_profile(ppd, languages, profile, profile_id, attr->spec,
520 attr->text[0] ? attr->text : attr->spec, iccfile);
540 if (!strcmp(selector, attr->spec))
886 colord_create_device( cupsd_printer_t *p, ppd_file_t *ppd, cups_array_t *profiles, const char *colorspace, char **format, const char *relation, const char *scope) argument
1004 colord_create_profile( cups_array_t *profiles, const char *printer_name, const char *qualifier, const char *colorspace, char **format, const char *iccfile, const char *scope) argument
1316 colord_get_qualifier_format( ppd_file_t *ppd, char *format[3]) argument
1377 char *format[3]; /* Qualifier format tuple */ local
[all...]
/macosx-10.10/emacs-93/emacs/lisp/emacs-lisp/
H A Dedebug.el111 For each macro, a `edebug-form-spec' overrides this option.
113 and some not, you should specify an `edebug-form-spec'."
216 (symbol :format "%v"))
236 ;;; Form spec utilities.
238 (defmacro def-edebug-form-spec (symbol spec-form)
240 (def-edebug-spec symbol (eval spec-form)))
241 (make-obsolete 'def-edebug-form-spec 'def-edebug-spec "22.
[all...]
H A Dbindat.el69 ;; (setq header-bindat-spec
75 ;; (setq data-bindat-spec
83 ;; (setq packet-bindat-spec
84 ;; '((header struct header-bindat-spec)
88 ;; (struct data-bindat-spec))))
124 ;; We recommend using names that end in `-bindat-spec'; such names
178 ;; to current structure spec.
283 (defun bindat--unpack-group (spec)
285 (while spec
286 (let* ((item (car spec))
[all...]
/macosx-10.10/CPANInternal-159.1/Log-Log4perl-1.40/lib/Log/Log4perl/
H A DDateFormat.pm21 my($class, $format) = @_;
31 if($format eq "ABSOLUTE") {
32 $format = "HH:mm:ss,SSS";
33 } elsif($format eq "DATE") {
34 $format = "dd MMM yyyy HH:mm:ss,SSS";
35 } elsif($format eq "ISO8601") {
36 $format = "yyyy-MM-dd HH:mm:ss,SSS";
37 } elsif($format eq "APACHE") {
38 $format = "[EEE MMM dd HH:mm:ss yyyy]";
41 if($format) {
277 sub format { subroutine
[all...]
/macosx-10.10/emacs-93/emacs/lisp/play/
H A Dgamegrid.el126 "XPM format image used for each square")
136 "XBM format image used for each square.")
162 (format "#%02x%02x%02x" r g b)))
188 (name (intern (format "gamegrid-color-tty-face-%s" color-str)))
209 (name (intern (format "gamegrid-color-x-face-%s" hex)))
214 (defun gamegrid-make-face (data-spec-list color-spec-list)
215 (let ((data (gamegrid-match-spec-list data-spec-list))
216 (color (gamegrid-match-spec
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.c236 * @param format - See printf().
240 const char* format,
248 va_start(ap, format);
249 (void)vsnprintf(buffer, sizeof(buffer), format, ap);
805 const struct InstructionSpecifier *spec; local
809 spec = specifierForUID(instructionID);
815 insn->spec = spec;
823 insn->spec = specWithWBit;
826 insn->spec
239 dbgprintf(struct InternalInstruction* insn, const char* format, ...) argument
840 const struct InstructionSpecifier *spec; local
880 const struct InstructionSpecifier *spec; local
[all...]
/macosx-10.10/vim-55/runtime/ftplugin/
H A Dspec.vim1 " Plugin to update the %changelog section of RPM spec files
2 " Filename: spec.vim
20 function s:SpecChangelog(format)
21 if strlen(a:format) == 0
27 let format = g:spec_chglog_format
30 let g:spec_chglog_format = a:format
32 let format = a:format
82 let parsed_format = "* ".strftime(format)
161 " make it easy to navigate the different sections of a spec fil
[all...]
/macosx-10.10/emacs-93/emacs/src/
H A Dimage.c160 XGetImage (display, pixmap, x, y, width, height, plane_mask, format)
166 int format; /* not used */
754 static void image_error P_ ((char *format, Lisp_Object, Lisp_Object));
852 /* Log error message with format string FORMAT and argument ARG.
859 image_error (format, arg1, arg2)
860 char *format;
863 add_to_log (format, arg1, arg2);
915 /* Parse image spec SPEC according to KEYWORDS. A valid image spec
916 has the format (imag
1094 Lisp_Object spec, pixels, frame; variable
1125 Lisp_Object spec, frame; variable
1149 Lisp_Object spec, frame; variable
1755 Lisp_Object conversion, spec; local
8431 Lisp_Object spec; variable
8439 Lisp_Object spec; variable
8446 debug_print (spec); variable
[all...]

Completed in 322 milliseconds

1234