/haiku-fatelf/src/add-ons/media/plugins/musepack/mpc/ |
H A D | huffsv46.cpp | 26 SCFI_Bundle[7].Code= 1; SCFI_Bundle[7].Length= 1; 27 SCFI_Bundle[3].Code= 1; SCFI_Bundle[3].Length= 2; 28 SCFI_Bundle[5].Code= 0; SCFI_Bundle[5].Length= 3; 29 SCFI_Bundle[1].Code= 7; SCFI_Bundle[1].Length= 5; 30 SCFI_Bundle[2].Code= 6; SCFI_Bundle[2].Length= 5; 31 SCFI_Bundle[4].Code= 4; SCFI_Bundle[4].Length= 5; 32 SCFI_Bundle[0].Code= 11; SCFI_Bundle[0].Length= 6; 33 SCFI_Bundle[6].Code= 10; SCFI_Bundle[6].Length= 6; 36 Region_A[ 1].Code= 1; Region_A[ 1].Length= 1; 37 Region_A[ 2].Code= 0; Region_A[ 2].Length [all...] |
H A D | huffsv7.cpp | 31 HuffSCFI[0].Code = 2; HuffSCFI[0].Length = 3; 32 HuffSCFI[1].Code = 1; HuffSCFI[1].Length = 1; 33 HuffSCFI[2].Code = 3; HuffSCFI[2].Length = 3; 34 HuffSCFI[3].Code = 0; HuffSCFI[3].Length = 2; 37 HuffDSCF[ 0].Code = 32; HuffDSCF[ 0].Length = 6; 38 HuffDSCF[ 1].Code = 4; HuffDSCF[ 1].Length = 5; 39 HuffDSCF[ 2].Code = 17; HuffDSCF[ 2].Length = 5; 40 HuffDSCF[ 3].Code = 30; HuffDSCF[ 3].Length = 5; 41 HuffDSCF[ 4].Code = 13; HuffDSCF[ 4].Length = 4; 42 HuffDSCF[ 5].Code = 0; HuffDSCF[ 5].Length [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/ |
H A D | exstorob.c | 145 UINT32 Length; local 162 Length = SourceDesc->Buffer.Length; 168 if ((TargetDesc->Buffer.Length == 0) || 171 TargetDesc->Buffer.Pointer = ACPI_ALLOCATE (Length); 177 TargetDesc->Buffer.Length = Length; 182 if (Length <= TargetDesc->Buffer.Length) 186 ACPI_MEMSET (TargetDesc->Buffer.Pointer, 0, TargetDesc->Buffer.Length); 250 UINT32 Length; local [all...] |
H A D | exoparg3.c | 242 ACPI_SIZE Length; local 251 case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */ 268 Length = (ACPI_SIZE) Operand[2]->Integer.Value; 274 if (Index >= Operand[0]->String.Length) 276 Length = 0; 281 else if ((Index + Length) > Operand[0]->String.Length) 283 Length = (ACPI_SIZE) Operand[0]->String.Length - 295 Buffer = ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) Length [all...] |
H A D | exfield.c | 152 ACPI_SIZE Length; local 199 Length = ACPI_SMBUS_BUFFER_SIZE; 204 Length = ACPI_GSBUS_BUFFER_SIZE; 209 Length = ACPI_IPMI_BUFFER_SIZE; 213 BufferDesc = AcpiUtCreateBufferObject (Length); 242 Length = (ACPI_SIZE) ACPI_ROUND_BITS_UP_TO_BYTES (ObjDesc->Field.BitLength); 243 if (Length > AcpiGbl_IntegerByteWidth) 247 BufferDesc = AcpiUtCreateBufferObject (Length); 264 Length = AcpiGbl_IntegerByteWidth; 270 ObjDesc, ObjDesc->Common.Type, Buffer, (UINT32) Length)); 322 UINT32 Length; local [all...] |
H A D | exconfig.c | 142 UINT32 Length, 257 if ((Operand[0]->String.Length > ACPI_NAME_SIZE) || 258 (Operand[1]->String.Length > ACPI_OEM_ID_SIZE) || 259 (Operand[2]->String.Length > ACPI_OEM_TABLE_ID_SIZE)) 295 if (Operand[3]->String.Length > 0) 311 if (Operand[4]->String.Length > 0) 384 * Length - Number of bytes to read 397 UINT32 Length, 408 for (i = 0; i < Length; i++) 458 UINT32 Length; local 395 AcpiExRegionRead( ACPI_OPERAND_OBJECT *ObjDesc, UINT32 Length, UINT8 *Buffer) argument [all...] |
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/ebml/ |
H A D | EbmlId.h | 49 unsigned int Length; member in class:EbmlId 52 :Length(aLength) 63 :Value(aValue), Length(aLength) {} 67 return ((TestId.Length == Length) && (TestId.Value == Value)); 76 for (i = 0; i<Length; i++) { 77 Buffer[i] = (Value >> (8*(Length-i-1))) & 0xFF;
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/common/ |
H A D | dmtbdump.c | 132 UINT32 Length); 138 UINT32 Length, 149 * Length - Length of the buffer 165 UINT32 Length, 173 if (!Length) 181 while (i < Length) 187 ((Length - i) > 16) ? 16 : (Length - i), Header); 207 * RETURN: Length o 162 AcpiDmDumpBuffer( void *Table, UINT32 BufferOffset, UINT32 Length, UINT32 AbsoluteOffset, char *Header) argument 219 UINT32 Length = sizeof (ACPI_RSDP_COMMON); local 414 AcpiDmValidateFadtLength( UINT32 Revision, UINT32 Length) argument 636 UINT32 Length = Table->Length; local 690 UINT32 Length = Table->Length; local 781 UINT32 Length = Table->Length; local 892 UINT32 Length = Table->Length; local 1019 UINT32 Length = Table->Length; local 1072 UINT32 Length = Table->Length; local 1125 UINT32 Length = Table->Length; local 1203 UINT32 Length = Table->Length; local 1506 UINT32 Length = Table->Length; local 1877 UINT32 Length = Table->Length; local 1933 UINT32 Length = Table->Length; local [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/ |
H A D | utids.c | 152 UINT32 Length; local 170 Length = ACPI_EISAID_STRING_SIZE; 174 Length = ObjDesc->String.Length + 1; 179 Hid = ACPI_ALLOCATE_ZEROED (sizeof (ACPI_PNP_DEVICE_ID) + (ACPI_SIZE) Length); 201 Hid->Length = Length; 238 UINT32 Length; local 254 Length = ObjDesc->String.Length 310 UINT32 Length; local 405 UINT32 Length; local [all...] |
H A D | utobject.c | 368 BufferDesc->Buffer.Length = (UINT32) BufferSize; 425 StringDesc->String.Length = (UINT32) StringSize; 585 ACPI_SIZE Length; local 595 Length = sizeof (ACPI_OBJECT); 605 *ObjLength = ACPI_ROUND_UP_TO_NATIVE_WORD (Length); 628 Length += (ACPI_SIZE) InternalObject->String.Length + 1; 634 Length += (ACPI_SIZE) InternalObject->Buffer.Length; 663 Length [all...] |
/haiku-fatelf/src/tests/kits/support/bstring/ |
H A D | StringConstructionTest.cpp | 28 CPPUNIT_ASSERT(string->Length() == 0); 35 CPPUNIT_ASSERT((unsigned)string->Length() == strlen(str)); 42 CPPUNIT_ASSERT(string->Length() == 0); 50 CPPUNIT_ASSERT(string->Length() == anotherString.Length()); 58 CPPUNIT_ASSERT(string->Length() == 5); 64 CPPUNIT_ASSERT((unsigned)string->Length() == strlen(str));
|
H A D | StringAccessTest.cpp | 22 //CountChars(), Length(), String() 26 CPPUNIT_ASSERT((unsigned)string.Length() == strlen(string.String())); 31 CPPUNIT_ASSERT((unsigned)string2.Length() == strlen(string2.String())); 39 CPPUNIT_ASSERT((unsigned)string3.Length() == strlen(string3.String())); 45 CPPUNIT_ASSERT(empty.Length() == 0); 52 invalid.Truncate(invalid.Length() -1); 70 CPPUNIT_ASSERT(locked2.Length() == 4);
|
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/ |
H A D | Mask.cpp | 71 mask = new ::Mask(fPDF, imageID, name, Length(), Width(), Height(), BPC()); 80 ok = file.Write(Mask(), Length()) == Length(); 92 PDF_create_pvf(fPDF, "mask", 0, Mask(), Length(), NULL); 120 if (desc && Length() == desc->Length() && Width() == desc->Width() && Height() == desc->Height() && BPC() == desc->BPC()) { 123 if (file.InitCheck() == B_OK && file.GetSize(&size) == B_OK && size == Length()) { 124 char* buffer = new char[Length()]; 126 bool ok = file.Read(buffer, Length()) == Length() [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/tables/ |
H A D | tbutils.c | 131 ACPI_SIZE Length); 212 * Length - Maximum length 224 ACPI_SIZE Length) 227 while (Length && *String) 234 Length--; 299 Header->Length)); 312 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, 325 LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId, 337 * Length - Length o 222 AcpiTbFixString( char *String, ACPI_SIZE Length) argument 347 AcpiTbVerifyChecksum( ACPI_TABLE_HEADER *Table, UINT32 Length) argument 391 AcpiTbChecksum( UINT8 *Buffer, UINT32 Length) argument 699 UINT32 Length; local [all...] |
H A D | tbfadt.c | 155 UINT16 Length; member in struct:acpi_fadt_info 335 UINT32 Length; local 346 Length = AcpiGbl_RootTableList.Tables[TableIndex].Length; 349 AcpiGbl_RootTableList.Tables[TableIndex].Address, Length); 359 (void) AcpiTbVerifyChecksum (Table, Length); 363 AcpiTbCreateLocalFadt (Table, Length); 367 AcpiOsUnmapMemory (Table, Length); 389 * Length - Length o 401 AcpiTbCreateLocalFadt( ACPI_TABLE_HEADER *Table, UINT32 Length) argument 610 UINT8 Length; local [all...] |
/haiku-fatelf/src/add-ons/print/drivers/postscript/ |
H A D | PPDParser.cpp | 75 if (line.Compare(pattern, pattern.Length()) == 0) { 77 line.CopyInto(result, pattern.Length(), 78 line.Length() - pattern.Length()).Trim(); 81 result.Truncate(result.Length() -1);
|
/haiku-fatelf/src/tests/add-ons/print/ppd/test/ |
H A D | TestScanner.cpp | 53 printf("%d\n", (int)string.Length()); 56 printf("%d\n", (int)string.Length()); 57 for (int i = 0; i < string.Length(); i ++) {
|
/haiku-fatelf/src/add-ons/input_server/methods/pen/compat/ |
H A D | StringIO.cpp | 38 if (fString->Length() < pos) 39 fString->Insert(' ', (int32)(pos - fString->Length()), fString->Length()); 56 fPosition = fString->Length() - pos; 85 BStringIO & BStringIO::operator<<(const BString & s) {this->BPositionIO::Write(s.String(), s.Length()); return *this;}; 86 BStringIO & BStringIO::operator<<(const BRect & r) {BString s; s << "Rect{" << r.left << r.top << r.right << r.bottom << "}"; this->BPositionIO::Write(s.String(), s.Length()); return *this;};
|
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/ |
H A D | EbmlElement.cpp | 49 int CodedSizeLength(uint64 Length, unsigned int SizeLength, bool bSizeFinite) argument 55 if (Length < 127) // 2^7 - 1 57 else if (Length < 16383) // 2^14 - 1 59 else if (Length < 2097151L) // 2^21 - 1 61 else if (Length < 268435455L) // 2^28 - 1 65 if (Length <= 127) // 2^7 - 1 67 else if (Length <= 16383) // 2^14 - 1 69 else if (Length <= 2097151L) // 2^21 - 1 71 else if (Length <= 268435455L) // 2^28 - 1 87 int CodedSizeLengthSigned(int64 Length, unsigne argument 110 CodedValueLength(uint64 Length, int CodedSize, binary * OutBuffer) argument 124 CodedValueLengthSigned(int64 Length, int CodedSize, binary * OutBuffer) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/include/ |
H A D | actables.h | 134 UINT32 Length); 173 UINT32 Length, 231 UINT32 Length); 236 UINT32 Length);
|
/haiku-fatelf/src/apps/debugger/types/ |
H A D | ArrayIndexPath.cpp | 80 int32 oldLength = path.Length(); 81 if (path.Append(kIndexSeparator, 1).Length() != oldLength + 1) 86 int32 oldLength = path.Length(); 87 if ((path << IndexAt(i)).Length() == oldLength)
|
/haiku-fatelf/src/apps/debugger/value/values/ |
H A D | AddressValue.cpp | 34 if (string.Length() == 0)
|
/haiku-fatelf/src/kits/support/ |
H A D | Url.cpp | 76 if (Length() > B_PATH_NAME_LENGTH) { 122 CopyInto(left, v + 1, Length() - v); 145 left.MoveInto(fPath, v+1, left.Length()-v); 156 fUser.MoveInto(fPass, v, fUser.Length() - v); 169 left.MoveInto(fPort, v + 1, left.Length() - v); 193 return fHost.Length(); 200 return fPort.Length(); 207 return fUser.Length(); 214 return fPass.Length(); 221 return fPath.Length(); [all...] |
H A D | String.cpp | 143 return fPosition < fString.Length() ? fString.fPrivateData[fPosition] : 0; 232 _Init(string.String(), string.Length()); 256 return UTF8CountChars(fPrivateData, Length()); 351 _Init(string.String(), string.Length()); 374 || (fPrivateData == string.fPrivateData && Length() > maxLength)) { 375 maxLength = min_clamp0(maxLength, string.Length()); 474 length = min_clamp0(length, Length() - fromOffset); 499 length = min_clamp0(length, Length() - fromOffset); 539 length = min_clamp0(length, string.Length()); 562 int32 oldLength = Length(); [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/resources/ |
H A D | rscreate.c | 132 * AmlBufferLength - Length of the AmlBuffer 239 AmlBufferLength = AmlBuffer->Buffer.Length; 274 ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "OutputBuffer %p Length %X\n", 275 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); 290 * AE_BUFFER_OVERFLOW and OutputBuffer->Length will point 359 * NOTE: On the first iteration, UserPrt->Length will 362 Buffer += UserPrt->Length; 366 * Fill in the Length field with the information we have at this point. 370 UserPrt->Length = (sizeof (ACPI_PCI_ROUTING_TABLE) - 4); 463 PathBuffer.Length [all...] |