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

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

?? bindtextdom.c

?? xmms-1.2.10.tar.gz學(xué)習(xí)使用的就下吧
?? C
字號:
/* Implementation of the bindtextdomain(3) function   Copyright (C) 1995-1998, 2000, 2001, 2002 Free Software Foundation, Inc.   This program is free software; you can redistribute it and/or modify it   under the terms of the GNU Library General Public License as published   by the Free Software Foundation; either version 2, or (at your option)   any later version.   This program is distributed in the hope that it will be useful,   but WITHOUT ANY WARRANTY; without even the implied warranty of   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   Library General Public License for more details.   You should have received a copy of the GNU Library General Public   License along with this program; if not, write to the Free Software   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,   USA.  */#ifdef HAVE_CONFIG_H# include <config.h>#endif#include <stddef.h>#include <stdlib.h>#include <string.h>#ifdef _LIBC# include <libintl.h>#else# include "libgnuintl.h"#endif#include "gettextP.h"#ifdef _LIBC/* We have to handle multi-threaded applications.  */# include <bits/libc-lock.h>#else/* Provide dummy implementation if this is outside glibc.  */# define __libc_rwlock_define(CLASS, NAME)# define __libc_rwlock_wrlock(NAME)# define __libc_rwlock_unlock(NAME)#endif/* The internal variables in the standalone libintl.a must have different   names than the internal variables in GNU libc, otherwise programs   using libintl.a cannot be linked statically.  */#if !defined _LIBC# define _nl_default_dirname libintl_nl_default_dirname# define _nl_domain_bindings libintl_nl_domain_bindings#endif/* Some compilers, like SunOS4 cc, don't have offsetof in <stddef.h>.  */#ifndef offsetof# define offsetof(type,ident) ((size_t)&(((type*)0)->ident))#endif/* @@ end of prolog @@ *//* Contains the default location of the message catalogs.  */extern const char _nl_default_dirname[];#ifdef _LIBCextern const char _nl_default_dirname_internal[] attribute_hidden;#else# define INTUSE(name) name#endif/* List with bindings of specific domains.  */extern struct binding *_nl_domain_bindings;/* Lock variable to protect the global data in the gettext implementation.  */__libc_rwlock_define (extern, _nl_state_lock attribute_hidden)/* Names for the libintl functions are a problem.  They must not clash   with existing names and they should follow ANSI C.  But this source   code is also used in GNU C Library where the names have a __   prefix.  So we have to make a difference here.  */#ifdef _LIBC# define BINDTEXTDOMAIN __bindtextdomain# define BIND_TEXTDOMAIN_CODESET __bind_textdomain_codeset# ifndef strdup#  define strdup(str) __strdup (str)# endif#else# define BINDTEXTDOMAIN libintl_bindtextdomain# define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset#endif/* Prototypes for local functions.  */static void set_binding_values PARAMS ((const char *domainname,					const char **dirnamep,					const char **codesetp));/* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP   to be used for the DOMAINNAME message catalog.   If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not   modified, only the current value is returned.   If DIRNAMEP or CODESETP is NULL, the corresponding attribute is neither   modified nor returned.  */static voidset_binding_values (domainname, dirnamep, codesetp)     const char *domainname;     const char **dirnamep;     const char **codesetp;{  struct binding *binding;  int modified;  /* Some sanity checks.  */  if (domainname == NULL || domainname[0] == '\0')    {      if (dirnamep)	*dirnamep = NULL;      if (codesetp)	*codesetp = NULL;      return;    }  __libc_rwlock_wrlock (_nl_state_lock);  modified = 0;  for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next)    {      int compare = strcmp (domainname, binding->domainname);      if (compare == 0)	/* We found it!  */	break;      if (compare < 0)	{	  /* It is not in the list.  */	  binding = NULL;	  break;	}    }  if (binding != NULL)    {      if (dirnamep)	{	  const char *dirname = *dirnamep;	  if (dirname == NULL)	    /* The current binding has be to returned.  */	    *dirnamep = binding->dirname;	  else	    {	      /* The domain is already bound.  If the new value and the old		 one are equal we simply do nothing.  Otherwise replace the		 old binding.  */	      char *result = binding->dirname;	      if (strcmp (dirname, result) != 0)		{		  if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0)		    result = (char *) INTUSE(_nl_default_dirname);		  else		    {#if defined _LIBC || defined HAVE_STRDUP		      result = strdup (dirname);#else		      size_t len = strlen (dirname) + 1;		      result = (char *) malloc (len);		      if (__builtin_expect (result != NULL, 1))			memcpy (result, dirname, len);#endif		    }		  if (__builtin_expect (result != NULL, 1))		    {		      if (binding->dirname != INTUSE(_nl_default_dirname))			free (binding->dirname);		      binding->dirname = result;		      modified = 1;		    }		}	      *dirnamep = result;	    }	}      if (codesetp)	{	  const char *codeset = *codesetp;	  if (codeset == NULL)	    /* The current binding has be to returned.  */	    *codesetp = binding->codeset;	  else	    {	      /* The domain is already bound.  If the new value and the old		 one are equal we simply do nothing.  Otherwise replace the		 old binding.  */	      char *result = binding->codeset;	      if (result == NULL || strcmp (codeset, result) != 0)		{#if defined _LIBC || defined HAVE_STRDUP		  result = strdup (codeset);#else		  size_t len = strlen (codeset) + 1;		  result = (char *) malloc (len);		  if (__builtin_expect (result != NULL, 1))		    memcpy (result, codeset, len);#endif		  if (__builtin_expect (result != NULL, 1))		    {		      if (binding->codeset != NULL)			free (binding->codeset);		      binding->codeset = result;		      binding->codeset_cntr++;		      modified = 1;		    }		}	      *codesetp = result;	    }	}    }  else if ((dirnamep == NULL || *dirnamep == NULL)	   && (codesetp == NULL || *codesetp == NULL))    {      /* Simply return the default values.  */      if (dirnamep)	*dirnamep = INTUSE(_nl_default_dirname);      if (codesetp)	*codesetp = NULL;    }  else    {      /* We have to create a new binding.  */      size_t len = strlen (domainname) + 1;      struct binding *new_binding =	(struct binding *) malloc (offsetof (struct binding, domainname) + len);      if (__builtin_expect (new_binding == NULL, 0))	goto failed;      memcpy (new_binding->domainname, domainname, len);      if (dirnamep)	{	  const char *dirname = *dirnamep;	  if (dirname == NULL)	    /* The default value.  */	    dirname = INTUSE(_nl_default_dirname);	  else	    {	      if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0)		dirname = INTUSE(_nl_default_dirname);	      else		{		  char *result;#if defined _LIBC || defined HAVE_STRDUP		  result = strdup (dirname);		  if (__builtin_expect (result == NULL, 0))		    goto failed_dirname;#else		  size_t len = strlen (dirname) + 1;		  result = (char *) malloc (len);		  if (__builtin_expect (result == NULL, 0))		    goto failed_dirname;		  memcpy (result, dirname, len);#endif		  dirname = result;		}	    }	  *dirnamep = dirname;	  new_binding->dirname = (char *) dirname;	}      else	/* The default value.  */	new_binding->dirname = (char *) INTUSE(_nl_default_dirname);      new_binding->codeset_cntr = 0;      if (codesetp)	{	  const char *codeset = *codesetp;	  if (codeset != NULL)	    {	      char *result;#if defined _LIBC || defined HAVE_STRDUP	      result = strdup (codeset);	      if (__builtin_expect (result == NULL, 0))		goto failed_codeset;#else	      size_t len = strlen (codeset) + 1;	      result = (char *) malloc (len);	      if (__builtin_expect (result == NULL, 0))		goto failed_codeset;	      memcpy (result, codeset, len);#endif	      codeset = result;	      new_binding->codeset_cntr++;	    }	  *codesetp = codeset;	  new_binding->codeset = (char *) codeset;	}      else	new_binding->codeset = NULL;      /* Now enqueue it.  */      if (_nl_domain_bindings == NULL	  || strcmp (domainname, _nl_domain_bindings->domainname) < 0)	{	  new_binding->next = _nl_domain_bindings;	  _nl_domain_bindings = new_binding;	}      else	{	  binding = _nl_domain_bindings;	  while (binding->next != NULL		 && strcmp (domainname, binding->next->domainname) > 0)	    binding = binding->next;	  new_binding->next = binding->next;	  binding->next = new_binding;	}      modified = 1;      /* Here we deal with memory allocation failures.  */      if (0)	{	failed_codeset:	  if (new_binding->dirname != INTUSE(_nl_default_dirname))	    free (new_binding->dirname);	failed_dirname:	  free (new_binding);	failed:	  if (dirnamep)	    *dirnamep = NULL;	  if (codesetp)	    *codesetp = NULL;	}    }  /* If we modified any binding, we flush the caches.  */  if (modified)    ++_nl_msg_cat_cntr;  __libc_rwlock_unlock (_nl_state_lock);}/* Specify that the DOMAINNAME message catalog will be found   in DIRNAME rather than in the system locale data base.  */char *BINDTEXTDOMAIN (domainname, dirname)     const char *domainname;     const char *dirname;{  set_binding_values (domainname, &dirname, NULL);  return (char *) dirname;}/* Specify the character encoding in which the messages from the   DOMAINNAME message catalog will be returned.  */char *BIND_TEXTDOMAIN_CODESET (domainname, codeset)     const char *domainname;     const char *codeset;{  set_binding_values (domainname, NULL, &codeset);  return (char *) codeset;}#ifdef _LIBC/* Aliases for function names in GNU C Library.  */weak_alias (__bindtextdomain, bindtextdomain);weak_alias (__bind_textdomain_codeset, bind_textdomain_codeset);#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩天堂在线观看| 91视频在线观看免费| 91精品国产麻豆| 另类小说视频一区二区| 欧美精品一区二区三区视频| 国产一区二区看久久| 国产日韩欧美精品在线| 波多野结衣在线aⅴ中文字幕不卡| 国产精品久久久久久久久免费相片 | 免费成人在线视频观看| 日韩精品一区二区三区中文不卡 | 久久久久88色偷偷免费| 国产成人福利片| 悠悠色在线精品| 欧美一卡在线观看| 国产98色在线|日韩| 亚洲另类中文字| 日韩免费视频一区二区| 不卡在线观看av| 日韩精品亚洲一区| 国产午夜精品一区二区三区四区| 不卡av在线免费观看| 五月婷婷激情综合| 国产欧美一区在线| 欧美日韩午夜影院| 成人午夜碰碰视频| 三级欧美在线一区| 中文字幕一区二区三区在线播放| 欧美日韩亚洲丝袜制服| 国产精品99久久久| 亚洲va在线va天堂| 亚洲国产激情av| 欧美久久一二区| 大白屁股一区二区视频| 视频在线观看一区二区三区| 欧美国产综合一区二区| 欧美军同video69gay| 成人福利视频网站| 国内精品国产三级国产a久久 | 精品国产一区二区精华| 91性感美女视频| 国产精品影视在线| 日韩电影一区二区三区| 中文字幕一区二区三区色视频| 欧美大片日本大片免费观看| 欧洲另类一二三四区| 成人永久免费视频| 久88久久88久久久| 亚洲成人动漫精品| 亚洲视频在线一区观看| 久久久久久久av麻豆果冻| 337p亚洲精品色噜噜噜| 色天使久久综合网天天| heyzo一本久久综合| 国产美女av一区二区三区| 免费人成黄页网站在线一区二区| 亚洲精品国产无套在线观| 中文字幕电影一区| 久久精品一区蜜桃臀影院| 欧美一级搡bbbb搡bbbb| 欧美日韩色综合| 欧美伊人久久久久久久久影院| 成a人片国产精品| 成人免费视频国产在线观看| 国产精品综合二区| 国产精品原创巨作av| 激情六月婷婷综合| 国产美女一区二区| 国产成人99久久亚洲综合精品| 加勒比av一区二区| 久久爱www久久做| 麻豆91精品91久久久的内涵| 日韩成人dvd| 麻豆极品一区二区三区| 蜜臀av一区二区在线免费观看| 亚洲mv在线观看| 亚洲成人久久影院| 日韩国产精品久久久| 日本不卡在线视频| 久久国产精品99精品国产 | 国产999精品久久| 国产成人av电影| 99久久精品费精品国产一区二区| 成人黄色大片在线观看| av在线一区二区三区| 不卡区在线中文字幕| 91丨九色porny丨蝌蚪| 91免费观看国产| 欧美日韩一区三区| 日韩一区二区电影网| 精品国产免费一区二区三区香蕉 | 国产精品系列在线| 亚洲欧洲日韩在线| 亚洲国产日产av| 日韩高清国产一区在线| 久草在线在线精品观看| 成人精品鲁一区一区二区| www.66久久| 欧美日韩一区二区不卡| 日韩一区二区免费在线观看| 久久蜜桃av一区二区天堂 | 欧美在线免费观看亚洲| 911精品产国品一二三产区| 日韩一区二区电影网| 欧美国产日本韩| 亚洲一二三区视频在线观看| 日本sm残虐另类| 成人免费视频一区| 欧美精品1区2区3区| 久久久久久久久久久黄色 | 亚洲18色成人| 国产呦精品一区二区三区网站| 成人看片黄a免费看在线| 在线免费观看日本一区| 欧美成人一区二区| 自拍偷自拍亚洲精品播放| 日韩不卡一区二区| 成人激情黄色小说| 91精品国产91综合久久蜜臀| wwww国产精品欧美| 亚洲一区二区三区中文字幕在线| 激情五月婷婷综合网| 91久久国产综合久久| 精品国产乱码91久久久久久网站| 国产精品久久久久影院亚瑟 | 国产色产综合色产在线视频| 亚洲欧美日韩久久精品| 美女脱光内衣内裤视频久久影院| 99久久综合狠狠综合久久| 日韩欧美一二三| 亚洲激情一二三区| 激情综合色丁香一区二区| 欧美中文字幕一二三区视频| 国产亚洲美州欧州综合国| 丝袜美腿亚洲一区| 91女人视频在线观看| 久久无码av三级| 日韩不卡一二三区| 色老汉一区二区三区| 欧美激情一区在线观看| 麻豆91在线看| 欧美日韩大陆在线| 亚洲视频精选在线| 国产69精品一区二区亚洲孕妇| 欧美一级黄色录像| 亚洲动漫第一页| 色婷婷久久99综合精品jk白丝| 日本一区二区三级电影在线观看| 男女男精品视频网| 欧美丰满少妇xxxxx高潮对白| 国产精品少妇自拍| 国产91精品入口| 久久久精品免费网站| 久久99精品国产.久久久久久| 欧美日韩一区二区三区四区 | 亚洲第一精品在线| 91国产视频在线观看| 亚洲视频一区二区在线| 99久久精品情趣| 国产精品久久三区| proumb性欧美在线观看| 国产精品美女久久久久高潮| 国产成人超碰人人澡人人澡| 久久久91精品国产一区二区精品 | 久久99精品一区二区三区三区| 欧美色图第一页| 亚洲午夜久久久久久久久电影院 | 国产蜜臀av在线一区二区三区| 激情五月婷婷综合网| 精品国产乱码久久久久久免费 | 国产视频一区不卡| 国产精华液一区二区三区| 久久午夜电影网| 成人深夜视频在线观看| 国产精品久久久久影院老司 | 欧美激情一区二区三区| 国产99久久久久| 亚洲欧洲日韩在线| 91福利视频网站| 日韩精品乱码av一区二区| 日韩视频免费观看高清在线视频| 韩国欧美国产1区| 中文字幕精品一区二区精品绿巨人| 成人高清视频在线观看| 亚洲自拍偷拍欧美| 日韩视频免费观看高清完整版| 精久久久久久久久久久| 午夜精品一区二区三区电影天堂| 欧美美女一区二区三区| 麻豆精品一区二区av白丝在线 | 国产精品久久久久久福利一牛影视| 懂色av一区二区在线播放| 亚洲欧美区自拍先锋| 欧美剧在线免费观看网站| 国内精品国产成人| 亚洲日本成人在线观看| 欧美肥胖老妇做爰| 国产成人亚洲综合色影视| 亚洲精品国产品国语在线app| 日韩欧美国产三级电影视频|