| /freebsd-10-stable/contrib/binutils/binutils/ |
| D | windmc.h | 37 extern unichar *mcset_msg_id_typedef; 46 unichar *usz; 49 unichar *sval; 58 unichar *message; 64 unichar *user_text; 67 unichar *symbol; 75 void mc_add_keyword (unichar *, int, const char *, rc_uint_type, unichar *); 89 void mc_set_content (const unichar *);
|
| D | mclex.c | 43 static unichar *input_stream = NULL; 44 static unichar *input_stream_pos = NULL; 49 mc_set_content (const unichar *src) in mc_set_content() 117 static unichar * 118 get_diff (unichar *end, unichar *start) in get_diff() 120 unichar *ret; in get_diff() 121 unichar save = *end; in get_diff() 130 parse_digit (unichar ch) in parse_digit() 211 unichar *usz, *usv = NULL; in mc_add_keyword_ascii() 221 mc_add_keyword (unichar *usz, int rid, const char *grp, rc_uint_type nv, unichar *sv) in mc_add_keyword() [all …]
|
| D | mcparse.y | 37 static unichar *mc_last_symbol = NULL; 47 unichar *ustr; 283 unichar *h; 287 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar)); 288 if (l1) memcpy (h, $1, l1 * sizeof (unichar)); 289 if (l2) memcpy (&h[l1], $2, l2 * sizeof (unichar)); 300 unichar *h; 304 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar)); 305 if (l1) memcpy (h, $1, l1 * sizeof (unichar)); 306 if (l2) memcpy (&h[l1], $2, l2 * sizeof (unichar));
|
| D | resres.c | 60 static unichar *read_unistring (windres_bfd *, rc_uint_type *, rc_uint_type, rc_uint_type *); 397 return sizeof (unichar) * (id->u.n.length + 1); 399 return sizeof (unichar) * 2; 477 bfd_byte *d = (bfd_byte *) xmalloc (len * sizeof (unichar)); in write_res_id() 479 windres_put_16 (wrbfd, d + (i * sizeof (unichar)), id->u.n.name[i]); in write_res_id() 480 windres_put_16 (wrbfd, d + (i * sizeof (unichar)), 0); in write_res_id() 481 set_windres_bfd_content (wrbfd, d, off, (len * sizeof (unichar))); in write_res_id() 483 off += (len * sizeof (unichar)); in write_res_id() 523 unichar *id_s = NULL; in read_res_id() 546 static unichar * [all …]
|
| D | rclex.c | 417 static unichar * 420 return (unichar *) get_string (len * sizeof (unichar)); in get_unistring() 427 static unichar * 431 unichar *ret, *s; in handle_uniquotes() 495 *s++ = (unichar) *t++; in handle_uniquotes() 512 *s++ = (unichar) ch; in handle_uniquotes() 534 *s++ = (unichar) ch; in handle_uniquotes() 540 *s++ = (unichar) *t++; in handle_uniquotes() 545 *s++ = (unichar) *t++; in handle_uniquotes() 757 unichar *us; in yylex()
|
| D | windint.h | 114 unichar *name; 410 unichar *caption; 414 unichar *font; 796 unichar *text; 862 const unichar *w; 882 unichar *string; 961 unichar *language; 969 unichar *key; 991 unichar *key; 993 unichar *value;
|
| D | resbin.c | 38 static unichar *get_unicode (windres_bfd *, const bfd_byte *, rc_uint_type, rc_uint_type *); 59 unichar **, rc_uint_type *, rc_uint_type *, rc_uint_type *, 124 static unichar * 129 unichar *ret; in get_unicode() 141 ret = (unichar *) res_alloc ((c + 1) * sizeof (unichar)); in get_unicode() 626 unichar *s; in bin_to_res_string() 632 s = (unichar *) res_alloc (slen * sizeof (unichar)); in bin_to_res_string() 904 const char *key, unichar **pkey, in get_version_header() 925 *off += (sublen + 1) * sizeof (unichar); in get_version_header() 962 (unichar **) NULL, &verlen, &vallen, &type, &off); in bin_to_res_version() [all …]
|
| D | windmc.c | 134 unichar *mcset_msg_id_typedef = NULL; 366 convert_unicode_to_ACP (const unichar *usz) in convert_unicode_to_ACP() 380 write_dbg_define (FILE *fp, const unichar *sym_name, const unichar *typecast) in write_dbg_define() 396 write_header_define (FILE *fp, const unichar *sym_name, rc_uint_type vid, const unichar *typecast, … in write_header_define() 466 e = memcmp (l1->usz, r1->usz, sizeof (unichar) * len1); in sort_keyword_by_nval() 468 e = memcmp (l1->usz, r1->usz, sizeof (unichar) * len2); in sort_keyword_by_nval() 611 unichar *ht = n->message; in mc_generate_bin_item() 620 txt_len *= sizeof (unichar); in mc_generate_bin_item() 621 len = BIN_MESSAGETABLE_ITEM_SIZE + txt_len + sizeof (unichar); in mc_generate_bin_item() 1135 unichar *u; in main() [all …]
|
| D | rcparse.y | 59 static unichar null_unichar; 105 unichar *uni; 109 const unichar *s; 1523 unichar *h = NULL; 1679 unichar *h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar)); 1681 memcpy (h, $1, l1 * sizeof (unichar)); 1683 memcpy (h + l1, $2, l2 * sizeof (unichar)); 1696 unichar *h = NULL; 1726 unichar *h = (unichar *) res_alloc (l * sizeof (unichar)); 1727 memcpy (h, $1.s, $1.length * sizeof (unichar)); [all …]
|
| D | resrc.c | 1420 define_menuitem (const unichar *text, rc_uint_type menuid, rc_uint_type type, in define_menuitem() 1509 define_rcdata_unistring (const unichar *string, rc_uint_type len) in define_rcdata_unistring() 1512 unichar *s; in define_rcdata_unistring() 1518 s = (unichar *) res_alloc (len * sizeof (unichar)); in define_rcdata_unistring() 1519 memcpy (s, string, len * sizeof (unichar)); in define_rcdata_unistring() 1545 rc_uint_type stringid, const unichar *string) in define_stringtable() 1778 append_ver_varfileinfo (rc_ver_info *verinfo, const unichar *key, in append_ver_varfileinfo() 1799 append_verval (rc_ver_stringinfo *strings, const unichar *key, in append_verval() 1800 const unichar *value) in append_verval() 2900 unicode_print (e, (const unichar *) mti->data, in write_rc_messagetable() [all …]
|
| D | rescoff.c | 236 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar)); in read_coff_res_dir() 678 windres_put_16 (cwi->wrbfd, str + (i + 1) * sizeof (unichar), e->id.u.n.name[i]); in coff_to_bin()
|
| D | ChangeLog | 228 * winduni.c: New printing and unichar support routines. 229 * winduni.h: Prototypes for new unichar helpers.
|
| /freebsd-10-stable/contrib/file/src/ |
| D | encoding.c | 47 private int looks_ascii(const unsigned char *, size_t, unichar *, size_t *); 48 private int looks_utf8_with_BOM(const unsigned char *, size_t, unichar *, 50 private int looks_utf7(const unsigned char *, size_t, unichar *, size_t *); 51 private int looks_ucs16(const unsigned char *, size_t, unichar *, size_t *); 52 private int looks_latin1(const unsigned char *, size_t, unichar *, size_t *); 53 private int looks_extended(const unsigned char *, size_t, unichar *, size_t *); 69 file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar **ubuf, size_t… in file_encoding() 81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 231 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ascii() 251 looks_latin1(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_latin1() [all …]
|
| D | ascmagic.c | 54 private unsigned char *encode_utf8(unsigned char *, size_t, unichar *, size_t); 74 unichar *ubuf = NULL; in file_ascmagic() 99 size_t nbytes, unichar *ubuf, size_t ulen, const char *code, in file_ascmagic_with_encoding() 311 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8()
|
| D | file.h | 432 typedef unsigned long unichar; typedef 462 const unsigned char *, size_t, unichar *, size_t, const char *, 465 unichar **, size_t *, const char **, const char **, const char **); 490 protected int file_looks_utf8(const unsigned char *, size_t, unichar *,
|
| D | funcs.c | 182 unichar *u8buf = NULL; in file_buffer()
|