Searched refs:dest (Results 1 - 25 of 191) sorted by relevance

12345678

/haiku/src/system/libroot/posix/string/
H A Dstrncat.c11 strncat(char *dest, char const *src, size_t count) argument
13 char *tmp = dest;
16 while (*dest)
17 dest++;
18 while ((*dest++ = *src++)) {
20 *dest = '\0';
H A Dstrcat.c11 strcat(char *dest, char const*src) argument
13 char *tmp = dest;
15 while(*dest)
16 dest++;
17 while((*dest++ = *src++) != '\0')
H A Dstrcpy.c11 strcpy(char *dest, char const *src) argument
13 char *tmp = dest;
15 while ((*dest++ = *src++) != '\0')
H A Dstpcpy.c14 stpcpy(char *dest, char const *src) argument
16 while ((*dest++ = *src++) != '\0')
19 return dest - 1;
H A Dbzero.c15 void bzero(void *dest, size_t count);
18 bzero(void *dest, size_t count) argument
20 memset(dest, 0, count);
H A Dstrncpy.cpp18 strncpy(char* dest, const char* src, size_t count) argument
20 char* tmp = dest;
23 while (((addr_t)dest & 3) != 0 && count != 0) {
25 if ((*dest++ = *src++) == '\0') {
26 memset(dest, '\0', count);
38 uint32* alignedDest = (uint32*)dest;
48 dest = (char*)alignedDest;
53 if ((*dest++ = *src++) == '\0') {
54 memset(dest, '\0', count);
H A Dbcopy.c14 void *bcopy(void const *src, void *dest, size_t count);
17 bcopy(void const *src, void *dest, size_t count) argument
19 return memmove(dest, src, count);
H A Dmemccpy.c17 uint8 *dest = (uint8 *)_dest; local
20 if ((*dest++ = *source++) == (uint8)stopByte)
21 return dest;
H A Dstrlcat.c11 * as much as "maxLength" bytes to the dest string.
13 * larger than the dest string.
19 strlcat(char *dest, const char *source, size_t maxLength) argument
21 size_t destLength = strnlen(dest, maxLength), i;
27 dest += destLength;
31 dest[i] = source[i];
34 dest[i] = '\0';
/haiku/src/system/libroot/posix/wchar/
H A Dwmemchr.c10 __wmemchr(const wchar_t* dest, const wchar_t wc, size_t count) argument
13 if (*dest == wc)
14 return (wchar_t*)dest;
15 ++dest;
H A Dwcpcpy.c10 __wcpcpy(wchar_t* dest, const wchar_t* src) argument
13 *dest++ = *src++;
14 *dest = L'\0';
16 return dest;
H A Dwcsncat.c12 wchar_t* dest = destIn; local
15 while (*dest != L'\0')
16 dest++;
18 *dest++ = *src++;
19 *dest = L'\0';
H A Dwcpncpy.c10 __wcpncpy(wchar_t* dest, const wchar_t* src, size_t n) argument
13 wchar_t* destEnd = dest + n;
16 *dest++ = *src++;
18 if (dest < destEnd) {
19 while (--destEnd >= dest)
23 return dest;
H A Dwcscat.c12 wchar_t* dest = destIn; local
14 while (*dest != L'\0')
15 dest++;
16 while ((*dest++ = *src++) != L'\0')
H A Dwcsncpy.c12 wchar_t* dest = destIn; local
14 const wchar_t* destEnd = dest + n;
17 *dest++ = *src++;
18 while (dest < destEnd)
19 *dest++ = L'\0';
H A Dwmemset.c12 wchar_t* dest = destIn; local
14 *dest++ = wc;
H A Dwmemmove.c12 __wmemmove(wchar_t* dest, const wchar_t* src, size_t count) argument
14 return memmove(dest, src, count * sizeof(wchar_t));
H A Dwmemcpy.c12 __wmemcpy(wchar_t* dest, const wchar_t* src, size_t count) argument
14 return memcpy(dest, src, count * sizeof(wchar_t));
H A Dwcscpy.c12 wchar_t* dest = destIn; local
14 while ((*dest++ = *src++) != L'\0')
H A Dwcsdup.c21 wchar_t* dest = malloc(bufferSize); local
22 if (dest == NULL) {
27 memcpy(dest, wcs, bufferSize);
29 return dest;
H A Dwcslcpy.c11 __wcslcpy(wchar_t* dest, const wchar_t* source, size_t maxLength) argument
19 *dest++ = *source++;
21 *dest++ = 0;
H A Dwmempcpy.c12 __wmempcpy(wchar_t* dest, const wchar_t* src, size_t count) argument
14 memcpy(dest, src, count * sizeof(wchar_t));
16 return dest + count;
H A Dwcslcat.c11 * as much as "maxLength" bytes to the dest string.
13 * larger than the dest string.
19 __wcslcat(wchar_t* dest, const wchar_t* source, size_t maxLength) argument
21 size_t destLength = __wcsnlen(dest, maxLength);
29 dest += destLength;
33 *dest++ = *source++;
35 *dest = '\0';
/haiku/src/add-ons/translators/jpeg/
H A Dbe_jdatadst.cpp73 be_dest_ptr dest = (be_dest_ptr) cinfo->dest; local
76 dest->buffer = (JOCTET *)
79 dest->pub.next_output_byte = dest->buffer;
80 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE;
110 be_dest_ptr dest = (be_dest_ptr) cinfo->dest; local
112 if (dest->outfile->Write(dest
134 be_dest_ptr dest = (be_dest_ptr) cinfo->dest; local
154 be_dest_ptr dest; local
[all...]
/haiku/headers/posix/
H A Duchar.h21 c16rtomb(char *dest, char16_t wc, mbstate_t *mbState) argument
23 return wcrtomb(dest, wc, mbState);
26 mbrtoc16(char16_t *dest, const char *src, size_t srcLength, mbstate_t *mbState) argument
28 return mbrtowc(dest, src, srcLength, mbState);
32 c32rtomb(char *dest, char32_t wc, mbstate_t *mbState) argument
34 return wcrtomb(dest, wc, mbState);
37 mbrtoc32(char32_t *dest, const char *src, size_t srcLength, mbstate_t *mbState) argument
39 return mbrtowc(dest, src, srcLength, mbState);

Completed in 158 milliseconds

12345678