| /netbsd/src/sys/external/bsd/acpica/dist/executer/ |
| D | exconvrt.c | 569 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/ |
| D | aslrestype2w.c | 191 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 …]
|
| D | aslrestype2q.c | 191 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 …]
|
| D | aslrestype2d.c | 191 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 …]
|
| D | aslrestype2e.c | 188 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 …]
|
| D | aslprintf.c | 259 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()
|
| D | aslrestype2.c | 288 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()
|
| D | dtfield.c | 766 Field->StringLength = 0; in DtCreateField() 775 Field->StringLength = strlen (FieldValue->Value); in DtCreateField() 777 strcpy (UtLocalCacheCalloc (Field->StringLength + 1), FieldValue->Value); in DtCreateField()
|
| D | dttable2.c | 1264 … 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()
|
| D | dtcompiler.h | 197 UINT32 StringLength; /* Length of Value */ member
|
| D | dtio.c | 443 Field->StringLength = Length; in DtParseLine()
|
| /netbsd/src/sys/external/bsd/acpica/dist/resources/ |
| D | rscalc.c | 240 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 …]
|
| D | rsserial.c | 238 {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 …]
|
| D | rsutils.c | 531 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/ |
| D | dmtbdump3.c | 405 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/ |
| D | tg2.c | 2493 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/ |
| D | acrestyp.h | 446 UINT16 StringLength; member 454 UINT16 StringLength; member
|