PageRenderTime 289ms queryTime 163ms sortTime 0ms getByIdsTime 64ms findMatchingLines 23ms

45+ results for 'while (*d++ = *s++); repo:slukk/atsmp_4.2-external_webkit' (289 ms)

Not the results you expected?
misc.c https://rxvt.svn.sourceforge.net/svnroot/rxvt | C | 401 lines
                    
81    if (str)
                    
82	while (*str && isspace(*str))
                    
83	    str++;
                    
157	/* append carriage-return for `M-xcommand' */
                    
158	    for (*d++ = 'x', append = '\r', s++; isspace(*s); s++) ;
                    
159    }
                    
159    }
                    
160    for ( ; (ch = *s++); ) {
                    
161	if (ch == '\\') {
                    
                
MIDLWrapper.cpp https://github.com/weissms/owb-mirror.git | C++ | 86 lines
                    
60    wchar_t* s = envp[pathIndex];
                    
61    while (s < afterLeadingSemiColon)
                    
62        *d++ = *s++;
                    
65    s = trailingSemiColon;
                    
66    while (*d++ = *s++);
                    
67
                    
                
misc.c https://gitlab.com/Jehan_ZeMarmot/mrxvt | C | 612 lines
                    
68    if (str)
                    
69    while (*str && isspace((int) *str))
                    
70        str++;
                    
152	    /* append carriage-return for `M-xcommand' */
                    
153	    for (*d++ = 'x', append = '\r', s++;
                    
154		isspace((int) *s);
                    
158#endif
                    
159    for (; (ch = *s++);)
                    
160    {
                    
239
                    
240    while( i < len-1 && j < maxLen-1 )
                    
241    {
                    
520     }
                    
521    while(0);
                    
522
                    
                
misc.c https://github.com/dscho/msys.git | C | 383 lines
                    
76    if (str)
                    
77	while (*str && isspace(*str))
                    
78	    str++;
                    
152	    /* append carriage-return for `M-xcommand' */
                    
153	    for (*d++ = 'x', append = '\r', s++; isspace(*s); s++) ;
                    
154    }
                    
154    }
                    
155    for (; (ch = *s++);) {
                    
156	if (ch == '\\') {
                    
                
serial_handler.c https://github.com/schneider42/uberbus.git | C | 112 lines
                    
18{
                    
19    while(*s){
                    
20        if(*s == SERIAL_ESCAPE)
                    
21            uart1_putc(SERIAL_ESCAPE);
                    
22        uart1_putc(*s++);
                    
23    }
                    
31            uart1_putc(SERIAL_ESCAPE);
                    
32        uart1_putc(*d++);
                    
33    }
                    
                
string.c https://gitlab.com/zimumavo/mupdf | C | 509 lines
                    
13{
                    
14	while (fz_tolower(*a) == fz_tolower(*b))
                    
15	{
                    
42		do {
                    
43			if ((*d++ = *s++) == 0)
                    
44				break;
                    
44				break;
                    
45		} while (--n != 0);
                    
46	}
                    
51			*d = '\0';		/* NUL-terminate dst */
                    
52		while (*s++)
                    
53			;
                    
67	/* Find the end of dst and adjust bytes left but don't go past end */
                    
68	while (*d != '\0' && n-- != 0)
                    
69		d++;
                    
                
PortableStrlcpy.c https://github.com/cdcarter/io.git | C | 61 lines
                    
46		{
                    
47			if ((*d++ = *s++) == 0)
                    
48				break;
                    
48				break;
                    
49		} while (--n != 0);
                    
50	}
                    
56			*d = '\0'; /* NUL-terminate dest */
                    
57		while (*s++);
                    
58	}
                    
                
strlcpy.c https://bitbucket.org/toponado/nfs-proxy.git | C | 50 lines
                    
35	do {
                    
36	    if ((*d++ = *s++) == 0)
                    
37		break;
                    
37		break;
                    
38	} while (--n != 0);
                    
39    }
                    
44	    *d = '\0';		/* NUL-terminate dst */
                    
45	while (*s++);
                    
46    }
                    
                
o_ndslib.c git://pkgs.fedoraproject.org/ncpfs | C | 273 lines
                    
49void strcpy_uc(char *d, const uni_char *s) {
                    
50	while ((*d++ = getchr_u(s++)) != 0);
                    
51}
                    
55		WSET_LH((void*)(d++), 0, *s);
                    
56	} while (*s++);
                    
57}
                    
99		p = strchr(buf, '\0') - 1;
                    
100		while ((p >= buf) && (*p == '_'))
                    
