Searched refs:fLength (Results 1 - 25 of 61) sorted by relevance

123

/haiku-fatelf/src/kits/shared/
H A DHashString.cpp17 : fLength(0),
24 : fLength(0),
32 : fLength(0),
65 fLength = 0;
74 if (newLength < fLength) {
79 fLength = newLength;
80 fString[fLength] = '\0';
100 _SetTo(string.fString, string.fLength);
108 return (fLength == string.fLength
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/nfs/
H A DXDROutPacket.c16 return packet->fLength;
23 packet->fSize=packet->fLength=0;
35 if (packet->fLength+size>packet->fSize)
37 while (packet->fLength+size>packet->fSize)
48 *(int32 *)(&packet->fBuffer[packet->fLength])=B_HOST_TO_BENDIAN_INT32(val);
49 packet->fLength+=4;
64 memcpy (&packet->fBuffer[packet->fLength],data,size);
65 memset (&packet->fBuffer[packet->fLength+size],0,roundedSize-size);
66 packet->fLength+=roundedSize;
78 XDROutPacketGrow (me,packet->fLength);
[all...]
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DSubPath.cpp38 fLength = 0;
53 fLength = 0;
61 fLength -= numOfPoints;
62 if (fLength < 0) fLength = 0;
72 for (int i = 0; i < fLength; i++) points[i] = fPoints[i];
82 CheckSize(fLength + 1);
83 fPoints[fLength] = p; fLength ++;
121 fprintf(stderr, "SubPath length = %d, size = %d ", (int)fLength, (in
[all...]
H A DSubPath.h42 int32 fLength; // number of valid points member in class:SubPath
47 bool InBounds(int i) { return 0 <= i && i < fLength; }
59 int32 CountPoints() const { return fLength; }
H A DMask.h45 int Length() const { return fLength; }
56 int fLength; member in class:MaskDescription
69 int Length() const { return fLength; };
79 int fLength; member in class:Mask
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/shared/
H A DString.cpp31 : fLength(0),
38 : fLength(0),
46 : fLength(0),
79 fLength = 0;
88 if (newLength < fLength) {
90 int32 len = fLength;
95 fLength = newLength;
96 fString[fLength] = '\0';
116 _SetTo(string.fString, string.fLength);
124 return (fLength
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/shared/
H A DString.cpp31 : fLength(0),
38 : fLength(0),
46 : fLength(0),
79 fLength = 0;
88 if (newLength < fLength) {
90 int32 len = fLength;
95 fLength = newLength;
96 fString[fLength] = '\0';
116 _SetTo(string.fString, string.fLength);
124 return (fLength
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/
H A DPhysicalPartition.cpp12 , fLength(length)
31 if (logicalBlock >= fLength) {
32 PRINT(("invalid logical block: %ld, length: %ld\n", logicalBlock, fLength));
H A DDString.cpp11 , fLength(0)
19 , fLength(0)
29 , fLength(0)
40 , fLength(0)
52 fLength = ref.Length();
53 memcpy(fString, ref.String(), fLength);
113 fLength = 0;
H A DDString.h35 uint8 Length() const { return fLength; }
40 uint8 fLength; member in class:Udf::DString
H A DPhysicalPartition.h35 uint32 Length() const { return fLength; }
39 uint32 fLength; member in class:Udf::PhysicalPartition
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/reiserfs/
H A DString.cpp36 : fLength(0),
43 : fLength(0),
51 : fLength(0),
84 fLength = 0;
101 _SetTo(string.fString, string.fLength);
109 return (fLength == string.fLength
110 && (fLength == 0 || !strcmp(fString, string.fString)));
124 fLength = length;
H A DString.h40 int32 GetLength() const { return fLength; }
50 int32 fLength; member in class:String
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/
H A DPath.cpp14 fLength(0)
64 fLength = wholeLen;
75 if (fLength == 0)
84 bool insertSeparator = (fBuffer[fLength - 1] != '/' && leaf[0] != '/');
87 int32 wholeLen = fLength + leafLen + (insertSeparator ? 1 : 0);
94 fBuffer[fLength++] = '/';
98 memcpy(fBuffer + fLength, leaf, leafLen + 1);
100 fLength = wholeLen;
108 return (fLength == 0 ? NULL : fBuffer);
115 return fLength;
[all...]
H A DPath.h26 int32 fLength; member in class:Path
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/server/
H A DPath.cpp14 fLength(0)
64 fLength = wholeLen;
75 if (fLength == 0)
84 bool insertSeparator = (fBuffer[fLength - 1] != '/' && leaf[0] != '/');
87 int32 wholeLen = fLength + leafLen + (insertSeparator ? 1 : 0);
94 fBuffer[fLength++] = '/';
98 memcpy(fBuffer + fLength, leaf, leafLen + 1);
100 fLength = wholeLen;
108 return (fLength == 0 ? NULL : fBuffer);
115 return fLength;
[all...]
H A DPath.h26 int32 fLength; member in class:Path
/haiku-fatelf/src/add-ons/kernel/file_systems/udf/
H A DPhysicalPartition.cpp12 fLength(length)
35 if (logicalBlock >= fLength) {
37 "length = %ld\n", logicalBlock, fLength));
H A DDString.cpp15 fLength(0),
24 fLength(0),
36 fLength(0),
49 fLength(0),
69 fLength = ref.Length();
70 memcpy(fString, ref.String(), fLength);
133 fLength = 0;
H A DDString.h31 uint8 Length() const { return fLength; }
43 uint8 fLength; member in class:DString
H A DPhysicalPartition.h33 uint32 Length() const { return fLength; }
37 uint32 fLength; member in class:PhysicalPartition
/haiku-fatelf/src/apps/resedit/
H A DResourceData.cpp19 fLength(0),
32 fLength(length),
62 SetData(data.fData, data.fLength);
72 (const char **)&name, &fLength)) {
81 char *data = (char *)res.LoadResource(fType, fID, &fLength);
82 SetData(data, fLength);
101 fLength = info.size;
106 fData = (char *)malloc(fLength);
108 ssize_t size = node.ReadAttr(name, info.type, 0, (void*)fData, fLength);
110 fLength
[all...]
/haiku-fatelf/src/bin/makeudfimage/
H A DAllocator.h38 uint32 Length() const { return fLength; }
39 uint32 Tail() const { return fLength; } //!< Returns the first unallocated block in the tail
46 uint32 fLength; //!< Length of allocation so far, in blocks. member in class:Allocator
/haiku-fatelf/src/kits/support/
H A DDataIO.cpp147 fLength(length),
158 fLength(length),
177 if (pos < (off_t)fLength) {
178 sizeRead = min_c((off_t)size, (off_t)fLength - pos);
200 if (pos + sizeWritten > (off_t)fLength)
201 fLength = pos + sizeWritten;
218 fPosition = fLength + position;
243 fLength = size;
276 fLength(0),
296 if (pos < (off_t)fLength) {
[all...]
/haiku-fatelf/headers/private/shared/
H A DHashString.h47 int32 GetLength() const { return fLength; }
59 int32 fLength; member in class:BPrivate::HashString

Completed in 124 milliseconds

123