亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
亚洲欧美激情一区二区| 亚洲乱码中文字幕| 欧美另类一区二区三区| 不卡视频在线观看| 国产专区欧美精品| 免费观看久久久4p| 久久99热国产| 精彩视频一区二区三区| 理论片日本一区| 久久99精品久久久| 久久国内精品视频| 九九精品一区二区| 国产成人精品三级| 成人午夜伦理影院| 91蜜桃婷婷狠狠久久综合9色| av综合在线播放| 99九九99九九九视频精品| 成人av资源在线观看| 99精品久久99久久久久| 91啪在线观看| 在线成人高清不卡| 精品国产网站在线观看| 在线不卡a资源高清| 欧美成人乱码一区二区三区| 国产亚洲一区字幕| 中文字幕一区二区在线观看 | 午夜久久久影院| 亚洲成av人片一区二区| 男人操女人的视频在线观看欧美| 美女脱光内衣内裤视频久久网站 | 精品成a人在线观看| 国产调教视频一区| 亚洲自拍偷拍九九九| 蜜桃视频免费观看一区| 国产成人av影院| 欧美综合天天夜夜久久| 日韩你懂的在线播放| 亚洲欧美综合网| 欧美96一区二区免费视频| 成人免费观看视频| 在线免费观看一区| 国产亚洲精品bt天堂精选| 伊人夜夜躁av伊人久久| 午夜精品久久久久久久久久久| 精品制服美女久久| 色综合久久88色综合天天免费| 欧美精品在线观看一区二区| 久久久久久久网| 午夜av区久久| 91在线观看美女| 日韩色视频在线观看| 亚洲伊人色欲综合网| 成人综合在线视频| 国产精品家庭影院| 极品美女销魂一区二区三区免费| 国产成人精品影院| 91精品国产综合久久久久久久| 欧美极品另类videosde| 老司机精品视频一区二区三区| 色视频欧美一区二区三区| 精品国产自在久精品国产| 亚洲一区二区三区在线看| 国产suv一区二区三区88区| 91麻豆精品国产91久久久| 亚洲综合一二区| 99久久精品国产观看| 久久久久久综合| 免费视频最近日韩| 在线播放视频一区| 亚洲免费三区一区二区| 成人app网站| 日本一区二区免费在线观看视频| 麻豆成人av在线| 欧美日本在线播放| 一区二区不卡在线视频 午夜欧美不卡在 | 午夜精品久久久久久久99樱桃| av在线综合网| 亚洲成人tv网| 欧美日韩一区高清| 亚洲大片免费看| 欧美亚洲丝袜传媒另类| 亚洲三级在线观看| 色av一区二区| 亚洲成人一区二区| 日韩欧美在线1卡| 蜜桃视频第一区免费观看| 亚洲精品一区二区三区蜜桃下载 | 精品国产一区二区三区av性色 | 日本一区二区三区免费乱视频| 国产麻豆一精品一av一免费| 久久久精品综合| 不卡的电视剧免费网站有什么| 国产精品国产a| 欧美影片第一页| 蜜臀久久99精品久久久久宅男 | 91美女片黄在线观看91美女| 一区二区三区中文字幕在线观看| 欧美精品在欧美一区二区少妇| 美女国产一区二区三区| 国产女人18水真多18精品一级做| 成人av网站在线观看免费| 一区二区三区产品免费精品久久75| 欧美日韩美女一区二区| 裸体健美xxxx欧美裸体表演| 国产欧美视频在线观看| 在线观看欧美日本| 狠狠久久亚洲欧美| 中文字幕一区二区三中文字幕| 91国偷自产一区二区三区观看| 日本视频一区二区| 久久久久久久精| 在线免费不卡视频| 狠狠色丁香婷综合久久| 夜夜精品浪潮av一区二区三区| 精品久久久久一区| 91精彩视频在线观看| 国产精品一线二线三线精华| 有坂深雪av一区二区精品| 精品国精品国产| 欧美日韩一区二区三区视频| 国产精品99久久久久久宅男| 一区二区三区高清不卡| 国产女同互慰高潮91漫画| 欧美丰满少妇xxxxx高潮对白| 国产成人自拍网| 亚洲午夜精品一区二区三区他趣| 久久亚洲捆绑美女| 欧美男生操女生| 91啪在线观看| 波多野结衣亚洲一区| 久久国产精品无码网站| 亚洲电影视频在线| 亚洲品质自拍视频| 国产精品理论在线观看| 欧美哺乳videos| 91精品国产全国免费观看| 色婷婷综合久久久久中文| 成人av中文字幕| 国产不卡在线播放| 国产九色精品成人porny| 久久疯狂做爰流白浆xx| 日韩国产在线观看| 亚洲第一狼人社区| 性欧美大战久久久久久久久| 一个色在线综合| 亚洲欧美电影一区二区| 亚洲激情在线播放| 亚洲视频在线一区观看| 中文字幕制服丝袜一区二区三区| 国产欧美日产一区| 国产精品色哟哟网站| 日本一区二区高清| 国产精品国产三级国产| 国产精品三级电影| 中文字幕一区免费在线观看| ...中文天堂在线一区| 综合精品久久久| 亚洲视频中文字幕| 亚洲欧美激情一区二区| 亚洲一级电影视频| 亚洲mv在线观看| 裸体歌舞表演一区二区| 国产一区不卡视频| 成人精品亚洲人成在线| 91色porny在线视频| 欧美日韩一区成人| 在线播放亚洲一区| 久久久三级国产网站| 欧美激情一区三区| 一区二区成人在线视频| 日韩电影免费在线看| 国产美女一区二区| 成人国产精品视频| 欧美午夜精品久久久久久孕妇 | 老司机精品视频导航| 国内成+人亚洲+欧美+综合在线 | 中文字幕在线不卡国产视频| 亚洲欧洲日产国码二区| 亚洲一区二区三区视频在线| 五月天视频一区| 国产精品性做久久久久久| 91在线观看一区二区| 555www色欧美视频| 国产欧美精品一区二区三区四区| 亚洲同性同志一二三专区| 日韩中文字幕一区二区三区| 国产呦精品一区二区三区网站| 成人av动漫网站| 日韩一区和二区| 国产精品久久久久久久蜜臀 | 777色狠狠一区二区三区| 精品久久久三级丝袜| 亚洲欧美国产高清| 国产在线精品免费| 欧美伊人久久大香线蕉综合69 | 欧美老人xxxx18| 国产蜜臀av在线一区二区三区| 亚洲综合久久av| 成人黄色大片在线观看| 日韩一区二区三区电影|