101			p--;
                    
                
string.c https://github.com/nickbjohnson4224/rhombus.git | C | 164 lines
                    
107	if (n != 0) {
                    
108		while (--n != 0) {
                    
109			if ((*d++ = *s++) == '\0') {
                    
120
                    
121		while (*s++);
                    
122	}
                    
143	/* Find the end of dst and adjust bytes left but don't go past end */
                    
144	while (n-- != 0 && *d != '\0') {
                    
145		d++;
                    
153	}
                    
154	while (*s != '\0') {
                    
155		if (n != 1) {
                    
                
strl.hpp https://github.com/nicoya/OpenEmu.git | C++ Header | 48 lines
                    
12  if(n) {
                    
13    while(--n && (*d++ = *s++)); //copy as many bytes as possible, or until null terminator reached
                    
14  }
                    
17    if(length) *d = 0;
                    
18    while(*s++); //traverse rest of s, so that s - src == strlen(src)
                    
19  }
                    
29
                    
30  while(n-- && *d) d++; //find end of dest
                    
31  size_t dlength = d - dest;
                    
35
                    
36  while(*s) {
                    
37    if(n != 1) {
                    
                
libc.c https://github.com/dls/house.git | C | 135 lines
                    
64    do {
                    
65      if ((*d++ = *src++) == 0) {
                    
66	while (--n != 0)
                    
69      }
                    
70    } while (--n != 0);
                    
71  }
                    
91      rtnval = (char*) s;
                    
92  } while (*s++);
                    
93  return (rtnval);
                    
100  int c;
                    
101  while ((c = *s++) != '\0' && isdigit(c)) {
                    
102    a = a*10.0 + (c - '0');
                    
104  if (c == '.') {
                    
105    while ((c = *s++) != '\0' && isdigit(c)) {
                    
106      a = a*10.0 + (c - '0');
                    
                
strlcpy.c https://gitlab.com/Manizuca/xserver | C | 55 lines
                    
40        do {
                    
41            if ((*d++ = *s++) == 0)
                    
42                break;
                    
42                break;
                    
43        } while (--n != 0);
                    
44    }
                    
49            *d = '\0';          /* NUL-terminate dst */
                    
50        while (*s++);
                    
51    }
                    
                
strlcpy.c https://github.com/insidegui/flux.git | C | 52 lines
                    
34	if (n != 0) {
                    
35		while (--n != 0) {
                    
36			if ((*d++ = *s++) == '\0') {
                    
47
                    
48		while (*s++);
                    
49	}
                    
                
mxml.cxx https://bitbucket.org/muegamma/rome3.git | C++ | 2373 lines
                    
141      do {
                    
142         if ((*d++ = *s++) == 0)
                    
143            break;
                    
143            break;
                    
144      } while (--n != 0);
                    
145   }
                    
150         *d = '\0';             /* NUL-terminate dst */
                    
151      while (*s++);
                    
152   }
                    
356   p = str;
                    
357   while ((p = strchr(p, '&')) != NULL) {
                    
358      if (strncmp(p, "&lt;", 4) == 0) {
                    
                
md5.c https://github.com/Nazg-Gul/WebTester.git | C | 413 lines
                    
28{
                    
29  while (--__n >= 0)
                    
30    {
                    
47        {
                    
48          if (!(*d++ = *s++))
                    
49            break;
                    
50        }
                    
51      while (--n != 0);
                    
52    }
                    
58        *d = '\0'; /* NUL-terminate dst */
                    
59      while (*s++);
                    
60    }
                    
                
misc.c https://rxvt.svn.sourceforge.net/svnroot/rxvt | C | 400 lines
                    
76    if (str)
                    
77	while (*str && isspace(*str))
                    
78	    str++;
                    
152	/* append carriage-return for `M-xcommand' */
                    
153	    for (*d++ = 'x', append = '\r', s++; isspace(*s); s++) ;
                    
154    }
                    
154    }
                    
155    for (; (ch = *s++);) {
                    
156	if (ch == '\\') {
                    
                
misc.c git://pkgs.fedoraproject.org/cvs | C | 156 lines
                    
83  if (t) {
                    
84    while (s < t)
                    
85      *d++ = *s++;
                    
86    s += skip;
                    
87    while (*d++ = *s++);
                    
88  }
                    
                
strlcpy.cxx https://bitbucket.org/muegamma/rome3.git | C++ | 101 lines
                    
47      do {
                    
48         if ((*d++ = *s++) == 0)
                    
49            break;
                    
49            break;
                    
50      } while (--n != 0);
                    
51   }
                    
56         *d = '\0';             /* NUL-terminate dst */
                    
57      while (*s++);
                    
58   }
                    
79   /* Find the end of dst and adjust bytes left but don't go past end */
                    
80   while (n-- != 0 && *d != '\0')
                    
81      d++;
                    
86      return (dlen + strlen(s));
                    
87   while (*s != '\0') {
                    
88      if (n != 1) {
                    
                
string.c https://gitlab.com/koreader/mupdf-old | C | 398 lines
                    
22		do {
                    
23			if ((*d++ = *s++) == 0)
                    
24				break;
                    
24				break;
                    
25		} while (--n != 0);
                    
26	}
                    
31			*d = '\0';		/* NUL-terminate dst */
                    
32		while (*s++)
                    
33			;
                    
47	/* Find the end of dst and adjust bytes left but don't go past end */
                    
48	while (*d != '\0' && n-- != 0)
                    
49		d++;
                    
54		return dlen + strlen(s);
                    
55	while (*s != '\0') {
                    
56		if (n != 1) {
                    
                
ufuncs.c https://gitlab.com/tormod/udw-firmware | C | 104 lines
                    
28	char p,q;
                    
29	while ((p = *s1++) == (q = *s2++) && p && --n);
                    
30	return p-q;
                    
35	char p,q;
                    
36	while ((p = *s1++) == (q = *s2++) && p);
                    
37	return p-q;
                    
42	char *o = d;
                    
43	while ((*d++ = *s++));
                    
44	return d-o-1;
                    
49	char *o = s;
                    
50	while (*s++);
                    
51	return s-o;
                    
63
                    
64	while (*s && !uisdigit(*s))
                    
65		s++;
                    
                
lib_wcslcpy.c https://bitbucket.org/benchmark-electronics/nuttx.git | C | 93 lines
                    
71        {
                    
72          if ((*d++ = *s++) == 0)
                    
73            {
                    
76        }
                    
77      while (--n != 0);
                    
78    }
                    
87        }
                    
88      while (*s++);
                    
89    }
                    
                
strl.hpp https://github.com/libretro/bsnes-libretro-cplusplus98.git | C++ Header | 52 lines
                    
14  if(n) {
                    
15    while(--n && (*d++ = *s++)); //copy as many bytes as possible, or until null terminator reached
                    
16  }
                    
19    if(length) *d = 0;
                    
20    while(*s++); //traverse rest of s, so that s - src == strlen(src)
                    
21  }
                    
31
                    
32  while(n-- && *d) d++; //find end of dest
                    
33  unsigned dlength = d - dest;
                    
37
                    
38  while(*s) {
                    
39    if(n != 1) {
                    
                
inspstring.cpp https://github.com/thepaul/inspircd-deb.git | C++ | 138 lines
                    
51
                    
52	while (n-- != 0 && *d != '\0')
                    
53		d++;
                    
60
                    
61	while (*s != '\0')
                    
62	{
                    
86		{
                    
87			if ((*d++ = *s++) == 0)
                    
88				break;
                    
88				break;
                    
89		} while (--n != 0);
                    
90	}
                    
96			*d = '\0'; /* NUL-terminate dst */
                    
97		while (*s++);
                    
98	}
                    
                
strlcpy.c https://github.com/elly/ithildin.git | C | 58 lines
                    
44        do {
                    
45            if ((*d++ = *s++) == 0)
                    
46                break;
                    
46                break;
                    
47        } while (--n != 0);
                    
48    }
                    
53            *d = '\0';                /* NUL-terminate dst */
                    
54        while (*s++);
                    
55    }
                    
                
misc.c https://github.com/struct/QueMod.git | C | 124 lines
                    
110        do {
                    
111            if ((*d++ = *s++) == 0)
                    
112                break;
                    
112                break;
                    
113        } while (--n != 0);
                    
114    }
                    
119            *d = '\0';      /* NUL-terminate dst */
                    
120        while (*s++);
                    
121    }
                    
                
evadeo-statnav.c https://github.com/jedisct1/evadeo-tools.git | C | 956 lines
                    
65  if (n != 0) {
                    
66    while (--n != 0) {
                    
67      if ((*d++ = *s++) == '\0')
                    
74    }
                    
75    while (*s++);
                    
76  }
                    
228		}
                    
