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

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

?? unicode.c

?? bind 9.3結合mysql數據庫
?? C
字號:
#ifndef lintstatic char *rcsid = "$Id: unicode.c,v 1.1.1.1 2003/06/04 00:26:16 marka Exp $";#endif/* * Copyright (c) 2000,2001,2002 Japan Network Information Center. * All rights reserved. *   * By using this file, you agree to the terms and conditions set forth bellow. *  * 			LICENSE TERMS AND CONDITIONS  *  * The following License Terms and Conditions apply, unless a different * license is obtained from Japan Network Information Center ("JPNIC"), * a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda, * Chiyoda-ku, Tokyo 101-0047, Japan. *  * 1. Use, Modification and Redistribution (including distribution of any *    modified or derived work) in source and/or binary forms is permitted *    under this License Terms and Conditions. *  * 2. Redistribution of source code must retain the copyright notices as they *    appear in each source code file, this License Terms and Conditions. *  * 3. Redistribution in binary form must reproduce the Copyright Notice, *    this License Terms and Conditions, in the documentation and/or other *    materials provided with the distribution.  For the purposes of binary *    distribution the "Copyright Notice" refers to the following language: *    "Copyright (c) 2000-2002 Japan Network Information Center.  All rights reserved." *  * 4. The name of JPNIC may not be used to endorse or promote products *    derived from this Software without specific prior written approval of *    JPNIC. *  * 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC *    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT *    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL JPNIC BE LIABLE *    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR *    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR *    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, *    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR *    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF *    ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */#include <config.h>#include <stddef.h>#include <stdlib.h>#include <string.h>#include <idn/result.h>#include <idn/logmacro.h>#include <idn/assert.h>#include <idn/unicode.h>#define UNICODE_CURRENT	"3.2.0"#define UCS_MAX		0x10ffff#define END_BIT		0x80000000/* * Some constants for Hangul decomposition/composition. */#define SBase		0xac00#define LBase		0x1100#define VBase		0x1161#define TBase		0x11a7#define LCount		19#define VCount		21#define TCount		28#define SLast		(SBase + LCount * VCount * TCount)/* * Symbol composition macro. */#define compose_sym(a, b)		compose_symX(a, b)#define compose_symX(a, b)		a ## bstruct composition {	unsigned long c2;	/* 2nd character */	unsigned long comp;	/* composed character */};#include "unicodedata_320.c"#define VERSION v320#include "unicode_template.c"#undef VERSIONtypedef int	(*unicode_canonclassproc)(unsigned long v);typedef int	(*unicode_decomposeproc)(unsigned long c,					 const unsigned long **seqp);typedef int	(*unicode_composeproc)(unsigned long c,				       const struct composition **compp);static struct idn__unicode_ops {	char *version;	unicode_canonclassproc canonclass_proc;	unicode_decomposeproc decompose_proc;	unicode_composeproc compose_proc;} unicode_versions[] = {#define MAKE_UNICODE_HANDLE(version, suffix) \	{ version, \	  compose_sym(canonclass_, suffix), \	  compose_sym(decompose_, suffix), \	  compose_sym(compose_, suffix) }	MAKE_UNICODE_HANDLE("3.2.0", v320),	{ NULL },#undef MAKE_UNICODE_HANDLE};	idn_result_tidn__unicode_create(const char *version,		    idn__unicode_version_t *versionp) {	idn__unicode_version_t v;	assert(versionp != NULL);	TRACE(("idn__unicode_create(version=%-.50s)\n",	       version == NULL ? "<NULL>" : version));	if (version == NULL)		version = UNICODE_CURRENT;	for (v = unicode_versions; v->version != NULL; v++) {		if (strcmp(v->version, version) == 0) {			*versionp = v;			return (idn_success);		}	}	return (idn_notfound);}voididn__unicode_destroy(idn__unicode_version_t version) {	assert(version != NULL);	TRACE(("idn__unicode_destroy()\n"));	/* Nothing to do */}intidn__unicode_canonicalclass(idn__unicode_version_t version, unsigned long c) {	if (c > UCS_MAX)		return (0);	return (*version->canonclass_proc)(c);}idn_result_tidn__unicode_decompose(idn__unicode_version_t version,		       int compat, unsigned long *v, size_t vlen,		       unsigned long c, int *decomp_lenp) {	unsigned long *vorg = v;	int seqidx;	const unsigned long *seq;	assert(v != NULL && vlen >= 0 && decomp_lenp != NULL);	if (c > UCS_MAX)		return (idn_notfound);	/*	 * First, check for Hangul.	 */	if (SBase <= c && c < SLast) {		int idx, t_offset, v_offset, l_offset;		idx = c - SBase;		t_offset = idx % TCount;		idx /= TCount;		v_offset = idx % VCount;		l_offset = idx / VCount;		if ((t_offset == 0 && vlen < 2) || (t_offset > 0 && vlen < 3))			return (idn_buffer_overflow);		*v++ = LBase + l_offset;		*v++ = VBase + v_offset;		if (t_offset > 0)			*v++ = TBase + t_offset;		*decomp_lenp = v - vorg;		return (idn_success);	}	/*	 * Look up decomposition table.  If no decomposition is defined	 * or if it is a compatibility decomosition when canonical	 * decomposition requested, return 'idn_notfound'.	 */	seqidx = (*version->decompose_proc)(c, &seq);	if (seqidx == 0 || (compat == 0 && (seqidx & DECOMP_COMPAT) != 0))		return (idn_notfound);		/*	 * Copy the decomposed sequence.  The end of the sequence are	 * marked with END_BIT.	 */	do {		unsigned long c;		int dlen;		idn_result_t r;		c = *seq & ~END_BIT;		/* Decompose recursively. */		r = idn__unicode_decompose(version, compat, v, vlen, c, &dlen);		if (r == idn_success) {			v += dlen;			vlen -= dlen;		} else if (r == idn_notfound) {			if (vlen < 1)				return (idn_buffer_overflow);			*v++ = c;			vlen--;		} else {			return (r);		}	} while ((*seq++ & END_BIT) == 0);		*decomp_lenp = v - vorg;	return (idn_success);}intidn__unicode_iscompositecandidate(idn__unicode_version_t version,				  unsigned long c) {	const struct composition *dummy;	if (c > UCS_MAX)		return (0);	/* Check for Hangul */	if ((LBase <= c && c < LBase + LCount) || (SBase <= c && c < SLast))		return (1);	/*	 * Look up composition table.  If there are no composition	 * that begins with the given character, it is not a	 * composition candidate.	 */	if ((*version->compose_proc)(c, &dummy) == 0)		return (0);	else		return (1);}idn_result_tidn__unicode_compose(idn__unicode_version_t version, unsigned long c1,		     unsigned long c2, unsigned long *compp) {	int n;	int lo, hi;	const struct composition *cseq;	assert(compp != NULL);	if (c1 > UCS_MAX || c2 > UCS_MAX)		return (idn_notfound);	/*	 * Check for Hangul.	 */	if (LBase <= c1 && c1 < LBase + LCount &&	    VBase <= c2 && c2 < VBase + VCount) {		/*		 * Hangul L and V.		 */		*compp = SBase +			((c1 - LBase) * VCount + (c2 - VBase)) * TCount;		return (idn_success);	} else if (SBase <= c1 && c1 < SLast &&		   TBase <= c2 && c2 < TBase + TCount &&		   (c1 - SBase) % TCount == 0) {		/*		 * Hangul LV and T.		 */		*compp = c1 + (c2 - TBase);		return (idn_success);	}	/*	 * Look up composition table.  If the result is 0, no composition	 * is defined.  Otherwise, upper 16bits of the result contains	 * the number of composition that begins with 'c1', and the lower	 * 16bits is the offset in 'compose_seq'.	 */	if ((n = (*version->compose_proc)(c1, &cseq)) == 0)		return (idn_notfound);	/*	 * The composite sequences are sorted by the 2nd character 'c2'.	 * So we can use binary search.	 */	lo = 0;	hi = n - 1;	while (lo <= hi) {		int mid = (lo + hi) / 2;		if (cseq[mid].c2 < c2) {			lo = mid + 1;		} else if (cseq[mid].c2 > c2) {			hi = mid - 1;		} else {			*compp = cseq[mid].comp;			return (idn_success);		}	}	return (idn_notfound);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美另类z0zxhd电影| 丝袜亚洲另类丝袜在线| 日韩精品一区二区三区三区免费| 色呦呦国产精品| 成人免费视频免费观看| 国产一区二区剧情av在线| 激情欧美日韩一区二区| 精品一二三四在线| 精品一区二区三区久久| 国产中文一区二区三区| 激情五月婷婷综合网| 国产精品一区二区免费不卡| 国产精品自拍毛片| av中文字幕一区| 91美女视频网站| 欧美日韩精品三区| 精品久久人人做人人爰| 国产亚洲综合色| 国产精品午夜在线观看| 亚洲女同一区二区| 日精品一区二区三区| 久久精品99国产精品日本| 国产99久久久国产精品| 91老司机福利 在线| 欧美乱妇20p| 国产日韩欧美a| 亚洲国产aⅴ天堂久久| 奇米精品一区二区三区在线观看 | 亚洲美腿欧美偷拍| 五月天亚洲婷婷| 国产综合色在线视频区| 91一区二区三区在线观看| 欧美视频在线一区| 久久夜色精品一区| 亚洲久草在线视频| 黄色日韩网站视频| 欧美亚洲动漫精品| 久久久国产精品麻豆| 一区二区三区日韩精品视频| 久久av资源站| 色欧美88888久久久久久影院| 日韩欧美视频一区| 一区二区三区四区在线免费观看 | 国产精品久久久久四虎| 亚洲6080在线| 不卡视频在线观看| 欧美不卡视频一区| 亚洲成a人片在线不卡一二三区 | 一本大道av伊人久久综合| 日韩一级黄色片| 亚洲香蕉伊在人在线观| 不卡视频在线观看| 久久久国产精华| 蜜桃av一区二区| 欧美亚洲综合网| 国产精品天天摸av网| 久久精品国产成人一区二区三区| 91在线免费看| 中文字幕国产精品一区二区| 精品一区精品二区高清| 制服丝袜亚洲网站| 亚洲国产日韩精品| 成人sese在线| 国产精品素人一区二区| 国产伦精品一区二区三区免费迷| 欧美日韩国产系列| 美国一区二区三区在线播放| 在线免费观看日本欧美| 亚洲女同一区二区| 91丨porny丨户外露出| 中文字幕一区二区三区乱码在线| 韩国欧美国产1区| 久久天堂av综合合色蜜桃网| 久久99精品视频| 久久久久久免费网| 国产成人精品一区二区三区四区| 精品欧美一区二区三区精品久久 | 欧美高清视频不卡网| 一区二区国产视频| 欧美在线free| 亚洲成a天堂v人片| 欧美精品免费视频| 日本亚洲免费观看| 精品久久久久久久久久久久久久久| 亚洲成人动漫一区| 日韩午夜在线影院| 激情图片小说一区| 国产精品乱码一区二区三区软件 | 日韩午夜在线影院| 激情六月婷婷综合| 亚洲国产日韩a在线播放| 欧美日韩精品一区二区| 麻豆高清免费国产一区| 精品欧美久久久| 成人综合在线视频| 一区二区三区久久久| 这里只有精品99re| 国产剧情一区二区三区| 亚洲国产高清在线观看视频| 色综合夜色一区| 视频一区二区三区中文字幕| 欧美一个色资源| 国产成人综合网站| 一区二区三区不卡在线观看 | 精品一区二区三区在线视频| 26uuu亚洲综合色| youjizz国产精品| 亚洲福中文字幕伊人影院| 精品国产乱码久久久久久久久| 成人性色生活片| 亚洲成人av一区二区三区| 久久久久综合网| 欧美性xxxxx极品少妇| 久久激情五月激情| **欧美大码日韩| 日韩区在线观看| 99久久99久久久精品齐齐| 午夜视频在线观看一区二区 | 中文字幕一区二区在线观看| 欧美色网站导航| 国产精品99久久久久久宅男| 亚洲一卡二卡三卡四卡无卡久久 | youjizz国产精品| 看电影不卡的网站| 国产精品久久久久影院老司| 欧美一区日韩一区| 色老综合老女人久久久| 国产一二三精品| 日韩电影在线观看网站| 亚洲人成7777| 国产亚洲精品资源在线26u| 欧美日韩精品欧美日韩精品一| 国产成人一区二区精品非洲| 亚洲国产美女搞黄色| 国产精品久久久久aaaa樱花| 精品欧美一区二区三区精品久久| 欧美亚洲一区三区| 日本高清不卡一区| 91免费看片在线观看| 丁香婷婷综合激情五月色| 久久国产三级精品| 六月婷婷色综合| 久久精品免费观看| 日产精品久久久久久久性色| 亚洲一区二区三区四区在线观看| 国产精品另类一区| 国产精品欧美一级免费| 国产欧美日韩在线观看| 国产欧美一区二区三区沐欲| 精品久久久久久久久久久院品网| 欧美色视频一区| 欧美日本不卡视频| 欧美人与性动xxxx| 91精品综合久久久久久| 欧美三级韩国三级日本三斤| 色偷偷成人一区二区三区91| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 亚洲va国产天堂va久久en| 亚洲制服丝袜av| 亚洲成人1区2区| 免费黄网站欧美| 国产自产v一区二区三区c| 国产精品538一区二区在线| 国产一区激情在线| 成熟亚洲日本毛茸茸凸凹| 99re热视频这里只精品 | 偷窥国产亚洲免费视频| 婷婷成人综合网| 国产综合色精品一区二区三区| 国产在线视频一区二区三区| 国产精品一区二区久激情瑜伽| 国产乱码精品一区二区三区av| 国产麻豆一精品一av一免费| 成人黄色在线网站| 欧洲国内综合视频| 日韩视频免费观看高清完整版在线观看| 欧美一区二区三区公司| 国产欧美精品区一区二区三区| 国产精品国产三级国产普通话三级 | 91精品国产全国免费观看| 精品久久一区二区三区| 最新中文字幕一区二区三区| 亚洲一线二线三线视频| 久久99精品国产麻豆婷婷 | 国产精品―色哟哟| 洋洋成人永久网站入口| 美日韩黄色大片| 成人av动漫在线| 91精品在线麻豆| 中文一区在线播放| 偷拍自拍另类欧美| 国产福利91精品| 欧美日韩国产免费一区二区| 久久婷婷国产综合国色天香| 亚洲宅男天堂在线观看无病毒| 久久激情五月激情| 欧美日韩一卡二卡三卡| 中文无字幕一区二区三区| 亚洲电影在线免费观看| 成人性生交大合|