亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? unicode.c

?? open source bios with linux platform, very good and can be reused.
?? C
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/* *  linux/fs/hfsplus/unicode.c * * Copyright (C) 1999-2000  Brad Boyer (flar@pants.nu) * This file may be distributed under the terms of the GNU Public License. * * The routines found here convert hfs-unicode string into ascii Strings * and vice versa.  And the correct comparison between Strings. */#include "openbios/config.h"#include "libhfsp.h"#include "unicode.h"/* ISO-8859-1 -> unicode */static intasc2uni( unsigned char *ustr, const char *astr, int maxlen ){	int len;		if( maxlen <= 0 )		return 0;	for( len=0; *astr && len < maxlen-1 ; astr++, len++ ) {		*ustr++ = 0;		*ustr++ = *astr;	}	ustr[0] = ustr[1] = 0;	return len;}/* unicode -> ISO-8859-1 */static intuni2asc( char *astr, const unsigned char *ustr, int ustrlen, int maxlen ){	int len;		if( maxlen <= 0 )		return 0;		for( len=0; ustrlen-- > 0 && len < maxlen-1 ; ustr += 2 ) {		/* might be unrepresentable (or too complicated for us) */		if( ustr[0] || !ustr[1] )			continue;		*astr++ = ustr[1];		len++;	}	*astr = 0;	return len;}intunicode_asc2uni( hfsp_unistr255 *ustr, const char* astr ){	return ustr->strlen = asc2uni( (u8*)ustr->name, astr, 255 );}intunicode_uni2asc(char *astr, const hfsp_unistr255 *ustr, int maxlen){	return uni2asc( astr, (u8*)ustr->name, ustr->strlen, maxlen );}/* The following code is almost as published by Apple, only   small modifications where made to match some linux styles ...fastUnicodeCompare - Compare two Unicode strings; produce a relative ordering*/static const UInt16 gLowerCaseTable[];SInt32 fast_unicode_compare ( const hfsp_unistr255 *ustr1, 			      const hfsp_unistr255 *ustr2){    register UInt16     c1,c2;    register SInt32	diff;    register UInt16     temp;    register UInt16	length1 = ustr1->strlen;    register UInt16	length2 = ustr2->strlen;    register const UInt16* lowerCaseTable = gLowerCaseTable;    register UInt16*	str1 = ustr1->name;    register UInt16*	str2 = ustr2->name;    while (1) {        //  Set default values for c1, c2 in case there are no more valid chars        c1 = c2 = 0;        //  Find next non-ignorable char from str1, or zero if no more        while (length1 && c1 == 0) {            c1 = *(str1++);            --length1;            if ((temp = lowerCaseTable[c1>>8]) != 0)        //  is there a subtable                                                            //  for this upper byte?                c1 = lowerCaseTable[temp + (c1 & 0x00FF)];  //  yes, so fold the char        }        //  Find next non-ignorable char from str2, or zero if no more        while (length2 && c2 == 0) {            c2 = *(str2++);            --length2;            if ((temp = lowerCaseTable[c2>>8]) != 0)        //  is there a subtable                                                            //  for this upper byte?                c2 = lowerCaseTable[temp + (c2 & 0x00FF)];  //  yes, so fold the char        }	diff = c2-c1;        if (diff)       //  found a difference, so stop looping            break;        if (c1 == 0)        //  did we reach the end of both strings at the same time?            return 0;       //  yes, so strings are equal    }    return diff;}/*  The lower case table consists of a 256-entry high-byte table followed by    some number of 256-entry subtables. The high-byte table contains either an    offset to the subtable for characters with that high byte or zero, which    means that there are no case mappings or ignored characters in that block.    Ignored characters are mapped to zero. */static const UInt16 gLowerCaseTable[] = {    // High-byte indices ( == 0 iff no case mapping and no ignorables )    /* 0 */ 0x0100, 0x0200, 0x0000, 0x0300, 0x0400, 0x0500, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 1 */ 0x0600, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 2 */ 0x0700, 0x0800, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 3 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 4 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 5 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 6 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 7 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 8 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* 9 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* A */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* B */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* C */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* D */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* E */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,    /* F */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,            0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0900, 0x0A00,    // Table 1 (for high byte 0x00)    /* 0 */ 0xFFFF, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007,            0x0008, 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F,    /* 1 */ 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017,            0x0018, 0x0019, 0x001A, 0x001B, 0x001C, 0x001D, 0x001E, 0x001F,    /* 2 */ 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027,            0x0028, 0x0029, 0x002A, 0x002B, 0x002C, 0x002D, 0x002E, 0x002F,    /* 3 */ 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037,            0x0038, 0x0039, 0x003A, 0x003B, 0x003C, 0x003D, 0x003E, 0x003F,    /* 4 */ 0x0040, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067,            0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006E, 0x006F,

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久奇米777| 91麻豆免费观看| 亚洲国产成人高清精品| 国产欧美日韩在线看| 久久久亚洲欧洲日产国码αv| 日韩欧美在线网站| 久久综合成人精品亚洲另类欧美| 欧美电影免费观看高清完整版在线 | 日韩免费一区二区三区在线播放| 欧美精三区欧美精三区| 欧美喷水一区二区| 欧美精品一区二区三区久久久| 91精品国产免费| 欧美大片一区二区| 欧美高清在线精品一区| 亚洲蜜臀av乱码久久精品| 亚洲欧美国产高清| 亚洲精品视频免费看| 亚洲一区二区三区三| 亚洲午夜三级在线| 日韩成人伦理电影在线观看| 国产精品亚洲专一区二区三区 | 日韩视频一区二区| 欧美精品一区在线观看| 国产日韩欧美精品电影三级在线| 国产精品嫩草影院av蜜臀| 亚洲视频综合在线| 偷拍与自拍一区| 国产很黄免费观看久久| 色综合视频在线观看| 在线视频国内自拍亚洲视频| 在线观看视频一区| 欧美视频中文一区二区三区在线观看| 欧美精品一级二级三级| 欧美一区二区在线看| 久久久久一区二区三区四区| 欧美极品美女视频| 亚洲国产裸拍裸体视频在线观看乱了| 美国毛片一区二区三区| 麻豆精品在线播放| 成人午夜在线免费| 欧美色大人视频| 久久久综合视频| 亚洲主播在线观看| 99热在这里有精品免费| 欧美老肥妇做.爰bbww| 国产精品二三区| 久久国产精品露脸对白| 欧美在线短视频| 国产精品久久久久国产精品日日| 日本不卡1234视频| 色天使色偷偷av一区二区| 久久久精品免费免费| 青青草成人在线观看| 色狠狠色噜噜噜综合网| 中文文精品字幕一区二区| 久久91精品国产91久久小草| 欧美美女激情18p| 一区二区三区蜜桃网| 国产91精品在线观看| 精品久久久久久久久久久久包黑料 | 成人综合激情网| 欧美tk—视频vk| 日本中文字幕一区| 欧美日韩免费在线视频| 亚洲综合在线视频| av在线综合网| 综合久久久久久| 99视频在线精品| 国产精品无码永久免费888| 国产乱码精品一区二区三区av | 色婷婷综合久久久久中文 | 中文字幕第一区第二区| 精品一区二区影视| 日韩免费看的电影| 韩国一区二区三区| 久久99精品一区二区三区| 欧美三级欧美一级| 亚洲成av人片在线| 91麻豆精品91久久久久久清纯 | 国产精品盗摄一区二区三区| 粉嫩13p一区二区三区| 国产日韩精品久久久| 粉嫩欧美一区二区三区高清影视| 国产亚洲成av人在线观看导航| 韩国v欧美v日本v亚洲v| 国产日韩欧美麻豆| 91在线视频观看| 亚洲图片欧美一区| 欧美一级理论片| 国产呦精品一区二区三区网站| 国产午夜亚洲精品理论片色戒| 国产不卡视频一区二区三区| 免费人成精品欧美精品| 日韩欧美成人激情| 成人伦理片在线| 亚洲亚洲人成综合网络| 日韩美女天天操| 国产.欧美.日韩| 亚洲国产欧美另类丝袜| 欧美一区二区三区在线观看| 天堂av在线一区| 日韩一区二区在线观看| 国产成a人亚洲精品| 亚洲精品欧美激情| 精品国内片67194| 国产精品影视在线观看| 日韩一区在线看| 制服丝袜日韩国产| av一本久道久久综合久久鬼色| 亚洲成人自拍网| 久久久久久久久97黄色工厂| 在线免费精品视频| 狠狠色综合日日| 亚洲精品一二三| 久久精品无码一区二区三区| 欧美私模裸体表演在线观看| 国产一区二区不卡老阿姨| 亚洲午夜三级在线| 国产精品午夜免费| 日韩欧美一卡二卡| 94-欧美-setu| 国产乱子伦视频一区二区三区| 一卡二卡三卡日韩欧美| 久久精品视频一区| 日韩欧美专区在线| 97精品久久久久中文字幕| 日本视频一区二区三区| 中文字幕亚洲区| 国产片一区二区| 欧美tk—视频vk| 欧美二区乱c少妇| 99精品视频一区二区| 麻豆精品一区二区av白丝在线| 一级精品视频在线观看宜春院| 中文av字幕一区| 欧美国产亚洲另类动漫| 26uuu精品一区二区在线观看| 91麻豆精品国产91久久久久| 欧美性高清videossexo| 97se亚洲国产综合在线| 本田岬高潮一区二区三区| 国产在线精品免费| 国内精品不卡在线| 韩国精品主播一区二区在线观看| 免费观看91视频大全| 日韩av电影免费观看高清完整版| 亚洲一区二区在线视频| 亚洲裸体在线观看| 亚洲裸体xxx| 夜色激情一区二区| 一卡二卡三卡日韩欧美| 亚洲午夜免费电影| 日韩福利电影在线观看| 午夜久久久久久久久| 午夜精品一区在线观看| 午夜精品视频一区| 午夜久久福利影院| 蜜桃一区二区三区在线观看| 一区av在线播放| 亚洲综合免费观看高清在线观看| 亚洲国产综合视频在线观看| 亚洲精品免费播放| 午夜视黄欧洲亚洲| 视频一区二区三区在线| 老司机午夜精品99久久| 国产寡妇亲子伦一区二区| av亚洲精华国产精华精| 欧美在线免费观看视频| 日韩一区二区三区电影在线观看| 欧美一区二区在线不卡| 精品久久久久久久一区二区蜜臀| 一区二区三区日韩欧美精品| 国产目拍亚洲精品99久久精品| 国产精品久久久久三级| 一区二区三区在线观看欧美| 视频一区欧美日韩| 国产精品一区二区在线观看不卡 | 2欧美一区二区三区在线观看视频| 精品捆绑美女sm三区| 中文字幕欧美区| 午夜视频在线观看一区二区三区| 久草中文综合在线| 91蜜桃免费观看视频| 欧美一区二区网站| 18欧美乱大交hd1984| 日韩高清不卡一区二区三区| 丁香桃色午夜亚洲一区二区三区| 精品视频免费在线| 国产清纯白嫩初高生在线观看91 | 精品综合免费视频观看| 91亚洲午夜精品久久久久久| 制服丝袜亚洲色图| 日韩美女视频一区| 国内精品伊人久久久久av影院| 色94色欧美sute亚洲线路一久| 精品乱人伦小说| 五月天亚洲婷婷| 91亚洲精品乱码久久久久久蜜桃| 日韩精品一区二区三区老鸭窝|