39+ results for 'while (*d++ = *s++); repo:Undergarun/RakNet' (101 ms)
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 == '\\') {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--;MIDLWrapper.cpp https://github.com/appcelerator/webkit_titanium_legacy.git | C++ | 86 lines
60 wchar_t* s = envp[pathIndex]; 61 while (s < afterLeadingSemiColon) 62 *d++ = *s++; 65 s = trailingSemiColon; 66 while (*d++ = *s++); 67misc.c https://rxvt.svn.sourceforge.net/svnroot/rxvt | C | 407 lines
76 if (str) 77 while (*str && isspace(*str)) 78 str++; 150 /* append carriage-return for `M-xcommand' */ 151 for (*d++ = 'x', append = '\r', s++; isspace(*s); s++) ; 152 } 152 } 153 for (; (ch = *s++);) { 154 if (ch == '\\') {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, "<", 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 }string.c git://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) {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 }misc.c git://pkgs.fedoraproject.org/mrxvt | C | 613 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); 522strlcpy.c git://github.com/nickbjohnson4224/rhombus.git | C | 52 lines
34 if (n != 0) { 35 while (--n != 0) { 36 if ((*d++ = *s++) == '\0') { 47 48 while (*s++); 49 }strlcpy.c https://github.com/maxendpoint/openafs_cvs.git | C | 56 lines
41 do { 42 if ((*d++ = *s++) == 0) 43 break; 43 break; 44 } while (--n != 0); 45 } 50 *d = '\0'; /* NUL-terminate dst */ 51 while (*s++); 52 }strlcpy.c https://bitbucket.org/BlairJamieson/midas-blairjamieson.git | C | 82 lines
30 do { 31 if ((*d++ = *s++) == 0) 32 break; 32 break; 33 } while (--n != 0); 34 } 39 *d = '\0'; /* NUL-terminate dst */ 40 while (*s++); 41 } 62 /* Find the end of dst and adjust bytes left but don't go past end */ 63 while (n-- != 0 && *d != '\0') 64 d++; 69 return (dlen + strlen(s)); 70 while (*s != '\0') { 71 if (n != 1) {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) {PortableStrlcpy.c git://github.com/stevedekorte/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 }libc.c https://github.com/dls/house.git | C | 143 lines
65 do { 66 if ((*d++ = *src++) == 0) { 67 while (--n != 0) 70 } 71 } while (--n != 0); 72 } 99 rtnval = (char*) s; 100 } while (*s++); 101 return (rtnval); 108 int c; 109 while ((c = *s++) != '\0' && isdigit(c)) { 110 a = a*10.0 + (c - '0'); 112 if (c == '.') { 113 while ((c = *s++) != '\0' && isdigit(c)) { 114 a = a*10.0 + (c - '0');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 }strl.hpp https://github.com/stevestreza/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) {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); 243strlcpy.c https://github.com/shadchin/xserver.git | 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 }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++];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++); 201sub.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++;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); 665strcopy.c https://repo.or.cz/AROS-Contrib.git | C | 12 lines
7{ 8 while (*d++ = *s++); 9string.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);