Lines Matching defs:dend
49 /* Copy bytes to dst, not going past dend; return dst + number of bytes copied,
50 or NULL if dend would have been exceeded. If first != '\0', copy that byte
54 cp(char *dst, char *dend, char first, char *src, char *send)
58 if (q < dend) {
65 if (send - p > dend - q) {
78 wcp(WCHAR *dst, WCHAR *dend, WCHAR first, WCHAR *src, WCHAR *send)
82 if (q < dend) {
89 if (send - p > dend - q) {
235 char *src, *dst, *dend;
265 dend = dst + size; /* Don't go to or past here */
271 if (!(dst = cp(dst, dend, '\0', src, src + 2))) {
286 if (!(dst = cp(dst, dend, '\0', src, p))) {
323 if (!(dst = cp(dst, dend, '\\',
332 if (!(dst = cp(dst, dend, '\0', src, src + strlen(src)))) {
342 if (dst >= dend) {
365 char *src, *dst, *dend;
369 dend = dst + size; /* Don't go to or past here */
375 if (!(dst = cp(dst, dend, '\0',
380 if (!(dst = cp(dst, dend, '\\',
387 if (!(dst = cp(dst, dend, '\0', src, src + strlen(src)))) {
395 if (dst >= dend) {
412 WCHAR *src, *dst, *dend, c;
435 dend = dst + size; /* Don't go to or past here */
443 if (!(dst = wcp(dst, dend, L'\0', src, src + 2))) {
459 if (!(dst = wcp(dst, dend, L'\0', src, p)))
493 if (!(dst = wcp(dst, dend, L'\\', fd.cFileName,
501 if (!(dst = wcp(dst, dend, L'\0', src, src + wcslen(src)))){
511 if (dst >= dend) {
532 WCHAR *src, *dst, *dend;
538 dend = dst + size; /* Don't go to or past here */
550 if (!(dst = wcp(dst, dend, L'\0',
555 if (!(dst = wcp(dst, dend, L'\\',
562 if (!(dst = wcp(dst, dend, L'\0', src, src + wcslen(src)))) {
570 if (dst >= dend) {