Home
last modified time | relevance | path

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

12

/src/sys/contrib/dev/acpica/components/executer/
H A 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 …]
/src/sys/contrib/dev/acpica/compiler/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Daslprintf.c259 UINT32 StringLength = 0; in OpcParsePrintf() local
288 ++StringLength; in OpcParsePrintf()
296 NewString = UtLocalCacheCalloc (StringLength + 1); in OpcParsePrintf()
297 memcpy (NewString, StartPosition, StringLength); in OpcParsePrintf()
307 StringLength = 0; in OpcParsePrintf()
385 NewString = UtLocalCacheCalloc (StringLength + 1); in OpcParsePrintf()
386 memcpy (NewString, StartPosition, StringLength); in OpcParsePrintf()
H A 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()
H A 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()
H A Ddttable2.c1315 … TableOffset, DataOffsetField->Name, DataOffsetField->StringLength, DataOffsetField->Value); in DtCompilePhat()
1331 … DevicePathField->StringLength = (strlen ((const char *) DevicePathField->Value) * 2) + 2; in DtCompilePhat()
1332 TableOffset += DevicePathField->StringLength; in DtCompilePhat()
1335 TableOffset, Subtable->Length, DevicePathField->StringLength); in DtCompilePhat()
1349 TableOffset, DataOffsetField->StringLength, DevicePathField->StringLength, in DtCompilePhat()
1439 (*PFieldList)->StringLength, (*PFieldList)->Value, Subtable->Length); in DtCompilePhat()
1479 DataOffsetField->Name, DataOffsetField->StringLength, DataOffsetField->Value); in DtCompilePhat()
H A Ddtcompiler.h197 UINT32 StringLength; /* Length of Value */ member
H A Ddtio.c443 Field->StringLength = Length; in DtParseLine()
/src/sys/contrib/dev/acpica/components/resources/
H A 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 …]
H A 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 …]
H A 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()
/src/sys/contrib/dev/acpica/common/
H A 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()
/src/contrib/ntp/util/
H A Dtg2.c2491 int StringLength; local
2497 StringLength = strlen(str);
2498 CentreOfString = (StringLength/2)+1;
2499 for (IndexCounter = StringLength; IndexCounter >= CentreOfString; IndexCounter--)
2502 str[IndexCounter-1] = str[StringLength-IndexCounter];
2503 str[StringLength-IndexCounter] = TemporaryCharacter;
/src/sys/contrib/dev/acpica/include/
H A Dacrestyp.h446 UINT16 StringLength; member
454 UINT16 StringLength; member
/src/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h494 Metadata *StringLength;
501 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *StringLength,
504 : Tag(Tag), Name(Name), StringLength(StringLength),
509 StringLength(N->getRawStringLength()),
517 StringLength == RHS->getRawStringLength() &&
529 return hash_combine(Tag, Name, StringLength, Encoding);
H A DDebugInfoMetadata.cpp690 MDString *Name, Metadata *StringLength, in getImpl() argument
698 (Tag, Name, StringLength, StringLengthExp, in getImpl()
701 StringLength, StringLengthExp, StringLocationExp}; in getImpl()
H A DDIBuilder.cpp282 DIVariable *StringLength, in createStringType() argument
286 StringLength, nullptr, StrLocationExp, 0, 0, 0); in createStringType()
/src/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp1481 unsigned StringLength; member
1493 StringLength = 0; in clear()
1509 : StringRef(StringData, StringLength); in getString()
1623 Tok.StringLength = RI.size(); in consumeToken()
1703 Tok.StringLength = Length; in consumeToken()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h898 StringRef Name, Metadata *StringLength,
904 StringLength, StrLenExp, StrLocationExp, SizeInBits,
908 MDString *Name, Metadata *StringLength,
928 (unsigned Tag, MDString *Name, Metadata *StringLength,
932 (Tag, Name, StringLength, StringLengthExp,
935 (unsigned Tag, StringRef Name, Metadata *StringLength,
939 (Tag, Name, StringLength, StringLengthExp,
H A DDIBuilder.h243 DIStringType *createStringType(StringRef Name, DIVariable *StringLength,
/src/sys/dev/mpi3mr/mpi/
H A Dmpi30_ioc.h1192 U16 StringLength; /* 0x02 */ member
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp6171 bool &IsUTF16, unsigned &StringLength) { in GetConstantCFStringEntry() argument
6177 StringLength = NumBytes; in GetConstantCFStringEntry()
6192 StringLength = ToPtr - &ToBuf[0]; in GetConstantCFStringEntry()
6198 (StringLength + 1) * 2), in GetConstantCFStringEntry()
6204 unsigned StringLength = 0; in GetAddrOfConstantCFString() local
6209 StringLength); in GetAddrOfConstantCFString()
6354 Fields.addInt(LengthTy, StringLength); in GetAddrOfConstantCFString()

12