Home
last modified time | relevance | path

Searched refs:stringLength (Results 1 – 8 of 8) sorted by relevance

/haiku/src/kits/device/
H A DUSBDevice.cpp274 int32 stringLength = GetStringDescriptor(index, stringDescriptor, in DecodeStringDescriptor() local
277 if (stringLength < 3) in DecodeStringDescriptor()
284 for (int32 i = 0; i < (stringLength / 2); i++) { in DecodeStringDescriptor()
301 (const char*)stringDescriptor->string, &stringLength, in DecodeStringDescriptor()
/haiku/src/kits/package/hpkg/v1/
H A DReaderImplBaseV1.cpp635 size_t stringLength = strnlen(position, (char*)sectionEnd - position); in ParseStrings() local
637 if (stringLength == 0) { in ParseStrings()
666 position += stringLength + 1; in ParseStrings()
963 size_t stringLength = strnlen(string, in _ReadString() local
966 if (stringLength in _ReadString()
977 *_stringLength = stringLength; in _ReadString()
979 fCurrentSection->currentOffset += stringLength + 1; in _ReadString()
/haiku/headers/private/app/
H A DServerProtocolStructs.h97 int32 stringLength; member
/haiku/src/servers/app/
H A DServerWindow.cpp3082 || info.stringLength <= 0) { in _DispatchViewDrawingMessage()
3088 (info.stringLength + 1 + 63) / 64 * 64); in _DispatchViewDrawingMessage()
3098 if (link.Read(string, info.stringLength) != B_OK) in _DispatchViewDrawingMessage()
3103 string[info.stringLength] = '\0'; in _DispatchViewDrawingMessage()
3110 info.stringLength, info.location, delta); in _DispatchViewDrawingMessage()
3119 int32 stringLength; in _DispatchViewDrawingMessage() local
3120 if (link.Read<int32>(&stringLength) != B_OK || stringLength <= 0) in _DispatchViewDrawingMessage()
3129 (stringLength + 1 + 63) / 64 * 64); in _DispatchViewDrawingMessage()
3134 if (link.Read(string, stringLength) != B_OK) in _DispatchViewDrawingMessage()
3137 if ((int32)UTF8CountChars(string, stringLength) > glyphCount) in _DispatchViewDrawingMessage()
[all …]
/haiku/src/kits/package/hpkg/
H A DReaderImplBase.cpp1008 size_t stringLength = strnlen(position, (char*)sectionEnd - position); in ParseStrings() local
1010 if (stringLength == 0) { in ParseStrings()
1039 position += stringLength + 1; in ParseStrings()
1356 size_t stringLength = strnlen(string, in _ReadString() local
1359 if (stringLength in _ReadString()
1370 *_stringLength = stringLength; in _ReadString()
1372 fCurrentSection->currentOffset += stringLength + 1; in _ReadString()
/haiku/headers/posix/
H A Dstdio.h164 extern char *fgets(char *string, int stringLength, FILE *stream);
165 extern char *fgets_unlocked(char *string, int stringLength, FILE *stream);
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.cpp572 uint8 stringLength = MIN(temp[0], command.string.length); in usb_raw_ioctl() local
573 char *string = (char *)malloc(stringLength); in usb_raw_ioctl()
583 string, stringLength, &actualLength) < B_OK in usb_raw_ioctl()
584 || actualLength != stringLength) { in usb_raw_ioctl()
593 stringLength) != B_OK) { in usb_raw_ioctl()
599 command.string.length = stringLength; in usb_raw_ioctl()
/haiku/src/kits/interface/
H A DView.cpp3279 info.stringLength = length; in DrawString()