Lines Matching refs:dst

49 /* Copy bytes to dst, not going past dend; return dst + number of bytes copied,
54 cp(char *dst, char *dend, char first, char *src, char *send)
56 char *p = src, *q = dst;
78 wcp(WCHAR *dst, WCHAR *dend, WCHAR first, WCHAR *src, WCHAR *send)
80 WCHAR *p = src, *q = dst;
235 char *src, *dst, *dend;
264 dst = result; /* Place results here */
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) {
346 *dst = '\0';
365 char *src, *dst, *dend;
368 dst = result; /* Place results here */
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) {
399 *dst = '\0';
412 WCHAR *src, *dst, *dend, c;
434 dst = result; /* Place results here */
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) {
515 *dst = L'\0';
532 WCHAR *src, *dst, *dend;
537 dst = result; /* Place results here */
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) {
574 *dst = L'\0';