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

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

?? unicode.c

?? open source bios with linux platform, very good and can be reused.
?? 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一区二区三区免费野_久草精品视频
精品视频在线免费观看| 国产欧美va欧美不卡在线 | 日韩成人免费看| 美女性感视频久久| 97精品久久久久中文字幕| 日韩一区二区麻豆国产| 亚洲摸摸操操av| 国产经典欧美精品| 日韩欧美在线综合网| 亚洲精品va在线观看| 成人av在线播放网址| 精品国产污网站| 日韩av不卡在线观看| 欧美亚洲综合久久| 亚洲色图在线看| 懂色av中文一区二区三区| 91 com成人网| 亚洲国产cao| 欧美视频在线观看一区二区| 中文字幕日韩一区二区| 国产成人亚洲综合a∨婷婷图片| 日韩亚洲欧美在线观看| 日韩高清不卡一区| 欧美精品123区| 亚洲sss视频在线视频| 欧美伊人久久久久久久久影院| 中文字幕一区二区三区在线不卡| 狠狠色丁香婷综合久久| 日韩精品一区二区三区在线观看| 亚洲综合激情另类小说区| 91麻豆高清视频| 国产精品初高中害羞小美女文| 国产精品资源网站| 久久精子c满五个校花| 国产自产v一区二区三区c| 精品日韩av一区二区| 激情欧美一区二区| 欧美不卡在线视频| 国产一二精品视频| 日韩欧美国产午夜精品| 美国十次了思思久久精品导航| 6080午夜不卡| 国模大尺度一区二区三区| 久久亚洲欧美国产精品乐播| 国产成人免费在线观看不卡| 国产色产综合色产在线视频 | 香蕉成人伊视频在线观看| 欧美午夜一区二区三区| 午夜av电影一区| 91精品欧美一区二区三区综合在 | 亚洲国产日韩精品| 欧美一区二区三级| 激情国产一区二区| 国产精品高潮呻吟久久| 欧美性受极品xxxx喷水| 日韩国产欧美一区二区三区| 欧美草草影院在线视频| 高清av一区二区| 亚洲美女电影在线| 欧美一级久久久久久久大片| 国产伦精品一区二区三区视频青涩 | 国产a区久久久| 日韩一区日韩二区| 欧美巨大另类极品videosbest | 天天av天天翘天天综合网| 日韩精品在线网站| 不卡的av在线| 天天综合网天天综合色| 国产午夜一区二区三区| 在线区一区二视频| 韩国三级电影一区二区| 亚洲欧洲精品一区二区三区不卡| 欧美亚洲国产bt| 国产成人亚洲综合a∨婷婷| 一区二区三区在线视频观看58| 日韩欧美一级二级| 91在线国产福利| 激情小说亚洲一区| 午夜欧美视频在线观看| 国产日韩在线不卡| 91精品国产高清一区二区三区| 国产精品1024| 亚洲h动漫在线| 国产精品网站在线| 欧美一区二区精品| 色综合中文字幕| 极品少妇xxxx精品少妇偷拍| 亚洲精品网站在线观看| 久久亚洲欧美国产精品乐播 | 欧美aaaaa成人免费观看视频| 国产精品美女久久久久高潮| 在线播放亚洲一区| 色综合婷婷久久| 国产一区二区按摩在线观看| 午夜精品福利视频网站| 国产精品成人免费| 精品乱人伦小说| 欧美日韩高清一区二区不卡| 成人美女视频在线观看| 卡一卡二国产精品| 日韩高清国产一区在线| 一区二区三区.www| 中文字幕日韩一区二区| 欧美韩国一区二区| 久久精品无码一区二区三区| 精品精品国产高清a毛片牛牛 | 欧美性受极品xxxx喷水| 91色乱码一区二区三区| 成人免费观看av| 丁香一区二区三区| 国产v综合v亚洲欧| 成人午夜免费电影| 成人av网站免费观看| 国产a精品视频| 成人听书哪个软件好| 成人avav影音| 色婷婷av一区| 欧美亚日韩国产aⅴ精品中极品| 91麻豆国产自产在线观看| 91在线porny国产在线看| 一本一道综合狠狠老| 91久久精品日日躁夜夜躁欧美| 91免费视频观看| 欧美日韩一二三区| 欧美放荡的少妇| 日韩视频在线观看一区二区| 精品欧美乱码久久久久久1区2区| 欧美一级精品在线| 久久精品人人爽人人爽| 国产精品你懂的在线欣赏| 国产精品麻豆视频| 亚洲小说欧美激情另类| 日韩专区在线视频| 国内精品写真在线观看| 国产成人亚洲综合a∨婷婷图片| 成人天堂资源www在线| 91视视频在线观看入口直接观看www| 91原创在线视频| 欧美人妇做爰xxxⅹ性高电影| 日韩午夜在线影院| 中文字幕乱码一区二区免费| 亚洲欧美国产高清| 日韩成人午夜精品| 福利电影一区二区三区| 在线观看视频一区| 日韩欧美专区在线| 国产日韩三级在线| 亚洲一二三四区| 国产乱码精品一区二区三区av | 91精品国产aⅴ一区二区| 日韩美女视频在线| 日本一区二区电影| 婷婷久久综合九色综合伊人色| 国产一区二区免费视频| 91首页免费视频| 精品裸体舞一区二区三区| 亚洲天堂精品视频| 麻豆精品国产91久久久久久| 暴力调教一区二区三区| 日韩区在线观看| 亚洲女与黑人做爰| 国产一区二区三区免费播放| 在线免费观看一区| 国产夜色精品一区二区av| 亚洲成人免费电影| 成人av集中营| 精品国产髙清在线看国产毛片| 亚洲日本在线天堂| 国产精品亚洲а∨天堂免在线| 欧美日韩成人综合在线一区二区| 久久精品一级爱片| 麻豆国产精品官网| 欧美色综合天天久久综合精品| 欧美激情一区二区三区四区| 蜜臀av一区二区| 欧美日韩一级二级| 亚洲青青青在线视频| 国产91精品入口| 久久综合九色综合欧美就去吻| 午夜精品久久久| 色婷婷av一区二区三区软件| 欧美国产精品专区| 国产精品一二一区| 欧美岛国在线观看| 天天色 色综合| 日本韩国欧美一区| 国产精品国产成人国产三级| 久久精品国产秦先生| 欧美日韩精品是欧美日韩精品| 1区2区3区欧美| 99视频在线精品| 中文子幕无线码一区tr| 国产精品夜夜爽| 国产亚洲欧洲一区高清在线观看| 日本不卡一区二区| 制服丝袜一区二区三区| 奇米综合一区二区三区精品视频| 欧美一区二区三区在线| 日韩国产高清在线| 欧美电视剧免费观看|