Searched refs:strncpy (Results 126 - 150 of 153) sorted by last modified time

1234567

/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dsettings.c20 #include <strings.h> /* strncpy */
149 to standard strncpy() one.
156 strncpy(to, dp->values[0], size);
183 strncpy(vendor_prop_name, value, VENDOR_PROP_NAME_LEN);
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregcomp.c779 strncpy (dfa->re_str, pattern, length + 1);
/haiku/src/system/libroot/posix/string/
H A Dstrncpy.cpp18 strncpy(char* dest, const char* src, size_t count) function
/haiku/src/tests/add-ons/kernel/network/
H A Duserland_modules.cpp185 strncpy(buf, m->info->name, *bufsize);
250 if (buf) strncpy(buf, mi->name, *bufsize);
/haiku/src/tests/kits/app/broster/testapps/
H A DRosterBroadcastTestApp1.cpp77 strncpy(buffer, info.name, B_PATH_NAME_LENGTH);
H A DRosterLaunchTestApp1.cpp77 strncpy(buffer, info.name, B_PATH_NAME_LENGTH);
H A DRosterWatchingTestApp1.cpp77 strncpy(buffer, info.name, B_PATH_NAME_LENGTH);
/haiku/src/tests/kits/opengl/glinfo/
H A DExtensionsView.cpp83 strncpy(extName, stringList, n);
/haiku/src/tests/system/kernel/
H A Dlive_query.cpp99 strncpy(volumePath, optarg, B_FILE_NAME_LENGTH);
/haiku/src/tests/system/kernel/slab/
H A DSlab.cpp92 strncpy(fName, _name, sizeof(fName));
/haiku/src/libs/util/
H A Drealhostname.c64 strncpy(lookup, hp->h_name, sizeof(lookup) - 1);
75 strncpy(host, trimmed, hsize);
82 strncpy(host, inet_ntoa(*ip), hsize);
172 strncpy(host, buf, hsize);
182 strncpy(host, buf, hsize);
/haiku/src/libs/libtelnet/
H A Dkerberos.c171 strncpy(instance, realm, sizeof(instance));
430 strncpy((char *)buf, " REJECT ", buflen);
434 strncpy((char *)buf, " ACCEPT ", buflen);
447 strncpy((char *)buf, " AUTH", buflen);
451 strncpy((char *)buf, " CHALLENGE", buflen);
455 strncpy((char *)buf, " RESPONSE", buflen);
460 strncpy((char *)buf, lbuf, buflen);
465 strncpy((char *)buf, lbuf, buflen);
H A Dkrb4encpwd.c366 strncpy((char *)buf, " REJECT ", buflen);
370 strncpy((char *)buf, " ACCEPT ", buflen);
383 strncpy((char *)buf, " AUTH", buflen);
387 strncpy((char *)buf, " CHALLENGE", buflen);
391 strncpy((char *)buf, " ACK", buflen);
396 strncpy((char *)buf, lbuf, buflen);
401 strncpy((char *)buf, lbuf, buflen);
H A Drsaencpwd.c413 strncpy((char *)buf, " REJECT ", buflen);
417 strncpy((char *)buf, " ACCEPT ", buflen);
430 strncpy((char *)buf, " AUTH", buflen);
434 strncpy((char *)buf, " CHALLENGEKEY", buflen);
439 strncpy((char *)buf, lbuf, buflen);
444 strncpy((char *)buf, lbuf, buflen);
H A Dsra.c369 strncpy((char *)buf, " CONTINUE ", buflen);
373 strncpy((char *)buf, " REJECT ", buflen);
377 strncpy((char *)buf, " ACCEPT ", buflen);
391 strncpy((char *)buf, " KEY ", buflen);
395 strncpy((char *)buf, " USER ", buflen);
399 strncpy((char *)buf, " PASS ", buflen);
404 strncpy((char *)buf, lbuf, buflen);
409 strncpy((char *)buf, lbuf, buflen);
/haiku/src/bin/network/telnet/
H A Dauthenc.c104 strncpy(result, res, length);
H A Dcommands.c2347 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
2353 (void) strncpy(_hostname, hostname, sizeof(_hostname) - 1);
2357 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
2369 strncpy(hostbuf, hostp, BUFSIZ - 1);
2769 strncpy(line, &line[l1], sizeof(line) - l1);
2771 strncpy(line, &line[l2], sizeof(line) - l2);
2773 strncpy(line, &line[7], sizeof(line) - 7);
H A Dmain.c286 (void)strncpy(dest_realm, optarg, dst_realm_sz);
/haiku/src/bin/network/telnetd/
H A Dtelnetd.c589 (void) strncpy(first, terminaltype, sizeof(first)-1);
595 (void) strncpy(last, terminaltype, sizeof(last)-1);
615 (void) strncpy(terminaltype, first, sizeof(terminaltype)-1);
/haiku/src/bin/unzip/
H A Dtimezone.c466 (void) strncpy(cp, stdname, stdlen);
470 (void) strncpy(cp, dstname, dstlen);
H A Dzipinfo.c1481 strncpy(q+2, (char *)ef_ptr+EB_IZVMS_HLEN, 4);
/haiku/src/bin/mail_utils/
H A Dmbox2mail.cpp549 strncpy (InputPathName, argv[NextArgIndex], sizeof (InputPathName) - 1);
565 strncpy (OutputDirectoryPathName, argv[NextArgIndex],
/haiku/src/bin/network/ftpd/
H A Dlogwtmp.c87 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
88 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
89 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
/haiku/src/bin/fwcontrol/
H A Deui64.c256 strncpy(buf, result, resultlen);
305 strncpy(buf, result, resultlen);
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPProtocol.cpp112 strncpy(info->name, Name(), PPP_HANDLER_NAME_LENGTH_LIMIT);
114 strncpy(info->type, Type(), PPP_HANDLER_NAME_LENGTH_LIMIT);

Completed in 232 milliseconds

1234567