• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/src/

Lines Matching +defs:table +defs:string

200 DEFUN ("char-to-string", Fchar_to_string, Schar_to_string, 1, 1, 0,
201 doc: /* Convert arg CHAR to a string containing that character.
202 usage: (char-to-string CHAR) */)
217 DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0,
218 doc: /* Convert arg STRING to a character, the first character of that string.
220 (string)
221 register Lisp_Object string;
224 CHECK_STRING (string);
225 if (SCHARS (string))
227 if (STRING_MULTIBYTE (string))
228 XSETFASTINT (val, STRING_CHAR (SDATA (string), SBYTES (string)));
230 XSETFASTINT (val, SREF (string, 0));
649 DEFUN ("field-string", Ffield_string, Sfield_string, 0, 1, 0,
650 doc: /* Return the contents of the field surrounding POS as a string.
661 DEFUN ("field-string-no-properties", Ffield_string_no_properties, Sfield_string_no_properties, 0, 1, 0,
1280 doc: /* Return the name under which the user logged in, as a string.
1310 doc: /* Return the name of the user's real uid, as a string.
1346 doc: /* Return the full name of the user logged in, as a string.
1352 If UID is a string, return the full name of the user with that login
1410 doc: /* Return the host name of the machine you are running on, as a string. */)
1597 argument. Normally there's just one null-terminated string, but
1600 '\0' byte so we must invoke it separately for each such string. */
1629 DEFUN ("format-time-string", Fformat_time_string, Sformat_time_string, 1, 3, 0,
1791 be a string or t (as from `set-time-zone-rule'), or it can be a list
1883 DEFUN ("current-time-string", Fcurrent_time_string, Scurrent_time_string, 0, 1, 0,
1884 doc: /* Return the current time, as a human-readable string.
1889 However, see also the functions `decode-time' and `format-time-string'
1907 /* Convert to a string, checking for out-of-range time stamps.
1951 NAME is a string giving the name of the time zone.
2000 /* On Japanese w32, we can get a Japanese string as time
2029 doc: /* Set the local time zone using TZ, a string specifying a time zone rule.
2060 We don't use string literals for these strings,
2061 since if a string in the environment is in readonly
2219 to multibyte for insertion (see `string-make-multibyte').
2221 to unibyte for insertion (see `string-make-unibyte').
2224 original bytes of a unibyte string when inserting it into a multibyte
2225 buffer; to accomplish this, apply `string-as-multibyte' to the string
2309 register unsigned char *string;
2326 string = (unsigned char *) alloca (strlen);
2328 string[i] = str[i % len];
2333 insert_and_inherit (string, strlen);
2335 insert (string, strlen);
2341 insert_and_inherit (string, n);
2343 insert (string, n);
2354 has properties in the range specified, the resulting string will also
2360 been moved, and thus copies the wrong data into the string. This
2380 has properties in the range specified, the resulting string will also
2386 been moved, and thus copies the wrong data into the string. This
2458 doc: /* Return the contents of part of the current buffer as a string.
2461 The string returned is multibyte if the buffer is multibyte.
2464 into the result string; if you don't want the text properties,
2495 DEFUN ("buffer-string", Fbuffer_string, Sbuffer_string, 0, 0, 0,
2496 doc: /* Return the contents of the current buffer as a string.
2557 the value is -N if first string is less after N-1 chars,
2558 +N if first string is greater after N-1 chars, or 0 if strings match.
2861 Lisp_Object tem, string;
2868 /* Make a multibyte string containing this single character. */
2869 string = make_multibyte_string (tostr, 1, len);
2872 replace_range (pos, pos + 1, string,
2915 TABLE is a string; the Nth character in it is the mapping
2918 (start, end, table)
2921 register Lisp_Object table;
2923 register unsigned char *tt; /* Trans table. */
2926 int size; /* Size of translate table. */
2932 if (CHAR_TABLE_P (table))
2939 CHECK_STRING (table);
2941 if (! multibyte && (SCHARS (table) < SBYTES (table)))
2942 table = string_make_unibyte (table);
2943 string_multibyte = SCHARS (table) < SBYTES (table);
2944 size = SCHARS (table);
2945 tt = SDATA (table);
2970 tt = SDATA (table);
2973 str = tt + string_char_to_byte (table, oc);
2998 val = CHAR_TABLE_REF (table, oc);
3012 Lisp_Object string;
3016 string = make_multibyte_string (str, 1, str_len);
3017 replace_range (pos, pos + 1, string, 1, 0, 1);
3232 The first argument is a format control string, and the rest are data
3233 to be formatted under control of the string. See `format' for details.
3238 If the first argument is nil or the empty string, the function clears
3266 The first argument is a format control string, and the rest are data
3267 to be formatted under control of the string. See `format' for details.
3269 If the first argument is nil or the empty string, clear any existing
3328 The first argument is a format control string, and the rest are data
3329 to be formatted under control of the string. See `format' for details.
3331 If the first argument is nil or the empty string, clear any existing
3348 doc: /* Return the string currently displayed in the echo area, or nil if none. */)
3357 First argument is the string to copy.
3365 Lisp_Object properties, string;
3373 properties = string = Qnil;
3374 GCPRO2 (properties, string);
3376 /* First argument must be a string. */
3378 string = Fcopy_sequence (args[0]);
3384 make_number (SCHARS (string)),
3385 properties, string);
3386 RETURN_UNGCPRO (string);
3399 doc: /* Format a string out of a format-string and arguments.
3400 The first argument is a format control string.
3401 The other arguments are substituted into it to make the result, a string.
3403 %s means print a string argument. Actually, prints any object, with `princ'.
3429 /* Nonzero if the output should be a multibyte string,
3432 /* When we make a multibyte string, we must pay attention to the
3434 multibyte charcter of the previous string. This flag tells if we
3440 string itself, will not be used. Element NARGS, corresponding to
3450 string was not copied into the output.
3455 the start and end bytepos in the output string,
3456 and whether the argument is a string with intervals.
3496 /* Make room in result for all the non-%-codes in the control string. */
3536 string is shorter than field-width.
3540 number of chars to print from a string. */
3568 error ("Format string ends in middle of format specifier");
3572 error ("Not enough arguments for format string");
3575 /* For `S', prin1 the argument and then treat like a string. */
3585 because args[n] is now a string and calling
3589 goto string;
3599 goto string;
3603 string:
3676 /* Anything but a string, convert to a string using princ. */
3685 goto string;
3812 in the result string it appears. */
3913 /* If the format string has text properties, or any of the string
3915 result string. */
3922 /* Add text properties from the format string. */
3933 to the proper start and end in the output string. */
3937 space of the format string. */
3940 /* BYTEPOS is the byte position in the format string,