PageRenderTime 263ms queryFilters 333ms Sphinxql 940ms GetByIds 964ms meta 0ms repositoryFilters 8ms languageFilters 0ms sourceFilters 96ms

11,130 results for 'while (*d++ = *s++); repo:ddark/ecl' (263 ms)

Source

Language

Repository

filefn.cpp https://github.com/jay/wxWidgets.git | C++ | 1,958 lines
10
11// ============================================================================
12// declarations
12// declarations
13// ============================================================================
14
104
105// ============================================================================
106// implementation
106// implementation
107// ============================================================================
108
364          {
365            if (p[1] == wxT('.') && p[2] == wxT('.') && (p[3] == SEP || p[3] == wxT('\0')))
366              {
xyzzycli.cc https://github.com/snmsts/xyzzy.git | C++ | 534 lines
45{
46  while (*d++ = *s++)
47    ;
61        }
62      else if (*s == '\\' || *s == '"')
63        {
312{
313  for (; *p == ' ' || *p == '\t'; p++)
314    ;
357
358          if (!*p || (!dq && (*p == ' ' || *p == '\t')))
359            break;
384  p = skip_white (p);
385  if (*p == '/' && (p[1] == 'p' || p[1] == 'P')
386      && (p[2] == ' ' || p[2] == '\t' || !p[2]))
cbtreeString.c https://github.com/aramk/cbtree.git | C | 408 lines
54		{
55			if( *src == iLvalue || *src == iRvalue )
56			{
169			if( (s[0] == '\'' && s[i-1] == '\'') ||
170				(s[0] == '"' && s[i-1] == '"') )
171			{
319			{
320				if( *s == 0x0D && *(s+1) == 0x0A )
321				{
325				}
326				if( *s == 0x0D || *s == 0x85 )
327				{
381		{
382			if( *(d-1) == '\\' || *(d-1) == '/' ) 
383			{
string.c https://github.com/ElEHsiang/QuadrotorFlightControl.git | C | 154 lines
25        char *d = dest;
26        while ((*d++ = *s++));
27        return dest;
33        char *d = dest;
34        while (n-- && (*d++ = *s++));
35        return dest;
50{
51        while(*s1 && (*s1==*s2))
52                s1++,s2++;
63        /* --- Find last position --- */
64        while (*dst++ != '\0');
65
90                size_t *w, k = ONES * c;
91                for (w = (void *)s; n>=SS; n-=SS, w++) *w = k;
92                for (s = (void *)w; n; n--, s++) *s = c;
coding-style.txt https://github.com/james-w/haproxy.git | text | 1,252 lines
299  | if (omult % idiv == 0) { omult /= idiv; idiv = 1; }
300  | if (idiv % omult == 0) { idiv /= omult; omult = 1; }
301  | if (imult % odiv == 0) { imult /= odiv; odiv = 1; }
301  | if (imult % odiv == 0) { imult /= odiv; odiv = 1; }
302  | if (odiv % imult == 0) { odiv /= imult; imult = 1; }
303
731
732  | if (isdigit(*c) == 0 && isspace(*c) == 0)
733  |         break;
741  | {
742  |         while ((*d++ = *s++));
743  | }
763
764    strcmp(a, b) == 0  <=>  a == b
765    strcmp(a, b) != 0  <=>  a != b
string-util.c https://github.com/gototop/stm32f429-freertos800.git | C | 77 lines
17		size_t *w, k = ONES * c;
18		for (w = (void *)s; n>=SS; n-=SS, w++) *w = k;
19		for (s = (void *)w; n; n--, s++) *s = c;
51	for (; *s && *s != c; s++);
52	return (*s == c) ? (char *)s : NULL;
53}
58	char *d = dest;
59	while ((*d++ = *s++));
60	return dest;
66	char *d = dest;
67	while (n-- && (*d++ = *s++));
68	return dest;
72{
73        while(*a && (*a==*b))
74                ++a, ++b;
utils.cc https://github.com/snmsts/xyzzy.git | C++ | 559 lines
114        {
115          if (*s == '/' || *s == '\\')
116            return (char *)s;
132        {
133          if (*s == '/' || *s == '\\')
134            save = s;
177  int f = 0;
178  if (p < pe && (*p == '+' || *p == '-'))
179    p++;
262  Char *be = s2w (b, s);
263  for (; b < be && (*b == ' ' || *b == '\t'); b++)
264    ;
264    ;
265  for (; be > b && (b[-1] == ' ' || b[-1] == '\t'); b--)
266    ;
cht-1.7.c git://pkgs.fedoraproject.org/chemtool | C | 2,703 lines
1727	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X1, Y1);
1728	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1729	      T == 13)
1761	printf("  Point^.C=%ld", Point->C);
1762      if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1763	  T == 13)
1764	Point->H = 3;
1765      if (T == 1 || T == 2 || T == 4 || T == 14 || T == 15)
1766	Point->H = 2;
1796	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X2, Y2);
1797	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1798	      T == 13)
1829	  printf("  Point^.C=%ld", Point->C);
1830	if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1831	    T == 13)
cht-2.4.c git://pkgs.fedoraproject.org/chemtool | C | 3,300 lines
1639	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X1, Y1);
1640	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1641	      T == 13)
1673	printf("  Point^.C=%ld", Point->C);
1674      if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1675	  T == 13)
1738	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X2, Y2);
1739	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1740	      T == 13)
1741	    Point->H--;
1742	  if (T == 1 || T == 2 || T == 4 || T == 14 || T == 15)
1743	    Point->H -= 2;
1771	  printf("  Point^.C=%ld", Point->C);
1772	if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1773	    T == 13)
cht-2.5.c.compile git://pkgs.fedoraproject.org/chemtool | Unknown | 3,689 lines
1643	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X1, Y1);
1644	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1645	      T == 13)
1681	printf("  Point^.C=%ld", Point->C);
1682      if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1683	  T == 13)
1764	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X2, Y2);
1765	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1766	      T == 13)
1801	  printf("  Point^.C=%ld", Point->C);
1802	if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1803	    T == 13)
1804	  Point->H = 3;
1805	if (T == 1 || T == 2 || T == 4 || T == 14 || T == 15 )
1806	  Point->H = 2;
cht-2.7.c git://pkgs.fedoraproject.org/chemtool | C | 3,576 lines
1530	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X1, Y1);
1531	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1532	      T == 13)
1568	printf("  Point^.C=%ld", Point->C);
1569      if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1570	  T == 13)
1651	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X2, Y2);
1652	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1653	      T == 13)
1688	  printf("  Point^.C=%ld", Point->C);
1689	if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1690	    T == 13)
1691	  Point->H = 3;
1692	if (T == 1 || T == 2 || T == 4 || T == 14 || T == 15 )
1693	  Point->H = 2;
cht-2.5.c git://pkgs.fedoraproject.org/chemtool | C | 3,691 lines
1645	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X1, Y1);
1646	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1647	      T == 13)
1683	printf("  Point^.C=%ld", Point->C);
1684      if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1685	  T == 13)
1766	    printf("  %ld --> Joined at %ld %ld\n", Point->RecCount, X2, Y2);
1767	  if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1768	      T == 13)
1803	  printf("  Point^.C=%ld", Point->C);
1804	if (T == 0 || T == 5 || T == 6 || T == 7 || T == 10 || T == 12 ||
1805	    T == 13)
1806	  Point->H = 3;
1807	if (T == 1 || T == 2 || T == 4 || T == 14 || T == 15 )
1808	  Point->H = 2;
subr.c git://github.com/davshao/dflygsocdrm.git | C | 2,004 lines
129	/* Now look for pathname level-ups.  */
130	if (p[0] == '.' && p[1] == '.' && (p[2] == '\0' || ISSLASH (p[2])))
131	{
425
426    if (rev1 == NULL || rev2 == NULL)
427    {
548	    /* At end-of-line; backtrack to last non-space. */
549	    while (dp > dst && (dp[-1] == ' ' || dp[-1] == '\t'))
550		--dp;
919	        || ( quotes == '"'
920	             && ( *s == '$' || *s == '`' || *s == '\\' ) ) )
921	    : ( strchr( "\\$`'\"*?", *s )
1506#endif /* SUPPORT_OLD_INFO_FMT_STRINGS */
1507    while ((*d++ = *s) != '\0')
1508    {
misc.c https://github.com/vvnikitin/sdcboot.git | C | 80 lines
31#ifdef VERSION_STRINGS
32static BYTE *miscRcsId =
33    "$Id: misc.c 653 2003-08-09 09:35:18Z bartoldeman $";
40{
41  char *tmp = d;
42  
42  
43  while ((*d++ = *s++) != '\0')
44    ;
50{
51  while (*s)
52    *d++ = *s++;
52    *d++ = *s++;
53  *d = '\0';
54}
filefn.cpp http://dynamica.googlecode.com/svn/trunk/ | C++ | 2,145 lines
11
12// ============================================================================
13// declarations
13// declarations
14// ============================================================================
15
118
119// ============================================================================
120// implementation
120// implementation
121// ============================================================================
122
408          {
409            if (p[1] == wxT('.') && p[2] == wxT('.') && (p[3] == SEP || p[3] == wxT('\0')))
410              {
filefn.cpp http://gamekit.googlecode.com/svn/trunk/ | C++ | 2,075 lines
11
12// ============================================================================
13// declarations
13// declarations
14// ============================================================================
15
118
119// ============================================================================
120// implementation
120// implementation
121// ============================================================================
122
385          {
386            if (p[1] == wxT('.') && p[2] == wxT('.') && (p[3] == SEP || p[3] == wxT('\0')))
387              {
filefn.cpp git://github.com/mhoffesommer/Very-Sleepy.git | C++ | 2,108 lines
11
12// ============================================================================
13// declarations
13// declarations
14// ============================================================================
15
122
123// ============================================================================
124// implementation
124// implementation
125// ============================================================================
126
449          {
450            if (p[1] == wxT('.') && p[2] == wxT('.') && (p[3] == SEP || p[3] == wxT('\0')))
451              {
filefn.cpp git://pkgs.fedoraproject.org/wxGTK | C++ | 2,124 lines
11
12// ============================================================================
13// declarations
13// declarations
14// ============================================================================
15
122
123// ============================================================================
124// implementation
124// implementation
125// ============================================================================
126
449          {
450            if (p[1] == wxT('.') && p[2] == wxT('.') && (p[3] == SEP || p[3] == wxT('\0')))
451              {
filefn.cpp https://github.com/sharpglasses/decoda.git | C++ | 2,108 lines
11
12// ============================================================================
13// declarations
13// declarations
14// ============================================================================
15
122
123// ============================================================================
124// implementation
124// implementation
125// ============================================================================
126
449          {
450            if (p[1] == wxT('.') && p[2] == wxT('.') && (p[3] == SEP || p[3] == wxT('\0')))
451              {
filefn.cpp https://bitbucket.org/delroth/dolphin-llvm-dsp.git | C++ | 2,055 lines
11
12// ============================================================================
13// declarations
13// declarations
14// ============================================================================
15
116
117// ============================================================================
118// implementation
118// implementation
119// ============================================================================
120
383          {
384            if (p[1] == wxT('.') && p[2] == wxT('.') && (p[3] == SEP || p[3] == wxT('\0')))
385              {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21