229	} while (--sat_count != 0);
                    
230	gpstatus.useful_sat_count = sats;
                    
253		ephemeris <<= 1;
                    
254	} while (--bits != 0);
                    
255	if (missing_ephemeris > EPHEMERIS_NUMBER) {
                    
290		}
                    
291	} while (--sats_per_sentence != 0);
                    
292	if (total_nb == nb) {
                    
                
evadeo-affix.c https://github.com/jedisct1/evadeo-tools.git | C | 1375 lines
                    
112  if (n != 0) {
                    
113    while (--n != 0) {
                    
114      if ((*d++ = *s++) == '\0')
                    
121    }
                    
122    while (*s++);
                    
123  }
                    
273		}
                    
274	} while (--sat_count != 0);
                    
275	gpstatus.useful_sat_count = sats;
                    
334		ephemeris <<= 1;
                    
335	} while (--bits != 0);
                    
336	if (found_ephemeris > EPHEMERIS_NUMBER) {
                    
378		}
                    
379	} while (--sats_per_sentence != 0);
                    
380	if (decibels == 0.0) {
                    
                
ia64-dis.c https://github.com/gz/aos10.git | C | 177 lines
                    
38#define ATTRIBUTE_UNUSED 
                    
39#define abort() do { } while (0)
                    
40
                    
97    int len = length;
                    
98    while (len--)
                    
99    {
                    
131    const char* s = src;
                    
132    do { *d++ = *s; } while (*s++);
                    
133    return dest;
                    
140    /* scan for trailing \0 */
                    
141    while (*d)
                    
142	d++;
                    
143    /* copy until end of s, including the \0 */
                    
144    while ( (*d++ = *s++) );
                    
145    return dest;
                    
                
strlcpy.c https://github.com/chad/rubinius.git | C | 54 lines
                    
36		do {
                    
37			if (!(*d++ = *s++))
                    
38				break;
                    
38				break;
                    
39		} while (--n);
                    
40	}
                    
46
                    
47		while (*s++);
                    
48	}
                    
                
function.c https://github.com/rakaur/shrike.git | C | 854 lines
                    
