Searched refs:unichars (Results 1 - 11 of 11) sorted by last modified time

/macosx-10.9.5/CF-855.17/
H A DCFFileUtilities.c667 CF_PRIVATE Boolean _CFIsAbsolutePath(UniChar *unichars, CFIndex length) { argument
672 if (unichars[0] == '~') {
678 if (HAS_NET(unichars)) {
684 if (IS_SLASH(unichars[2]) && HAS_DRIVE(unichars)) {
688 if (unichars[0] == '~') {
691 if (IS_SLASH(unichars[0])) {
698 CF_PRIVATE Boolean _CFStripTrailingPathSlashes(UniChar *unichars, CFIndex *length) { argument
699 Boolean destHasDrive = (1 < *length) && HAS_DRIVE(unichars);
701 while (((destHasDrive && 3 < *length) || (!destHasDrive && 1 < *length)) && IS_SLASH(unichars[*lengt
707 _CFAppendTrailingPathSlash(UniChar *unichars, CFIndex *length, CFIndex maxLength) argument
763 _CFAppendPathComponent(UniChar *unichars, CFIndex *length, CFIndex maxLength, UniChar *component, CFIndex componentLength) argument
830 _CFAppendPathExtension(UniChar *unichars, CFIndex *length, CFIndex maxLength, UniChar *extension, CFIndex extensionLength) argument
876 _CFTransmutePathSlashes(UniChar *unichars, CFIndex *length, UniChar replSlash) argument
919 _CFStartOfLastPathComponent(UniChar *unichars, CFIndex length) argument
951 _CFLengthAfterDeletingLastPathComponent(UniChar *unichars, CFIndex length) argument
991 _CFStartOfPathExtension(UniChar *unichars, CFIndex length) argument
1016 _CFLengthAfterDeletingPathExtension(UniChar *unichars, CFIndex length) argument
[all...]
H A DCFInternal.h560 CF_EXPORT Boolean _CFIsAbsolutePath(UniChar *unichars, CFIndex length);
563 CF_EXPORT Boolean _CFAppendPathComponent(UniChar *unichars, CFIndex *length, CFIndex maxLength, UniChar *component, CFIndex componentLength);
566 CF_EXPORT Boolean _CFAppendPathExtension(UniChar *unichars, CFIndex *length, CFIndex maxLength, UniChar *extension, CFIndex extensionLength);
567 CF_EXPORT Boolean _CFTransmutePathSlashes(UniChar *unichars, CFIndex *length, UniChar replSlash);
569 CF_EXPORT CFIndex _CFStartOfLastPathComponent(UniChar *unichars, CFIndex length);
571 CF_EXPORT CFIndex _CFLengthAfterDeletingLastPathComponent(UniChar *unichars, CFIndex length);
573 CF_EXPORT CFIndex _CFStartOfPathExtension(UniChar *unichars, CFIndex length);
575 CF_EXPORT CFIndex _CFLengthAfterDeletingPathExtension(UniChar *unichars, CFIndex length);
H A DCFStringEncodings.c507 const UniChar *unichars; local
509 if (encoding == kCFStringEncodingUTF8 && (unichars = CFStringGetCharactersPtr(string))) {
516 numCharsProcessed = __CFToUTF8((generatingExternalFile ? kCFStringEncodingPrependBOM : 0), unichars + rangeLoc, rangeLen, buffer, (buffer ? max : 0), &totalBytesWritten);
/macosx-10.9.5/msdosfs-198/msdosfs.kextproj/msdosfs.kmodproj/
H A Dmsdosfs_vnops.c2087 u_int16_t unichars = 0; local
2242 ucfn, &unichars, chksum);
2280 unichars = msdosfs_dos2unicodefn(dentp->deName, ucfn,
2285 (void) utf8_encodestr(ucfn, unichars * 2, (u_int8_t*)buf_name,
H A Dmsdosfs_lookup.c93 int msdosfs_unicode_to_dos_lookup(u_int16_t *unicode, size_t unichars, u_char shortname[SHORT_NAME_LEN]);
104 int msdosfs_unicode_to_dos_lookup(u_int16_t *unicode, size_t unichars, u_char shortname[SHORT_NAME_LEN]) argument
110 if (unichars > SHORT_NAME_LEN+1)
117 for (i=0; i<unichars && i<8; ++i)
144 if (i == unichars)
154 for (j=8; j < 11 && i < unichars; ++i, ++j)
170 if (i < unichars)
221 size_t unichars; /* number of UTF-16 characters in original name */ local
233 error = utf8_decodestr((uint8_t *)cnp->cn_nameptr, cnp->cn_namelen, ucfn, &unichars, sizeof(ucfn), 0, UTF_PRECOMPOSED|UTF_SFM_CONVERSIONS);
235 unichars /
703 size_t unichars; local
1231 size_t unichars; local
[all...]
H A Dmsdosfs_conv.c492 int unichars = 0; local
516 un[unichars++] = (dc < 0x80 || dc > 0x9F ? (u_int16_t)dc : dos2unicode[dc - 0x80]);
522 while (unichars > 0 && un[unichars-1]==' ')
524 -- unichars;
530 un[unichars++] = '.';
541 un[unichars++] = (dc < 0x80 || dc > 0x9F ? (u_int16_t)dc : dos2unicode[dc - 0x80]);
548 for (i=0; i<3 && un[unichars-1]==' '; ++i)
550 --unichars;
553 --unichars; /* Ye
1087 msdosfs_getunicodefn(struct winentry *wep, u_int16_t ucfn[WIN_MAXLEN], u_int16_t *unichars, int chksum) argument
[all...]
H A Dmsdosfs_vfsops.c1288 size_t unichars; local
1299 &unichars, sizeof(volName), 0, UTF_PRECOMPOSED);
1302 unichars /= 2; /* Bytes to characters */
1303 if (unichars > SHORT_NAME_LEN)
1321 for (i=0; i<unichars; ++i) {
1573 u_int16_t unichars; local
1649 unichars = i+1;
1652 error = utf8_encodestr(ucfn, unichars * 2,
H A Ddirentry.h174 int msdosfs_getunicodefn(struct winentry *wep, u_int16_t ucfn[WIN_MAXLEN], u_int16_t *unichars, int chksum);
/macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/
H A Dcintltst.h59 * @param unichars UChars (null terminated) to be converted
60 * @return new char* to the unichars in host format
63 U_CFUNC char *austrdup(const UChar* unichars);
68 * @param unichars UChars to be converted
70 * @return new char* to the unichars in host format
72 U_CFUNC char *aescstrdup(const UChar* unichars, int32_t length);
H A Dcintltst.c486 char *austrdup(const UChar* unichars) argument
491 length = u_strlen ( unichars );
498 u_austrcpy ( newString, unichars );
503 char *aescstrdup(const UChar* unichars,int32_t length){ argument
519 length = u_strlen( unichars);
525 ucnv_fromUnicode(conv,&target,targetLimit, &unichars, (UChar*)(unichars+length),NULL,TRUE,&errorCode);
H A Dusrchtst.c134 static char *toCharString(const UChar* unichars) argument
139 int length = u_strlen(unichars);
142 UChar ch = unichars[count];

Completed in 587 milliseconds