Searched refs:dstlen (Results 1 - 9 of 9) sorted by relevance

/haiku-fatelf/src/kits/network/libbind/nameser/
H A Dns_ttl.c52 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument
65 T(fmt1(weeks, 'W', &dst, &dstlen));
69 T(fmt1(days, 'D', &dst, &dstlen));
73 T(fmt1(hours, 'H', &dst, &dstlen));
77 T(fmt1(mins, 'M', &dst, &dstlen));
81 T(fmt1(secs, 'S', &dst, &dstlen));
H A Dns_name.c206 * ns_name_pton2(src, dst, dstsiz, *dstlen)
213 * fills in *dstlen (if non-NULL)
218 ns_name_pton2(const char *src, u_char *dst, size_t dstsiz, size_t *dstlen) { argument
299 if (dstlen != NULL)
300 *dstlen = (bp - dst);
338 if (dstlen != NULL)
339 *dstlen = (bp - dst);
411 * ns_name_unpack2(msg, eom, src, dst, dstsiz, *dstlen)
416 * fills in *dstlen (if non-NULL).
420 u_char *dst, size_t dstsiz, size_t *dstlen)
419 ns_name_unpack2(const u_char *msg, const u_char *eom, const u_char *src, u_char *dst, size_t dstsiz, size_t *dstlen) argument
[all...]
/haiku-fatelf/src/bin/unzip/
H A Dtimezone.c400 size_t dstlen; local
419 dstlen = name - dstname; /* length of DST zone name */
420 if (dstlen < 3)
453 dstlen = 0;
461 if (dstlen != 0)
462 sp->charcnt += dstlen + 1;
469 if (dstlen != 0) {
470 (void) strncpy(cp, dstname, dstlen);
471 *(cp + dstlen) = '\0';
/haiku-fatelf/src/add-ons/input_server/methods/canna/lib/
H A DRKroma.c496 int dstlen = 0, tmplen; local
517 dstlen++;
519 dstlen++;
521 dstlen++;
522 if (dst_len_return) *dst_len_return = dstlen;
523 if (tmp_len_return) *tmp_len_return = tmplen - dstlen;
/haiku-fatelf/src/system/libroot/posix/time/
H A Dlocaltime_fading_out.c905 size_t dstlen; local
949 dstlen = name - dstname;
954 dstlen = name - dstname; /* length of DST zone name */
1108 dstlen = 0;
1116 if (dstlen != 0)
1117 sp->charcnt += dstlen + 1;
1124 if (dstlen != 0) {
1125 (void) strncpy(cp, dstname, dstlen);
1126 *(cp + dstlen) = '\0';
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dkana.c175 static int Wcstosjis(char *dst, int dstlen, WCHAR_T *src, int srclen);
615 Wcstosjis(char *dst, int dstlen, WCHAR_T *src, int srclen)
624 for (i = 0, j = 0; src[i] != (WCHAR_T)0 && j < dstlen && i < srclen ; i++) {
636 if (j + 2 > dstlen) {
655 if (j + 2 > dstlen) {
672 if (j < dstlen && dst) {
H A Dnword.c348 int dstlen; local
357 dstlen = cvtLit((WCHAR_T *)0, 9999, src, srclen, code, (unsigned long)cx->concmode);
358 if (0 < dstlen && dstlen <= RK_LEN_WMAX)
359 setWord(w++, rc, code, src, srclen, (Wrec *)0, dstlen, cx->gram->P_BB);
360 if (dstlen < 0)
/haiku-fatelf/src/bin/network/wget/src/
H A Dmswindows.c709 DWORD dstlen = cnt;
729 if (WSAAddressToString ((struct sockaddr *) &sa, srcsize, NULL, dst, &dstlen) != 0)
705 DWORD dstlen = cnt; local
/haiku-fatelf/src/bin/network/ftp/
H A Dutil.c1064 ftpvis(char *dst, size_t dstlen, const char *src, size_t srclen) argument
1069 src[si] != '\0' && di < dstlen && si < srclen;
1079 if (di >= dstlen)

Completed in 109 milliseconds