Home
last modified time | relevance | path

Searched refs:Length (Results 1 – 25 of 237) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/acpi/common/
H A Ddmtbdump2.c252 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort()
265 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort()
271 Length = IortNode->Length - NodeOffset; in AcpiDmDumpIort()
621 UINT32 Length = Table->Length; in AcpiDmDumpLpit() local
694 UINT32 Length = Table->Length; in AcpiDmDumpMadt() local
1292 Length = Subtable->Length - in AcpiDmDumpNfit()
1358 UINT32 Length = Table->Length; in AcpiDmDumpPcct() local
1457 UINT32 Length = Table->Length; in AcpiDmDumpPdtt() local
1513 UINT32 Length = Table->Length; in AcpiDmDumpPmtt() local
1777 if (Subtable->Length < Length) in AcpiDmDumpPptt()
[all …]
H A Ddmtbdump1.c352 UINT32 Length = Table->Length; in AcpiDmDumpCpep() local
407 UINT32 Length = Table->Length; in AcpiDmDumpCsrt() local
491 Subtable->Length); in AcpiDmDumpCsrt()
515 UINT32 Length = Table->Length; in AcpiDmDumpDbg2() local
633 UINT32 Length = Table->Length; in AcpiDmDumpDmar() local
902 UINT32 Length = Table->Length; in AcpiDmDumpEinj() local
955 UINT32 Length = Table->Length; in AcpiDmDumpErst() local
1008 UINT32 Length = Table->Length; in AcpiDmDumpFpdt() local
1093 UINT32 Length = Table->Length; in AcpiDmDumpGtdt() local
1212 UINT32 Length = Table->Length; in AcpiDmDumpHest() local
[all …]
H A Ddmtbdump.c193 UINT32 Length, in AcpiDmDumpBuffer() argument
201 if (!Length) in AcpiDmDumpBuffer()
209 while (i < Length) in AcpiDmDumpBuffer()
215 if (Length > 16) in AcpiDmDumpBuffer()
255 UINT32 Length; in AcpiDmDumpUnicode() local
264 for (i = 0; i < Length; i += 2) in AcpiDmDumpUnicode()
328 return (Length); in AcpiDmDumpRsdp()
345 Length = Rsdp->Length; in AcpiDmDumpRsdp()
349 return (Length); in AcpiDmDumpRsdp()
364 return (Length); in AcpiDmDumpRsdp()
[all …]
H A Ddmtbdump3.c232 if (Offset >= Table->Length) in AcpiDmDumpSlit()
297 while (Offset < Table->Length) in AcpiDmDumpSrat()
342 if (!Subtable->Length) in AcpiDmDumpSrat()
352 Subtable->Length, InfoTable); in AcpiDmDumpSrat()
361 Offset += Subtable->Length; in AcpiDmDumpSrat()
363 Subtable->Length); in AcpiDmDumpSrat()
388 UINT32 Length = Table->Length; in AcpiDmDumpStao() local
403 while (Offset < Table->Length) in AcpiDmDumpStao()
579 while (Offset < Table->Length) in AcpiDmDumpVrtc()
632 while (Offset < Table->Length) in AcpiDmDumpWdat()
[all …]
/illumos-gate/usr/src/common/acpica/executer/
H A Dexstorob.c179 UINT32 Length; in AcpiExStoreBufferToBuffer() local
196 Length = SourceDesc->Buffer.Length; in AcpiExStoreBufferToBuffer()
211 TargetDesc->Buffer.Length = Length; in AcpiExStoreBufferToBuffer()
216 if (Length <= TargetDesc->Buffer.Length) in AcpiExStoreBufferToBuffer()
242 TargetDesc->Buffer.Length = Length; in AcpiExStoreBufferToBuffer()
251 TargetDesc->Buffer.Length); in AcpiExStoreBufferToBuffer()
255 Length, TargetDesc->Buffer.Length)); in AcpiExStoreBufferToBuffer()
284 UINT32 Length; in AcpiExStoreStringToString() local
301 Length = SourceDesc->String.Length; in AcpiExStoreStringToString()
307 if ((Length < TargetDesc->String.Length) && in AcpiExStoreStringToString()
[all …]
H A Dexfield.c197 Length = 0; in AcpiExGetSerialAccessLength()
203 Length = 1; in AcpiExGetSerialAccessLength()
209 Length = 2; in AcpiExGetSerialAccessLength()
216 Length = AccessLength; in AcpiExGetSerialAccessLength()
227 return (Length); in AcpiExGetSerialAccessLength()
321 Length += 2; in AcpiExReadDataFromField()
555 Length += 2; in AcpiExWriteDataToField()
564 if (SourceDesc->Buffer.Length < Length) in AcpiExWriteDataToField()
569 Length, SourceDesc->Buffer.Length)); in AcpiExWriteDataToField()
649 Length = SourceDesc->Buffer.Length; in AcpiExWriteDataToField()
[all …]
H A Dexoparg3.c290 ACPI_SIZE Length; in AcpiExOpcode_3A_1T_1R() local
315 Length = (ACPI_SIZE) Operand[2]->Integer.Value; in AcpiExOpcode_3A_1T_1R()
321 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R()
323 Length = 0; in AcpiExOpcode_3A_1T_1R()
328 else if ((Index + Length) > Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R()
330 Length = in AcpiExOpcode_3A_1T_1R()
342 Buffer = ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) Length + 1); in AcpiExOpcode_3A_1T_1R()
354 if (Length > 0) in AcpiExOpcode_3A_1T_1R()
358 Buffer = ACPI_ALLOCATE_ZEROED (Length); in AcpiExOpcode_3A_1T_1R()
378 Operand[0]->String.Pointer + Index, Length); in AcpiExOpcode_3A_1T_1R()
[all …]
H A Dexconfig.c176 UINT32 Length,
288 if (Operand[3]->String.Length > 0) in AcpiExLoadTableOp()
305 if (Operand[4]->String.Length > 0) in AcpiExLoadTableOp()
390 UINT32 Length, in AcpiExRegionRead() argument
401 for (i = 0; i < Length; i++) in AcpiExRegionRead()
451 UINT32 Length; in AcpiExLoadOp() local
496 Length = TableHeader->Length; in AcpiExLoadOp()
529 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp()
562 Length = TableHeader->Length; in AcpiExLoadOp()
566 if (Length > ObjDesc->Buffer.Length) in AcpiExLoadOp()
[all …]
H A Dexoparg2.c394 ACPI_SIZE Length = 0; in AcpiExOpcode_2A_1T_1R() local
463 while ((Length < Operand[0]->Buffer.Length) && in AcpiExOpcode_2A_1T_1R()
464 (Length < Operand[1]->Integer.Value) && in AcpiExOpcode_2A_1T_1R()
465 (Operand[0]->Buffer.Pointer[Length])) in AcpiExOpcode_2A_1T_1R()
467 Length++; in AcpiExOpcode_2A_1T_1R()
484 Operand[0]->Buffer.Pointer, Length); in AcpiExOpcode_2A_1T_1R()
520 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_2A_1T_1R()
522 Length = Operand[0]->String.Length; in AcpiExOpcode_2A_1T_1R()
533 if (Index >= Operand[0]->Buffer.Length) in AcpiExOpcode_2A_1T_1R()
535 Length = Operand[0]->Buffer.Length; in AcpiExOpcode_2A_1T_1R()
[all …]
/illumos-gate/usr/src/common/acpica/utilities/
H A Dutids.c186 UINT32 Length; in AcpiUtExecute_HID() local
208 Length = ObjDesc->String.Length + 1; in AcpiUtExecute_HID()
236 Hid->Length = Length; in AcpiUtExecute_HID()
274 UINT32 Length; in AcpiUtExecute_UID() local
296 Length = ObjDesc->String.Length + 1; in AcpiUtExecute_UID()
324 Uid->Length = Length; in AcpiUtExecute_UID()
370 UINT32 Length; in AcpiUtExecute_CID() local
470 Length = CidObjects[i]->String.Length + 1; in AcpiUtExecute_CID()
474 CidList->Ids[i].Length = Length; in AcpiUtExecute_CID()
475 NextIdString += Length; in AcpiUtExecute_CID()
[all …]
H A Dutcopy.c272 ExternalObject->String.Length = InternalObject->String.Length; in AcpiUtCopyIsimpleToEsimple()
284 ExternalObject->Buffer.Length = InternalObject->Buffer.Length; in AcpiUtCopyIsimpleToEsimple()
286 InternalObject->String.Length); in AcpiUtCopyIsimpleToEsimple()
290 InternalObject->Buffer.Length); in AcpiUtCopyIsimpleToEsimple()
433 Info->Length += ObjectSpace; in AcpiUtCopyIelementToEelement()
502 *SpaceUsed = Info.Length; in AcpiUtCopyIpackageToEpackage()
550 &RetBuffer->Length); in AcpiUtCopyIobjectToEobject()
641 ExternalObject->String.Length); in AcpiUtCopyEsimpleToIsimple()
643 InternalObject->String.Length = ExternalObject->String.Length; in AcpiUtCopyEsimpleToIsimple()
659 InternalObject->Buffer.Length = ExternalObject->Buffer.Length; in AcpiUtCopyEsimpleToIsimple()
[all …]
H A Dutobject.c405 BufferDesc->Buffer.Length = (UINT32) BufferSize; in AcpiUtCreateBufferObject()
463 StringDesc->String.Length = (UINT32) StringSize; in AcpiUtCreateStringObject()
624 ACPI_SIZE Length; in AcpiUtGetSimpleObjectSize() local
634 Length = sizeof (ACPI_OBJECT); in AcpiUtGetSimpleObjectSize()
671 Length += (ACPI_SIZE) InternalObject->String.Length + 1; in AcpiUtGetSimpleObjectSize()
676 Length += (ACPI_SIZE) InternalObject->Buffer.Length; in AcpiUtGetSimpleObjectSize()
736 *ObjLength = ACPI_ROUND_UP_TO_NATIVE_WORD (Length); in AcpiUtGetSimpleObjectSize()
778 Info->Length += ObjectSpace; in AcpiUtGetElementLength()
829 Info.Length = 0; in AcpiUtGetPackageObjectSize()
845 Info.Length += ACPI_ROUND_UP_TO_NATIVE_WORD ( in AcpiUtGetPackageObjectSize()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_lengths.out1 Length SMF (km): 35 km
2 Length SMF (m): 3600 m
3 Length 50um OM2: 370 m
4 Length 62.5um OM1: 380 m
5 Length Copper: 39 m
6 Length OM3: 400 m
11 Length SMF (km): 35 km
12 Length 50um OM2: 37 m
13 Length 62.5um OM1: 38 m
14 Length Copper: 39 m
[all …]
/illumos-gate/usr/src/common/acpica/tables/
H A Dtbfadt.c192 UINT16 Length; member
450 UINT32 Length; in AcpiTbParseFadt() local
469 Length = FadtDesc->Length; in AcpiTbParseFadt()
475 (void) AcpiTbVerifyChecksum (Table, Length); in AcpiTbParseFadt()
479 AcpiTbCreateLocalFadt (Table, Length); in AcpiTbParseFadt()
533 UINT32 Length) in AcpiTbCreateLocalFadt() argument
541 if (Length > sizeof (ACPI_TABLE_FADT)) in AcpiTbCreateLocalFadt()
628 UINT8 Length; in AcpiTbConvertFadt() local
687 Length = *ACPI_ADD_PTR (UINT8, in AcpiTbConvertFadt()
778 if (!Address64->Address || !Length) in AcpiTbConvertFadt()
[all …]
H A Dtbutils.c238 if (AcpiGbl_OriginalDsdtHeader.Length != AcpiGbl_DSDT->Length || in AcpiTbCheckDsdtHeader()
250 AcpiGbl_OriginalDsdtHeader.Length = AcpiGbl_DSDT->Length; in AcpiTbCheckDsdtHeader()
280 NewTable = ACPI_ALLOCATE (TableDesc->Length); in AcpiTbCopyDsdt()
284 TableDesc->Length)); in AcpiTbCopyDsdt()
298 NewTable->Length)); in AcpiTbCopyDsdt()
394 UINT32 Length; in AcpiTbParseRootTable() local
456 Length = Table->Length; in AcpiTbParseRootTable()
466 Table = AcpiOsMapMemory (Address, Length); in AcpiTbParseRootTable()
474 Status = AcpiTbVerifyChecksum (Table, Length); in AcpiTbParseRootTable()
477 AcpiOsUnmapMemory (Table, Length); in AcpiTbParseRootTable()
[all …]
H A Dtbprint.c165 ACPI_SIZE Length);
190 ACPI_SIZE Length) in AcpiTbFixString() argument
193 while (Length && *String) in AcpiTbFixString()
201 Length--; in AcpiTbFixString()
262 Header->Length)); in AcpiTbPrintTableHeader()
275 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, in AcpiTbPrintTableHeader()
289 LocalHeader.Length, LocalHeader.Revision, LocalHeader.OemId, in AcpiTbPrintTableHeader()
313 UINT32 Length) in AcpiTbVerifyChecksum() argument
331 Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); in AcpiTbVerifyChecksum()
368 UINT32 Length) in AcpiTbChecksum() argument
[all …]
/illumos-gate/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/
H A Dmapper_cn.c114 if (oid->Length == KMFOID_CommonName.Length && in mapper_map_cert_to_name()
116 oid->Length) == 0) { in mapper_map_cert_to_name()
117 if ((cn = malloc(data->Length + 1)) == NULL) { in mapper_map_cert_to_name()
121 (void) memcpy(cn, data->Data, data->Length); in mapper_map_cert_to_name()
123 cn[data->Length] = '\0'; in mapper_map_cert_to_name()
124 name->Length = data->Length + 1; in mapper_map_cert_to_name()
159 mapped_name->Length = 0; in mapper_match_cert_to_name()
172 if (name_to_match->Length != get_name.Length - 1) in mapper_match_cert_to_name()
182 (char *)get_name.Data, name_to_match->Length); in mapper_match_cert_to_name()
185 (char *)get_name.Data, name_to_match->Length); in mapper_match_cert_to_name()
[all …]
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Dasloffset.c206 UINT32 Length; in LsAmlOffsetWalk() local
252 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk()
263 DataOffset = Gbl_CurrentAmlOffset + Length + in LsAmlOffsetWalk()
310 Gbl_CurrentAmlOffset += Length; in LsAmlOffsetWalk()
317 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk()
328 DataOffset = Gbl_CurrentAmlOffset + Length + in LsAmlOffsetWalk()
352 Gbl_CurrentAmlOffset += Length; in LsAmlOffsetWalk()
364 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk()
391 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk()
416 Length = Op->Asl.FinalAmlLength; in LsAmlOffsetWalk()
[all …]
H A Ddtio.c186 UINT32 Length);
234 ACPI_SIZE Length; in DtTrim() local
295 ReturnString[Length] = 0; in DtTrim()
366 UINT32 Length; in DtParseLine() local
423 strncpy (TmpName, Start, Length); in DtParseLine()
969 UINT32 Length) in DtDumpBuffer() argument
977 Offset, Offset, Length); in DtDumpBuffer()
980 while (i < Length) in DtDumpBuffer()
991 if (i + j >= Length) in DtDumpBuffer()
1007 if (i + j >= Length) in DtDumpBuffer()
[all …]
/illumos-gate/usr/src/common/acpica/disassembler/
H A Ddmresrcs.c180 UINT32 Length, in AcpiDmIrqDescriptor() argument
190 if (Length & 1) in AcpiDmIrqDescriptor()
227 UINT32 Length, in AcpiDmDmaDescriptor() argument
266 UINT32 Length, in AcpiDmFixedDmaDescriptor() argument
312 UINT32 Length, in AcpiDmIoDescriptor() argument
359 UINT32 Length, in AcpiDmFixedIoDescriptor() argument
399 UINT32 Length, in AcpiDmStartDependentDescriptor() argument
405 if (Length & 1) in AcpiDmStartDependentDescriptor()
440 UINT32 Length, in AcpiDmEndDependentDescriptor() argument
470 UINT32 Length, in AcpiDmVendorSmallDescriptor() argument
[all …]
/illumos-gate/usr/src/common/acpica/resources/
H A Drsmisc.c283 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource()
292 Resource->Length = Resource->Length + in AcpiRsConvertAmlToResource()
301 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
311 Resource->Length = Resource->Length + (Info->Value * ItemCount); in AcpiRsConvertAmlToResource()
336 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
344 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
354 Resource->Length = Resource->Length + ItemCount; in AcpiRsConvertAmlToResource()
360 Resource->Length = Resource->Length + Info->Value; in AcpiRsConvertAmlToResource()
460 Resource->Length += in AcpiRsConvertAmlToResource()
473 Resource->Length += in AcpiRsConvertAmlToResource()
[all …]
H A Drscreate.c279 AmlBufferLength = AmlBuffer->Buffer.Length; in ACPI_EXPORT_SYMBOL()
315 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); in ACPI_EXPORT_SYMBOL()
402 Buffer += UserPrt->Length; in AcpiRsCreatePciRoutingTable()
410 UserPrt->Length = (sizeof (ACPI_PCI_ROUTING_TABLE) - 4); in AcpiRsCreatePciRoutingTable()
477 PathBuffer.Length = OutputBuffer->Length - in AcpiRsCreatePciRoutingTable()
498 UserPrt->Length += ObjDesc->String.Length + 1; in AcpiRsCreatePciRoutingTable()
508 UserPrt->Length += sizeof (UINT32); in AcpiRsCreatePciRoutingTable()
522 UserPrt->Length = (UINT32) ACPI_ROUND_UP_TO_64BIT (UserPrt->Length); in AcpiRsCreatePciRoutingTable()
543 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); in AcpiRsCreatePciRoutingTable()
585 ResourceList->Pointer, ResourceList->Length, &AmlSizeNeeded); in AcpiRsCreateAmlResources()
[all …]
H A Drsdump.c196 UINT16 Length,
201 UINT16 Length,
206 UINT8 Length,
211 UINT8 Length,
283 if (!ResourceList->Length) in AcpiRsDumpResourceList()
768 UINT16 Length, in AcpiRsDumpByteList() argument
774 for (i = 0; i < Length; i++) in AcpiRsDumpByteList()
782 UINT8 Length, in AcpiRsDumpShortByteList() argument
788 for (i = 0; i < Length; i++) in AcpiRsDumpShortByteList()
804 for (i = 0; i < Length; i++) in AcpiRsDumpDwordList()
[all …]
/illumos-gate/usr/src/common/acpica/namespace/
H A Dnsconvert.c205 if (OriginalObject->Buffer.Length > 8) in AcpiNsConvertToInteger()
254 ACPI_SIZE Length; in AcpiNsConvertToString() local
294 Length = 0; in AcpiNsConvertToString()
295 while ((Length < OriginalObject->Buffer.Length) && in AcpiNsConvertToString()
298 Length++; in AcpiNsConvertToString()
303 NewObject = AcpiUtCreateStringObject (Length); in AcpiNsConvertToString()
314 OriginalObject->Buffer.Pointer, Length); in AcpiNsConvertToString()
375 (OriginalObject->String.Length); in AcpiNsConvertToBuffer()
474 if (OriginalObject->Buffer.Length < 2) in AcpiNsConvertToUnicode()
502 for (i = 0; i < OriginalObject->String.Length; i++) in AcpiNsConvertToUnicode()
[all …]
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c63 data->Length = 0; in free_data()
328 dst->Length = src->Length; in CopyData()
443 n = rawdata->Length/2; in DerEncodeDSASignature()
527 signature->Length = 0; in DerDecodeDSASignature()
552 signature->Length++; in DerDecodeDSASignature()
554 signature->Length++; in DerDecodeDSASignature()
1021 kmfber_calc_lenlen(id->Length * 8) + id->Length; in encode_uniqueid()
1749 encodedcert->Length = 0; in DerEncodeSignedCertificate()
1850 tbscert->Length = size; in ExtractX509CertParts()
1876 signature->Length = signature->Length / 8; in ExtractX509CertParts()
[all …]

12345678910