Home
last modified time | relevance | path

Searched refs:StringLength (Results 1 – 17 of 17) sorted by relevance

/netbsd/src/sys/external/bsd/acpica/dist/executer/
Dexconvrt.c569 UINT32 StringLength = 0; in AcpiExConvertToString() local
597 StringLength = ACPI_MAX_DECIMAL_DIGITS; in AcpiExConvertToString()
608 StringLength = ACPI_MUL_2 (AcpiGbl_IntegerByteWidth) + 2; in AcpiExConvertToString()
615 StringLength = ACPI_MUL_2 (AcpiGbl_IntegerByteWidth); in AcpiExConvertToString()
624 ReturnDesc = AcpiUtCreateStringObject ((ACPI_SIZE) StringLength); in AcpiExConvertToString()
641 StringLength = AcpiExConvertToAscii ( in AcpiExConvertToString()
646 ReturnDesc->String.Length = StringLength; in AcpiExConvertToString()
654 NewBuf [StringLength] = 0; in AcpiExConvertToString()
681 StringLength += 4; in AcpiExConvertToString()
685 StringLength += 3; in AcpiExConvertToString()
[all …]
/netbsd/src/sys/external/bsd/acpica/dist/compiler/
Daslrestype2w.c191 UINT16 StringLength = 0; in RsDoWordIoDescriptor() local
199 StringLength = RsGetStringDataLength (InitializerOp); in RsDoWordIoDescriptor()
203 sizeof (AML_RESOURCE_ADDRESS16) + 1 + StringLength); in RsDoWordIoDescriptor()
312 if (StringLength) in RsDoWordIoDescriptor()
315 (Descriptor->Address16.ResourceLength + StringLength); in RsDoWordIoDescriptor()
383 OptionIndex + StringLength; in RsDoWordIoDescriptor()
412 UINT16 StringLength = 0; in RsDoWordBusNumberDescriptor() local
420 StringLength = RsGetStringDataLength (InitializerOp); in RsDoWordBusNumberDescriptor()
424 sizeof (AML_RESOURCE_ADDRESS16) + 1 + StringLength); in RsDoWordBusNumberDescriptor()
531 if (StringLength) in RsDoWordBusNumberDescriptor()
[all …]
Daslrestype2q.c191 UINT16 StringLength = 0; in RsDoQwordIoDescriptor() local
199 StringLength = RsGetStringDataLength (InitializerOp); in RsDoQwordIoDescriptor()
203 sizeof (AML_RESOURCE_ADDRESS64) + 1 + StringLength); in RsDoQwordIoDescriptor()
312 if (StringLength) in RsDoQwordIoDescriptor()
315 (Descriptor->Address64.ResourceLength + StringLength); in RsDoQwordIoDescriptor()
383 OptionIndex + StringLength; in RsDoQwordIoDescriptor()
412 UINT16 StringLength = 0; in RsDoQwordMemoryDescriptor() local
420 StringLength = RsGetStringDataLength (InitializerOp); in RsDoQwordMemoryDescriptor()
424 sizeof (AML_RESOURCE_ADDRESS64) + 1 + StringLength); in RsDoQwordMemoryDescriptor()
540 if (StringLength) in RsDoQwordMemoryDescriptor()
[all …]
Daslrestype2d.c191 UINT16 StringLength = 0; in RsDoDwordPccDescriptor() local
199 StringLength = RsGetStringDataLength (InitializerOp); in RsDoDwordPccDescriptor()
202 sizeof (AML_RESOURCE_ADDRESS32) + 1 + StringLength); in RsDoDwordPccDescriptor()
271 if (StringLength) in RsDoDwordPccDescriptor()
276 (Descriptor->Address32.ResourceLength + StringLength); in RsDoDwordPccDescriptor()
318 OptionIndex + StringLength; in RsDoDwordPccDescriptor()
346 UINT16 StringLength = 0; in RsDoDwordIoDescriptor() local
355 StringLength = RsGetStringDataLength (InitializerOp); in RsDoDwordIoDescriptor()
359 sizeof (AML_RESOURCE_ADDRESS32) + 1 + StringLength); in RsDoDwordIoDescriptor()
475 if (StringLength) in RsDoDwordIoDescriptor()
[all …]
Daslrestype2e.c188 UINT16 StringLength = 0; in RsDoExtendedIoDescriptor() local
194 StringLength = RsGetStringDataLength (InitializerOp); in RsDoExtendedIoDescriptor()
198 sizeof (AML_RESOURCE_EXTENDED_ADDRESS64) + 1 + StringLength); in RsDoExtendedIoDescriptor()
333 StringLength; in RsDoExtendedIoDescriptor()
361 UINT16 StringLength = 0; in RsDoExtendedMemoryDescriptor() local
367 StringLength = RsGetStringDataLength (InitializerOp); in RsDoExtendedMemoryDescriptor()
371 sizeof (AML_RESOURCE_EXTENDED_ADDRESS64) + 1 + StringLength); in RsDoExtendedMemoryDescriptor()
514 StringLength; in RsDoExtendedMemoryDescriptor()
542 UINT16 StringLength = 0; in RsDoExtendedSpaceDescriptor() local
548 StringLength = RsGetStringDataLength (InitializerOp); in RsDoExtendedSpaceDescriptor()
[all …]
Daslprintf.c259 UINT32 StringLength = 0; in OpcParsePrintf() local
288 ++StringLength; in OpcParsePrintf()
296 NewString = UtLocalCacheCalloc (StringLength + 1); in OpcParsePrintf()
297 strncpy (NewString, StartPosition, StringLength); in OpcParsePrintf()
307 StringLength = 0; in OpcParsePrintf()
385 NewString = UtLocalCacheCalloc (StringLength + 1); in OpcParsePrintf()
386 strncpy (NewString, StartPosition, StringLength); in OpcParsePrintf()
Daslrestype2.c288 UINT16 StringLength = 0; in RsDoInterruptDescriptor() local
299 StringLength = RsGetStringDataLength (InitializerOp); in RsDoInterruptDescriptor()
327 1 + OptionIndex + StringLength); in RsDoInterruptDescriptor()
388 if (StringLength) in RsDoInterruptDescriptor()
488 if (StringLength && ResSourceString) in RsDoInterruptDescriptor()
493 (Descriptor->ExtendedIrq.ResourceLength + StringLength); in RsDoInterruptDescriptor()
499 + OptionIndex + StringLength; in RsDoInterruptDescriptor()
Ddtfield.c766 Field->StringLength = 0; in DtCreateField()
775 Field->StringLength = strlen (FieldValue->Value); in DtCreateField()
777 strcpy (UtLocalCacheCalloc (Field->StringLength + 1), FieldValue->Value); in DtCreateField()
Ddttable2.c1264 … TableOffset, DataOffsetField->Name, DataOffsetField->StringLength, DataOffsetField->Value); in DtCompilePhat()
1280 … DevicePathField->StringLength = (strlen ((const char *) DevicePathField->Value) * 2) + 2; in DtCompilePhat()
1281 TableOffset += DevicePathField->StringLength; in DtCompilePhat()
1284 TableOffset, Subtable->Length, DevicePathField->StringLength); in DtCompilePhat()
1298 TableOffset, DataOffsetField->StringLength, DevicePathField->StringLength, in DtCompilePhat()
1388 (*PFieldList)->StringLength, (*PFieldList)->Value, Subtable->Length); in DtCompilePhat()
1428 DataOffsetField->Name, DataOffsetField->StringLength, DataOffsetField->Value); in DtCompilePhat()
Ddtcompiler.h197 UINT32 StringLength; /* Length of Value */ member
Ddtio.c443 Field->StringLength = Length; in DtParseLine()
/netbsd/src/sys/external/bsd/acpica/dist/resources/
Drscalc.c240 return ((ACPI_RS_LENGTH) (ResourceSource->StringLength + 1)); in AcpiRsStructOptionLength()
268 UINT32 StringLength = 0; in AcpiRsStreamOptionLength() local
291 StringLength = ResourceLength - MinimumAmlResourceLength - 1; in AcpiRsStreamOptionLength()
298 return ((UINT32) ACPI_ROUND_UP_TO_NATIVE_WORD (StringLength)); in AcpiRsStreamOptionLength()
469 Resource->Data.Gpio.ResourceSource.StringLength + in AcpiRsGetAmlLength()
478 Resource->Data.PinFunction.ResourceSource.StringLength + in AcpiRsGetAmlLength()
486 Resource->Data.ClockInput.ResourceSource.StringLength); in AcpiRsGetAmlLength()
497 Resource->Data.I2cSerialBus.ResourceSource.StringLength + in AcpiRsGetAmlLength()
506 Resource->Data.PinConfig.ResourceSource.StringLength + in AcpiRsGetAmlLength()
515 Resource->Data.PinGroup.ResourceLabel.StringLength + in AcpiRsGetAmlLength()
[all …]
Drsserial.c238 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.Gpio.ResourceSource.StringLength),
354 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinFunction.ResourceSource.StringLength),
434 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.Csi2SerialBus.ResourceSource.StringLength),
504 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
588 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
688 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
793 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinConfig.ResourceSource.StringLength),
853 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroup.ResourceLabel.StringLength),
910 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroupFunction.ResourceSource.StringLength),
920 …{ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroupFunction.ResourceSourceLabel.StringLength),
[all …]
Drsutils.c531 ResourceSource->StringLength = AcpiRsStrcpy ( in AcpiRsGetResourceSource()
541 ResourceSource->StringLength = 0; in AcpiRsGetResourceSource()
581 if (ResourceSource->StringLength) in AcpiRsSetResourceSource()
601 ResourceSource->StringLength + 1); in AcpiRsSetResourceSource()
/netbsd/src/sys/external/bsd/acpica/dist/common/
Ddmtbdump3.c405 UINT32 StringLength; in AcpiDmDumpStao() local
422 StringLength = strlen (Namepath) + 1; in AcpiDmDumpStao()
424 AcpiDmLineHeader (Offset, StringLength, "Namepath"); in AcpiDmDumpStao()
429 Offset += StringLength; in AcpiDmDumpStao()
/netbsd/src/external/bsd/ntp/dist/util/
Dtg2.c2493 int StringLength; local
2499 StringLength = strlen(str);
2500 CentreOfString = (StringLength/2)+1;
2501 for (IndexCounter = StringLength; IndexCounter >= CentreOfString; IndexCounter--)
2504 … str[IndexCounter-1] = str[StringLength-IndexCounter];
2505 str[StringLength-IndexCounter] = TemporaryCharacter;
/netbsd/src/sys/external/bsd/acpica/dist/include/
Dacrestyp.h446 UINT16 StringLength; member
454 UINT16 StringLength; member