21  /* find the end of dst and adjust bytes left but don't go past end */
                    
22  while (n-- != 0 && *d != '\0')
                    
23    d++;
                    
59    {
                    
60      if (!(*d++ = *s++))
                    
61        break;
                    
61        break;
                    
62    } while (--n != 0);
                    
63  }
                    
69
                    
70    while (*s++);
                    
71  }
                    
118    return d;
                    
119  while (--len && (*d++ = *s++));
                    
120  *d = 0;
                    
                
memstr.c https://bitbucket.org/dimichxp/2ndboot | C | 69 lines
                    
6
                    
7  while (n-- > 0) {
                    
8    *d++ = *s++;
                    
15
                    
16  while (n-- > 0) {
                    
17    *d++ = (unsigned char)fill;
                    
25
                    
26  while (n-- > 0) {
                    
27    if (*ss1 != *ss2) {
                    
38
                    
39  while (*s++) n++;
                    
40  return n;
                    
45
                    
46  while (*d++ = *s++);
                    
47  return dest;
                    
                
debug.h https://bitbucket.org/mischief/oskit | C Header | 66 lines
                    
49		short *d = (short*)(phys_mem_va+0xb8000+80*2*13+40*2);	\
                    
50		while (*s) { (*d++) = 0x3000 | (*s++); }		\
                    
51		*d = ' ';						\
                    
                
elog.c https://bitbucket.org/jeonghanlee/elog-with-tinymce-or-updated-ckeditor.git | C | 1257 lines
                    
133      do {
                    
134         if ((*d++ = *s++) == 0)
                    
135            break;
                    
135            break;
                    
136      } while (--n != 0);
                    
137   }
                    
142         *d = '\0';             /* NUL-terminate dst */
                    
143      while (*s++);
                    
144   }
                    
217   p = (unsigned char *) ps;
                    
218   while (*p && pd < str + 250) {
                    
219      if (strchr("%&=#?+", *p) || *p > 127) {
                    
241      p = fgets(string, size, stdin);
                    
242   } while (p == NULL);
                    
243
                    
                
m4macs.c https://bitbucket.org/dilos/onarm-gate | C | 656 lines
                    
158
                    
159	while ((t = getchr()) != '\n' && t != WEOF)
                    
160		;
                    
186
                    
187	while (*s++);
                    
188	--s;
                    
262
                    
263	while (c >= 2) {
                    
264		if (lookup(ap[1])->name != NULL) {
                    
325{
                    
326	while (*substr)
                    
327		if (*str++ != *substr++)
                    
616	 */
                    
617	while (i != xcnt)
                    
618		*first_X++ = my_pid[i++];
                    
                
m4macs.c https://github.com/Johnicholas/Hello-Github.git | C | 651 lines
                    
163
                    
164  while ((t = getchr()) != '\n' && t != WEOF)
                    
165    ;
                    
190
                    
191	while (*s++);
                    
192	--s;
                    
243
                    
244	while (c >= 2) {
                    
245		if (lookup(ap[1])->name != NULL) {
                    
304{
                    
305	while (*substr)
                    
306		if (*str++ != *substr++)
                    
612	 */
                    
613	while (i != xcnt)
                    
614		*first_X++ = my_pid[i++];
                    
                
crt.c https://github.com/sherpya/nloader.git | C | 328 lines
                    
82
                    
83/*    while (*d++); d--; */ // FIXME: why not?
                    
84    while ((*d++ = *src++));
                    
119    }
                    
120    while (n-- && (*s1++ == *s2++));
                    
121    return (*s1 < *s2) ? -1 : 1;
                    
132
                    
133    while (wcmp(*s1, *s2, TRUE))
                    
134    {
                    
150
                    
151    while (wcmp(*s1, *s2, TRUE))
                    
152    {
                    
199            p = s;
                    
200    } while (*s++);
                    
201
                    
                
sub.c https://bitbucket.org/AndreasBWagner/plan9front | C | 421 lines
                    
10
                    
11	while(n > 0){
                    
12		*d++ = v;
                    
23	if(d < s){
                    
24		while(n-- > 0)
                    
25			*d++ = *s++;
                    
28		d += n;
                    
29		while(n-- > 0)
                    
30			*--d = *--s;
                    
40
                    
41	while(n-- > 0)
                    
42		if(r = (*d++ - *s++))
                    
52
                    
53	while(*p)
                    
54		p++;
                    
                
eina_str.c https://bitbucket.org/chittoor/gnutls.git | C | 595 lines
                    
87	/* count tokens and check strlen(str) */
                    
88	while (*src != '\0') {
                    
89		const char *d = delim, *d_end = d + dlen;
                    
126	src = str;
                    
127	while (*src != '\0') {
                    
128		const char *d = delim, *d_end = d + dlen;
                    
199	if (n != 0)
                    
200		while (--n != 0) {
                    
201			if ((*d++ = *s++) == '\0')
                    
209
                    
210		while (*s++);
                    
211	}
                    
239	/* Find the end of dst and adjust bytes left but don't go past end */
                    
240	while (n-- != 0 && *d != '\0')
                    
241		d++;
                    
                
serial.c https://github.com/schneider42/uberbus.git | C | 190 lines
                    
34{
                    
35    while(*s){
                    
36        if(*s == SERIAL_ESCAPE)
                    
37            serial_putc(SERIAL_ESCAPE);
                    
38        serial_putc(*s++);
                    
39    }
                    
47            serial_putc(SERIAL_ESCAPE);
                    
48        serial_putc(*d++);
                    
49    }
                    
117    uint8_t len;
                    
118    while( 1 ){
                    
119        uint8_t c;
                    
139        }else if( rc < 0){
                    
140            syslog(LOG_ERR,"error while reading from serial line: rc=%d errno=%d\n",rc,errno);
                    
141        }
                    
                
stream.c https://github.com/tcr/jiauliyan-os.git | C | 860 lines
                    
366	if (n != 0) {
                    
367		while (--n != 0) {
                    
368			if ((*d++ = *s++) == '\0') {
                    
379
                    
380		while (*s++);
                    
381	}
                    
392	/* Find the end of dst and adjust bytes left but don't go past end */
                    
393	while (n-- != 0 && *d != '\0') {
                    
394		d++;
                    
402	}
                    
403	while (*s != '\0') {
                    
404		if (n != 1) {
                    
663		break;
                    
664	} while (1);
                    
665
                    
                
strcopy.c https://repo.or.cz/AROS-Contrib.git | C | 12 lines
                    
7{
                    
8	while (*d++ = *s++);
                    
9
                    
                
string.c https://sdcc.svn.sourceforge.net/svnroot/sdcc | C | 35 lines
                    
7    const char *s = source;
                    
8    while (*d++ = *s++);
                    
9    return dest;
                    
15    const char *s = source;
                    
16    while (count--)
                    
17	*d++ = *s++;
                    
25
                    
26    while (!(ret = *s1 - *s2) && *s2)
                    
27	++s1, ++s2;
                    
                
strcat.c https://github.com/noname22/NeoDICE.git | C | 28 lines
                    
22
                    
23    while (*d)
                    
24	++d;
                    
24	++d;
                    
25    while (*d++ = *s++);
                    
26    return(base);
                    
                
stpcpy.c https://github.com/noname22/NeoDICE.git | C | 25 lines
                    
20{
                    
21    while (*d++ = *s++);
                    
22    return(d-1);
                    
                
 

Source

Language