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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? unicode.c

?? BIOS Open Platform!
?? C
?? 第 1 頁 / 共 3 頁
字號:
/* *  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,

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕 久热精品 视频在线| 午夜精品福利一区二区蜜股av | 久久国产精品72免费观看| 美国十次了思思久久精品导航| 成人精品视频一区| 欧美日韩国产另类一区| 国产精品免费aⅴ片在线观看| 日韩一区精品字幕| 在线中文字幕不卡| 国产精品免费看片| 国产福利一区二区三区在线视频| 欧美自拍丝袜亚洲| 亚洲色图一区二区三区| 国产成人精品综合在线观看| 日韩午夜激情电影| 午夜欧美在线一二页| 91麻豆精品视频| 亚洲欧洲一区二区在线播放| 国产精品一区二区久久不卡| 日韩一二三区视频| 日韩国产欧美在线播放| 欧美剧在线免费观看网站| 亚洲男女毛片无遮挡| av不卡在线观看| 国产精品色呦呦| 国产a久久麻豆| 国产亚洲精品aa午夜观看| 国产麻豆欧美日韩一区| 久久综合国产精品| 国产一区二区在线看| 欧美精品一区二区在线播放| 美腿丝袜亚洲综合| 欧美成人性战久久| 狠狠色综合播放一区二区| 精品三级在线看| 久88久久88久久久| 久久久.com| 岛国精品一区二区| 自拍视频在线观看一区二区| 91在线视频在线| 亚洲私人黄色宅男| 欧美性感一区二区三区| 亚洲成人av在线电影| 欧美一卡二卡在线| 九九精品视频在线看| 久久综合狠狠综合| aaa欧美日韩| 视频一区二区国产| 精品国产a毛片| 成人精品视频网站| 怡红院av一区二区三区| 欧美年轻男男videosbes| 老司机免费视频一区二区三区| 精品国产sm最大网站免费看| 成人黄色免费短视频| 亚洲综合网站在线观看| 欧美一级片在线看| 国产激情视频一区二区三区欧美 | 亚洲国产日韩一区二区| 在线播放中文字幕一区| 国产精品伊人色| 中文字幕一区二区三区在线观看 | 99久久精品久久久久久清纯| 亚洲一级二级在线| 久久伊99综合婷婷久久伊| 成人伦理片在线| 日韩电影在线看| 中文字幕在线观看一区二区| 欧洲精品视频在线观看| 精彩视频一区二区三区| 综合久久久久综合| 日韩视频国产视频| 91在线免费看| 久久99热这里只有精品| 亚洲欧美激情一区二区| 精品少妇一区二区三区在线视频| 91美女蜜桃在线| 久草中文综合在线| 亚洲国产aⅴ天堂久久| 国产精品乱人伦| 欧美电视剧在线观看完整版| 在线视频国产一区| 国产成人鲁色资源国产91色综| 午夜视频一区在线观看| 国产精品天天看| 精品国免费一区二区三区| 91免费精品国自产拍在线不卡| 精油按摩中文字幕久久| 亚洲国产另类精品专区| 中文字幕精品在线不卡| 欧美mv日韩mv亚洲| 欧美精品一卡两卡| 色综合天天综合| 成人免费观看视频| 国产一区二区三区黄视频 | 欧美亚洲综合另类| 91丝袜国产在线播放| 国产99久久久国产精品免费看| 欧美aaaaaa午夜精品| 无吗不卡中文字幕| 亚洲成人av在线电影| 亚洲一区在线观看视频| 亚洲欧美日韩中文播放| 综合中文字幕亚洲| 国产精品的网站| 亚洲欧洲精品天堂一级 | 91视频免费观看| 粉嫩在线一区二区三区视频| 日本免费新一区视频| 午夜精品福利久久久| 亚洲午夜激情网页| 亚洲成人久久影院| 日韩激情一二三区| 日韩成人一级片| 麻豆精品视频在线观看视频| 日韩av电影天堂| 国产精品1区2区3区| 亚洲一区中文在线| 樱桃国产成人精品视频| 亚洲欧美一区二区三区极速播放 | 国产视频一区二区在线| 精品国产第一区二区三区观看体验| 欧美日本在线视频| 日韩午夜激情av| 日韩一区二区三区在线| 欧美电视剧在线看免费| 久久综合色婷婷| 国产欧美一区二区精品性色超碰| 色综合天天综合| 欧美撒尿777hd撒尿| 3atv在线一区二区三区| 精品国产伦一区二区三区观看方式| 欧美成人精品3d动漫h| 久久久久一区二区三区四区| 国产精品久久久久aaaa| 一区二区欧美精品| 免费一级片91| 成人午夜视频免费看| 色综合久久中文综合久久牛| 欧美精品日韩精品| 久久精品这里都是精品| 亚洲精品成人少妇| 美国三级日本三级久久99| 成人综合在线观看| 欧美日韩免费在线视频| 久久综合丝袜日本网| 亚洲欧美精品午睡沙发| 久久国产免费看| 99re6这里只有精品视频在线观看| 色成人在线视频| 欧美电视剧免费全集观看| 成人免费视频在线观看| 青青草91视频| 99这里都是精品| 884aa四虎影成人精品一区| 久久精品视频网| 亚洲成人一区二区在线观看| 国产精品1024| 欧美精品三级在线观看| 国产精品嫩草影院av蜜臀| 日韩不卡一区二区| 91蝌蚪porny九色| 久久久久久久久一| 香蕉成人伊视频在线观看| 国产精品一区二区三区99| 欧美日韩色综合| 国产精品高潮呻吟| 久久精品国产亚洲高清剧情介绍 | 国产精品综合在线视频| 欧美视频一区二区三区四区| 国产精品毛片大码女人| 极品销魂美女一区二区三区| 欧美性猛交一区二区三区精品| 亚洲国产成人私人影院tom | 天天色天天爱天天射综合| jlzzjlzz国产精品久久| 精品对白一区国产伦| 午夜精品一区在线观看| 色综合久久综合网| 日本一区二区成人在线| 国产一区 二区 三区一级| 56国语精品自产拍在线观看| 亚洲色图在线视频| caoporm超碰国产精品| 久久免费美女视频| 久久99精品久久久久久久久久久久| 欧美色中文字幕| 一区二区免费在线播放| 一本到不卡精品视频在线观看| 中文一区二区完整视频在线观看| 激情伊人五月天久久综合| 日韩美女在线视频| 久久福利资源站| 精品国产乱码久久久久久老虎 | 亚洲自拍偷拍九九九| 色综合视频一区二区三区高清| 国产精品理论在线观看| 成人app软件下载大全免费| 国产精品久久久久影院亚瑟| 成人的网站免费观看|