Home
last modified time | relevance | path

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

12

/freebsd/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 …]
/freebsd/sys/contrib/dev/acpica/compiler/
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 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 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.c1330 … TableOffset, DataOffsetField->Name, DataOffsetField->StringLength, DataOffsetField->Value); in DtCompilePhat()
1346 … DevicePathField->StringLength = (strlen ((const char *) DevicePathField->Value) * 2) + 2; in DtCompilePhat()
1347 TableOffset += DevicePathField->StringLength; in DtCompilePhat()
1350 TableOffset, Subtable->Length, DevicePathField->StringLength); in DtCompilePhat()
1364 TableOffset, DataOffsetField->StringLength, DevicePathField->StringLength, in DtCompilePhat()
1454 (*PFieldList)->StringLength, (*PFieldList)->Value, Subtable->Length); in DtCompilePhat()
1494 DataOffsetField->Name, DataOffsetField->StringLength, DataOffsetField->Value); in DtCompilePhat()
H A Ddtcompiler.h197 UINT32 StringLength; /* Length of Value */ member
H A Ddtio.c449 Field->StringLength = Length; in DtParseLine()
/freebsd/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),
593 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
693 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
798 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinConfig.ResourceSource.StringLength),
858 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroup.ResourceLabel.StringLength),
915 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroupFunction.ResourceSource.StringLength),
925 …{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()
/freebsd/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()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DProgram.cpp36 unsigned StringLength = S->getLength(); in createGlobalString() local
58 allocateDescriptor(Base, CharType, Descriptor::GlobalMD, StringLength + 1, in createGlobalString()
78 StringLength); in createGlobalString()
81 for (unsigned I = 0; I <= StringLength; ++I) { in createGlobalString()
83 const uint32_t CodePoint = I == StringLength ? 0 : S->getCodeUnit(I); in createGlobalString()
/freebsd/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;
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMapFile.cpp62 unsigned StringLength; member
74 StringLength = 0; in clear()
90 : StringRef(StringData, StringLength); in getString()
862 Tok.StringLength = RI.size(); in consumeToken()
930 Tok.StringLength = LToken.getLength() - 2; in consumeToken()
/freebsd/sys/contrib/dev/acpica/include/
H A Dacrestyp.h446 UINT16 StringLength; member
454 UINT16 StringLength; member
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h568 Metadata *StringLength;
575 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *StringLength,
578 : Tag(Tag), Name(Name), StringLength(StringLength),
583 StringLength(N->getRawStringLength()),
591 StringLength == RHS->getRawStringLength() &&
603 return hash_combine(Tag, Name, StringLength, Encoding);
H A DDIBuilder.cpp312 DIVariable *StringLength, in createStringType() argument
316 StringLength, nullptr, StrLocationExp, 0, 0, 0); in createStringType()
H A DDebugInfoMetadata.cpp954 MDString *Name, Metadata *StringLength, in getImpl() argument
962 (Tag, Name, StringLength, StringLengthExp, in getImpl()
965 SizeInBits, nullptr, StringLength, in getImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h1119 StringRef Name, Metadata *StringLength,
1127 StringLength, StrLenExp, StrLocationExp, SizeInBitsNode,
1131 MDString *Name, Metadata *StringLength,
1138 return getImpl(Context, Tag, Name, StringLength, StrLenExp, StrLocationExp,
1144 Metadata *StringLength, Metadata *StrLenExp, Metadata *StrLocationExp,
1162 (unsigned Tag, MDString *Name, Metadata *StringLength,
1166 (Tag, Name, StringLength, StringLengthExp,
1169 (unsigned Tag, StringRef Name, Metadata *StringLength,
1173 (Tag, Name, StringLength, StringLengthExp,
1176 (unsigned Tag, MDString *Name, Metadata *StringLength,
[all …]
H A DDIBuilder.h266 createStringType(StringRef Name, DIVariable *StringLength,
/freebsd/sys/dev/mpi3mr/mpi/
H A Dmpi30_ioc.h1192 U16 StringLength; /* 0x02 */ member

12