Searched refs:Size (Results 1 - 25 of 579) sorted by relevance

1234567891011>>

/haiku-fatelf/src/kits/interface/
H A DSize.cpp6 #include <Size.h>
/haiku-fatelf/headers/build/os/interface/
H A DSize.h1 #include <../os/interface/Size.h>
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/
H A DIOCallback.cpp48 void IOCallback::writeFully(const void*Buffer,size_t Size) argument
50 if (Size == 0)
56 if(write(Buffer,Size) != Size)
60 Msg<<"EOF in writeFully("<<Buffer<<","<<Size<<")"; local
68 void IOCallback::readFully(void*Buffer,size_t Size) argument
73 if(read(Buffer,Size) != Size)
77 Msg<<"EOF in readFully("<<Buffer<<","<<Size<<")"; local
H A DEbmlUInteger.cpp71 for (unsigned int i=0; i<Size;i++) {
72 FinalData[Size-i-1] = TempValue & 0xFF;
76 output.writeFully(FinalData,Size);
78 return Size;
87 Size = 1;
89 Size = 2;
91 Size = 3;
93 Size = 4;
95 Size = 5;
97 Size
[all...]
H A DEbmlSInteger.cpp70 for (i=0; i<Size;i++) {
71 FinalData[Size-i-1] = binary(TempValue & 0xFF);
75 output.writeFully(FinalData,Size);
77 return Size;
86 Size = 1;
88 Size = 2;
90 Size = 3;
92 Size = 4;
95 Size = 5;
98 Size
[all...]
H A DMemIOCallback.cpp66 uint32 MemIOCallback::read(void *Buffer, size_t Size) argument
68 if (Buffer == NULL || Size < 1)
71 if (Size + dataBufferPos > dataBufferTotalSize)
80 memcpy(Buffer, dataBuffer+dataBufferPos, Size);
81 dataBufferPos += Size;
83 return Size;
96 size_t MemIOCallback::write(const void *Buffer, size_t Size) argument
98 if (dataBufferMemorySize < dataBufferPos + Size)
101 dataBuffer = (binary *)realloc((void *)dataBuffer, dataBufferPos + Size);
103 memcpy(dataBuffer+dataBufferPos, Buffer, Size);
111 write(IOCallback & IOToRead, size_t Size) argument
[all...]
H A DEbmlDate.cpp52 if (Size != 0) {
53 assert(Size == 8);
55 input.readFully(Buffer, Size);
65 return Size;
70 if (Size != 0) {
71 assert(Size == 8);
74 output.writeFully(&b64.endian(),Size);
77 return Size;
H A DEbmlBinary.cpp53 Data = (binary *)malloc(Size * sizeof(binary));
55 memcpy(Data, ElementToClone.Data, Size);
66 output.writeFully(Data,Size);
68 return Size;
76 return Size;
87 return Size;
90 Data = (binary *)malloc(Size * sizeof(binary));
93 return input.read(Data, Size);
98 return ((Size == ElementToCompare.Size)
[all...]
H A DEbmlFloat.cpp69 assert(Size == 4 || Size == 8);
71 if (Size == 4) {
76 output.writeFully(&TmpToWrite.endian(), Size);
77 } else if (Size == 8) {
82 output.writeFully(&TmpToWrite.endian(), Size);
85 return Size;
92 return Size;
103 assert(Size <= 20);
104 input.readFully(Buffer, Size);
[all...]
H A DEbmlVoid.cpp54 uint64 SizeToWrite = Size;
61 return Size;
67 if (HeadSize() + Size < EltToReplaceWith.GetSize() + EltToReplaceWith.HeadSize()) {
71 if (HeadSize() + Size - EltToReplaceWith.GetSize() - EltToReplaceWith.HeadSize() == 1) {
81 if (HeadSize() + Size - EltToReplaceWith.GetSize() - EltToReplaceWith.HeadSize() > 1) {
84 aTmp.SetSize(HeadSize() + Size - EltToReplaceWith.GetSize() - EltToReplaceWith.HeadSize() - 1); // 1 is the length of the Void ID
86 aTmp.SetSize(aTmp.GetSize() - CodedSizeLength(aTmp.Size, aTmp.SizeLength, aTmp.bSizeIsFinite));
89 aTmp.SetSizeLength(CodedSizeLength(aTmp.Size, aTmp.SizeLength, aTmp.bSizeIsFinite) - (HeadAfter - HeadBefore));
98 return Size + HeadSize();
118 Size
[all...]
H A DEbmlString.cpp47 Size = Value.length();
48 if (DefaultSize > Size)
49 Size = DefaultSize;*/
58 Size = Value.length();
59 if (DefaultSize > Size)
60 Size = DefaultSize;*/
103 Size = Value.length();
104 if (DefaultSize > Size)
105 Size = DefaultSize;*/
115 Size
[all...]
H A DEbmlUnicodeString.cpp165 size_t i,Size=0; local
169 Size++;
171 Size += 2;
173 Size += 3;
176 std::string::value_type *tmpStr = new std::string::value_type[Size+1];
177 for (i=0, Size=0; i<_Length; i++)
180 tmpStr[Size++] = _Data[i];
182 tmpStr[Size++] = 0xC0 | (_Data[i] >> 6);
183 tmpStr[Size++] = 0x80 | (_Data[i] & 0x3F);
185 tmpStr[Size
[all...]
/haiku-fatelf/headers/libs/agg/
H A Dagg_simul_eq.h78 template<unsigned Size, unsigned RightCols>
81 static bool solve(const double left[Size][Size],
82 const double right[Size][RightCols],
83 double result[Size][RightCols])
88 double tmp[Size][Size + RightCols];
90 for(i = 0; i < Size; i++)
92 for(j = 0; j < Size; j++)
98 tmp[i][Size
[all...]
/haiku-fatelf/headers/os/drivers/pcmcia/
H A Dmemory.h35 u_long Size; member in struct:erase_info_t
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/namespace/
H A Dnsnames.c133 * Size - Size of the pathname
147 ACPI_SIZE Size,
159 Index = Size - 1;
195 (UINT32) Index, (UINT32) Size, &NameBuffer[Size]));
225 ACPI_SIZE Size; local
233 Size = AcpiNsGetPathnameLength (Node);
234 if (!Size)
241 NameBuffer = ACPI_ALLOCATE_ZEROED (Size);
145 AcpiNsBuildExternalPath( ACPI_NAMESPACE_NODE *Node, ACPI_SIZE Size, char *NameBuffer) argument
277 ACPI_SIZE Size; local
[all...]
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/ebml/
H A DEbmlDate.h63 bool ValidateSize() const {return ((Size == 8) || (Size == 0));}
70 Size = 0;
72 Size = 8;
73 return Size;
H A DIOCallback.h61 virtual uint32 read(void*Buffer,size_t Size)=0;
69 virtual size_t write(const void*Buffer,size_t Size)=0;
87 void readFully(void*Buffer,size_t Size);
91 void writeFully(const void*Buffer,size_t Size);
H A DMemIOCallback.h57 uint32 read(void *Buffer, size_t Size);
69 size_t write(const void *Buffer, size_t Size);
93 uint32 write(IOCallback & IOToRead, size_t Size);
107 Size of the data in the dataBuffer
111 Size of the memory malloc()/realloc()
/haiku-fatelf/src/apps/sudoku/
H A DSudokuGenerator.cpp63 uint32 inputCount = field.Size() * field.Size() / 3;
77 x = rand() % field.Size();
78 y = rand() % field.Size();
87 value = rand() % field.Size();
113 int32 removeCount = field.Size() * field.Size() - fieldsLeft;
114 bool tried[field.Size() * field.Size()];
115 int32 tries = field.Size() * fiel
[all...]
/haiku-fatelf/src/apps/debugger/util/
H A DBitBuffer.h25 size_t Size() const { return fBytes.Size(); } function in class:BitBuffer
27 { return Size() * 8 - fMissingBits; }
/haiku-fatelf/src/add-ons/print/drivers/gutenprint/
H A DGPCapabilities.cpp38 return fPageSizes.Size();
40 return fInputSlots.Size();
42 return fResolutions.Size();
44 return fPrintingModes.Size();
46 return fDriverSpecificCategories.Size();
52 return capabilities->Size();
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutalloc.c402 * PARAMETERS: Size - Size of the allocation
415 ACPI_SIZE Size,
423 ACPI_FUNCTION_TRACE_U32 (UtAllocate, Size);
428 if (!Size)
432 Size = 1;
435 Allocation = AcpiOsAllocate (Size);
441 "Could not allocate size %u", (UINT32) Size));
454 * PARAMETERS: Size - Size o
414 AcpiUtAllocate( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
466 AcpiUtAllocateZeroed( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
[all...]
H A Duttrack.c147 ACPI_SIZE Size,
166 * ObjectSize - Size of each cached object
204 * PARAMETERS: Size - Size of the allocation
217 ACPI_SIZE Size,
226 Allocation = AcpiUtAllocate (Size + sizeof (ACPI_DEBUG_MEM_HEADER),
233 Status = AcpiUtTrackAllocation (Allocation, Size,
242 AcpiGbl_GlobalList->TotalSize += (UINT32) Size;
243 AcpiGbl_GlobalList->CurrentTotalSize += (UINT32) Size;
257 * PARAMETERS: Size
216 AcpiUtAllocateAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
269 AcpiUtAllocateZeroedAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
452 AcpiUtTrackAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, ACPI_SIZE Size, UINT8 AllocType, UINT32 Component, const char *Module, UINT32 Line) argument
[all...]
/haiku-fatelf/src/apps/debugger/types/
H A DTargetAddressRangeList.cpp47 return fRanges.Size();
54 return index >= 0 && index < fRanges.Size()
62 int32 count = fRanges.Size();
78 int32 count = fRanges.Size();
89 int32 count = fRanges.Size();
/haiku-fatelf/src/tests/kits/app/bmessage/
H A DMessageBoolItemTest.h54 uint32 Size() { return size; } function in class:ArrayTypeBase::ArrayType
68 array = new bool[Size()];
69 memcpy(array, data, Size());
76 static SizeType Size(ArrayType& array) { return array.Size(); } function in struct:ArrayTypeBase

Completed in 159 milliseconds

1234567891011>>