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

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

?? ansistring.c

?? VxWorks BSP框架源代碼包含頭文件和驅動
?? C
?? 第 1 頁 / 共 3 頁
字號:
01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* strpbrk - find the first occurrence in a string of a character from a given set (ANSI)** This routine locates the first occurrence in string <s1> of any character* from string <s2>.** INCLUDE FILES: string.h** RETURNS:* A pointer to the character found in <s1>, or* NULL if no character from <s2> occurs in <s1>.** SEE ALSO: strcspn()*/char * strpbrk    (    const char * s1,       /* string to search */    const char * s2        /* set of characters to look for in <s1> */    )    {    char *scanp;    int   c;    int   sc;    while ((c = *s1++) != 0)			/* wait until end of string */	{	/* loop, searching for character */	for (scanp = CHAR_FROM_CONST(s2); (sc = *scanp++) != 0;)	    {	    if (sc == c)		return (CHAR_FROM_CONST(s1 - 1));	    }	}    return (NULL);    }/* strrchr.c - string search, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/******************************************************************************** strrchr - find the last occurrence of a character in a string (ANSI)** This routine locates the last occurrence of <c> in the string pointed* to by <s>.  The terminating null is considered to be part of the string.** INCLUDE FILES: string.h** RETURNS:* A pointer to the last occurrence of the character, or* NULL if the character is not found.*/char * strrchr    (    const char * s,         /* string to search */    int          c          /* character to look for */    )    {    char *save = NULL;    do					/* loop, searching for character */	{	if (*s == (char) c)	    save = CHAR_FROM_CONST (s);        } while (*s++ != EOS);    return (CHAR_FROM_CONST(save));    }/* strspn.c - string search, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/******************************************************************************** strspn - return the string length up to the first character not in a given set (ANSI)** This routine computes the length of the maximum initial segment of* string <s> that consists entirely of characters from the string <sep>.** INCLUDE FILES: string.h** RETURNS:* The length of the string segment.** SEE ALSO: strcspn()*/ size_t strspn    (    const char * s,             /* string to search */    const char * sep            /* set of characters to look for in <s> */    )    {    const char *save;    const char *p;    char c1;    char c2;    for (save = s + 1; (c1 = *s++) != EOS; )	for (p = sep; (c2 = *p++) != c1; )	    {	    if (c2 == EOS)		return (s - save);            }    return (s - save);    }/* strstr.c - file for string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/******************************************************************************** strstr - find the first occurrence of a substring in a string (ANSI)** This routine locates the first occurrence in string <s>* of the sequence of characters (excluding the terminating null character)* in the string <find>.** INCLUDE FILES: string.h** RETURNS:* A pointer to the located substring, or <s> if <find> points to a* zero-length string, or NULL if the string is not found.*/char * strstr    (    const char * s,        /* string to search */    const char * find      /* substring to look for */    )    {    char *t1;    char *t2;    char c;    char c2;    if ((c = *find++) == EOS)		/* <find> an empty string */	return (CHAR_FROM_CONST(s));    FOREVER	{	while (((c2 = *s++) != EOS) && (c2 != c))	    ;	if (c2 == EOS)	    return (NULL);	t1 = CHAR_FROM_CONST(s);	t2 = CHAR_FROM_CONST(find); 	while (((c2 = *t2++) != 0) && (*t1++ == c2))	    ;	if (c2 == EOS)	    return (CHAR_FROM_CONST(s - 1));	}    }/* strtok.c - file for string *//* Copyright 1992-1995 Wind River Systems, Inc. *//*modification history--------------------01d,23oct95,jdi  doc: added comment that input string will be		    changed (SPR 4874).01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/******************************************************************************** strtok - break down a string into tokens (ANSI)** A sequence of calls to this routine breaks the string <string> into a* sequence of tokens, each of which is delimited by a character from the* string <separator>.  The first call in the sequence has <string> as its* first argument, and is followed by calls with a null pointer as their* first argument.  The separator string may be different from call to call.* * The first call in the sequence searches <string> for the first character* that is not contained in the current separator string.  If the character* is not found, there are no tokens in <string> and strtok() returns a* null pointer.  If the character is found, it is the start of the first* token.* * strtok() then searches from there for a character that is contained in the* current separator string.  If the character is not found, the current* token expands to the end of the string pointed to by <string>, and* subsequent searches for a token will return a null pointer.  If the* character is found, it is overwritten by a null character, which* terminates the current token.  strtok() saves a pointer to the following* character, from which the next search for a token will start.* (Note that because the separator character is overwritten by a null* character, the input string is modified as a result of this call.)* * Each subsequent call, with a null pointer as the value of the first* argument, starts searching from the saved pointer and behaves as* described above.* * The implementation behaves as if strtok() is called by no library functions.** REENTRANCY* This routine is not reentrant; the reentrant form is strtok_r().** INCLUDE FILES: string.h* * RETURNS* A pointer to the first character of a token, or a NULL pointer if there is* no token.** SEE ALSO: strtok_r()*/ char * strtok    (    char *       string,	/* string */    const char * separator	/* separator indicator */    )    {    static char *last = NULL;    return (strtok_r (string, separator, &last));    }/* strtok_r.c - file for string *//* Copyright 1992-1995 Wind River Systems, Inc. *//*modification history--------------------01d,23oct95,jdi  doc: added comment that input string will be		    changed (SPR 4874).01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/******************************************************************************* strtok_r - break down a string into tokens (reentrant) (POSIX)** This routine considers the null-terminated string <string> as a sequence* of zero or more text tokens separated by spans of one or more characters* from the separator string <separators>.  The argument <ppLast> points to a* user-provided pointer which in turn points to the position within <string>* at which scanning should begin.** In the first call to this routine, <string> points to a null-terminated* string; <separators> points to a null-terminated string of separator* characters; and <ppLast> points to a NULL pointer.  The function returns a* pointer to the first character of the first token, writes a null character* into <string> immediately following the returned token, and updates the* pointer to which <ppLast> points so that it points to the first character* following the null written into <string>.  (Note that because the* separator character is overwritten by a null character, the input string* is modified as a result of this call.)** In subsequent calls <string> must be a NULL pointer and <ppLast> must* be unchanged so that subsequent calls will move through the string <string>,* returning successive tokens until no tokens remain.  The separator* string <separators> may be different from call to call.  When no token* remains in <string>, a NULL pointer is returned.** INCLUDE FILES: string.h* * RETURNS* A pointer to the first character of a token,* or a NULL pointer if there is no token.** SEE ALSO: strtok()*/char * strtok_r    (    char *       string,	/* string to break into tokens */    const char * separators,	/* the separators */    char **      ppLast		/* pointer to serve as string index */    )    {    if ((string == NULL) && ((string = *ppLast) == NULL))	return (NULL);    if (*(string += strspn (string, separators)) == EOS)	return (*ppLast = NULL);    if ((*ppLast = strpbrk (string, separators)) != NULL)	*(*ppLast)++ = EOS;    return (string);    }/* strxfrm.c - file for string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01d,25feb93,jdi  documentation cleanup for 5.1.01c,20sep92,smb  documentation additions01b,13jul92,smb  changed __cosave initialisation for MIPS.01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "limits.h"#include "private/strxfrmP.h"/********************************************************************************* strxfrm - transform up to <n> characters of <s2> into <s1> (ANSI)** This routine transforms string <s2> and places the resulting string in <s1>.* The transformation is such that if strcmp() is applied to two transformed* strings, it returns a value greater than, equal to, or less than zero,* corresponding to the result of the strcoll() function applied to the same* two original strings.  No more than <n> characters are placed into the* resulting <s1>, including the terminating null character.  If <n> is zero,* <s1> is permitted to be a NULL pointer.  If copying takes place between* objects that overlap, the behavior is undefined.** INCLUDE FILES: string.h** RETURNS:* The length of the transformed string, not including the terminating null* character.  If the value is <n> or more, the contents of <s1> are* indeterminate.** SEE ALSO: strcmp(), strcoll()*/size_t strxfrm    (    char *	 s1,		/* string out */    const char * s2,		/* string in */    size_t  	 n		/* size of buffer */    )    {    size_t	   i;    size_t	   nx = 0;    const uchar_t *s = (const uchar_t *)s2;    char	   buf[32];    __cosave 	   state;    /* stores state information */    state.__state = EOS;    state.__wchar = 0;    while (nx < n)				/* translate and deliver */    	{    	i = __strxfrm (s1, &s, nx - n, &state);    	s1 += i; 	nx += i;    	if ((i > 0) && (s1[-1] == EOS))	    return (nx - 1);    	if (*s == EOS)	    s = (const uchar_t *) s2;    	}    FOREVER					/* translate the rest */     	{    	i = __strxfrm (buf, &s, sizeof (buf), &state);    	nx += i;    	if ((i > 0) && (buf [i - 1] == EOS))	    return (nx - 1);    	if (*s == EOS)	    s = (const uchar_t *) s2;    	}    }/*********************************************************************************  __strxfrm - translates string into an easier form for strxfrm() and strcoll()** This routine performs the mapping as a finite state machine executing* the table __wcstate defined in xstate.h.** NOMANUAL*/size_t __strxfrm    (    char *	  	sout,		/* out string */    const uchar_t **	ppsin,		/* pointer to character within string */    size_t 		size,		/* size of string */    __cosave *		ps		/* state information */    )    {    const ushort_t *	stab;    ushort_t	 	code;    char 		state = ps->__state;	/* initial state */    BOOL 		leave = FALSE;    int 		limit = 0;    int 		nout = 0;    const uchar_t *	sin = *ppsin;		/* in string */    ushort_t		wc = ps->__wchar;    FOREVER					/* do state transformation */    	{	    	if ((_NSTATE <= state) ||    	    ((stab = __costate.__table [state]) == NULL) ||    	    ((code = stab [*sin]) == 0))    	    break;		/* error */    	state = (code & ST_STATE) >> ST_STOFF;    	if ( code & ST_FOLD)    		wc = wc & ~UCHAR_MAX | code & ST_CH;    	if ( code & ST_ROTATE)    		wc = wc >> CHAR_BIT & UCHAR_MAX | wc << CHAR_BIT;    	if ((code & ST_OUTPUT) &&    	    (((sout[nout++] = code & ST_CH ? code : wc) == EOS) ||    	    (size <= nout)))    		leave = TRUE;    	if (code & ST_INPUT)    	    if (*sin != EOS)	        {    	        ++sin; 	        limit = 0;	        }    	    else    	    	leave = TRUE;    	if (leave)    	    {		/* save state and return */    	    *ppsin = sin;    	    ps->__state = state;    	    ps->__wchar = wc;    	    return (nout);    	    }    	}    sout[nout++] = EOS;		/* error */    *ppsin = sin;    ps->__state = _NSTATE;    return (nout);    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久亚洲一级片| 亚洲国产裸拍裸体视频在线观看乱了| 国产精品区一区二区三| 亚洲一区二区av在线| 国内精品久久久久影院色 | 色综合天天狠狠| 欧美成人高清电影在线| 一区二区国产视频| 波多野结衣一区二区三区 | 一本久久精品一区二区| 国产偷国产偷亚洲高清人白洁| 亚洲电影在线播放| aa级大片欧美| 国产精品久久久久久久久免费相片| 青娱乐精品视频| 欧美日韩一区二区三区四区| 亚洲精品网站在线观看| av中文字幕不卡| 亚洲国产激情av| 国产精品99久久久久久久女警 | 亚洲成人手机在线| 一本色道久久综合亚洲aⅴ蜜桃| 久久综合给合久久狠狠狠97色69| 免费视频一区二区| 91麻豆精品国产无毒不卡在线观看 | 宅男噜噜噜66一区二区66| 一区二区三区四区不卡在线 | 中文字幕第一区二区| 精品亚洲aⅴ乱码一区二区三区| 欧美视频第二页| 亚洲最新在线观看| 欧美最新大片在线看| 亚洲精品亚洲人成人网| 色婷婷综合中文久久一本| 一区二区在线观看av| 欧美中文字幕亚洲一区二区va在线| 中文字幕在线不卡视频| 91浏览器在线视频| 亚洲一区二区视频在线观看| 欧美天堂亚洲电影院在线播放| 亚洲一区欧美一区| 欧美夫妻性生活| 久久激五月天综合精品| 久久久久高清精品| 成人免费毛片aaaaa**| 亚洲视频香蕉人妖| 欧美日韩国产片| 精品一区中文字幕| 国产精品天干天干在观线| 色综合天天做天天爱| 亚洲v精品v日韩v欧美v专区| 欧美成人vr18sexvr| 欧美精品久久99| 日本亚洲一区二区| 国产日产欧产精品推荐色 | 一本色道亚洲精品aⅴ| 亚洲国产精品久久久男人的天堂 | 色系网站成人免费| 五月婷婷综合网| 久久久国产精品午夜一区ai换脸 | 国产盗摄视频一区二区三区| 亚洲欧洲综合另类| 91精品国产综合久久福利软件| 国内精品伊人久久久久av影院| 亚洲欧洲av在线| 欧美男人的天堂一二区| 国产乱一区二区| 亚洲最大成人综合| 2020国产精品自拍| 日本福利一区二区| 国产在线精品视频| 亚洲在线免费播放| 中文字幕欧美区| 在线成人小视频| av在线这里只有精品| 看片的网站亚洲| 亚洲一区二区三区影院| 久久久久久久久免费| 欧美中文字幕亚洲一区二区va在线| 加勒比av一区二区| 亚欧色一区w666天堂| 国产精品美女久久久久高潮| 欧美一区二区三区免费视频| 91免费小视频| 国产电影精品久久禁18| 视频一区视频二区在线观看| 最新久久zyz资源站| 337p日本欧洲亚洲大胆精品| 欧美性生活一区| 不卡欧美aaaaa| 国内成人自拍视频| 日韩国产成人精品| 亚洲综合在线视频| 中文字幕电影一区| 国产日本一区二区| 精品国产自在久精品国产| 欧美美女视频在线观看| 色av综合在线| 色综合色狠狠天天综合色| 丁香另类激情小说| 国产露脸91国语对白| 蜜桃视频一区二区三区在线观看| 亚洲一区二区三区爽爽爽爽爽| 中文字幕视频一区| 中文字幕av在线一区二区三区| 精品国产髙清在线看国产毛片| 91精品国产高清一区二区三区蜜臀| 在线观看视频一区二区 | 国产suv精品一区二区883| 麻豆久久久久久久| 日本不卡视频在线| 日本视频一区二区三区| 亚洲大片精品永久免费| 一区二区三区精密机械公司| 1024国产精品| 中文字幕字幕中文在线中不卡视频| 国产精品日韩成人| 国产精品高潮呻吟| 亚洲免费视频中文字幕| 一区二区三区四区国产精品| 亚洲一区二区精品视频| 亚洲成a人v欧美综合天堂下载 | 精品亚洲成a人在线观看| 国产一区激情在线| 国产精品66部| 不卡一二三区首页| 色av成人天堂桃色av| 欧美日韩精品福利| 日韩欧美高清一区| 久久免费看少妇高潮| 欧美激情综合五月色丁香小说| 国产精品国产三级国产有无不卡| 国产精品久久久爽爽爽麻豆色哟哟 | 日韩一区二区精品葵司在线| 精品欧美一区二区久久| 国产欧美日本一区二区三区| 国产精品美女久久久久久久网站| 亚洲男同性恋视频| 亚洲va国产天堂va久久en| 蜜臀av性久久久久蜜臀aⅴ四虎| 久久草av在线| 国产suv一区二区三区88区| 91猫先生在线| 日韩一级高清毛片| 国产日韩精品视频一区| 一区二区三区在线视频观看58| 日韩影院免费视频| 国产成人欧美日韩在线电影| 一本到一区二区三区| 日韩一区二区三区视频| 国产精品成人免费在线| 三级影片在线观看欧美日韩一区二区 | 日韩视频一区二区| 国产精品美女一区二区| 日本最新不卡在线| 波多野结衣精品在线| 91精品国产色综合久久不卡电影| 中文一区二区在线观看| 五月激情综合网| 成人av电影在线播放| 日韩三级高清在线| 亚洲男帅同性gay1069| 国内久久婷婷综合| 欧美性大战久久久| 国产精品久久午夜夜伦鲁鲁| 日本成人在线网站| 色婷婷精品久久二区二区蜜臂av| 精品捆绑美女sm三区| 亚洲最快最全在线视频| www.日韩大片| 精品国产一区a| 天天影视色香欲综合网老头| 91丨九色丨国产丨porny| 久久久亚洲精华液精华液精华液 | 久久9热精品视频| 精品视频在线免费看| 亚洲人成亚洲人成在线观看图片| 韩国三级中文字幕hd久久精品| 欧美日本免费一区二区三区| 专区另类欧美日韩| 成人免费三级在线| 久久麻豆一区二区| 蜜桃久久久久久久| 欧美丰满少妇xxxxx高潮对白 | 麻豆精品蜜桃视频网站| 欧美日韩在线播| 亚洲成人av电影| 在线国产亚洲欧美| 一区二区三区精品在线| 91女厕偷拍女厕偷拍高清| 国产精品女同互慰在线看| 国产精品1区2区| 久久久综合网站| 国产精品18久久久久久久久久久久| 日韩亚洲欧美一区二区三区| 午夜精品国产更新| 91精品国产品国语在线不卡| 午夜视频一区在线观看| 欧美日韩精品一区二区三区四区| 亚洲一区在线播放|