4+ results for 'while (*d++ = *s++);' (0 ms)

Not the results you expected?

MIDLWrapper.cpp (https://github.com/weissms/owb-mirror.git) C++ · 86 lines

59 wchar_t* d = newPath;

60 wchar_t* s = envp[pathIndex];

61 while (s < afterLeadingSemiColon)

62 *d++ = *s++;

63

64 // Copy everything after the vcbin path...

65 s = trailingSemiColon;

66 while (*d++ = *s++);

67

68 envp[pathIndex] = newPath;

strlcpy.cxx (https://bitbucket.org/muegamma/rome3.git) C++ · 101 lines

46 if (n != 0 && --n != 0) {

47 do {

48 if ((*d++ = *s++) == 0)

49 break;

50 } while (--n != 0);

55 if (size != 0)

56 *d = '\0'; /* NUL-terminate dst */

57 while (*s++);

58 }

59

78

79 /* Find the end of dst and adjust bytes left but don't go past end */

80 while (n-- != 0 && *d != '\0')

81 d++;

82 dlen = d - dst;

Mify.cpp (https://github.com/ultimatepp/mirror.git) C++ · 214 lines

26 f32x4 *t = b;

27 f32x4 *d = div;

28 while(s < e) {

29 f32x4 px = 0;

30 for(int n = nx; n--;)

38 f32x4 px = 0;

39 f32x4 dv = 0;

40 while(s < e2) {

41 px += LoadRGBAF(s++);

42 dv += v1;

54 RGBA *t = ~ib + ty * tsz.cx;

55 RGBA *e = t + tsz.cx;

56 while(t < e)

57 StoreRGBAF(t++, *s++ / *d++);

58 };

inspstring.cpp (https://github.com/thepaul/inspircd-deb.git) C++ · 138 lines

50 size_t n = siz, dlen;

51

52 while (n-- != 0 && *d != '\0')

53 d++;

54

59 return(dlen + strlen(s));

60

61 while (*s != '\0')

62 {

63 if (n != 1)

95 if (siz != 0)

96 *d = '\0'; /* NUL-terminate dst */

97 while (*s++);

98 }

99