Searched refs:strlcpy (Results 1 - 25 of 324) sorted by relevance

1234567891011>>

/haiku/src/kits/debugger/util/
H A DIntegerFormatter.cpp32 strlcpy(_formatString, B_PRId8, formatSize);
35 strlcpy(_formatString, B_PRIu8, formatSize);
47 strlcpy(_formatString, B_PRId16, formatSize);
50 strlcpy(_formatString, B_PRIu16, formatSize);
62 strlcpy(_formatString, B_PRId32, formatSize);
65 strlcpy(_formatString, B_PRIu32, formatSize);
78 strlcpy(_formatString, B_PRId64, formatSize);
81 strlcpy(_formatString, B_PRIu64, formatSize);
/haiku/src/system/libroot/posix/string/
H A Dstrlcpy.c11 strlcpy(char *dst, char const *src, size_t s) function
H A Dstrxfrm.cpp34 return strlcpy(out, in, size);
54 return strlcpy(out, in, size);
/haiku/src/system/libnetwork/
H A Dr5_compatibility.cpp80 strlcpy(value, "hostname", numBytes);
82 strlcpy(value, "baron", numBytes);
84 strlcpy(value, "password", numBytes);
86 strlcpy(value, "1", numBytes);
88 strlcpy(value, "1", numBytes);
H A Dinterfaces.cpp56 strlcpy(request.ifr_name, name, IF_NAMESIZE);
76 strlcpy(nameBuffer, request.ifr_name, IF_NAMESIZE);
116 strlcpy(((struct ifreq&)request).ifr_name, interfaces->ifr_name,
/haiku/src/kits/media/
H A DMediaFiles.cpp96 strlcpy(request.type, type, B_MEDIA_NAME_LENGTH);
148 strlcpy(request.type, type, B_MEDIA_NAME_LENGTH);
149 strlcpy(request.item, item, B_MEDIA_NAME_LENGTH);
173 strlcpy(request.type, type, B_MEDIA_NAME_LENGTH);
174 strlcpy(request.item, item, B_MEDIA_NAME_LENGTH);
196 strlcpy(request.type, type, B_MEDIA_NAME_LENGTH);
197 strlcpy(request.item, item, B_MEDIA_NAME_LENGTH);
218 strlcpy(request.type, type, B_MEDIA_NAME_LENGTH);
219 strlcpy(request.item, item, B_MEDIA_NAME_LENGTH);
241 strlcpy(reques
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DSuperBlock.cpp46 strlcpy(name, volume->Name(), kCheckSumFSNameLength);
60 strlcpy(this->name, name, kCheckSumFSNameLength);
/haiku/src/apps/poorman/
H A DStatusSlider.cpp28 strlcpy(fPattern, fStr.String(), sizeof(fPattern));
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dvm.cpp28 return strlcpy(to, from, size);
/haiku/src/system/libroot/posix/sys/
H A Duname.c38 strlcpy(info->sysname, "Haiku", sizeof(info->sysname));
87 strlcpy(info->machine, platform, sizeof(info->machine));
90 strlcpy(info->nodename, "unknown", sizeof(info->nodename));
/haiku/src/apps/diskusage/
H A DSnapshot.cpp82 strlcpy(mimeStr, kVolumeType, sizeof(mimeStr));
96 strlcpy(mimeStr, kDirType, sizeof(mimeStr));
103 strlcpy(mimeStr, kFileType, sizeof(mimeStr));
/haiku/src/system/libroot/add-ons/icu/
H A DICUCategoryData.cpp42 strlcpy(fPosixLocaleName, posixLocaleName, skMaxPosixLocaleNameLen);
105 strlcpy(destination, defaultValue, destinationSize);
157 strlcpy(tlsValue->charset, fGivenCharset, sizeof(tlsValue->charset));
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DFileSystem.cpp18 strlcpy(fName, fsName, sizeof(fName));
/haiku/src/servers/syslog_daemon/
H A Dsyslog_output.cpp151 headerLength = pos + strlcpy(header + pos, ": ", sizeof(header) - pos);
167 strlcpy(buffer + headerLength, message.message + pos, length + 1);
170 length = strlcpy(buffer + headerLength, message.message + pos,
196 strlcpy(sLastMessage, buffer + headerLength, sizeof(sLastMessage));
/haiku/src/add-ons/kernel/file_systems/exfat/
H A DUtility.cpp31 strlcpy(name, "", length);
/haiku/src/servers/registrar/
H A DRosterAppInfo.cpp43 strlcpy(this->signature, signature, B_MIME_TYPE_LENGTH);
/haiku/src/system/libroot/posix/unistd/
H A Dgetlogin.cpp48 strlcpy(name, pw->pw_name, LOGIN_NAME_MAX);
/haiku/src/kits/shared/
H A DStringForRate.cpp38 strlcpy(string, gSystemCatalog.GetString(printedRate.String(), B_TRANSLATION_CONTEXT,
/haiku/src/build/libroot/
H A Dfind_directory.cpp50 strlcpy(buffer, path, i + 1);
95 strlcpy(returnedPath, path, pathLength);
/haiku/src/add-ons/kernel/file_systems/bindfs/
H A DVolume.cpp75 strlcpy(fName, "bindfs:", sizeof(fName));
76 strlcpy(fName, source, sizeof(fName));
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixAddress.cpp31 strlcpy(buffer, "<empty>", bufferSize);
154 strlcpy(buffer, "<none>", bufferSize);
156 strlcpy(buffer, address->sun_path, bufferSize);
160 strlcpy(buffer, "<empty>", bufferSize);
263 strlcpy(buffer, address->sun_path + 1, 6);
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIController.cpp155 strlcpy(info->sim_vid, "Haiku", SCSI_SIM_ID);
156 strlcpy(info->hba_vid, "VirtIO", SCSI_HBA_ID);
158 strlcpy(info->sim_version, "1.0", SCSI_VERS);
159 strlcpy(info->hba_version, "1.0", SCSI_VERS);
160 strlcpy(info->controller_family, "Virtio", SCSI_FAM_ID);
161 strlcpy(info->controller_type, "Virtio", SCSI_TYPE_ID);
/haiku/src/build/libshared/
H A DNaturalCompare.cpp48 strlcpy(chunk.buffer, source, pos + 1);
66 strlcpy(chunk.buffer, source, pos + 1);
/haiku/src/servers/app/
H A DMessageLooper.cpp127 strlcpy(name, fName, length);
129 strlcpy(name, "unnamed looper", length);
/haiku/src/tests/system/libroot/posix/
H A DCryptTest.cpp91 strlcpy(tmp, buf, sizeof(tmp));
116 strlcpy(tmp, buf, sizeof(tmp));

Completed in 129 milliseconds

1234567891011>>