Searched refs:Length (Results 1 - 25 of 277) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/contrib/dev/acpica/executer/
H A Dexstorob.c74 UINT32 Length; local
91 Length = SourceDesc->Buffer.Length;
97 if ((TargetDesc->Buffer.Length == 0) ||
100 TargetDesc->Buffer.Pointer = ACPI_ALLOCATE (Length);
106 TargetDesc->Buffer.Length = Length;
111 if (Length <= TargetDesc->Buffer.Length)
115 ACPI_MEMSET (TargetDesc->Buffer.Pointer, 0, TargetDesc->Buffer.Length);
179 UINT32 Length; local
[all...]
H A Dexfield.c80 ACPI_SIZE Length; local
126 Length = ACPI_SMBUS_BUFFER_SIZE;
131 Length = ACPI_IPMI_BUFFER_SIZE;
135 BufferDesc = AcpiUtCreateBufferObject (Length);
164 Length = (ACPI_SIZE) ACPI_ROUND_BITS_UP_TO_BYTES (ObjDesc->Field.BitLength);
165 if (Length > AcpiGbl_IntegerByteWidth)
169 BufferDesc = AcpiUtCreateBufferObject (Length);
186 Length = AcpiGbl_IntegerByteWidth;
192 ObjDesc, ObjDesc->Common.Type, Buffer, (UINT32) Length));
205 Status = AcpiExExtractFromField (ObjDesc, Buffer, (UINT32) Length);
244 UINT32 Length; local
[all...]
H A Dexoparg3.c170 ACPI_SIZE Length; local
179 case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */
196 Length = (ACPI_SIZE) Operand[2]->Integer.Value;
202 if (Index >= Operand[0]->String.Length)
204 Length = 0;
209 else if ((Index + Length) > Operand[0]->String.Length)
211 Length = (ACPI_SIZE) Operand[0]->String.Length -
223 Buffer = ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) Length
[all...]
H A Dexconfig.c69 UINT32 Length,
184 if ((Operand[0]->String.Length > ACPI_NAME_SIZE) ||
185 (Operand[1]->String.Length > ACPI_OEM_ID_SIZE) ||
186 (Operand[2]->String.Length > ACPI_OEM_TABLE_ID_SIZE))
222 if (Operand[3]->String.Length > 0)
238 if (Operand[4]->String.Length > 0)
311 * Length - Number of bytes to read
324 UINT32 Length,
335 for (i = 0; i < Length; i++)
385 UINT32 Length; local
322 AcpiExRegionRead( ACPI_OPERAND_OBJECT *ObjDesc, UINT32 Length, UINT8 *Buffer) argument
[all...]
/freebsd-9.3-release/contrib/cvs/lib/
H A Dstrstr.c24 register long Length; local
28 Length = strlen(What);
35 } while (strncmp(Source, What, Length) != 0);
/freebsd-9.3-release/sys/contrib/dev/acpica/utilities/
H A Dutids.c80 UINT32 Length; local
98 Length = ACPI_EISAID_STRING_SIZE;
102 Length = ObjDesc->String.Length + 1;
107 Hid = ACPI_ALLOCATE_ZEROED (sizeof (ACPI_DEVICE_ID) + (ACPI_SIZE) Length);
129 Hid->Length = Length;
167 UINT32 Length; local
185 Length = ACPI_MAX64_DECIMAL_DIGITS + 1;
189 Length
262 UINT32 Length; local
[all...]
H A Dutobject.c296 BufferDesc->Buffer.Length = (UINT32) BufferSize;
353 StringDesc->String.Length = (UINT32) StringSize;
513 ACPI_SIZE Length; local
523 Length = sizeof (ACPI_OBJECT);
533 *ObjLength = ACPI_ROUND_UP_TO_NATIVE_WORD (Length);
556 Length += (ACPI_SIZE) InternalObject->String.Length + 1;
562 Length += (ACPI_SIZE) InternalObject->Buffer.Length;
591 Length
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/
H A DStringRef.h53 size_t Length; member in class:llvm::StringRef
63 static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) { argument
64 if (Length == 0) { return 0; }
65 return ::memcmp(Lhs,Rhs,Length);
73 /*implicit*/ StringRef() : Data(0), Length(0) {}
79 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
84 : Data(data), Length(length) {
91 : Data(Str.data()), Length(Str.length()) {}
99 iterator end() const { return Data + Length; }
110 bool empty() const { return Length
[all...]
H A DArrayRef.h44 size_type Length; member in class:llvm::ArrayRef
51 /*implicit*/ ArrayRef() : Data(0), Length(0) {}
54 /*implicit*/ ArrayRef(NoneType) : Data(0), Length(0) {}
58 : Data(&OneElt), Length(1) {}
62 : Data(data), Length(length) {}
66 : Data(begin), Length(end - begin) {}
73 : Data(Vec.data()), Length(Vec.size()) {
79 : Data(Vec.empty() ? (T*)0 : &Vec[0]), Length(Vec.size()) {}
84 : Data(Arr), Length(N) {} function in class:llvm::ArrayRef
90 Length(Ve
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/common/
H A Ddmtbdump.c58 UINT32 Length);
67 * RETURN: Length of the table (there is not always a length field,
79 UINT32 Length = sizeof (ACPI_RSDP_COMMON); local
85 AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoRsdp1);
97 /* The RSDP for ACPI 2.0+ contains more data and has a Length field */
101 Length = Rsdp->Length;
102 AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoRsdp2);
116 return (Length);
149 Entries = (Table->Length
267 AcpiDmValidateFadtLength( UINT32 Revision, UINT32 Length) argument
485 UINT32 Length = Table->Length; local
538 UINT32 Length = Table->Length; local
665 UINT32 Length = Table->Length; local
718 UINT32 Length = Table->Length; local
771 UINT32 Length = Table->Length; local
1074 UINT32 Length = Table->Length; local
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/tables/
H A Dtbfadt.c82 UINT8 Length; member in struct:acpi_fadt_info
244 UINT32 Length; local
255 Length = AcpiGbl_RootTableList.Tables[TableIndex].Length;
258 AcpiGbl_RootTableList.Tables[TableIndex].Address, Length);
268 (void) AcpiTbVerifyChecksum (Table, Length);
272 AcpiTbCreateLocalFadt (Table, Length);
276 AcpiOsUnmapMemory (Table, Length);
293 * Length - Length o
305 AcpiTbCreateLocalFadt( ACPI_TABLE_HEADER *Table, UINT32 Length) argument
502 UINT8 Length; local
[all...]
H A Dtbutils.c58 ACPI_SIZE Length);
129 * Length - Maximum length
141 ACPI_SIZE Length)
144 while (Length && *String)
151 Length--;
216 Header->Length));
229 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20,
242 LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId,
254 * Length - Length o
139 AcpiTbFixString( char *String, ACPI_SIZE Length) argument
264 AcpiTbVerifyChecksum( ACPI_TABLE_HEADER *Table, UINT32 Length) argument
307 AcpiTbChecksum( UINT8 *Buffer, UINT32 Length) argument
617 UINT32 Length; local
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/disassembler/
H A Ddmresrcs.c61 * Length - Length of the descriptor in bytes
73 UINT32 Length,
79 AcpiGbl_IrqDecode [Length & 1]);
83 if (Length & 1)
106 * Length - Length of the descriptor in bytes
118 UINT32 Length,
143 * Length - Length o
71 AcpiDmIrqDescriptor( AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
116 AcpiDmDmaDescriptor( AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
153 AcpiDmIoDescriptor( AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
198 AcpiDmFixedIoDescriptor( AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
236 AcpiDmStartDependentDescriptor( AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
275 AcpiDmEndDependentDescriptor( AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
303 AcpiDmVendorSmallDescriptor( AML_RESOURCE *Resource, UINT32 Length, UINT32 Level) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/DebugInfo/
H A DDWARFDebugAranges.h42 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {}
46 Length = 0;
48 Length = HighPC - LowPC;
51 if (Length)
52 return LowPC + Length;
70 uint32_t Length; // End of address range (not including this address). member in struct:llvm::DWARFDebugAranges::Range
H A DDWARFDebugArangeSet.h25 uint32_t Length; member in struct:llvm::DWARFDebugArangeSet::Header
41 uint64_t Length; member in struct:llvm::DWARFDebugArangeSet::Descriptor
42 uint64_t getEndAddress() const { return Address + Length; }
H A DDWARFDebugArangeSet.cpp43 HeaderData.Length = data.getU32(offset_ptr);
50 if (!data.isValidOffsetForDataOfSize(Offset, HeaderData.Length) ||
70 assert(sizeof(arangeDescriptor.Address) == sizeof(arangeDescriptor.Length));
75 arangeDescriptor.Length = data.getUnsigned(offset_ptr, HeaderData.AddrSize);
79 if (arangeDescriptor.Address || arangeDescriptor.Length)
92 HeaderData.Length, HeaderData.Version)
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DStringRef.cpp42 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { argument
43 for (size_t I = 0; I < Length; ++I) {
54 if (int Res = ascii_strncasecmp(Data, RHS.Data, min(Length, RHS.Length)))
56 if (Length == RHS.Length)
58 return Length < RHS.Length ? -1 : 1;
63 return Length >= Prefix.Length
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Tooling/
H A DRefactoring.h38 Range() : Offset(0), Length(0) {}
39 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} argument
44 unsigned getLength() const { return Length; }
51 return Offset + Length > RHS.Offset && Offset < RHS.Offset + RHS.Length;
57 (RHS.Offset + RHS.Length) <= (Offset + Length);
63 unsigned Length; member in class:clang::tooling::Range
[all...]
H A DReplacementsYaml.h48 : FilePath(""), Offset(0), Length(0), ReplacementText("") {}
52 Length(R.getLength()), ReplacementText(R.getReplacementText()) {}
55 return clang::tooling::Replacement(FilePath, Offset, Length,
61 unsigned int Length; member in struct:llvm::yaml::MappingTraits::NormalizedReplacement
70 Io.mapRequired("Length", Keys->Length);
/freebsd-9.3-release/contrib/groff/src/devices/xditview/
H A Dlex.c23 GetLine(DviWidget dw, char *Buffer, int Length) argument
27 Length--; /* Save room for final '\0' */
30 if (Buffer && i < Length)
43 GetWord(DviWidget dw, char *Buffer, int Length) argument
47 Length--; /* Save room for final '\0' */
51 if (Buffer && i < Length)
/freebsd-9.3-release/sys/dev/acpica/Osd/
H A DOsdMemory.c58 AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS PhysicalAddress, ACPI_SIZE Length) argument
60 return (pmap_mapbios((vm_offset_t)PhysicalAddress, Length));
64 AcpiOsUnmapMemory(void *LogicalAddress, ACPI_SIZE Length) argument
66 pmap_unmapbios((vm_offset_t)LogicalAddress, Length);
78 AcpiOsReadable (void *Pointer, ACPI_SIZE Length) argument
84 AcpiOsWritable (void *Pointer, ACPI_SIZE Length) argument
/freebsd-9.3-release/sys/contrib/dev/acpica/compiler/
H A Ddtio.c84 UINT32 Length);
119 ACPI_SIZE Length; local
173 Length = ACPI_PTR_DIFF (End, Start) + 1;
174 ReturnString = UtLocalCalloc (Length + 1);
177 ACPI_STRNCPY (ReturnString, Start, Length);
180 ReturnString[Length] = 0;
251 UINT32 Length; local
315 Length = ACPI_PTR_DIFF (End, Start);
317 TmpName = UtLocalCalloc (Length + 1);
318 ACPI_STRNCPY (TmpName, Start, Length);
794 DtDumpBuffer( UINT32 FileId, UINT8 *Buffer, UINT32 Offset, UINT32 Length) argument
878 DtWriteFieldToListing( UINT8 *Buffer, DT_FIELD *Field, UINT32 Length) argument
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/include/
H A Dactables.h62 UINT32 Length);
96 UINT32 Length,
154 UINT32 Length);
159 UINT32 Length);
/freebsd-9.3-release/sys/contrib/dev/acpica/resources/
H A Drslist.c72 UINT32 Length,
111 AcpiUtGetResourceType (Aml), Length,
112 Resource->Length));
116 *ResourcePtr = ACPI_ADD_PTR (void, Resource, Resource->Length);
207 Resource = ACPI_ADD_PTR (ACPI_RESOURCE, Resource, Resource->Length);
70 AcpiRsConvertAmlToResources( UINT8 *Aml, UINT32 Length, UINT32 Offset, UINT8 ResourceIndex, void *Context) argument
H A Drscreate.c94 AmlBufferLength = AmlBuffer->Buffer.Length;
129 ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "OutputBuffer %p Length %X\n",
130 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length));
145 * AE_BUFFER_OVERFLOW and OutputBuffer->Length will point
214 * NOTE: On the first iteration, UserPrt->Length will
217 Buffer += UserPrt->Length;
221 * Fill in the Length field with the information we have at this point.
225 UserPrt->Length = (sizeof (ACPI_PCI_ROUTING_TABLE) - 4);
318 PathBuffer.Length = OutputBuffer->Length
[all...]

Completed in 126 milliseconds

1234567891011>>