Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/contrib/dev/acpica/components/executer/
HDexconvrt.c555 UINT32 StringLength = 0; in AcpiExConvertToString() local
580 StringLength = ACPI_MAX_DECIMAL_DIGITS; in AcpiExConvertToString()
588 StringLength = ACPI_MUL_2 (AcpiGbl_IntegerByteWidth); in AcpiExConvertToString()
596 ReturnDesc = AcpiUtCreateStringObject ((ACPI_SIZE) StringLength); in AcpiExConvertToString()
606 StringLength = AcpiExConvertToAscii ( in AcpiExConvertToString()
611 ReturnDesc->String.Length = StringLength; in AcpiExConvertToString()
612 NewBuf [StringLength] = 0; in AcpiExConvertToString()
636 StringLength += 4; in AcpiExConvertToString()
640 StringLength += 3; in AcpiExConvertToString()
644 StringLength += 2; in AcpiExConvertToString()
[all …]
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
HDaslrestype2q.c190 UINT16 StringLength = 0; in RsDoQwordIoDescriptor() local
198 StringLength = RsGetStringDataLength (InitializerOp); in RsDoQwordIoDescriptor()
202 sizeof (AML_RESOURCE_ADDRESS64) + 1 + StringLength); in RsDoQwordIoDescriptor()
311 if (StringLength) in RsDoQwordIoDescriptor()
314 (Descriptor->Address64.ResourceLength + StringLength); in RsDoQwordIoDescriptor()
382 OptionIndex + StringLength; in RsDoQwordIoDescriptor()
411 UINT16 StringLength = 0; in RsDoQwordMemoryDescriptor() local
419 StringLength = RsGetStringDataLength (InitializerOp); in RsDoQwordMemoryDescriptor()
423 sizeof (AML_RESOURCE_ADDRESS64) + 1 + StringLength); in RsDoQwordMemoryDescriptor()
539 if (StringLength) in RsDoQwordMemoryDescriptor()
[all …]
HDaslrestype2w.c190 UINT16 StringLength = 0; in RsDoWordIoDescriptor() local
198 StringLength = RsGetStringDataLength (InitializerOp); in RsDoWordIoDescriptor()
202 sizeof (AML_RESOURCE_ADDRESS16) + 1 + StringLength); in RsDoWordIoDescriptor()
311 if (StringLength) in RsDoWordIoDescriptor()
314 (Descriptor->Address16.ResourceLength + StringLength); in RsDoWordIoDescriptor()
382 OptionIndex + StringLength; in RsDoWordIoDescriptor()
411 UINT16 StringLength = 0; in RsDoWordBusNumberDescriptor() local
419 StringLength = RsGetStringDataLength (InitializerOp); in RsDoWordBusNumberDescriptor()
423 sizeof (AML_RESOURCE_ADDRESS16) + 1 + StringLength); in RsDoWordBusNumberDescriptor()
530 if (StringLength) in RsDoWordBusNumberDescriptor()
[all …]
HDaslrestype2d.c189 UINT16 StringLength = 0; in RsDoDwordIoDescriptor() local
198 StringLength = RsGetStringDataLength (InitializerOp); in RsDoDwordIoDescriptor()
202 sizeof (AML_RESOURCE_ADDRESS32) + 1 + StringLength); in RsDoDwordIoDescriptor()
318 if (StringLength) in RsDoDwordIoDescriptor()
323 (Descriptor->Address32.ResourceLength + StringLength); in RsDoDwordIoDescriptor()
391 OptionIndex + StringLength; in RsDoDwordIoDescriptor()
420 UINT16 StringLength = 0; in RsDoDwordMemoryDescriptor() local
428 StringLength = RsGetStringDataLength (InitializerOp); in RsDoDwordMemoryDescriptor()
432 sizeof (AML_RESOURCE_ADDRESS32) + 1 + StringLength); in RsDoDwordMemoryDescriptor()
554 if (StringLength) in RsDoDwordMemoryDescriptor()
[all …]
HDaslrestype2e.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 …]
HDaslprintf.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()
HDaslrestype2.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 AML_RESOURCE, &(Rover->ByteItem), StringLength); in RsDoInterruptDescriptor()
496 (Descriptor->ExtendedIrq.ResourceLength + StringLength); in RsDoInterruptDescriptor()
502 + OptionIndex + StringLength; in RsDoInterruptDescriptor()
HDdtcompiler.h197 UINT32 StringLength;/* Length of Value */ member
HDdtio.c486 Field->StringLength = Length; in DtParseLine()
/freebsd-11-stable/sys/contrib/dev/acpica/components/resources/
HDrscalc.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()
490 Resource->Data.I2cSerialBus.ResourceSource.StringLength + in AcpiRsGetAmlLength()
499 Resource->Data.PinConfig.ResourceSource.StringLength + in AcpiRsGetAmlLength()
508 Resource->Data.PinGroup.ResourceLabel.StringLength + in AcpiRsGetAmlLength()
516 Resource->Data.PinGroupFunction.ResourceSource.StringLength + in AcpiRsGetAmlLength()
[all …]
HDrsserial.c238 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.Gpio.ResourceSource.StringLength),
310 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinFunction.ResourceSource.StringLength),
390 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
474 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
574 {ACPI_RSC_COUNT_SERIAL_RES, ACPI_RS_OFFSET (Data.CommonSerialBus.ResourceSource.StringLength),
679 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinConfig.ResourceSource.StringLength),
739 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroup.ResourceLabel.StringLength),
796 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroupFunction.ResourceSource.StringLength),
806 …{ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroupFunction.ResourceSourceLabel.StringLength),
867 {ACPI_RSC_COUNT_GPIO_RES, ACPI_RS_OFFSET (Data.PinGroupConfig.ResourceSource.StringLength),
[all …]
HDrsutils.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-11-stable/contrib/ntp/util/
HDtg2.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-11-stable/contrib/apr-util/include/private/
HDapr_dbd_odbc_v2.h38 #define SQLSetEnvAttr(henv, Attribute, Value, StringLength) (0) argument
/freebsd-11-stable/sys/contrib/dev/acpica/include/
HDacrestyp.h440 UINT16 StringLength; member
448 UINT16 StringLength; member
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
HDModuleMap.cpp1348 unsigned StringLength; member
1360 StringLength = 0; in clear()
1376 : StringRef(StringData, StringLength); in getString()
1493 Tok.StringLength = RI.size(); in consumeToken()
1573 Tok.StringLength = Length; in consumeToken()
/freebsd-11-stable/sys/contrib/dev/acpica/common/
HDdmtbdump.c4130 UINT32 StringLength; in AcpiDmDumpStao() local
4147 StringLength = strlen (Namepath) + 1; in AcpiDmDumpStao()
4149 AcpiDmLineHeader (Offset, StringLength, "Namestring"); in AcpiDmDumpStao()
4154 Offset += StringLength; in AcpiDmDumpStao()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenModule.cpp4637 bool &IsUTF16, unsigned &StringLength) { in GetConstantCFStringEntry() argument
4643 StringLength = NumBytes; in GetConstantCFStringEntry()
4658 StringLength = ToPtr - &ToBuf[0]; in GetConstantCFStringEntry()
4664 (StringLength + 1) * 2), in GetConstantCFStringEntry()
4670 unsigned StringLength = 0; in GetAddrOfConstantCFString() local
4675 StringLength); in GetAddrOfConstantCFString()
4829 Fields.addInt(LengthTy, StringLength); in GetAddrOfConstantCFString()
HDCGObjCGNU.cpp1052 uint32_t StringLength = ToPtr - &ToBuf[0]; in GenerateConstantString() local
1058 Fields.addInt(Int32Ty, StringLength); in GenerateConstantString()
1060 Fields.addInt(Int32Ty, StringLength * 2); in GenerateConstantString()
HDCGObjCMac.cpp1959 const StringLiteral *Literal, unsigned &StringLength) { in GetConstantStringEntry() argument
1961 StringLength = String.size(); in GetConstantStringEntry()
2000 unsigned StringLength = 0; in GenerateConstantNSString() local
2002 GetConstantStringEntry(NSConstantStringMap, Literal, StringLength); in GenerateConstantNSString()
2042 Fields.addInt(CGM.IntTy, StringLength); in GenerateConstantNSString()
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDMicrosoftMangle.cpp3455 unsigned StringLength = getASTContext() in mangleStringLiteral() local
3459 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()