Lines Matching refs:in

7  * Redistribution and use in source and binary forms, with or without
11 * A copy of this license is available in file LICENSE in the
19 * to deal in the Software without restriction, including without limitation
24 * The above copyright notice and this permission notice shall be included in
135 FILE *in;
147 * Unload the current character property data in preparation for
156 if ((in = _ucopenfile(paths, "ctype.dat", "rb")) == 0)
162 fread((char *) &hdr, sizeof(_ucheader_t), 1, in);
170 fclose(in);
181 * array is on a 4-byte boundary and one larger than the value provided in
193 fread((char *) _ucprop_offsets, sizeof(krb5_ui_2), size, in);
205 * Load the ranges. The number of elements is in the last array position
209 _ucprop_offsets[_ucprop_size], in);
211 fclose(in);
309 /* These record the number of slots in the map.
322 FILE *in;
337 if ((in = _ucopenfile(paths, "case.dat", "rb")) == 0)
343 fread((char *) &hdr, sizeof(_ucheader_t), 1, in);
365 fread((char *) _uccase_map, sizeof(krb5_ui_4), _uccase_size * 3, in);
374 fclose(in);
517 FILE *in;
532 if ((in = _ucopenfile(paths, "comp.dat", "rb")) == 0)
538 fread((char *) &hdr, sizeof(_ucheader_t), 1, in);
549 * Read the composition data in.
552 fread((char *) _uccomp_data, sizeof(krb5_ui_4), size, in);
571 fclose(in);
715 FILE *in;
730 if ((in = _ucopenfile(paths, "decomp.dat", "rb")) == 0)
736 fread((char *) &hdr, sizeof(_ucheader_t), 1, in);
748 * Read the decomposition data in.
751 fread((char *) _ucdcmp_nodes, sizeof(krb5_ui_4), size, in);
760 fclose(in);
770 FILE *in;
785 if ((in = _ucopenfile(paths, "kdecomp.dat", "rb")) == 0)
791 fread((char *) &hdr, sizeof(_ucheader_t), 1, in);
803 * Read the decomposition data in.
806 fread((char *) _uckdcmp_nodes, sizeof(krb5_ui_4), size, in);
815 fclose(in);
929 uccanoncompatdecomp(const krb5_ui_4 *in, int inlen,
943 if (mode ? uckdecomp(in[j], &num, &decomp) : ucdecomp(in[j], &num, &decomp)) {
963 } else if (ucdecomp_hangul(in[j], &num, hangdecomp)) {
981 class = uccombining_class(in[j]);
983 (*out)[i] = in[j];
989 (*out)[l] = in[j];
998 uccanondecomp(const krb5_ui_4 *in, int inlen,
1001 return uccanoncompatdecomp(in, inlen, out, outlen, 0);
1005 uccompatdecomp(const krb5_ui_4 *in, int inlen,
1008 return uccanoncompatdecomp(in, inlen, out, outlen, 1);
1027 FILE *in;
1042 if ((in = _ucopenfile(paths, "cmbcl.dat", "rb")) == 0)
1048 fread((char *) &hdr, sizeof(_ucheader_t), 1, in);
1059 * Read the combining classes in.
1061 fread((char *) _uccmcl_nodes, sizeof(krb5_ui_4), _uccmcl_size, in);
1070 fclose(in);
1123 FILE *in;
1138 if ((in = _ucopenfile(paths, "num.dat", "rb")) == 0)
1144 fread((char *) &hdr, sizeof(_ucheader_t), 1, in);
1156 * Read the combining classes in.
1158 fread((char *) _ucnum_nodes, sizeof(unsigned char), hdr.size.bytes, in);
1177 fclose(in);